Quantcast

Cannot get Brother DCP-7055W scanner to work

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Cannot get Brother DCP-7055W scanner to work

Torf
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

--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot get Brother DCP-7055W scanner to work

Torf
Here is some more information:

1) I made sure that both root and my normal user are members of the
"scanner" and "saned" groups -- changes nothing.

2) While ``scanimage -L`` does find my scanner, ``sane-find-scanner``
does *not* (neither via sudo nor as a normal user):

  $ sudo sane-find-scanner -v
  This is sane-find-scanner from sane-backends 1.0.23

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  searching for SCSI scanners:
  checking /dev/scanner... failed to open (Invalid argument)
  checking /dev/sg0... failed to open (Invalid argument)
  checking /dev/sg1... failed to open (Invalid argument)
  checking /dev/sg2... failed to open (Invalid argument)
  checking /dev/sg3... failed to open (Invalid argument)
  checking /dev/sg4... failed to open (Invalid argument)
  checking /dev/sg5... failed to open (Invalid argument)
  checking /dev/sg6... failed to open (Invalid argument)
  checking /dev/sg7... failed to open (Invalid argument)
  checking /dev/sg8... failed to open (Invalid argument)
  checking /dev/sg9... failed to open (Invalid argument)
  checking /dev/sga... failed to open (Invalid argument)
  checking /dev/sgb... failed to open (Invalid argument)
  checking /dev/sgc... failed to open (Invalid argument)
  checking /dev/sgd... failed to open (Invalid argument)
  checking /dev/sge... failed to open (Invalid argument)
  checking /dev/sgf... failed to open (Invalid argument)
  checking /dev/sgg... failed to open (Invalid argument)
  checking /dev/sgh... failed to open (Invalid argument)
  checking /dev/sgi... failed to open (Invalid argument)
  checking /dev/sgj... failed to open (Invalid argument)
  checking /dev/sgk... failed to open (Invalid argument)
  checking /dev/sgl... failed to open (Invalid argument)
  checking /dev/sgm... failed to open (Invalid argument)
  checking /dev/sgn... failed to open (Invalid argument)
  checking /dev/sgo... failed to open (Invalid argument)
  checking /dev/sgp... failed to open (Invalid argument)
  checking /dev/sgq... failed to open (Invalid argument)
  checking /dev/sgr... failed to open (Invalid argument)
  checking /dev/sgs... failed to open (Invalid argument)
  checking /dev/sgt... failed to open (Invalid argument)
  checking /dev/sgu... failed to open (Invalid argument)
  checking /dev/sgv... failed to open (Invalid argument)
  checking /dev/sgw... failed to open (Invalid argument)
  checking /dev/sgx... failed to open (Invalid argument)
  checking /dev/sgy... failed to open (Invalid argument)
  checking /dev/sgz... failed to open (Invalid argument)
  # No SCSI scanners found. If you expected something different, make
  sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

  searching for USB scanners:
  checking /dev/usb/scanner... failed to open (Invalid argument)
  checking /dev/usb/scanner0... failed to open (Invalid argument)
  checking /dev/usb/scanner1... failed to open (Invalid argument)
  checking /dev/usb/scanner2... failed to open (Invalid argument)
  checking /dev/usb/scanner3... failed to open (Invalid argument)
  checking /dev/usb/scanner4... failed to open (Invalid argument)
  checking /dev/usb/scanner5... failed to open (Invalid argument)
  checking /dev/usb/scanner5... failed to open (Invalid argument)
  checking /dev/usb/scanner7... failed to open (Invalid argument)
  checking /dev/usb/scanner8... failed to open (Invalid argument)
  checking /dev/usb/scanner9... failed to open (Invalid argument)
  checking /dev/usb/scanner10... failed to open (Invalid argument)
  checking /dev/usb/scanner11... failed to open (Invalid argument)
  checking /dev/usb/scanner12... failed to open (Invalid argument)
  checking /dev/usb/scanner13... failed to open (Invalid argument)
  checking /dev/usb/scanner14... failed to open (Invalid argument)
  checking /dev/usb/scanner15... failed to open (Invalid argument)
  checking /dev/usbscanner... failed to open (Invalid argument)
  checking /dev/usbscanner0... failed to open (Invalid argument)
  checking /dev/usbscanner1... failed to open (Invalid argument)
  checking /dev/usbscanner2... failed to open (Invalid argument)
  checking /dev/usbscanner3... failed to open (Invalid argument)
  checking /dev/usbscanner4... failed to open (Invalid argument)
  checking /dev/usbscanner5... failed to open (Invalid argument)
  checking /dev/usbscanner6... failed to open (Invalid argument)
  checking /dev/usbscanner7... failed to open (Invalid argument)
  checking /dev/usbscanner8... failed to open (Invalid argument)
  checking /dev/usbscanner9... failed to open (Invalid argument)
  checking /dev/usbscanner10... failed to open (Invalid argument)
  checking /dev/usbscanner11... failed to open (Invalid argument)
  checking /dev/usbscanner12... failed to open (Invalid argument)
  checking /dev/usbscanner13... failed to open (Invalid argument)
  checking /dev/usbscanner14... failed to open (Invalid argument)
  checking /dev/usbscanner15... failed to open (Invalid argument)
  # No USB scanners found. If you expected something different, make
  sure that
  # you have loaded a kernel driver for your USB host controller and
  have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary
  ports
  # can't be detected by this program.
  done


Best regards,
Torf



On 08.10.2015 12:04, Torf wrote:

> 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
>


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot get Brother DCP-7055W scanner to work

Torf
I just retried this on another ThinkPad (T410) running 64bit Ubuntu
12.04. After following the usual installation instructions (including
the part about copying files from /usr/lib64 to /usr/lib from the
Brother FAQ) I still get the same error as on my other computer.

Also still no word from the Brother support...

Is there any other thing I can try?


Best regards,
Torf


On 09.10.2015 11:09, Torf wrote:

> Here is some more information:
>
> 1) I made sure that both root and my normal user are members of the
> "scanner" and "saned" groups -- changes nothing.
>
> 2) While ``scanimage -L`` does find my scanner, ``sane-find-scanner``
> does *not* (neither via sudo nor as a normal user):
>
>   $ sudo sane-find-scanner -v
>   This is sane-find-scanner from sane-backends 1.0.23
>
>   # sane-find-scanner will now attempt to detect your scanner. If the
>   # result is different from what you expected, first make sure your
>   # scanner is powered up and properly connected to your computer.
>
>   searching for SCSI scanners:
>   checking /dev/scanner... failed to open (Invalid argument)
>   checking /dev/sg0... failed to open (Invalid argument)
>   checking /dev/sg1... failed to open (Invalid argument)
>   checking /dev/sg2... failed to open (Invalid argument)
>   checking /dev/sg3... failed to open (Invalid argument)
>   checking /dev/sg4... failed to open (Invalid argument)
>   checking /dev/sg5... failed to open (Invalid argument)
>   checking /dev/sg6... failed to open (Invalid argument)
>   checking /dev/sg7... failed to open (Invalid argument)
>   checking /dev/sg8... failed to open (Invalid argument)
>   checking /dev/sg9... failed to open (Invalid argument)
>   checking /dev/sga... failed to open (Invalid argument)
>   checking /dev/sgb... failed to open (Invalid argument)
>   checking /dev/sgc... failed to open (Invalid argument)
>   checking /dev/sgd... failed to open (Invalid argument)
>   checking /dev/sge... failed to open (Invalid argument)
>   checking /dev/sgf... failed to open (Invalid argument)
>   checking /dev/sgg... failed to open (Invalid argument)
>   checking /dev/sgh... failed to open (Invalid argument)
>   checking /dev/sgi... failed to open (Invalid argument)
>   checking /dev/sgj... failed to open (Invalid argument)
>   checking /dev/sgk... failed to open (Invalid argument)
>   checking /dev/sgl... failed to open (Invalid argument)
>   checking /dev/sgm... failed to open (Invalid argument)
>   checking /dev/sgn... failed to open (Invalid argument)
>   checking /dev/sgo... failed to open (Invalid argument)
>   checking /dev/sgp... failed to open (Invalid argument)
>   checking /dev/sgq... failed to open (Invalid argument)
>   checking /dev/sgr... failed to open (Invalid argument)
>   checking /dev/sgs... failed to open (Invalid argument)
>   checking /dev/sgt... failed to open (Invalid argument)
>   checking /dev/sgu... failed to open (Invalid argument)
>   checking /dev/sgv... failed to open (Invalid argument)
>   checking /dev/sgw... failed to open (Invalid argument)
>   checking /dev/sgx... failed to open (Invalid argument)
>   checking /dev/sgy... failed to open (Invalid argument)
>   checking /dev/sgz... failed to open (Invalid argument)
>   # No SCSI scanners found. If you expected something different, make
>   sure that
>   # you have loaded a kernel SCSI driver for your SCSI adapter.
>
>   searching for USB scanners:
>   checking /dev/usb/scanner... failed to open (Invalid argument)
>   checking /dev/usb/scanner0... failed to open (Invalid argument)
>   checking /dev/usb/scanner1... failed to open (Invalid argument)
>   checking /dev/usb/scanner2... failed to open (Invalid argument)
>   checking /dev/usb/scanner3... failed to open (Invalid argument)
>   checking /dev/usb/scanner4... failed to open (Invalid argument)
>   checking /dev/usb/scanner5... failed to open (Invalid argument)
>   checking /dev/usb/scanner5... failed to open (Invalid argument)
>   checking /dev/usb/scanner7... failed to open (Invalid argument)
>   checking /dev/usb/scanner8... failed to open (Invalid argument)
>   checking /dev/usb/scanner9... failed to open (Invalid argument)
>   checking /dev/usb/scanner10... failed to open (Invalid argument)
>   checking /dev/usb/scanner11... failed to open (Invalid argument)
>   checking /dev/usb/scanner12... failed to open (Invalid argument)
>   checking /dev/usb/scanner13... failed to open (Invalid argument)
>   checking /dev/usb/scanner14... failed to open (Invalid argument)
>   checking /dev/usb/scanner15... failed to open (Invalid argument)
>   checking /dev/usbscanner... failed to open (Invalid argument)
>   checking /dev/usbscanner0... failed to open (Invalid argument)
>   checking /dev/usbscanner1... failed to open (Invalid argument)
>   checking /dev/usbscanner2... failed to open (Invalid argument)
>   checking /dev/usbscanner3... failed to open (Invalid argument)
>   checking /dev/usbscanner4... failed to open (Invalid argument)
>   checking /dev/usbscanner5... failed to open (Invalid argument)
>   checking /dev/usbscanner6... failed to open (Invalid argument)
>   checking /dev/usbscanner7... failed to open (Invalid argument)
>   checking /dev/usbscanner8... failed to open (Invalid argument)
>   checking /dev/usbscanner9... failed to open (Invalid argument)
>   checking /dev/usbscanner10... failed to open (Invalid argument)
>   checking /dev/usbscanner11... failed to open (Invalid argument)
>   checking /dev/usbscanner12... failed to open (Invalid argument)
>   checking /dev/usbscanner13... failed to open (Invalid argument)
>   checking /dev/usbscanner14... failed to open (Invalid argument)
>   checking /dev/usbscanner15... failed to open (Invalid argument)
>   # No USB scanners found. If you expected something different, make
>   sure that
>   # you have loaded a kernel driver for your USB host controller and
>   have setup
>   # the USB system correctly. See man sane-usb for details.
>
>   # Not checking for parallel port scanners.
>
>   # Most Scanners connected to the parallel port or other proprietary
>   ports
>   # can't be detected by this program.
>   done
>
>
> Best regards,
> Torf
>
>
>
> On 08.10.2015 12:04, Torf wrote:
>> 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
>>
>
>


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot get Brother DCP-7055W scanner to work

