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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx