You are not logged in.
Pages: 1
Topic closed
I am trying to use my Brother HL-2280DW scanner on Arch. It's a WiFi printer/scanner and I have no problem printing with it using CUPS/Avahi, but I've not had any luck getting the scanner to work. Here is what I've done so far...
I installed brscan4 from AUR (https://aur.archlinux.org/packages/brscan4) - the Brother web page says brscan4 is the correct driver for the HL-2280DW (see https://support.brother.com/g/s/id/linu … _scn.html).
I checked the scanner to see that its local IP address is 192.168.000.008.
I ran the configuration tool for the scanner:
brsaneconfig4 -a name=Brother model=HL-2280DW ip=192.168.000.008
Now I can locate the scanner successfully:
[tony@linux ~]$ scanimage -L
device `brother4:net1;dev0' is a Brother Brother HL-2280DW
device `v4l:/dev/video0' is a Noname HD WebCam: HD WebCam virtual device
But if I try to actually use it, I get an "Invalid argument" error...
[tony@linux ~]$ scanimage --device "brother4:net1;dev0" --format=tiff > test.tiff
scanimage: open of device brother4:net1;dev0 failed: Invalid argument
Same issue if I even just try to determine the available options...
[tony@linux ~]$ scanimage --device "brother4:net1;dev0" -A
scanimage: open of device brother4:net1;dev0 failed: Invalid argument
If I run the above commands as root, I get the same errors, so it's not a permissions issue.
The Arch wiki page for SANE (https://wiki.archlinux.org/index.php/SANE) says the issue could be firmware-related, but I bought the scanner in 2015 and the Brother website (see https://support.brother.com/g/b/downloa … w_us&os=7) only has a firmware update from 2013, so I think my scanner must have the latest firmware already.
The Brother-specific section of the Arch wiki article on scanner-specific problems (see https://wiki.archlinux.org/index.php/SA … s#Brother) notes that the dll.conf file needs to include the correct brotherX (where X stands for the relevant brscan version) indicated, but it already does...
[tony@linux ~]$ grep brother /etc/sane.d/dll.conf
brother4
That same page also suggests checking the IP address in the config file, but this also appears to be correct already...
[tony@linux ~]$ more /etc/opt/brother/scanner/brscan4/brsanenetdevice4.cfg
DEVICE=Brother , "HL-2280DW" , 0x4f9:0x272 , IP-ADDRESS=192.168.000.008
Finally, that same page also suggests running "brsaneconfig4 -d" and looking through the output. I see it pinging the correct IP address, but then no returned packets... I've included the output below. Wondering if anyone has any tips/ideas; I've spent so much time on this and out of ideas...
[tony@linux ~]$ brsaneconfig4 -d
-----------------------------
cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=e61e203c-e35e-4fe4-8b26-51019045fc99
/dev/sda5 / ext4 rw,relatime,data=ordered 0 1
# UUID=63b8459f-be15-4b76-a1ab-3ab621804cc9
/dev/sda6 /home ext4 rw,relatime,data=ordered 0 2
# UUID=2d8a1531-8571-4a60-bba3-840deefc7861
/dev/sda3 /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl 0 2
-----------------------------
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.
could not open USB device 0x8087/0x0024 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x04f2/0xb336 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x8087/0x07dc at 001:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 001:002: 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 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
# 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.
# 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.
-----------------------------
ls -R -all /proc/bus/usb
ls: cannot access '/proc/bus/usb': No such file or directory
-----------------------------
cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: No such file or directory
-----------------------------
scanimage -L
device `brother4:net1;dev0' is a Brother Brother HL-2280DW
device `v4l:/dev/video0' is a Noname HD WebCam: HD WebCam virtual device
-----------------------------
-----------------------------
/etc/opt/brother/scanner/brscan4//brsanenetdevice4.cfg:
-----------------------------
/etc/opt/brother/scanner/brscan4//Brsane4.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_11.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_15.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_12.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_18.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_17.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_14.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_9.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_19.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_21.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_3.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_6.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_8.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_22.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_7.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_20.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_10.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_5.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_16.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_4.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_2.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_13.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_1.ini:
-----------------------------
-----------------------------
ping
test Brother
ping 192.168.000.008 -w 10
PING 192.168.000.008 (92.242.140.2) 56(84) bytes of data.
--- 192.168.000.008 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 120ms
Last edited by tony5429 (2022-10-19 19:29:26)
Offline
PING 192.168.000.008 (92.242.140.2) 56(84) bytes of data.
Weird to see a public ip adress (92.242.140.2) being used to connect to a private one.
What kind of network are you on ?
post output of
$ ip link
$ ip address
$ ip route
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Actually just figured it out. For whatever reason, I had to use 192.168.0.8 instead of 192.168.000.008 (which the scanner had reported as its IP address). It's ironically the exact opposite of what this page says to do: http://neithere.net/2013/02/18/archlinu … _7860.html. Anyway, everything works fine now.
Last edited by tony5429 (2019-01-07 13:06:59)
Offline
Hello Everybody and thanks so much for your wonderfull work
I have a similar issue.
sudo brsaneconfig4 -a name=Brother model=MFC-L2700DW ip=192.168.0.33
scanimage -L
device `brother4:net1;dev0' is a Brother Brother MFC-L2700DW
device `v4l:/dev/video0' is a Noname USB 2.0 Camera: USB 2.0 Camera virtual device
sudo scanimage --device "brother4:net1;dev0" --format=tiff > $HOME/test.tiff
scanimage: open of device brother4:net1;dev0 failed: Invalid argument
sudo brsaneconfig4 -d
-----------------------------
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=EB67-3773 /efi vfat fmask=0137,dmask=0027 0 2
UUID=19cd0a9a-419f-42c3-801f-6f62872493fd / ext4 noatime 0 1
UUID=0940bf45-e182-4a24-9770-5a4542f305b0 /home ext4 nodev,nosuid 0 2
UUID=49f90cb3-2687-443f-af1f-bed84c475059 swap swap defaults 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
-----------------------------
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".found possible USB scanner (vendor=0x0bda [Generic], product=0x0129 [USB2.0-CRW]) at libusb:004:003
# 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.
-----------------------------
ls -R -all /proc/bus/usb
ls: impossible d'accéder à '/proc/bus/usb': Aucun fichier ou dossier de ce nom
-----------------------------
cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: Aucun fichier ou dossier de ce nom
-----------------------------
scanimage -L
device `brother4:net1;dev0' is a Brother Brother MFC-L2700DW
device `v4l:/dev/video0' is a Noname USB 2.0 Camera: USB 2.0 Camera virtual device
-----------------------------
-----------------------------
ping
test Brother
ping 192.168.0.33 -w 10PING 192.168.0.33 (192.168.0.33) 56(84) octets de données.
64 octets de 192.168.0.33 : icmp_seq=1 ttl=255 temps=0.768 ms
64 octets de 192.168.0.33 : icmp_seq=2 ttl=255 temps=0.474 ms
64 octets de 192.168.0.33 : icmp_seq=3 ttl=255 temps=0.483 ms
64 octets de 192.168.0.33 : icmp_seq=4 ttl=255 temps=0.438 ms
64 octets de 192.168.0.33 : icmp_seq=5 ttl=255 temps=0.457 ms
64 octets de 192.168.0.33 : icmp_seq=6 ttl=255 temps=0.452 ms
64 octets de 192.168.0.33 : icmp_seq=7 ttl=255 temps=0.520 ms
64 octets de 192.168.0.33 : icmp_seq=8 ttl=255 temps=0.527 ms
64 octets de 192.168.0.33 : icmp_seq=9 ttl=255 temps=0.472 ms
64 octets de 192.168.0.33 : icmp_seq=10 ttl=255 temps=0.431 ms--- statistiques ping 192.168.0.33 ---
10 paquets transmis, 10 reçus, 0% packet loss, time 9206ms
I don't have this part with :
/etc/opt/brother/scanner/brscan4//brsanenetdevice4.cfg:
-----------------------------
/etc/opt/brother/scanner/brscan4//Brsane4.ini:
-----------------------------
/etc/opt/brother/scanner/brscan4//models4/ext_11.ini:
Maybe that's the problem any idea how I can fix this ?
Thank you so much for your help
Last edited by Redge68 (2025-03-17 09:19:25)
Offline
Closing this old solved thread.
Offline
Pages: 1
Topic closed