Thread (8 messages) 8 messages, 3 authors, 2009-01-14

Re: new modular hid?

From: Jiri Kosina <hidden>
Date: 2009-01-14 13:39:03

On Wed, 14 Jan 2009, Michael Tokarev wrote:
Let's take a look at my example, hid_bright.  Without this module, my 
keyboard does not work, even if usbhid&Co is loaded.  But this module 
does exactly two things:

  hid_hw_start(hdev, HID_CONNECT_DEFAULT);
  usbhid_set_leds(hdev);
Maybe, just maybe, it's possible to init stuff by default, and get 
additional features or quirks later, when actually loading the 
sub-driver?  But any way, this "doing nothing" driver thing seems to be 
wrong...
Yes. And actually hid-bright and hid-dell drivers have been already 
removed in current Linus' tree, and the leds are handled in the generic 
code again. So in this particular case, things are exactly the same as 
they used to be before for your hardware.

Still, there are drivers that are more complicated and having the code in 
the generic code is not bearable, so we have to think about this and solve 
it anyway, even though this is not going to be a problem particularly for 
your system in 2.6.29.

-- 
Jiri Kosina
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help