Here's the usbmon output on my old USB2 laptop, kernel 3.9.1 Including the plug/unplug events. scanimage -L succesfully reports the scanner and returns the prompt. M. On Mon, Jul 1, 2013 at 10:14 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Mon, 1 Jul 2013, Martin van Es wrote: > >> Here's the usbmon log on bus 01 >> >> worflow: >> 1. cat /sys/kernel/debug/usb/usbmon/1u > 1u.mon.out >> 2. plug scanner >> 3. scanimage -L >> 4. unplug scanner >> 5. stop cat > > The problems start here: > > ffff88023423db40 1844894429 S Bo:1:004:3 -115 4 = 01070001 > ffff88023423db40 1844894484 C Bo:1:004:3 -71 0 > ffff88023423db40 1844894509 S Co:1:004:0 s 02 01 0000 0003 0000 0 > ffff88023423db40 1844894571 C Co:1:004:0 -71 0 > > Two transfers failed, with low-level errors. The second transfer was a > Clear-Halt, even though the endpoint wasn't halted. > > ffff880231da76c0 1845894772 S Bo:1:004:3 -115 4 = 01070001 > ffff880231da76c0 1845894861 C Bo:1:004:3 0 4 > > ffff880232b38b40 1845894959 S Bi:1:004:2 -115 1 < > ffff880232b38b40 1868423627 C Bi:1:004:2 -108 0 > > Then one transfer worked and another one hung. Next, for some unknown > reason there was a logical disconnect. Maybe the scanimage program > quit. > > ffff880232df6900 1877247948 C Ii:1:001:1 0:2048 1 = 04 > ffff880232df6900 1877247970 S Ii:1:001:1 -115:2048 4 < > ffff88020fef2840 1877248025 S Ci:1:001:0 s a3 00 0000 0002 0004 4 < > ffff88020fef2840 1877248032 C Ci:1:001:0 0 4 = 00010100 > > This is the physical disconnect -- when the cable was unplugged. It > happened 9 seconds after the logical disconnect. > > Martin, can you provide a similar usbmon trace with the scanner plugged > into a USB-2 port? > > Alan Stern > -- If 'but' was any useful, it would be a logic operator
Attachment:
5u.mon.out
Description: Binary data