On Sat, 29 Jun 2002 00:09, Rob Miller wrote: > The problem: lsusb, evtest, and Xf86-4 all indicate a 3-button mouse has > been detected, but I can't seem to get any sort of event when I press the > middle button.
> (1) some additional initialisation is required > (2) somewhere in the linux usb stack the URB for the middle button press > is getting filtered out because it is somehow non-standard. 2 doesn't seem too likely. If evtest thinks that there is a third button, then it is unlikely the HID driver is doing any filtering. > ***> > Thus my current question is around item (2) above: how can I most easily > detect low-level USB input traffic (and be confident that I'm seeing all > of it) ? > <*** You can turn on debug options in either the HID driver, or in the underlying host controller. > Any suggestions for next steps will be very much appreciated ! HID is truly ugly. You almost certainly don't want to get that deep into the mud. One idea: get a 2.4.19-rc1 kernel, turn off CONFIG_HIDINPUT, and use the hiddev interface to look at a slightly cooked version of the HID protocol. If you need some userspace code, try something like: http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c HTH Brad -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel