[Bug 559697] New: Brother USB-scanners stop with errors, related to libusb compatibility library
http://bugzilla.novell.com/show_bug.cgi?id=559697 http://bugzilla.novell.com/show_bug.cgi?id=559697#c0 Summary: Brother USB-scanners stop with errors, related to libusb compatibility library Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mueller@uni-trier.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5 Using OpenSuse 11.2 (both 32bit/64bit versions), several USB-scanners from Brother (at least: MFC-215C, MFC-590, MFC-8440, DCP-130C, DCP-135C) do not work. Starting a scan, they all stop after transmitting a small amount of data and give an error message (I/O error). So only scans with a small resolution or of a very small area are possible. Downgrading from libusb-0_1-4-0.1.13-2.2.x86_64 to libusb-0_1-4-0.1.12-139.1.1.x86_64 or fromlibusb-0_1-4 0.1.13-2.2-i586 to libusb-0_1-4-0.1.12-139.1.1.i586 solves the problem completely BTW: To get the scanners to work at all, third party drivers from Brother have to be installed (in my case brscan-0.2.4-0.x86_64.rpm) first. Reproducible: Always Steps to Reproduce: 1. Install brscan-0.2.4-0.x86_64 and a brother USB-scanner 2. Use xsane to make a scan with colour and a medium resolution. 3. The scanner stops after a few centimeters and xsane returns an I/O error Alternatively: Use "scanimage > /dev/null", leading to "scanimage: sane_read: Error during device I/O" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c1
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c2
Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c3
--- Comment #3 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c4
--- Comment #4 from Daniel Fuhrmann
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c5
--- Comment #5 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c6
--- Comment #6 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c7
--- Comment #7 from Stanislav Brabec
From /usr/src/linux/Documentation/usb/error-codes.txt:
-EREMOTEIO The data read from the endpoint did not fill the specified buffer, and URB_SHORT_NOT_OK was set in urb->transfer_flags. This error may be related to the emulation behavior. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c8
--- Comment #8 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c9
--- Comment #9 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c10
--- Comment #10 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c11
--- Comment #11 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c12
--- Comment #12 from Daniel Fuhrmann
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c13
--- Comment #13 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c14
--- Comment #14 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c15
--- Comment #15 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c16
--- Comment #16 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c17
--- Comment #17 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c18
--- Comment #18 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c19
--- Comment #19 from norbert müller
Still expecting debug logs from libusb0 done with the same scanner paramaters as done with the unsuccessful scan.
In comment #7, I already gave the best debug log I could get: Somehow, libusb-0_1-4-0.1.12-142.1.x86_64.rpm does not produce more logging information than given there. Neither in combination with libusb-1_0-0-1.0.2-2.2.x86_64.rpm (which is a non-debug-version afaik) nor with libusb-1_0-0-1.0.6-8.1.x86_64.rpm (which together with libusb-0_1-4-0.1.13 gave a reasonable error log) I suspect that libusb-0_1-4-0.1.12-142.1.x86_64.rpm simply might not be a (full) debugging version. BTW, I also tried libusb-0_1-4-0.1.12-140.1.x86_64.rpm from http://download.opensuse.org/repositories/hardware:/libusb0/openSUSE_11.2/x8..., but I got the same poor logs. I could not find a debugging version of libusb-1_0-0-1.0.2 anywhere. If you could provide me with such a version, I will give it a try.
... When no data are read, some magic in the driver is applied. It probably handles the step back before continuing.
It happened at 21:45:30. Less than 2 seconds later scanner stopped to work.
Did you press Ctrl+C at 21:45:31 or only scanner stopped to work in this moment?
In that case, the scan stopped and reported I/O error. Only in the case mentioned in comment #15, I finally had to stop with Ctrl-C (but a lot later than the reported behaviour). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c20
--- Comment #20 from Stanislav Brabec
I could not find a debugging version of libusb-1_0-0-1.0.2 anywhere.
True. The current libusb0 does not log successful bulk or control transfers, the most interesting for compatibility debugging, even in the highest bebugging level. I made a patch that makes possible to log them at level 3 and more. It should log more with libusb-0_1-4-0.1.12-143.1, which should appear soon in hardware:libusb0:debug. It is untested yet, but it should work well. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c21
--- Comment #21 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c22
--- Comment #22 from norbert müller
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c23
--- Comment #23 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c
Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c24
--- Comment #24 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c25
Pierre COUTANT
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c26
--- Comment #26 from Daniel Fuhrmann
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c27
--- Comment #27 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c28
E. Wolf
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c29
--- Comment #29 from Ruediger Meier
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c30
--- Comment #30 from E. Wolf
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c31
--- Comment #31 from Daniel Fuhrmann
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c32
pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c33
--- Comment #33 from Ruediger Meier
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c34
--- Comment #34 from Pierre COUTANT
Please try the rpm (brscan2) from Brother Japan. It can be found here: http://solutions.brother.co.jp/support/os/linux/scanner/driver.html#brscan2
For me it works fine, maybe it is the solution for anyone else?
Hello, I have installed the rpm brscan2-0.2.5-1 and my MFC-7420 scanner works perfectly now. I tried a color 1200 dpi (405.6 Mo) with success. Then I tried the max (9600 dpi) > 1 Go but then the machine stops with a time-out error (I suppose). Nevertheless the problem is solved for my machine; thank you. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c35
--- Comment #35 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c36
--- Comment #36 from Pierre COUTANT
comment about 34 : If I go to http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.h...
you can see that for MFC 7420 and a plat form x8664 you have to select brscan 2 and the version is brscan 2-0.2.5.1 , x 86.64 ;rpm , it is not necessary to go brother Japabn , it the same as it is written in comment 33,
So if brdrscan2 is correct the problem is for Brscan 3 and the scaners wchich have to use it,
my case dcp 7030
I repeat I had no problem with Suse x86 64 11.0 and 11.1
and other distribution like ubuntu 9.04 or mandriva 2009.1
problem of kernel or something else
I precise my OS is a x86 32 bits (no a 64 bits) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c37
--- Comment #37 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c38
--- Comment #38 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c39
--- Comment #39 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c40
--- Comment #40 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c41
--- Comment #41 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c42
Johannes Meixner
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c43
--- Comment #43 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c44
--- Comment #44 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c45
--- Comment #45 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c46
--- Comment #46 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c47
--- Comment #47 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c48
--- Comment #48 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c49
--- Comment #49 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c50
--- Comment #50 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c51
--- Comment #51 from pierre Labarbe
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c52
--- Comment #52 from Stanislav Brabec
http://bugzilla.novell.com/show_bug.cgi?id=559697
http://bugzilla.novell.com/show_bug.cgi?id=559697#c53
--- Comment #53 from pierre Labarbe
https://bugzilla.novell.com/show_bug.cgi?id=559697
https://bugzilla.novell.com/show_bug.cgi?id=559697#c54
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=559697
https://bugzilla.novell.com/show_bug.cgi?id=559697#c55
Oliver Neukum
Oliver, could you confirm, that in current kernels "given an example of 3 16kb bulk URBs submitted in parallel, if the first one ends early then the other 2 will be immediately cancelled with no possibility for data to arrive in them, as if they had never been submitted"?
Yes, this issue is fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559697
https://bugzilla.novell.com/show_bug.cgi?id=559697#c56
Stanislav Brabec
participants (1)
-
bugzilla_noreply@novell.com