[sane-devel] Troubles with sniffusb 1.8

svoltz@wanadoo.fr svoltz@wanadoo.fr
Tue, 28 Sep 2004 18:50:05 +0200


	Hello,

	I'm using sniffusb-1.8 to log the data flow for a Medion MD6471, and 
ran into a couple of issues:

	- first, logs show some messages like
	******* non printable URB with function code 0x00001004 ********
	or 
	******* non printable URB with function code 0x00001003 ********
	as anwsers to URB_FUNCTION_ABORT_PIPE.

	Did anyone allready noticed such a thing ?

	- second, I get allocation errors which leads to incomplete 
	buffer dumps (see 'myAllocationFailed'):
	[79468 ms] UsbSnoop - RemoveDevice(ff1ca6f0) : fido=c1612bc8 pdx=c1612c80
	[79468 ms] UsbSnoop - DriverUnload(ff1ca640) : DriverObject c1603ad8, IRQL=0
	[79468 ms] Driver unloaded!
	MyThreadFunction : myMsgCount=7639 myMaxSemaphoreCount=9 myMaxIrql=2, myAllocationFailed=10732, mySemaphoreFailed=0

	Did anyone get into this ?

	- last, I see that that the usbsnoop.log isn't used directly, but 
	parsed with some awk scripts. Would it be worth to have a 
	modified version of sniffusb to output in 'the right format'
	directly ?

Regards,
	Stef