Since I have an old Brother device whose drivers are installed via brscan2, the proposed change (which adds support for drivers located in /usr/lib/sane) doesn't really apply to me. But I worked around that.
The general preparations according to comment #232 are there, and in addition to that I installed the libusb-0.1-4 package. However, I dropped the ldconfig trick to make .so files in /usr/lib64 shared libraries. Now to the workaround. I added some symlinks to pretend that the driver files are located in /usr/lib and /usr/lib/sane: $ ls -l /usr/lib/libbr* /usr/lib/sane lrwxrwxrwx 1 root root 28 jul 3 21:57 /usr/lib/libbrcolm2.so -> ../lib64/libbrcolm2.so.1.0.1 lrwxrwxrwx 1 root root 31 jul 3 21:57 /usr/lib/libbrscandec2.so -> ../lib64/libbrscandec2.so.1.0.0 lrwxrwxrwx 1 root root 13 jul 3 21:57 /usr/lib/sane -> ../lib64/sane With that setup I first tested scanning with the sane-backends packages in bionic-release. Result (simple-scan): "No scanners detected" Then I installed version 1.0.27-1~experimental3ubuntu2.1 of libsane1, libsane-common, and sane-utils from bionic-proposed. After that I could scan using either simple-scan or xsane. ** Tags removed: verification-needed verification-needed-bionic ** Tags added: verification-done verification-done-bionic -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1728012 Title: Many 3rd party scanner drivers are broken by a sane change Status in sane-backends package in Ubuntu: Fix Released Status in sane-backends source package in Bionic: Fix Committed Status in sane-backends package in Debian: Fix Released Bug description: To the sponsor: Please upload to bionic using the attached sane- backends_lp1728012_bionic.debdiff. [Impact] * Starting with Ubuntu 17.10, Ubuntu changed the directory where sane dll looks for third party drivers. This configuration effectively broke backward compatibility for all existing third-party drivers. * A large swath of these third party drivers (most of them) are no longer supported by the OEM, so maintaining compatibility is important. * No open source replacement drivers are currently available, nor does the community have the resources to easily replace them. * This bug represents a substantial portion of the scanners in use. Scanners known to be affected include, but are not limited to: - Brother Scanners (all Brother scanners before brscan4) - DCP-145C - DCP-163C - DCP-165C - DCP-167C - DCP-185C - DCP-195C - DCP-197C - DCP-365CN - DCP-373CW - DCP-375CW - DCP-377CW - DCP-383C - DCP-385C - DCP-387C - DCP-395CN - DCP-585CW - DCP-6690CW - DCP-7030 - DCP-7040 - DCP-7045N - DCP-8070D - DCP-8080DN - DCP-8085DN - DCP-9010CN - DCP-9040CN - DCP-9042CDN - DCP-9045CDN - DCP-J125 - DCP-J315W - DCP-J515W - DCP-J715W - MFC-250C - MFC-255CW - MFC-257CW - MFC-290C - MFC-295CN - MFC-297C - MFC-490CW - MFC-495CW - MFC-5490CN - MFC-5890CN - MFC-5895CW - MFC-6490CW - MFC-6890CDW - MFC-7320 - MFC-7340 - MFC-7345N - MFC-7440N - MFC-7450 - MFC-7840N - MFC-7840W - MFC-790CW - MFC-795CW - MFC-8370DN - MFC-8380DN - MFC-8480DN - MFC-8510DN - MFC-8680DN - MFC-8880DN - MFC-8890DW - MFC-9010CN - MFC-9120CN - MFC-9320CW - MFC-9440CN - MFC-9450CDN - MFC-9840CDW - MFC-990CW - MFC-J220 - MFC-J265W - MFC-J270W - MFC-J410 - MFC-J410W - MFC-J415W - MFC-J615W - MFC-J630W - Dell MFP Laser Printer 1135n - Epson Scanners - All scanners supported by the libsane-epk driver - All scanners supported by the iscan driver - Epson Perfection V10 - Epson Perfection V1000 - Epson WorkForce GT-1500 - Epson Perfection V33 - Samsung M2070 - Xerox Workcentre 3225 * This was working in the 17.04 release. 18.04 is an LTS release, so backporting is warranted for the 18.04 release. [Test Case] * Following the standard installation procedures for any of the affected scanner drivers results in the driver files being installed to /usr/lib/sane/, and sane looking for them in /usr/lib/x86_64-linux- gnu/sane. When xsane is run, the scanner is not found. * Install the libsane1, libsane-common and sane-utils packages from bionic-proposed and confirm that it now finds drivers in /usr/lib/sane. [Regression Potential] * The proposed change is based on an upstream commit, and the patch is functional and stable in both 19.04 and 19.10. Low regression risk. [Other Info] * Third party sane drivers in previous version of sane were located under /usr/lib/sane/, however, the current version of sane on Ubuntu only looks for 64 bit drivers under the /usr/lib/x86_64-linux-gnu/sane directory. /usr/lib64 and /usr/lib64/sane are other directories old drivers are known to install files to. * The addition of symlinks alone does not appear to fix this issue, though it may make the scanner detectable. Changes to udev rules are also needed to allow proper communications to the scanners. A selection of workarounds, including working (though not ideal) udev rules for a number of scanners has been posted to the sane troubleshooting guide: help.ubuntu.com/community/sane_Troubleshooting#The_symlink_and_udev_tricks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp