Re: [PATCH 1/1] HID: add have_special_driver hid module parameter

From
Nikolai Kondrashov <hidden>
Date
2012-03-30 15:22:39
Reply to
Jiri Kosina, 2012-03-30
Hi Jiri,

On Fri, Mar 30, 2012 at 4:49 PM, Jiri Kosina [off-list ref] wrote:
On Mon, 20 Feb 2012, Nikolai Kondrashov wrote:
quoted
Add "have_special_driver" hid module parameter - a list of additional HID
devices which have specialized driver on HID bus. Needed to support out-of-tree
HID drivers.
I find this a little bit hackish :) How about for example the userspace
transport drivers for Bluetooth-LE that are currently in the works?
I like the idea and the implementation seems good, but I can't see how it
is related to the task of having out-of-tree HID drivers, sorry.
I'd very much prefer just using sysfs (bind/unbind) way of doing things if
possible for this purpose. What do you think?
To my shame I must admit I didn't know or forgot of this mechanism. Although
I did some research asking kernel developers at work about possibility to
rebind a different driver. They either forgot about it at the time too, or I
didn't ask properly.

I think, I can craft an udev rule which will detach a tablet from the
generic HID driver and attach it to my driver through sysfs.

Please forget about this patch for now, I will resume bothering you in case
it's not possible or not appropriate :)

Thanks!

Sincerely,
Nick
Thread (25 messages) 25 messages, 4 authors, last reply 2012-04-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help