lkml.org 
[lkml]   [2006]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] [PATCH] usb/hid: The HID Simple Driver Interface 0.3.2 (core)
(I didn't get Dmitry's original mail, so replying here)

raise.sail@gmail.com wrote:
> Dmitry Torokhov wrote:
>> Then there is issue with automatic loading of these sub-drivers. How
>> do they get loaded? Or we force everything to be built-in making HID
>> module very fat (like psmouse got pretty fat, but with HID prtential
>> for it to get very fat is much bigger).
>>
>> The better way would be to split hid-input into a library module that
>> parses hid usages and reports and is shared between device-specific
>> modules that are "real" drivers (usb-drivers, not hid-sub-drivers).

One possibility is to do that with symbol_request() and friends. That
would not be pretty though, imho.

DVB subsystem uses that currently to load frontend modules dynamically,
see dvb_attach() and dvb_frontend_detach() in
drivers/media/dvb/dvb-core/dvbdev.h and
drivers/media/dvb/dvb-core/dvb_frontend.c.

--
Anssi Hannula

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-08 20:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site