[sane-devel] Re: debugging/tracing usb commands?!

Daniel Franke franke.daniel at gmail.com
Sat Sep 17 14:39:36 UTC 2005


> I'd like to see the bytes in a similar fashion as
> snoopypro captures them - any hints, tools, kernel options? 


I found an option myself:

The usbcore-module (2.6.??) has an "usbfs_snoop" parameter, it prints out the 
debug messages I looked for. The Article [1] describes where it comes from 
and 

$> echo [1/0] > /sys/module/usbcore/parameters/usbfs_snoop

enables/disables the debug output written to /var/log/kern.log (gentoo). Maybe 
someone else finds this useful.

Regards
	Daniel

[1] http://www.linuxjournal.com/article/7582




More information about the sane-devel mailing list