[sane-devel] usbsniff

Pierre Willenbrock pierre at pirsoft.dnsalias.org
Thu Feb 5 20:29:04 UTC 2009


robert w hall schrieb:
> In message <498B15E0.9070805 at pirsoft.dnsalias.org>, Pierre Willenbrock
> <pierre at pirsoft.dnsalias.org> writes
> 
>> it decodes fine, but i need to find some time to put the test program
>> together. My scripts decode the usbsniff into some pseudo c-code, that
>> needs to be cleaned/modified to work.
> 
> OOH - is this generally useful and available please??
> 

My scripts are genesys gl84[12] and (possibly) gl843 specific, in that
it decodes the register output and prepares bulk transports for "easy"
reuse in c-arrays(it stuffs commas in between values).

Generally, the problem is with stuff that requires action depending on
the values read back from the scanner, and getting the timing critical
stuff right. Most of the time, one can get away with just replaying the
log, ignoring timestamps, and ignoring the values coming back. This does
not work f.E. for moving the scanning head back to home position(at
least if you are interested in knowing that the head reached that position).

I have seen a tool for usb log replay somewhere, but forgot the name.

My scripts can be found at www.pirsoft-dsl-dropzone.de.

Regards,
  Pierre



More information about the sane-devel mailing list