Fix for Logitech DiNovo cordless mouse
Markus Wild
mwild at vianetworks.ch
Wed Jun 9 20:52:58 GMT 2004
> By looking the code, the fix should be something like in attachment.
> Since I have not such device, I cannot test it.
> Let me know if attached patch works.
No, it did not. Reason is you're exiting out of the loop
too early this way, and a side effect of the loop is determining
the size of the request...
Your version:
Jun 9 22:36:27 mothra kernel: ums_attach: bLength=7 bDescriptorType=5 bEndpointAddress=2-in bmAttributes=3 wMaxPacketSize=8 bInterval=10
Jun 9 22:36:27 mothra kernel: ums0: 7 buttons and Z dir.
...
Jun 9 22:36:27 mothra kernel: ums_attach: size=1, id=2
Mine:
Jun 9 22:46:53 mothra kernel: ums_attach: bLength=7 bDescriptorType=5 bEndpointAddress=2-in bmAttributes=3 wMaxPacketSize=8 bInterval=10
Jun 9 22:46:53 mothra kernel: ums0: 7 buttons and Z dir.
...
Jun 9 22:46:53 mothra kernel: ums_attach: size=36, id=2
Cheers,
Markus
More information about the freebsd-hardware
mailing list