[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-27 Thread Gernot Hassenpflug
On Sat, Feb 27, 2010 at 12:38 AM, Gernot Hassenpflug wrote: > On Fri, Feb 26, 2010 at 11:12 PM, m. allan noah wrote: >> On Thu, Feb 25, 2010 at 10:03 PM, Gernot Hassenpflug >> wrote: >>> On Fri, Feb 26, 2010 at 11:56 AM, m. allan noah >>> wrote: On Thu, Feb 25, 2010 at 9:17 PM, Gernot Has

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-27 Thread Gernot Hassenpflug
On Fri, Feb 26, 2010 at 11:12 PM, m. allan noah wrote: > On Thu, Feb 25, 2010 at 10:03 PM, Gernot Hassenpflug > wrote: >> On Fri, Feb 26, 2010 at 11:56 AM, m. allan noah >> wrote: >>> On Thu, Feb 25, 2010 at 9:17 PM, Gernot Hassenpflug >>> wrote: On Fri, Feb 26, 2010 at 12:38 AM, m. allan

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-26 Thread Gernot Hassenpflug
On Fri, Feb 26, 2010 at 11:56 AM, m. allan noah wrote: > On Thu, Feb 25, 2010 at 9:17 PM, Gernot Hassenpflug > wrote: >> On Fri, Feb 26, 2010 at 12:38 AM, m. allan noah >> wrote: >>> Do you find that the machine actually makes any control packets once >>> it starts scanning? Many scanners only

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-26 Thread Gernot Hassenpflug
On Fri, Feb 26, 2010 at 12:38 AM, m. allan noah wrote: > Do you find that the machine actually makes any control packets once > it starts scanning? Many scanners only use those at initial > configuration, which is taken care of by the host OS, and calls to set > interface, etc. I have found that I

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-26 Thread m. allan noah
On Thu, Feb 25, 2010 at 10:03 PM, Gernot Hassenpflug wrote: > On Fri, Feb 26, 2010 at 11:56 AM, m. allan noah wrote: >> On Thu, Feb 25, 2010 at 9:17 PM, Gernot Hassenpflug >> wrote: >>> On Fri, Feb 26, 2010 at 12:38 AM, m. allan noah >>> wrote: Do you find that the machine actually makes

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-26 Thread Gernot Hassenpflug
On Thu, Feb 25, 2010 at 8:28 PM, Pierre Willenbrock wrote: > Gernot Hassenpflug schrieb: >> On Thu, Feb 25, 2010 at 7:05 PM, Pierre Willenbrock >> wrote: >>> Gernot Hassenpflug schrieb: On Thu, Feb 25, 2010 at 1:05 AM, m. allan noah wrote: > > What happens is this: The device driver(m

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-25 Thread Gernot Hassenpflug
On Thu, Feb 25, 2010 at 7:05 PM, Pierre Willenbrock wrote: > Gernot Hassenpflug schrieb: >> On Thu, Feb 25, 2010 at 1:05 AM, m. allan noah wrote: >> /../ >> Are endpoints apart from the default 0x able to have both IN >> and OUT now? Or did I misunderstand the log file (and spike4 output

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-25 Thread Gernot Hassenpflug
On Thu, Feb 25, 2010 at 1:05 AM, m. allan noah wrote: > Attached is a copy of a script I wrote that clears up these verbose > logs. I don't know if it is the most recent version, I cannot reach my > development machine, and i just found this copy with google :) Thanks for that, I had seen it but

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-25 Thread Pierre Willenbrock
Gernot Hassenpflug schrieb: > On Thu, Feb 25, 2010 at 7:05 PM, Pierre Willenbrock > wrote: >> Gernot Hassenpflug schrieb: >>> On Thu, Feb 25, 2010 at 1:05 AM, m. allan noah >>> wrote: >>> /../ >>> Are endpoints apart from the default 0x able to have both IN >>> and OUT now? Or did I misu

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-25 Thread Pierre Willenbrock
Gernot Hassenpflug schrieb: > On Thu, Feb 25, 2010 at 1:05 AM, m. allan noah wrote: >> Attached is a copy of a script I wrote that clears up these verbose >> logs. I don't know if it is the most recent version, I cannot reach my >> development machine, and i just found this copy with google :) >

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-25 Thread m. allan noah
Do you find that the machine actually makes any control packets once it starts scanning? Many scanners only use those at initial configuration, which is taken care of by the host OS, and calls to set interface, etc. I have found that I generally only use bulk packets with most scanners... allan O

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-25 Thread Gernot Hassenpflug
Dear all, I am trying to analyse the CanoScan 8800F SniffUSB 2.0 results (WinXP Pro in VMware) and am confused by a few things. 1) there are 4 endpoints: *?0x which has both IN and OUT version; * 0x0007 which is a bulk type, seems to be for OUT only; * 0x0088 which

[sane-devel] SniffUSB: URB direction and TransferFlags IN/OUT confusion

2010-02-24 Thread m. allan noah
Attached is a copy of a script I wrote that clears up these verbose logs. I don't know if it is the most recent version, I cannot reach my development machine, and i just found this copy with google :) basically: cat UsbSnoop.log | perl spike4.pl > UsbSnoop.out then look at the .out file. allan