Le Wednesday 23 February 2011 21:57:25 Nestor A Diaz, vous avez ?crit : > Hi, i have a genius colorpage vivid 1200 x, i added the usb device to > the scanbutton supported device list, but it didn't process any of the > buttons. > > Feb 23 15:53:00 hope scanbuttond: found scanner: vendor="Genius", > product="Colorpage Vivid 1200 X", connection="libusb", > sane_name="gt68xx:libusb:002:002" > > how can i sniff the scanner on windows or linux to know which events are > triggered from the scanner whenever i press a button ? > > thanks. Hello,
by using an USB sniffer like http://www.pcausa.com/Utilities/UsbSnoop/ , you can monitor USB activity under windows when the scanner is powered on. If you let the scanner idle but there is still repeated USB activity, this would be most likely button status polling by the software. If nothing happens, the software might be using USB interrupt backed reads. In this case the very few first USB exchanges that happen when you press a button on the scanner should contain it. With Usbsnoop you can notice an USB read that starts, and receive the results a few seconds later. Regards, Stef