[sane-devel] new scanbuttond backend, for gt68xx firmware (particularly colorpage vivid4)
stef.dev at free.fr
Tue Mar 1 06:06:52 UTC 2011
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
> Feb 23 15:53:00 hope scanbuttond: found scanner: vendor="Genius",
> product="Colorpage Vivid 1200 X", connection="libusb",
> how can i sniff the scanner on windows or linux to know which events are
> triggered from the scanner whenever i press a button ?
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.
More information about the sane-devel