You are not logged in.

#1 2025-03-17 09:48:37

Redge68
Member
Registered: 2025-03-17
Posts: 7

Brother Scanner with SANE

Hello Everybody and thanks so much for your wonderfull work

I am trying to use my Brother MFC-L2700DW scanner on Arch. It's a Network 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 MFC-L2700DW (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.0.33

I ran the configuration tool for the scanner:

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 10

PING 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 16:37:22)

Offline

#2 2025-03-17 14:50:48

csmnn
Member
Registered: 2017-05-10
Posts: 25

Re: Brother Scanner with SANE

Hi!

I have a different Brother Scanner (DCP-L2500D) and did not need to configure anything with brscane other than installing the aur-package.

It is a local scanner, though. I can only use via USB.

For USB-Scanning: It looks like you are not using the scanimage-command correctly. The device-argument is called "--device-name" not "--device".

If I use this command with my device-name, the scanner works and produces a tiff-file:

scanimage --device-name "brother4:bus8;dev6" --format=tiff > test.tiff

For Network-Scanning: It seems that sane needs some more configuration for finding the scanner. Maybe the Wiki-Section on Remote-Access or the debian-wiki has some pointers for you.

Offline

#3 2025-03-17 15:23:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

OP follows https://wiki.archlinux.org/title/SANE/S … d_argument

nmap 192.168.0.33 # to see what the host is actually listening on
scanimage -A # to check the options, maybe tiff isn't available via the network? tried png?

On a formal note, please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

Offline

#4 2025-03-21 12:42:23

Redge68
Member
Registered: 2025-03-17
Posts: 7

Re: Brother Scanner with SANE

Hello Thanks for you help :