Torf
After resetting the device to factory settings and re-configuring its
WLAN access it is now working via WLAN, something that wasn't working
before, either. Since that's perfectly fine for my purposes I won't
investigate the USB issue any further.


Regards,
Torf

On 12.10.2015 10:14, Torf wrote:

> I just retried this on another ThinkPad (T410) running 64bit Ubuntu
> 12.04. After following the usual installation instructions (including
> the part about copying files from /usr/lib64 to /usr/lib from the
> Brother FAQ) I still get the same error as on my other computer.
>
> Also still no word from the Brother support...
>
> Is there any other thing I can try?
>
>
> Best regards,
> Torf
>
>
> On 09.10.2015 11:09, Torf wrote:
>> Here is some more information:
>>
>> 1) I made sure that both root and my normal user are members of the
>> "scanner" and "saned" groups -- changes nothing.
>>
>> 2) While ``scanimage -L`` does find my scanner, ``sane-find-scanner``
>> does *not* (neither via sudo nor as a normal user):
>>
>>   $ sudo sane-find-scanner -v
>>   This is sane-find-scanner from sane-backends 1.0.23
>>
>>   # sane-find-scanner will now attempt to detect your scanner. If the
>>   # result is different from what you expected, first make sure your
>>   # scanner is powered up and properly connected to your computer.
>>
>>   searching for SCSI scanners:
>>   checking /dev/scanner... failed to open (Invalid argument)
>>   checking /dev/sg0... failed to open (Invalid argument)
>>   checking /dev/sg1... failed to open (Invalid argument)
>>   checking /dev/sg2... failed to open (Invalid argument)
>>   checking /dev/sg3... failed to open (Invalid argument)
>>   checking /dev/sg4... failed to open (Invalid argument)
>>   checking /dev/sg5... failed to open (Invalid argument)
>>   checking /dev/sg6... failed to open (Invalid argument)
>>   checking /dev/sg7... failed to open (Invalid argument)
>>   checking /dev/sg8... failed to open (Invalid argument)
>>   checking /dev/sg9... failed to open (Invalid argument)
>>   checking /dev/sga... failed to open (Invalid argument)
>>   checking /dev/sgb... failed to open (Invalid argument)
>>   checking /dev/sgc... failed to open (Invalid argument)
>>   checking /dev/sgd... failed to open (Invalid argument)
>>   checking /dev/sge... failed to open (Invalid argument)
>>   checking /dev/sgf... failed to open (Invalid argument)
>>   checking /dev/sgg... failed to open (Invalid argument)
>>   checking /dev/sgh... failed to open (Invalid argument)
>>   checking /dev/sgi... failed to open (Invalid argument)
>>   checking /dev/sgj... failed to open (Invalid argument)
>>   checking /dev/sgk... failed to open (Invalid argument)
>>   checking /dev/sgl... failed to open (Invalid argument)
>>   checking /dev/sgm... failed to open (Invalid argument)
>>   checking /dev/sgn... failed to open (Invalid argument)
>>   checking /dev/sgo... failed to open (Invalid argument)
>>   checking /dev/sgp... failed to open (Invalid argument)
>>   checking /dev/sgq... failed to open (Invalid argument)
>>   checking /dev/sgr... failed to open (Invalid argument)
>>   checking /dev/sgs... failed to open (Invalid argument)
>>   checking /dev/sgt... failed to open (Invalid argument)
>>   checking /dev/sgu... failed to open (Invalid argument)
>>   checking /dev/sgv... failed to open (Invalid argument)
>>   checking /dev/sgw... failed to open (Invalid argument)
>>   checking /dev/sgx... failed to open (Invalid argument)
>>   checking /dev/sgy... failed to open (Invalid argument)
>>   checking /dev/sgz... failed to open (Invalid argument)
>>   # No SCSI scanners found. If you expected something different, make
>>   sure that
>>   # you have loaded a kernel SCSI driver for your SCSI adapter.
>>
>>   searching for USB scanners:
>>   checking /dev/usb/scanner... failed to open (Invalid argument)
>>   checking /dev/usb/scanner0... failed to open (Invalid argument)
>>   checking /dev/usb/scanner1... failed to open (Invalid argument)
>>   checking /dev/usb/scanner2... failed to open (Invalid argument)
>>   checking /dev/usb/scanner3... failed to open (Invalid argument)
>>   checking /dev/usb/scanner4... failed to open (Invalid argument)
>>   checking /dev/usb/scanner5... failed to open (Invalid argument)
>>   checking /dev/usb/scanner5... failed to open (Invalid argument)
>>   checking /dev/usb/scanner7... failed to open (Invalid argument)
>>   checking /dev/usb/scanner8... failed to open (Invalid argument)
>>   checking /dev/usb/scanner9... failed to open (Invalid argument)
>>   checking /dev/usb/scanner10... failed to open (Invalid argument)
>>   checking /dev/usb/scanner11... failed to open (Invalid argument)
>>   checking /dev/usb/scanner12... failed to open (Invalid argument)
>>   checking /dev/usb/scanner13... failed to open (Invalid argument)
>>   checking /dev/usb/scanner14... failed to open (Invalid argument)
>>   checking /dev/usb/scanner15... failed to open (Invalid argument)
>>   checking /dev/usbscanner... failed to open (Invalid argument)
>>   checking /dev/usbscanner0... failed to open (Invalid argument)
>>   checking /dev/usbscanner1... failed to open (Invalid argument)
>>   checking /dev/usbscanner2... failed to open (Invalid argument)
>>   checking /dev/usbscanner3... failed to open (Invalid argument)
>>   checking /dev/usbscanner4... failed to open (Invalid argument)
>>   checking /dev/usbscanner5... failed to open (Invalid argument)
>>   checking /dev/usbscanner6... failed to open (Invalid argument)
>>   checking /dev/usbscanner7... failed to open (Invalid argument)
>>   checking /dev/usbscanner8... failed to open (Invalid argument)
>>   checking /dev/usbscanner9... failed to open (Invalid argument)
>>   checking /dev/usbscanner10... failed to open (Invalid argument)
>>   checking /dev/usbscanner11... failed to open (Invalid argument)
>>   checking /dev/usbscanner12... failed to open (Invalid argument)
>>   checking /dev/usbscanner13... failed to open (Invalid argument)
>>   checking /dev/usbscanner14... failed to open (Invalid argument)
>>   checking /dev/usbscanner15... failed to open (Invalid argument)
>>   # No USB scanners found. If you expected something different, make
>>   sure that
>>   # you have loaded a kernel driver for your USB host controller and
>>   have setup
>>   # the USB system correctly. See man sane-usb for details.
>>
>>   # Not checking for parallel port scanners.
>>
>>   # Most Scanners connected to the parallel port or other proprietary
>>   ports
>>   # can't be detected by this program.
>>   done
>>
>>
>> Best regards,
>> Torf
>>
>>
>>
>> On 08.10.2015 12:04, Torf wrote:
>>> 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
>>>
>>
>>
>
>


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Loading...