Hi,

I got a bug report from someone using a Mustek ScanExpress 1200 CU
scanner. Scanning doesn't work most of the time, the scan stops
somewhere in the middle. The same scanner works here without problems
(but I'm using OHCI).

0:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 02) (prog-if 00 [UHCI])
         Subsystem: Unknown device 0925:1234
         Flags: bus master, medium devsel, latency 64, IRQ 10
         I/O ports at e400 [size=32]

Both uhci and usb-uhci result in problems. Tested with kernel 2.2.5
and 2.4.21-pre7. Here is a log:

Apr 12 20:55:52 florz kernel: scanner.c: read stats(0): result:0 this_read:2536 
partial:2536 count:2536
Apr 12 20:55:53 florz last message repeated 15 times

Until this point, scanning looks ok.

Apr 12 20:55:53 florz kernel: usb-uhci.c: interrupt, status 2, frame# 33
Apr 12 20:55:53 florz kernel: scanner.c: read stats(0): result:-84 this_read:2536 
partial:256 count:2536

-84 is EILSEQ which is CRC/Timeout.

Apr 12 20:55:53 florz kernel: scanner.c: read_scanner(0): funky result:-84. Consult 
Documentation/usb/scanner.txt.
Apr 12 20:55:53 florz kernel: scanner.c: close_scanner: scn_minor:0
Apr 12 20:55:53 florz kernel: hub.c: port 1, portstatus 101, change 2, 12 Mb/s
Apr 12 20:55:53 florz kernel: hub.c: port 1 enable change, status 101
Apr 12 20:55:53 florz kernel: hub.c: already running port 1 disabled by hub (EMI?), 
re-enabling...
Apr 12 20:55:53 florz kernel: hub.c: port 1, portstatus 101, change 2, 12 Mb/s
Apr 12 20:55:53 florz kernel: usb.c: USB disconnect on device 00:07.2-1 address 2
Apr 12 20:55:53 florz kernel: scanner.c: disconnect_scanner(0): Unlinking IRQ URB

So now the scanner is even disconnected (not by the user!).

My first impression was that this is some hardware problem
(cable/scanner/controller).

However, I had a similar problem with my UHCI controller and my USB
printer with 2.4.21-pre5 which seems to have been fixed in 2.4.21-pre7
(see linux-usb-users). So I'm not sure anymore.

Any ideas if this is a hardware problem or a problem somewhere in the
USB layer? Should I ask for more logs/information?

Bye,
  Henning




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to