$nmap 192.168.0.33
Starting Nmap 7.95 ( [url]https://nmap.org[/url] ) at 2025-03-21 13:35 CET
Nmap scan report for 192.168.0.33
Host is up (0.061s latency).
Not shown: 993 closed tcp ports (conn-refused)
PORT     STATE SERVICE
21/tcp   open  ftp
23/tcp   open  telnet
80/tcp   open  http
443/tcp  open  https
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect
$ scanimage -A
Output format is not set, using pnm as a default.
scanimage: open of device brother4:net1;dev0 failed: Invalid argument
$ scanimage --device-name "brother4:net1;dev0" --format=png > test.png
scanimage: open of device brother4:net1;dev0 failed: Invalid argument

I also disabled the firewall to be sure :

$ sudo systemctl status firewalld
○ firewalld.service - firewalld - dynamic firewall daemon
     Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; prese>
     Active: inactive (dead)
       Docs: man:firewalld(1)

mars 21 13:22:21 marc-aspirezc605 systemd[1]: Starting firewalld - dynamic fire>
mars 21 13:22:22 marc-aspirezc605 systemd[1]: Started firewalld - dynamic firew>
mars 21 13:32:18 marc-aspirezc605 systemd[1]: Stopping firewalld - dynamic fire>
mars 21 13:32:18 marc-aspirezc605 systemd[1]: firewalld.service: Deactivated su>
mars 21 13:32:18 marc-aspirezc605 systemd[1]: Stopped firewalld - dynamic firew>
mars 21 13:32:18 marc-aspirezc605 systemd[1]: firewalld.service: Consumed 1.173>
lines 1-11/

For info I have this

$ cat brsanenetdevice4.cfg
DEVICE=Scanner , "MFC-L2700DW" , 0x4f9:0x331 , IP-ADDRESS=192.168.0.33

And I also add this : (https://forums.linuxmint.com/viewtopic.php?t=326630)

/etc/udev/rules.d/65-sane-missing-scanner.rules

# Brother scanners
ATTRS {idVendor} == "04f9", ENV {libsane_matched} = "yes"

# MFC-L2700DW
SUBSYSTEMS == "net", ATTRS {idVendor} == "04f9", ATTRS {idProduct} == "0331", MODE = "0666"

And I also tried sane-airscan with which i had this one but still nor working

scanimage -L
device `brother4:net1;dev0' is a Brother Scanner MFC-L2700DW
device `airscan:w1:Brother MFC-L2700DW series' is a WSD Brother MFC-L2700DW series ip=192.168.0.33

Last edited by Redge68 (2025-03-21 14:42:59)

Offline

#5 2025-03-21 15:26:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

No common scanner port is listed there…

nmap -p 54925,6566,8610,8612,9095,5358 192.168.0.33

Offline

#6 2025-03-21 18:56:59

just4arch
Member
Registered: 2023-01-07
Posts: 121

Re: Brother Scanner with SANE

Sanity check

grep -r brother /etc/sane.d/dll.*

The entry is missing for brscan3, so might be for brscan4, too.

Offline

#7 2025-03-24 08:32:49

Redge68
Member
Registered: 2025-03-17
Posts: 7

Re: Brother Scanner with SANE

seth wrote:

No common scanner port is listed there…

nmap -p 54925,6566,8610,8612,9095,5358 192.168.0.33
nmap -p 54925,6566,8610,8612,9095,5358 192.168.0.33
Starting Nmap 7.95 ( https://nmap.org ) at 2025-03-24 09:30 CET
Nmap scan report for 192.168.0.33
Host is up (0.0028s latency).

PORT      STATE  SERVICE
5358/tcp  closed wsdapi-s
6566/tcp  closed sane-port
8610/tcp  closed canon-mfnp
8612/tcp  closed canon-bjnp2
9095/tcp  closed unknown
54925/tcp closed unknown

It seems all those ports are closed.

But I found those 2 which are opened :

nmap -p 54922 192.168.0.33
Starting Nmap 7.95 ( [url]https://nmap.org[/url] ) at 2025-03-24 09:43 CET
Nmap scan report for 192.168.0.33
Host is up (0.0017s latency).

PORT      STATE SERVICE
54922/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
[marc@marc-aspirezc605 ~]$ nmap -p 54922,54923 192.168.0.33
Starting Nmap 7.95 ( [url]https://nmap.org[/url] ) at 2025-03-24 09:44 CET
Nmap scan report for 192.168.0.33
Host is up (0.0017s latency).

PORT      STATE SERVICE
54922/tcp open  unknown
54923/tcp open  unknown

Agry IP Scanner Report :

IP:	192.168.0.33
Ping:	0 ms
Nom d'hôte:	BRN3C2AF42CD058.local
Ports:	21,23,80,443,515,631,9100,54922,54923

Do you know if i need to activate something on the scanner ?

Last edited by Redge68 (2025-03-24 08:49:11)

Offline

#8 2025-03-24 08:40:44

Redge68
Member
Registered: 2025-03-17
Posts: 7

Re: Brother Scanner with SANE

just4arch wrote:

Sanity check

grep -r brother /etc/sane.d/dll.*

The entry is missing for brscan3, so might be for brscan4, too.

I have it :

grep -r brother /etc/sane.d/dll.*
/etc/sane.d/dll.conf:brother4

Last edited by Redge68 (2025-03-24 08:42:20)

Offline

#9 2025-03-24 13:25:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

According to https://support.brother.com/g/b/faqend. … 002637_010 the scanner operates on ports 54925, 137 and 161
54922 & 54923 sound close enough, but miss by an inch, miss by a mile…

I'd wireshark the connection to see what port sane tries to reach, whether and how that's configurable in either the scanner or the brother sane driver idk at hand.

Offline

#10 2025-03-24 13:47:17

Redge68
Member
Registered: 2025-03-17
Posts: 7

Re: Brother Scanner with SANE

seth wrote:

According to https://support.brother.com/g/b/faqend. … 002637_010 the scanner operates on ports 54925, 137 and 161
54922 & 54923 sound close enough, but miss by an inch, miss by a mile…

I'd wireshark the connection to see what port sane tries to reach, whether and how that's configurable in either the scanner or the brother sane driver idk at hand.

Thanks for your precious help.
I will try if i can to update the printer firmware and if it still doesn't work I will think about using an usb cable instead.

Last edited by Redge68 (2025-03-25 10:21:34)

Offline

#11 2025-04-01 07:43:22

Redge68
Member
Registered: 2025-03-17
Posts: 7

Re: Brother Scanner with SANE

Hello everything is working.
I uninstalled sane and removed its configuration files .
I used the brother script and suddendly it's working.
But I not using the 54925 ports.
It's still closed port on nmap. I don't now how it's working but it's working big_smile

Thanks for your help and your time.

Last edited by Redge68 (2025-04-01 07:44:36)

Offline

#12 2025-04-01 13:05:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

\o/

If you're curious, you can wireshark (or tcpdump, if you're alo masochistic) the connection and see where the traffic to the scanner goes.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#13 2025-04-23 00:39:00

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: Brother Scanner with SANE

csmnn wrote:

Hi!

I have a different Brother Scanner (DCP-L2500D) and did not need to configure anything with brscane other than installing the aur-package.

It is a local scanner, though. I can only use via USB.

For USB-Scanning: It looks like you are not using the scanimage-command correctly. The device-argument is called "--device-name" not "--device".

If I use this command with my device-name, the scanner works and produces a tiff-file:

scanimage --device-name "brother4:bus8;dev6" --format=tiff > test.tiff

For Network-Scanning: It seems that sane needs some more configuration for finding the scanner. Maybe the Wiki-Section on Remote-Access or the debian-wiki has some pointers for you.

I cannot get my DCP-7055 to scan over USB...All I get is sane_start:Invalid argument

Didn't have a problem with wifi, but I've been looking to move to a WPA3 only network

Offline

#14 2025-04-23 06:36:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Offline

#15 2025-04-23 12:53:46

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: Brother Scanner with SANE

I've basically tried everything there - And variations from it around the internet

Printing works just fine - So does plugging straight into windows - So it can't be the hardware. I've also upgraded the firmware.

It can also create a tiff file when sending the scan from the printer - It just so happens to be 0bytes

I'm genuinely at a loss!

[root@printerserv ~]# SANE_DEBUG_DLL=3 scanimage -T
[12:45:08.650153] [sanei_debug] Setting debug level of dll to 3.
[12:45:08.650191] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.3.1
[12:45:08.650253] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[12:45:08.650337] [dll] add_backend: adding backend `brother4'
Output format is not set, using pnm as a default.
[12:45:08.650368] [dll] sane_get_devices
[12:45:08.650375] [dll] load: searching backend `brother4' in `/usr/lib/sane'
[12:45:08.650883] [dll] load: dlopen()ing `/usr/lib/sane/libsane-brother4.so.1'
[12:45:08.651422] [dll] init: initializing backend `brother4'
[12:45:08.665010] [dll] sane_get_devices: found 1 devices
[12:45:08.665019] [dll] sane_open: trying to open `brother4:bus5;dev3'
[12:45:09.692854] [dll] sane_open: open successful
[12:45:09.692875] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=0)
[12:45:09.692884] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=0,action=0,value=0x7ffd9926a5c4,info=(nil))
[12:45:09.692892] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=0)
[12:45:09.692900] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=0,action=0,value=0x7ffd9926a4d0,info=(nil))
[12:45:09.692909] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=1)
[12:45:09.692917] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=2)
[12:45:09.692925] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=3)
[12:45:09.692938] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=4)
[12:45:09.692950] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=5)
[12:45:09.692961] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=6)
[12:45:09.692971] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=7)
[12:45:09.692984] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=8)
[12:45:09.692998] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=9)
[12:45:09.693008] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=10)
[12:45:09.693018] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=11)
[12:45:09.693026] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=10,action=0,value=0x5cd3c40e0380,info=(nil))
[12:45:09.693038] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=8,action=0,value=0x7ffd9926a4d4,info=(nil))
[12:45:09.693051] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=11,action=0,value=0x5cd3c40e0384,info=(nil))
[12:45:09.693062] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=9,action=0,value=0x7ffd9926a4d4,info=(nil))
[12:45:09.693074] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=8,action=0,value=0x7ffd9926a620,info=(nil))
[12:45:09.693091] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=10)
[12:45:09.693103] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=10,action=1,value=0x7ffd9926a600,info=0x7ffd9926a4d4)
scanimage: rounded value of br-x from 211.9 to 211.881
[12:45:09.693123] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=9,action=0,value=0x7ffd9926a620,info=(nil))
[12:45:09.693135] [dll] sane_get_option_descriptor(handle=0x5cd3f7cfc730,option=11)
[12:45:09.693146] [dll] sane_control_option(handle=0x5cd3f7cfc730,option=11,action=1,value=0x7ffd9926a600,info=0x7ffd9926a4d4)
scanimage: rounded value of br-y from 355.6 to 355.567
[12:45:09.693162] [dll] sane_start(handle=0x5cd3f7cfc730)
scanimage: sane_start: Invalid argument
[12:45:10.720074] [dll] sane_cancel(handle=0x5cd3f7cfc730)
[12:45:10.720582] [dll] sane_close(handle=0x5 cd3f7cfc730)
[12:45:10.720596] [dll] sane_exit: exiting
[12:45:10.720603] [dll] sane_exit: calling backend `brother4's exit function
[12:45:10.720750] [dll] sane_exit: finished

Offline

#16 2025-04-23 14:33:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

The links explain how to obtain some meaningful debug information (as well as to remove some stale config)
Also did you atttempt SANE_USB_WORKAROUND=1 ?

Edit:

does plugging straight into windows

also see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Last edited by seth (2025-04-23 14:34:23)

Offline

#17 2025-04-24 05:54:06

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: Brother Scanner with SANE

It works just fine in windows - Scans and prints without any need for anything additional

Linux - I've tried different USB, 2 & 3. Tried the SANE_USB_WORKAROUND=1....Modified the dll.conf to only say brother4.

Not sure what you mean by third link ? I did everything on the wiki. I've currently been trying it through a VM - Though I've also tried on laptop - With the same results

Offline

#18 2025-04-24 06:19:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

The third link in my signature that says Disable Windows Fast-Start! and if you don't post the actual debug data from the brother tool instead of paraphrasing assertions about what you maybe did, this will go absolutely nowhere: https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#19 2025-04-24 06:42:56

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: Brother Scanner with SANE

Cheers - Yeah - I definitely don't have fast start - I don't dual boot, either

If I knew how to get any more debug info, I'd post it! SANE_DEBUG_DLL=3 seems to be the most I can get

Journalctl and dmesg aren't saying anything, during boot or scanimage -T. Just this one line

Apr 24 07:35:48 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'scanimage' sets config #1

This one is during pressing scan on the machine

Apr 24 07:39:52 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'brscan-skey-exe' sets config #1
Apr 24 07:40:28 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'skey-scanimage' sets config #1
Apr 24 07:40:29 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'skey-scanimage' sets config #1

Not sure this helps?

Offline

#20 2025-04-24 07:47:29

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

It works just fine in windows

So that's on completely different HW tbw?

If I knew how to get any more debug info, I'd post it!

The wiki you didn't read wrote:

If all the necessary packages are installed but you still get the "invalid argument" error this could mean that the configuration file has been corrupted. Run the following command (in case of brscan4):

 # brsaneconfig4 -d

The output should narrow down the problem.

Also

Apr 24 07:39:52 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'brscan-skey-exe' sets config #1
Apr 24 07:40:28 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'skey-scanimage' sets config #1
Apr 24 07:40:29 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'skey-scanimage' sets config #1

Well, yeah…
https://wiki.archlinux.org/title/SANE#Device_busy
https://forums.raspberrypi.com/viewtopic.php?t=55200
https://www.linuxquestions.org/question … es-441426/
https://forums.mageia.org/en/viewtopic.php?f=24&t=11854
… and maaaaaany more

Edit:
also https://wiki.archlinux.org/title/CUPS/T … with_usblp - why is that used/loaded tbw?

Last edited by seth (2025-04-24 07:48:35)

Offline

#21 2025-04-24 08:37:11

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: Brother Scanner with SANE

So that's on completely different HW tbw?

Exactly

The wiki you didn't read
If all the necessary packages are installed but you still get the "invalid argument" error this could mean that the configuration file has been corrupted. Run the following command (in case of brscan4):

 # brsaneconfig4 -d

The output should narrow down the problem.

This doesn't really give any useful info  - It complains about /proc/bus/usb - But I believe that is for old linux kernels? Is getting an old kernel an idea ?

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=0x04f9, product=0x02ce) at libusb:002:002
  # 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: 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:bus8;dev1' is a Brother DCP-7055W USB scanner
-----------------------------
-----------------------------
ping

Also

Apr 24 07:39:52 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'brscan-skey-exe' sets config #1
Apr 24 07:40:28 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'skey-scanimage' sets config #1
Apr 24 07:40:29 printerServ kernel: usb 4-1: usbfs: interface 0 claimed by usblp while 'skey-scanimage' sets config #1

Well, yeah…
https://wiki.archlinux.org/title/SANE#Device_busy
https://forums.raspberrypi.com/viewtopic.php?t=55200
https://www.linuxquestions.org/question … es-441426/
https://forums.mageia.org/en/viewtopic.php?f=24&t=11854
… and maaaaaany more

I have actually tried everything here + Anything else I could find - I've tried udev rules (libsane matched with/without permissions (everything as root), different usb  ports, usb 2.0 adapters, SANE_USB_WORKAROUND=1, creating /etc/sane.d/brother.conf (Doesn't normally exist), removing all but brother4 from dll.conf, different scan options from scanimage ... Can't think of anything else off the top of my head.......The only thing this wiki mentions is the firmware files - But I don't believe this something that is required, as it is not installed (/usr/share/sane/SCANNER_MODEL/FIRMWARE_FILE) either with arch or with the debian brother script

Edit:
also https://wiki.archlinux.org/title/CUPS/T … with_usblp - why is that used/loaded tbw?

Yeah I hadn't seen this - This is CUPS - CUPS is working fine. I have blacklisted usblp, now - All that has changed is that I no longer get a dmesg or journalctl entry

Thanks for the help

Offline

#22 2025-04-24 13:24:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

Exactly

Ie borderless meaningless datapoint.

This doesn't really give any useful info  - It complains about /proc/bus/usb

Don't. Paraphrase. https://bbs.archlinux.org/viewtopic.php?id=57855

It is completely impossible to make any kind of informed comment about the situation when everybody else is constrained to the information "its does nots works lol"
Did you btw. re-run the brsaneconfig4 setup after fixing the usblp situation?

Offline

#23 2025-04-24 13:40:59

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: Brother Scanner with SANE

Ie borderless meaningless datapoint

Not exactly, it proves the hardware is fine

It's not paraphrasing - It's providing what I think is relevant to the topic at hand - By your own admission, there is many, many articles on this, and I can't exactly dump my machine into a forum post, can I
You are under no obligations to reply - If communicating is not for you - Then just don't bother

Did you btw. re-run the brsaneconfig4 setup after fixing the usblp situation?

I did - And it is the same as posted

Offline

#24 2025-04-24 19:15:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,785

Re: Brother Scanner with SANE

The scanner is fine, the conneciton might be not.

providing what I think is relevant to the topic at hand

is the fucking textbook definition of paraphrasing.
You're support to share the debug output of brsaneconfig4 -d but apparently you cannot be bothered to do so and I cannot be bothered to keep trying to tell you why "whys does its does nots works?" is not an answerable question.
Use windows. Get a different scanner. I don't care.

Offline

Board footer

Powered by FluxBB