This is a project started with Thibault North which aims to write a Linux driver for the scanner Canoscan 5000F (USB connection).
USB documentation
- Linux USB
- usb.org (here developer documents)
- An Overview of Linux USB
- usbdeveloper.com
Scanner
- SANE: Scanner Access Now Easy (entry in SANE database for Canoscan 5000F)
- Genesys Backend
- Datasheets
- How to sniff
- UsbMon (Windows only)
USB tool
- UsbSnoop: Usb 'sniffer' (only for Windows)
- usbsnoop2libusb.pl (perl script)
- Usefull urls
- libusb
- FreeBSD USB: mailing list
Other
- Canoscan5000F free driver project (gna.org)
- Canon fb630u driver
- Question "How to write a scanner driver" on linuxfr.org
- Programming Guide for Linux USB Device Drivers (looks old, 2000?)
- Reverse engineering Windows USB device drivers (for the purpose of creating compatible device drivers for Linux)
- USBMon: Sniffer for Linux (kernel patch + Java UI)
usbmon (Linux)
To dump USB trafic on Linux, you need usbmon module which exists since Linux 2.6.11. Get more information in Linux documentation: /usr/src/linux/Documentation/usb/usbmon.txt
To get usbmon, you need a Linux kernel with debugfs support (CONFIG_DEBUG_FS=y). After that, use following commands:
# mount -t debugfs none_debugs /sys/kernel/debug # modprobe usbmon Verify that bus sockets are present. [root@lembas zaitcev]# ls /sys/kernel/debug/usbmon 1s 1t 2s 2t 3s 3t 4s 4t
A tool does exist to display these dumps: USBMon (see also [old website), program written in Java.
This project started with Dave Harding, a student who patched Linux Kernel (in 2002). Then Pete Zaitcev reused its code and convert it as small patch + kernel module. He also improved Java user interface.
Attachments
- plugin.snoopy.xml (20.5 kB) -
Handshake scanner-computer
, added by tnorth on 04/19/06 19:54:06.