This is a project started with Thibault North which aims to write a Linux driver for the scanner Canoscan 5000F (USB connection).

USB documentation

Scanner

USB tool

Other

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