Dmitrii Tisnek wrote: > hi, > > I recently got a good usb mouse (logitech mx 510), that I intend to use in > usb mode and I am considering writing a proper driver for linux. After > some investigations I think I have a clear idea about current state of usb > mouse support in linux. > > it seems that new/full hid input driver is about the same in 2.4.x and > 2.6.x and it still uses usb mice in boot protocol. > > there isn't much support for parsing arbitrary hid report descriptors (?) > > nor for compiling downstream reports (not needed here). > > What I think I have to do is basically the following: > * grab the particular usb device so that generic hid driver skips it > * register with the input core > * set the device to the report protocol > * understand the report descriptor > * parsing the reports > * send events to the input core > * be prepared to device disconnect > when the driver is unloaded: > * reset the device back to boot protocol > * release the device > * release the input core association > > Anything I got wrong? > Any other ideas or pointers? >
Hi, I would start describing what is wrong with current full hid driver (look in drivers/usb/input/hid-input.c which is different from mouse simple boot protocol driver in drivers/usb/input/usbmouse.c) and then I guess bugging Vojtech to fix it (or include your patch). -- Dmitry ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
