Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

With Bullseye can't connect to Brother MFC-L2713DW scanner part

Need help with peripherals or devices?
Post Reply
Message
Author
craigwilliamsonnz
Posts: 26
Joined: 2021-08-14 09:06
Has thanked: 1 time
Been thanked: 1 time

With Bullseye can't connect to Brother MFC-L2713DW scanner part

#1 Post by craigwilliamsonnz »

Hi there. I've recently installed Bullseye on an Intel NUC 11 Enthusiast and so far most things are going well. The only major thing I can't get working is the scanner part of my Brother MFC-L2713DW multifunction printer. From simple scan I get "Unable to connect to scanner"

If I do what is listed in the wiki I get the following:

Code: Select all

craig@craig-debian:~$ lsusb
...
Bus 003 Device 007: ID 04f9:0435 Brother Industries, Ltd MFC-L2713DW
...

Code: Select all

craig@craig-debian:~$ sane-find-scanner

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

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

could not open USB device 0x2109/0x1822 at 004:003: Access denied (insufficient permissions)
could not open USB device 0x2109/0x0822 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc21d at 003:006: Access denied (insufficient permissions)
could not open USB device 0x2109/0x4822 at 003:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0026 at 003:004: Access denied (insufficient permissions)
could not open USB device 0x045e/0x00db at 003:009: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc534 at 003:008: Access denied (insufficient permissions)
found USB scanner (vendor=0x04f9 [Brother], product=0x0435 [MFC-L2713DW]) at libusb:003:007
could not open USB device 0x046d/0x0892 at 003:005: Access denied (insufficient permissions)
could not open USB device 0x2109/0x2822 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 005:001: Access denied (insufficient permissions)
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

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

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

Code: Select all

craig@craig-debian:~$ scanimage --list-devices
device `brother4:bus4;dev3' is a Brother MFC-L2713DW USB scanner
device `escl:http://127.0.0.1:60000' is a Brother MFC-L2713DW (USB) flatbed scanner

Code: Select all

craig@craig-debian:~$ ls -l /dev/bus/usb/*/*
crw-rw-r--  1 root root 189,   0 Aug 17 20:15 /dev/bus/usb/001/001
crw-rw-r--  1 root root 189, 128 Aug 17 20:15 /dev/bus/usb/002/001
crw-rw-r--  1 root root 189, 256 Aug 17 20:15 /dev/bus/usb/003/001
crw-rw-r--  1 root root 189, 257 Aug 17 20:15 /dev/bus/usb/003/002
crw-rw-r--  1 root root 189, 258 Aug 17 20:15 /dev/bus/usb/003/003
crw-rw-r--  1 root root 189, 259 Aug 17 20:15 /dev/bus/usb/003/004
crw-rw-r--  1 root root 189, 260 Aug 17 20:15 /dev/bus/usb/003/005
crw-rw-r--  1 root root 189, 261 Aug 17 20:15 /dev/bus/usb/003/006
crw-rw-r--+ 1 root lp   189, 262 Aug 17 20:24 /dev/bus/usb/003/007
crw-rw-r--  1 root root 189, 263 Aug 17 20:15 /dev/bus/usb/003/008
crw-rw-r--  1 root root 189, 264 Aug 17 20:15 /dev/bus/usb/003/009
crw-rw-r--  1 root root 189, 384 Aug 17 20:15 /dev/bus/usb/004/001
crw-rw-r--  1 root root 189, 385 Aug 17 20:15 /dev/bus/usb/004/002
crw-rw-r--  1 root root 189, 386 Aug 17 20:15 /dev/bus/usb/004/003
crw-rw-r--  1 root root 189, 512 Aug 17 20:15 /dev/bus/usb/005/001
crw-rw-r--  1 root root 189, 640 Aug 17 20:15 /dev/bus/usb/006/001
It looks like the scanner (following the wiki) is

Code: Select all

dev/bus/usb/003/007
. So if I do the getfacl command I get the following:

Code: Select all

craig@craig-debian:~$ getfacl /dev/bus/usb/003/007
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/003/007
# owner: root
# group: lp
user::rw-
user:Debian-gdm:rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--
It looks like it is to do with the USB permissions for the scanner but I can't seem to figure out how to fix it. If anyone could help that would be greatly appreciated. Thanks and good luck.

arzgi
Posts: 1183
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: With Bullseye can't connect to Brother MFC-L2713DW scanner part

#2 Post by arzgi »

Try as root, if it works, then it is a permission problem.

In that case, post output of groups command

Code: Select all

$ groups
$USER  adm dialout cdrom floppy sudo audio dip video plugdev staff netdev bluetooth lpadmin

craigwilliamsonnz
Posts: 26
Joined: 2021-08-14 09:06
Has thanked: 1 time
Been thanked: 1 time

Re: With Bullseye can't connect to Brother MFC-L2713DW scanner part

#3 Post by craigwilliamsonnz »

Hi Arzgi. Thanks very much for the suggestion. I've tried running simple scan with su and sudo. Unfortuntately I still can't connect to the scanner so it isn't a permissions problem. I remembered about debug mode so the output from that is here if that helps:

Code: Select all

simple-scan 

(simple-scan:2111): dconf-WARNING **: 07:06:49.311: failed to commit changes to dconf: The connection is closed
root@craig-debian:/home/craig# man simple-scan
root@craig-debian:/home/craig# simple-scan --debug
[+0.00s] DEBUG: simple-scan.vala:2012: Starting simple-scan 3.38.1, PID=3623
[+0.00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’

(simple-scan:3623): dconf-WARNING **: 07:10:05.610: failed to commit changes to dconf: The connection is closed
[+0.02s] DEBUG: app-window.vala:1990: Loading state from /root/.cache/simple-scan/state
[+0.02s] DEBUG: app-window.vala:1969: Restoring window to 600x400 pixels
[+0.05s] DEBUG: scanner.vala:1548: sane_init () -> SANE_STATUS_GOOD
[+0.05s] DEBUG: scanner.vala:1554: SANE version 1.0.31
[+0.05s] DEBUG: scanner.vala:1615: Requesting redetection of scan devices
[+0.05s] DEBUG: scanner.vala:828: Processing request
[+0.09s] DEBUG: gdk_pixbuf_from_pixdata() called on:
[+0.09s] DEBUG: 	Encoding raw
[+0.09s] DEBUG: 	Dimensions: 16 x 16
[+0.09s] DEBUG: 	Rowstride: 64, Length: 1048
[+0.09s] DEBUG: 	Copy pixels == false
[+0.21s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state
[+31.29s] DEBUG: gdk_pixbuf_from_pixdata() called on:
[+31.29s] DEBUG: 	Encoding raw
[+31.29s] DEBUG: 	Dimensions: 16 x 16
[+31.29s] DEBUG: 	Rowstride: 64, Length: 1048
[+31.29s] DEBUG: 	Copy pixels == false
[+31.54s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state
[+33.58s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state
[+55.55s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+55.55s] DEBUG: scanner.vala:353: Device: name="brother4:bus4;dev3" vendor="Brother" model="MFC-L2713DW" type="USB scanner"
[+55.55s] DEBUG: scanner.vala:353: Device: name="escl:http://127.0.0.1:60000" vendor="Brother" model="MFC-L2713DW (USB)" type="flatbed scanner"
[+55.87s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state
[+55.91s] DEBUG: gdk_pixbuf_from_pixdata() called on:
[+55.91s] DEBUG: 	Encoding raw
[+55.91s] DEBUG: 	Dimensions: 16 x 16
[+55.91s] DEBUG: 	Rowstride: 64, Length: 1048
[+55.91s] DEBUG: 	Copy pixels == false
[+60.28s] DEBUG: simple-scan.vala:1817: Requesting scan at 300 dpi from device 'brother4:bus4;dev3'
[+60.28s] DEBUG: scanner.vala:1683: Scanner.scan ("brother4:bus4;dev3", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=3000ms)
[+60.28s] DEBUG: scanner.vala:828: Processing request
[+60.28s] DEBUG: scanner.vala:889: sane_open ("brother4:bus4;dev3") -> SANE_STATUS_INVAL
[+60.28s] WARNING: scanner.vala:893: Unable to open device: Invalid argument
[+60.59s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state
[+64.59s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state
[+68.66s] DEBUG: app-window.vala:2065: Saving state to /root/.cache/simple-scan/state

Tximist
Posts: 2
Joined: 2021-09-21 16:22

Re: With Bullseye can't connect to Brother MFC-L2713DW scanner part

#4 Post by Tximist »

Same problem with my DCP-J572DW
output of groups command

Code: Select all

groups godosetxe
godosetxe : godosetxe cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: With Bullseye can't connect to Brother MFC-L2713DW scanner part

#5 Post by arochester »

@Tximist Please don't add your problem to the end of someone else's thread. Start your own thread instead.

Tximist
Posts: 2
Joined: 2021-09-21 16:22

Re: With Bullseye can't connect to Brother MFC-L2713DW scanner part

#6 Post by Tximist »

arochester wrote: 2021-09-21 16:46 @Tximist Please don't add your problem to the end of someone else's thread. Start your own thread instead.
Sorry, you can delete the post, no problem

Post Reply