Hi list
I recently got a Brother scanner/printer for my Fedora 31 desktop. I've installed all the drivers from Brother and the printing part works fine, but not scanning.
When I launch simple-scan, either as root or normal user it can't find any scanner. Although it will show up in Settings -> Devices -> Colour on two lines, both as a scanner and a printer. lsusb also shows two devices.
What's interesting is that at each boot the following shows up in the logs
systemd-udevd[1103]: Configuration file /etc/udev/rules.d/65-brother- brscan4-libsane-type1.rules is marked executable. Please remove executable permission bits. Proceeding anyway. systemd-udevd[1103]: /etc/udev/rules.d/65-brother-brscan4-libsane- type1.rules:9 Invalid key 'SYSFS' systemd-udevd[1103]: /etc/udev/rules.d/65-brother-libsane-type1- inst.rules:14 Invalid key 'SYSFS'
The content of 65-brother-brscan4-libsane-type1.rules is as follows
ACTION!="add", GOTO="brother_mfp_end" SUBSYSTEM=="usb", GOTO="brother_mfp_udev_1" SUBSYSTEM!="usb_device", GOTO="brother_mfp_end" LABEL="brother_mfp_udev_1" SYSFS{idVendor}=="04f9", GOTO="brother_mfp_udev_2" ATTRS{idVendor}=="04f9", GOTO="brother_mfp_udev_2" GOTO="brother_mfp_end" LABEL="brother_mfp_udev_2" ATTRS{bInterfaceClass}!="0ff", GOTO="brother_mfp_end" ATTRS{bInterfaceSubClass}!="0ff", GOTO="brother_mfp_end" ATTRS{bInterfaceProtocol}!="0ff", GOTO="brother_mfp_end" #MODE="0666" #GROUP="scanner" ENV{libsane_matched}="yes" #SYMLINK+="scanner-%k" LABEL="brother_mfp_end"
Any ideas, what to do?
/Robin
On Wed, Apr 22, 2020 at 8:30 AM Robin Lee robinlee@mailbox.org wrote:
I recently got a Brother scanner/printer for my Fedora 31 desktop. I've installed all the drivers from Brother and the printing part works fine, but not scanning.
I've got one of those, too. After installing all of the Brother RPMs, I had to run /opt/brother/scanner/brscan4/brsaneconfig4. Even after doing so, the scanner still refused to work, so I had to manually edit /opt/brother/scanner/brscan4/brsanenetdevice4.cfg to set the scanner's IP address.
I would comment out the SYSFS lines and see if that fixes anything. I would also remove the executable bit {chmod -x filename).
It seems they have put both SYSFS (used in RHEL5, so really old) and ATTRS (new name RHEL6(say f12) and newer), but both point to the same place, so as long as the bad one is not causing it to abort the entire rule execution it should still work.
And read brothers documentation carefully, I think I found extra instructions in one of their pages (I just remember the scanner being tricky to setup for me).
On Wed, Apr 22, 2020 at 9:30 AM Robin Lee robinlee@mailbox.org wrote:
Hi list
I recently got a Brother scanner/printer for my Fedora 31 desktop. I've installed all the drivers from Brother and the printing part works fine, but not scanning.
When I launch simple-scan, either as root or normal user it can't find any scanner. Although it will show up in Settings -> Devices -> Colour on two lines, both as a scanner and a printer. lsusb also shows two devices.
What's interesting is that at each boot the following shows up in the logs
systemd-udevd[1103]: Configuration file /etc/udev/rules.d/65-brother- brscan4-libsane-type1.rules is marked executable. Please remove executable permission bits. Proceeding anyway. systemd-udevd[1103]: /etc/udev/rules.d/65-brother-brscan4-libsane- type1.rules:9 Invalid key 'SYSFS' systemd-udevd[1103]: /etc/udev/rules.d/65-brother-libsane-type1- inst.rules:14 Invalid key 'SYSFS'
The content of 65-brother-brscan4-libsane-type1.rules is as follows
ACTION!="add", GOTO="brother_mfp_end" SUBSYSTEM=="usb", GOTO="brother_mfp_udev_1" SUBSYSTEM!="usb_device", GOTO="brother_mfp_end" LABEL="brother_mfp_udev_1" SYSFS{idVendor}=="04f9", GOTO="brother_mfp_udev_2" ATTRS{idVendor}=="04f9", GOTO="brother_mfp_udev_2" GOTO="brother_mfp_end" LABEL="brother_mfp_udev_2" ATTRS{bInterfaceClass}!="0ff", GOTO="brother_mfp_end" ATTRS{bInterfaceSubClass}!="0ff", GOTO="brother_mfp_end" ATTRS{bInterfaceProtocol}!="0ff", GOTO="brother_mfp_end" #MODE="0666" #GROUP="scanner" ENV{libsane_matched}="yes" #SYMLINK+="scanner-%k" LABEL="brother_mfp_end"
Any ideas, what to do?
/Robin
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On Wed, 2020-04-22 at 08:37 -0600, Jerry James wrote:
On Wed, Apr 22, 2020 at 8:30 AM Robin Lee robinlee@mailbox.org wrote:
I recently got a Brother scanner/printer for my Fedora 31 desktop. I've installed all the drivers from Brother and the printing part works fine, but not scanning.
I've got one of those, too. After installing all of the Brother RPMs, I had to run /opt/brother/scanner/brscan4/brsaneconfig4. Even after doing so, the scanner still refused to work, so I had to manually edit /opt/brother/scanner/brscan4/brsanenetdevice4.cfg to set the scanner's IP address.
Same here. IIRC I also edited that file by hand:
$ cat /opt/brother/scanner/brscan4/brsanenetdevice4.cfg DEVICE=laser , "DCP-7055W" , 0x4f9:0x2ce , IP-ADDRESS=192.168.178.23
The fields are: local name, model, USBID (not relevant unless connected by USB), IP address
poc
On Wed, 2020-04-22 at 09:49 -0500, Roger Heflin wrote:
I would comment out the SYSFS lines and see if that fixes anything. I would also remove the executable bit {chmod -x filename).
It seems they have put both SYSFS (used in RHEL5, so really old) and ATTRS (new name RHEL6(say f12) and newer), but both point to the same place, so as long as the bad one is not causing it to abort the entire rule execution it should still work.
I commented out the SYSFS line and the error message is gone. But the scanner is still not working.
Forgot to mention in my first e-mail, the device is connected over USB to the desktop.
/Robin
Hi list
I recently got a Brother scanner/printer for my Fedora 31 desktop. I've installed all the drivers from Brother and the printing part works fine, but not scanning.
When I launch simple-scan, [snip]
I have not tried that sanning app, but I found that Xsane works well with my Brother DCP-L2550DW. Package installed: xsane-0.999-34.fc31.x86_64
On Wed, Apr 22, 2020 at 05:43:59PM -0000, Doug Herr wrote:
Hi list
I recently got a Brother scanner/printer for my Fedora 31 desktop. I've installed all the drivers from Brother and the printing part works fine, but not scanning.
When I launch simple-scan, [snip]
I have not tried that sanning app, but I found that Xsane works well with my Brother DCP-L2550DW. Package installed: xsane-0.999-34.fc31.x86_64
-- Doug H.
We have a Brother DCP7065DN multifunction printer/scanner/kitchen-sink here, difference is that it is on the household LAN, not USB connected.
However, everything works great even on my Centos system. Both Sane and simple-scan work for scanning.
I don't know how the OP installed the Brother drivers, but there are two ways: one is detailed with lots of tweaks you need to make, and the other is relatively trivial.
You can either: 1. download the individual driver files and hack your system according to the instructions on the site, or 2. download a single installer file that asks you questions then downloads and installs the driver files for you. After that you can use whatever app you use on that system to set up a printer. On Centos I usually use the print settings tool (though you should be able to use CUPs on port 631 instead.)
For my printer (since I don't know what printer the OP has) I'd go to this page
https://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=...
which downloads the "driver install tool".
You could download the individual bits and pieces you need from that page, too, but this one seems to do the whole job.
There's probably a page like that for your printer, too, and I'd suggest you install it that way.
good luck!
Fred
On Wed, 2020-04-22 at 21:17 -0400, Fred Smith wrote:
I don't know how the OP installed the Brother drivers, but there are two ways: one is detailed with lots of tweaks you need to make, and the other is relatively trivial.
You can either:
- download the individual driver files and hack your system
according to the instructions on the site, or 2. download a single installer file that asks you questions then downloads and installs the driver files for you. After that you can use whatever app you use on that system to set up a printer. On Centos I usually use the print settings tool (though you should be able to use CUPs on port 631 instead.)
Thanks for the input. I had originally tried to install with the installer script, but for some reason it wanted to install .deb packages on my Fedora system, so I abandoned it and installed the rpms directly.
Now I went back to the script and hacked it a bit to always go with rpms and then ran it. And now the scanner works :)
/Robin