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

From
Nikolai Kondrashov <hidden>
Date
2012-03-29 08:00:53
Reply to
Jiri Kosina, 2012-02-28
Hi Jiri,

On 02/28/2012 04:30 PM, Jiri Kosina wrote:
On Mon, 27 Feb 2012, Nikolai Kondrashov wrote:
quoted
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.
Did you have time to take a look at the patch?
If there's anything wrong with it, please tell me and I'll fix it.
Hi Nikolai,

well, I am not really sure what value does it provide to have such
functionality in the kernel.
In addition to my other explanations, I know about 10 people who are using
my tablet drivers which are to be included into the 3.4 release. And these
are only those who contacted me. Now, they can't be helped, they will have
to build their own kernels until they can install an official one with the
drivers.

However, there are still many unsupported tablets and other devices which
could be made to work with a simple HID driver. If this or a similar
functionality is there, they will need to only build and install a few
modules, or just install a DKMS-enabled package for their distribution.
And the sooner that happens, the better.

I understand that this solution is somewhat hackish, but it matches the
generic HID driver's ignoring of devices. The only proper solution,
considering asynchronous module loading, would be to bind the generic HID
driver to all HID devices unconditionally and then rebind a specific driver
once it's loaded. Yet, I'm not sure how this would fit the device driver
model.

Thank you for your attention and sorry if I bother you unnecessarily :)

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