On Sunday 08 October 2006 14:51, Anssi Hannula wrote: > (I didn't get Dmitry's original mail, so replying here) > > [EMAIL PROTECTED] 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. >
Unfortunately this does not quite work when hid is built-in and the rest are modules :( -- Dmitry ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel