[sane-devel] Cannot get Brother DCP-7055W scanner to work
Torf
mail at torf.cc
Thu Oct 8 10:04:53 UTC 2015
Hello everybody,
I cannot get the scanner of my Brother DCP-7055W printer/scanner to work
on my 32bit Ubuntu 12.04. It's printer is working fine, I've gotten the
scanner to run on other OS and Linux is officially supported.
I've installed the "brscan4" drivers (version 0.4.3.2) from Brother's
website[0] and updated my udev rules according to their documentation[1,
2]. Afterwards, the scanner is found by ``scanimage``:
$ lsusb
Bus 001 Device 005: ID 04f9:02ce Brother Industries, Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0483:2016 STMicroelectronics Fingerprint
Reader
Bus 005 Device 002: ID 0a5c:2110 Broadcom Corp. BCM2045B (BDC-2
[Bluetooth Controller]
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ scanimage -L
device `brother4:bus5;dev1' is a Brother DCP-7055W USB scanner
(The command takes over a minute to run, is this to be expected?)
However, scanning itself fails, even when run as root:
$ sudo scanimage --test
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
Unfortunately, the error message does not tell me a lot. I've found a
Brother-specific debug option, which gives a bit more information:
$ sudo SANE_DEBUG_BROTHER4=255 scanimage -T[sanei_debug] Setting
debug level of brother4 to 255.
[brother4] brother init
[brother4] brother version: 1000001
[brother4] starting bus scan
[brother4] scanning bus 005
[brother4] found dev 0483/2016
[brother4] found dev 0A5C/2110
[brother4] found dev 1D6B/0001
[brother4] scanning bus 004
[brother4] found dev 1D6B/0001
[brother4] scanning bus 003
[brother4] found dev 1D6B/0001
[brother4] scanning bus 002
[brother4] found dev 1D6B/0001
[brother4] scanning bus 001
[brother4] found dev 04F9/02CE
[brother4] found dev 1D6B/0002
scanimage: rounded value of br-x from 215.9 to 215.88
scanimage: rounded value of br-y from 355.6 to 355.567
scanimage: sane_start: Invalid argument
[brother4] cancel called...
I've tried to rule out known problems related to Brother scanners:
* There might be a problem with USB 3 ports[3], but my computer (a
ThinkPad T60) has USB 2 ports.
* There might be a problem with USB bus numbers being mixed up[4], but
changing the permissions as explained there (for my bus and device
numbers, obviously) did not change anything.
Following the debugging of a similar problem[5], I ran ``scanimage`` via
``strace`` (``sudo strace -o strace.out -f scanimage -T``). I don't know
enough about strace to understand the output, but if anyone wants to
take a look: http://torf.cc/pub/strace.out.
Some more information on my system:
$ uname -r
3.13.0-34-generic
$ scanimage --version
scanimage (sane-backends) 1.0.23; backend version 1.0.23
$ dmesg
[25656.532078] usb 1-5: new high-speed USB device number 5 using
ehci-pci
[25656.666114] usb 1-5: New USB device found, idVendor=04f9,
idProduct=02ce
[25656.666121] usb 1-5: New USB device strings: Mfr=0, Product=0,
SerialNumber=3
[25656.666127] usb 1-5: SerialNumber: E71142G3N780154
[25656.667360] usblp 1-5:1.0: usblp0: USB Bidirectional printer dev
5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02CE
[25658.051865] usblp0: removed
[25658.054797] usblp 1-5:1.0: usblp0: USB Bidirectional printer dev
5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02CE
[25821.256382] usb 1-5: usbfs: interface 0 claimed by usblp while
'scanimage' sets config #1
[25821.256406] usb 1-5: usbfs: process 14439 (scanimage) did not
claim interface 1 before use
[25822.282660] usb 1-5: usbfs: interface 0 claimed by usblp while
'scanimage' sets config #1
[26672.008056] iwl3945 0000:03:00.0: Queue 2 stuck for 2308 ms.
[26672.008065] iwl3945 0000:03:00.0: On demand firmware reload
[26672.044193] ieee80211 phy0: Hardware restart was requested
[26680.612029] iwl3945 0000:03:00.0: Queue 2 stuck for 2436 ms.
[26680.612036] iwl3945 0000:03:00.0: On demand firmware reload
[26680.648151] ieee80211 phy0: Hardware restart was requested
[26681.654316] usb 1-5: usbfs: interface 0 claimed by usblp while
'scanimage' sets config #1
[26681.654338] usb 1-5: usbfs: process 14563 (scanimage) did not
claim interface 1 before use
[26682.682080] usb 1-5: usbfs: interface 0 claimed by usblp while
'scanimage' sets config #1
[26688.216034] iwl3945 0000:03:00.0: Queue 0 stuck for 2500 ms.
[26688.216041] iwl3945 0000:03:00.0: On demand firmware reload
[26688.253007] ieee80211 phy0: Hardware restart was requested
[27255.732807] usb 1-5: usbfs: interface 0 claimed by usblp while
'scanimage' sets config #1
[27255.732835] usb 1-5: usbfs: process 14635 (scanimage) did not
claim interface 1 before use
[27256.762155] usb 1-5: usbfs: interface 0 claimed by usblp while
'scanimage' sets config #1
Is there any way I can examine this problem in more detail?
Any help on this is greatly appreciated. I have contacted Brother
support regarding this issue but haven't got any answer so far.
Best regards,
Torf
[0] http://support.brother.com/g/s/id/linux/en/download_scn.html#brscan4
[1]
http://support.brother.com/g/s/id/linux/en/instruction_scn1a.html?c=us_ot&lang=en&redirect=on
[2]
http://support.brother.com/g/s/id/linux/en/instruction_scn1c.html?c=eu_ot&lang=en&prod=dcp7055w_us_eu_as&redirect=on#u9.10
[3] https://wiki.debianforum.de/Brother_Scanner#Scannen_am_USB-3.0-Port
[4] https://askubuntu.com/a/447283/31948
More information about the sane-devel
mailing list