Comment 232 for bug 1728012

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The annoyance with Brother .deb files for scanner drivers installing in /usr/lib64/sane has been mentioned multiple times above. The PPA now includes a proposed fix of that for eoan, disco and bionic.

To be able to test myself, I breathed new life into my old Brother MFC-240C. On disco it works fine, albeit after a few preparations - it's one of those 'unsupported' devices, after all. These are the preparations in my case:

* Install the driver brscan2-0.2.5-1.amd64.deb

* Add myself to the lp group:

  sudo adduser $USER lp

* Add a libsane rule for Brother:

  $ cat /lib/udev/rules.d/60-libsane-brother.rules
  ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"

* Make the system know about .so files in /usr/lib64:[1]

  $ cat /etc/ld.so.conf.d/and-lib64-too.conf
  # for scanner driver installed by brscan2
  /usr/lib64

  and to update /etc/ld.so.cache:

  sudo ldconfig

* Reboot

[1]: The proposed fix makes sane find files in /usr/lib64/sane, but brscan2 also installs .so files directly in /usr/lib64, and the fix doesn't help for those. I could have created symlinks instead, but chose to do it this way.

Anyway, after the reboot I can scan using simple-scan or xsane. On disco, that is.

As regards bionic I have not been able to make it work. At all. Besides the proposed package in the PPA, I tried to build sane-backends for bionic using the eoan source. No problem with the build and install, but still "No scanners detected" when trying to scan. I've tried it on two computers.

So please let me know: Can you scan on bionic - at all? And if you can, does the proposed package in the PPA make it easier for you?