Here's a procedure that worked for me in Ubuntu 18.04 Bionic.
For this procedure the user is "bob"
1) Install the latest brscan2 package (I have brscan2-0.2.5-1.amd64.deb
which I downloaded in 2014)
2) Manually link the drivers brscan2 installed into /usr/lib/x86_64
-linux-gnu/sane/ and /usr/lib/x86_64-linux-gnu/
bob:~$ cd /usr/lib/x86_64-linux-gnu/sane
bob:/usr/lib/x86_64-linux-gnu/sane$ sudo ln -sf /usr/lib64/sane
/libsane-brother2.so
[sudo] password for bob:
bob:/usr/lib/x86_64-linux-gnu/sane$ sudo ln -sf
/usr/lib64/sane/libsane-brother2.so.1
bob:/usr/lib/x86_64-linux-gnu/sane$ sudo ln -sf
/usr/lib64/sane/libsane-brother2.so.1.0.7
bob:/usr/lib/x86_64-linux-gnu/sane$ cd ..
bob:/usr/lib/x86_64-linux-gnu$ sudo ln -sf /usr/lib64/libbrcolm2.so
bob:/usr/lib/x86_64-linux-gnu$ sudo ln -sf /usr/lib64/libbrcolm2.so.1
bob:/usr/lib/x86_64-linux-gnu$ sudo ln -sf /usr/lib64/libbrcolm2.so.1.0.1
bob:/usr/lib/x86_64-linux-gnu$ sudo ln -sf /usr/lib64/libbrscandec2.so
bob:/usr/lib/x86_64-linux-gnu$ sudo ln -sf /usr/lib64/libbrscandec2.so.1
bob:/usr/lib/x86_64-linux-gnu$ sudo ln -sf /usr/lib64/libbrscandec2.so.1.0.0
3) At this point scanimage -L should detect the scanner when run as root.
$ sudo scanimage -L
3a) If it doesn't work and especially if you're running something other
than Ubuntu Bionic, you might make verify SANE is looking in the right
directory using the debug flag
$ SANE_DEBUG_DLL=128 scanimage -L
4) Create a udev file so the scanner is accessible to a scanner group
$ sudo gedit /lib/udev/rules.d/96-brother-scanner.rules
-- with the following contents:
# Brother DCP-7020 scanner
SUBSYSTEMS=="usb" \
, ATTRS{idVendor}=="04f9" \
, ATTRS{idProduct}=="0183" \
, ACTION=="add", \
, MODE="0664", \
, GROUP="scanner" \
, ENV{libsane_matched}="yes"
# note this udev instruction ends lines with \
# backslash so the single comma-separated
# udev command is not crammed onto one line.
# END OF FILE
5) Add the user bob to the scanner group (as specified in the udev file above):
$ sudo adduser bob scanner
6) If you're bob and you weren't already in the group you'll have to log
out and back in, or reboot the system. To reload udev:
$ sudo udevadm control --reload-rules
--> Everything should work after you reboot / login / reload. Yay.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701856
Title:
Brother's printer/scanner drivers awkward to find and install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/701856/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs