Many 3rd party scanner drivers are broken by a sane change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sane-backends (Debian) |
Fix Released
|
Unknown
|
|||
sane-backends (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Gunnar Hjalmarsson |
Bug Description
To the sponsor: Please upload to bionic using the attached sane-backends_
[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/
* 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/
* 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.

PeterPall (peterpall) wrote : | #1 |
- Dependencies.txt Edit (3.7 KiB, text/plain; charset="utf-8")
- JournalErrors.txt Edit (135.2 KiB, text/plain; charset="utf-8")
- ProcCpuinfoMinimal.txt Edit (968 bytes, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (300 bytes, text/plain; charset="utf-8")
description: | updated |
description: | updated |

Launchpad Janitor (janitor) wrote : | #2 |
Changed in sane-backends (Ubuntu): | |
status: | New → Confirmed |
Changed in sane-backends (Ubuntu): | |
importance: | Undecided → High |

staedtler-przyborski (staedtler-przyborski) wrote : | #3 |
I can confirm that the Epson Perfection V300 is also affected
Using libsane1 1.0.27-
But the scanner is not recognized. Neither by scanimage, simple-scan or iscan
lsusb shows that the scanner is attached
lsusb
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 04b8:0131 Seiko Epson Corp. GT-F720 [GT-S620/Perfection V30/V300 Photo]
Bus 003 Device 005: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 004: ID 08bb:2707 Texas Instruments
Bus 003 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 003 Device 002: ID 24f0:0137
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Vasyĺ V. Vercynśkyj (fuckel) wrote : | #4 |
Kubuntu 17.04
Fail to use Epson Perfection V30
$ lsusb |grep -i epson
Bus 003 Device 005: ID 04b8:0131 Seiko Epson Corp. GT-F720 [GT-S620/Perfection V30/V300 Photo]
$ apt list --installed |grep -e esci -e iscan -e libsane -e sane-utils
esci-interprete
iscan/now 2.30.2-2 amd64 [installed,local]
iscan-data/now 1.36.0-1 all [installed,local]
libsane-common/now 1.0.27-
libsane-
libsane-
libsane-
libsane1/now 1.0.27-
sane-utils/now 1.0.27-
$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Mariusz Dykierek (mariusz.dykierek) wrote : | #5 |
Xerox Workcentre 3225 with the drivers version 1.00.25:00.05 that used to work very well with Zesty's libsane still not functional.
My malfunction hasn't changed a bit with the 1.0.27-
Like before xsane crashes with the following message:
Not a JPEG file: starts with 0x00 0x00
and/or hangs with scanning status.
mariusz:~> dpkg -l | grep sane
ii libkf5sane-data 17.04.3-0ubuntu1 all scanner library (data files)
ii libkf5sane5 17.04.3-0ubuntu1 amd64 scanner library (runtime)
ii libksane-data 4:17.04.3-0ubuntu1 all scanner library (data files) - transitional package
ii libksane0 4:15.08.3-1ubuntu2 amd64 scanner library (runtime)
ii libsane-common 1.0.27-
ii libsane-
ii libsane-
rc libsane-hpaio:amd64 3.16.7+
ii libsane1:amd64 1.0.27-
ii sane 1.0.14-12build1 amd64 scanner graphical frontends
ii sane-utils 1.0.27-
ii xsane 0.999-5ubuntu2 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.999-5ubuntu2 all xsane architecture independent files
I could use some/any guidance for providing more details to anyone if reverting back to working libsane is not an option.

Mariusz Dykierek (mariusz.dykierek) wrote : | #6 |
Forgot to mention that I use or rather attempt to use the scanner over the TCP.

Mariusz Dykierek (mariusz.dykierek) wrote : | #7 |
Probably related: https:/

Michael Hill (wrendriff) wrote : | #8 |
Add to list of scanner "broken" - Epson Perfection V300 Photo.
dependency errors occurring after upgrade from Ubuntu 17.04 to 17.10 are
iscan depending on libsane (>=1.0.11-3)
esci-interprete

luca.mg (luca-mg) wrote : | #9 |
Cross posting from https:/
On artful, libsane1 1.0.27-
Epson 4490 Photo as user
sane-find-scanner detects a bunch of USB devices including the scanner, but has not enough permission
scanimage -l no SANE devices found
iscan, simple-scan, and xsane do not work
Epson 4490 Photo as root
sane-find-scanner ok
scanimage -l no SANE devices found
iscan, simple-scan, and xsane do not work
Brother MFC-1910W as user
sane-find-scanner detects a bunch of USB devices including the scanner, but has not enough permission
scanimage -l no SANE devices found
simple-scan and xsane do not work
Brother MFC-1910W as root
sane-find-scanner ok
scanimage -l ok
simple-scan ok
xsane ok

Bo Lundberg (bo-lundberg) wrote : | #10 |
Epson 2400 photo doesn't work in Iscan (can't send to scanner). Works fine with xsane.

Yves D. Mercier (ymerj) wrote : | #11 |
Epson v370 photo doesn't work either. Purchased only 3 months ago, it was fully functionnal in zesty. Now totally unusable in artful even with libsane1 1.0.27-

staedtler-przyborski (staedtler-przyborski) wrote : | #12 |
Today I managed to bring back my dead Epson V300 alive :-)
1. Install libsane1 1.0.27-
2. Install iscan-gt-
3. Copy (or move) the files from /usr/lib/sane (libsane-epkowa.la, libsane-
4. reboot.
Guess this works with all Iscan depend scanners from Epson

staedtler-przyborski (staedtler-przyborski) wrote : | #13 |
Just for the record
scanimage -L
device `epkowa:
device `imagescan:
Iscan, simple-scan, Xsane are working as expected.

staedtler-przyborski (staedtler-przyborski) wrote : | #14 |
BRScan users can you try what happens when copy the files (libsane-brother*) from /usr/lib64/sane/ to /usr/lib/
Maybe the fix for brother scanners is as easy as the one for the epson ones ...

Yves D. Mercier (ymerj) wrote : | #15 |
Sorry to say that staedtler-

Yves D. Mercier (ymerj) wrote : | #16 |
Update: Just tried it as root. I works.

staedtler-przyborski (staedtler-przyborski) wrote : | #17 |
Thats interesting. I don't need to be root to scan.
So whats different is the question ? I don't believe it's the different plugin. Iscan is identical I suppose.
Just for completeness:
apt list --installed |grep -e esci -e iscan -e libsane -e sane-utils
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
esci-interprete
iscan/now 2.30.2-2 amd64 [Installiert,lokal]
iscan-data/now 1.36.0-1 all [Installiert,lokal]
libsane-common/now 1.0.27-
libsane-
libsane1/now 1.0.27-
sane-utils/now 1.0.27-

staedtler-przyborski (staedtler-przyborski) wrote : | #18 |
Are on x-org or wayland ? Can you try what happens if you switch to X-org ?

staedtler-przyborski (staedtler-przyborski) wrote : | #19 |
X-Org or wayland doens't matter. My scanner works with both (verfied).
Do you have a file named 79-udev-epson.rules in /etc/udev/rules.d ?
Mine has the following content:
# chmod device EPSON group
# ACTION=="add", ATTRS{manufactu
ATTRS{manufactu

staedtler-przyborski (staedtler-przyborski) wrote : | #20 |
A Test here showed:
without 79-udev-epson.rules in /etc/udev/rules.d
only 'sudo scanimage -L works'
with 79-udev-epson.rules in /etc/udev/rules.d
no root needed, a simple 'scanimage -L' is sufficient
maybe for the brscan scanners also only the udev rule is missing
try to add
# Brother scanners
ATTRS{idVendor}
to e.g. /lib/udev/

Yves D. Mercier (ymerj) wrote : | #21 |
I did not have the 79-udev-epson.rules file, so I created one with the content you posted. My scanner works now. No root needed. Many thanks.

Hans Schwimmbeck (hans.schwimmbeck) wrote : | #22 |
My Brother MFC-J220 works now with the 1.0.27-
The brscan3 driver installs files in /usr/lib64 and /usr/lib64/sane.
I linked them by
'sudo ln -sfr /usr/lib64/
and
'sudo ln -sfr /usr/lib64/
Thanks to staedtler-

staedtler-przyborski (staedtler-przyborski) wrote : | #23 |
@ Hans Schwimmbeck
Great, so we have a fix for brother brscan3 scanners too.
Ah yes, linking is definitely a better way than copying (you may forgive me, my workaround was only a first try).
Now we only need to know if, brscan, brscan2 and brscan4 scanners can be fixed too by linking directories

Mariusz Dykierek (mariusz.dykierek) wrote : | #24 |
For Xerox Workcentre 3225 I have mentioned in this and the original sane bug the solution is:
1. Link the files in /usr/lib/sane to /usr/lib/
2. Add the user that needs to use the scanner to the "lp" group.
Otherwise the "Not a JPEG file: starts with 0x00 0x00" issue persists.

staedtler-przyborski (staedtler-przyborski) wrote : | #25 |
Thanks Mariusz. Can you please specify which files are in /usr/lib/sane (just to make the command below more precise) ?
To summarize we have now the following workarounds (all 64-bit):
1. Brother brscan3
a) 'sudo ln -sfr /usr/lib64/
b) 'sudo ln -sfr /usr/lib64/
2. Epson Iscan
a) 'sudo ln -sfr /usr/lib/
b) generate '/etc/udev/
content:
# chmod device EPSON group
ATTRS{manufactu
3. Xerox Workcentre 3225
a) 'sudo ln -sfr /usr/lib/sane/* /usr/lib/
b) 'sudo adduser $USER lp'

PeterPall (peterpall) wrote : | #26 |
You are a genius! My MFC8510 and my Epson WorkForce GT-1500 now work fine...
...now we should forward this info to the sane programmers (perhaps they can make the program look in both the old and the new locations), to Debian - and to the manufacturers: Symlinks isn't hard to create in the postinstall scripts. Perhaps they will add the necessary lines.

Mariusz Dykierek (mariusz.dykierek) wrote : | #27 |
> ls -la /usr/lib/sane/
total 40
drwxr-xr-x 2 root root 4096 Oct 27 12:10 .
drwxr-xr-x 147 root root 36864 Oct 17 15:30 ..
lrwxrwxrwx 1 root root 31 Oct 27 12:10 libsane-smfp.so -> /usr/lib/
lrwxrwxrwx 1 root root 35 Oct 27 12:10 libsane-smfp.so.1 -> /usr/lib/
lrwxrwxrwx 1 root root 50 Oct 27 12:10 libsane-
Xerox has an "universal", script based driver installer available at http://
PPDs and about 5 installed binaries, French locale and a bunch of scripts for arm, i386, and x86_64.

staedtler-przyborski (staedtler-przyborski) wrote : | #28 |
In the meanwhile I had a look on different brscan drivers ...
Unfortunately brscan4 has a complete different structure (so at least one real user is needed)
Summary is now:
1. Brother brscan, brscan2, brscan 3
a) 'sudo ln -sfr /usr/lib64/libbr* /usr/lib/
b) 'sudo ln -sfr /usr/lib64/
2. Epson Iscan
a) 'sudo ln -sfr /usr/lib/
b) generate '/etc/udev/
content:
# chmod device EPSON group
ATTRS{manufactu
3. Xerox Workcentre 3225
a) 'sudo ln -sfr /usr/lib/
b) 'sudo adduser $USER lp'

Hans Schwimmbeck (hans.schwimmbeck) wrote : | #29 |
I forgot to mention that also needed is something like /etc/udev/
In my upgraded installation it has not changed since 16.04 and looks like this:
---------------
# Brother MFC-J220
ATTRS{idVendor}
---------------
Of course 'idProduct' has to match the local scanner model, 'lsusb' and 'sane-find-scanner' are your friends.

staedtler-przyborski (staedtler-przyborski) wrote : | #30 |
Dear Hans could you please test if a more generic solution like the one provided by Epson would also work for local attached Brother Scanners ?
A possible Example:
# chmod device BROTHER group
ATTRS{manufactu
Thanks

luca.mg (luca-mg) wrote : | #31 |
I can confirm that the Epson Perfection 4490 Photo scanner, iscan-gt-

luca.mg (luca-mg) wrote : | #32 |
The Brother MFC-1910W printer-
## Brother MFC-1910W
ATTRS{idVendor}
with several flavours of the MODE= option (0660 0666 0664 0777 and the like).
Again: if only libsane1 will also look for sane backends in the "legacy" locations other than the new ones perhaps this insane mess would be sorted out.

Hans Schwimmbeck (hans.schwimmbeck) wrote : | #33 |
I don't like MODE="0777" in the Epson derived example.
This works for me and _should_ work for all brscan3 devices:
# Brother brscan3 devices
ATTRS{idVendor}

luca.mg (luca-mg) wrote : | #34 |
Thank You for Your time Hans, I do not like 0777 as well, but I was shooting in the dark. As stated, I tried
## Brother MFC-1910W
ATTRS{idVendor}
which should be the equivalent of Your
# Brother brscan3 devices
ATTRS{idVendor}
no joy.

luca.mg (luca-mg) wrote : | #35 |
PS I'm on brscan 4.

staedtler-przyborski (staedtler-przyborski) wrote : | #36 |
I have no glue why Epson has chosen '0777', maybe it's because they upload a firmware to their scanners ...
Actual summary:
1.Brother:
brscan4 no luck until now (btw. the installer already seems to respect /usr/lib/
brscan, brscan2, brscan3
a) 'sudo ln -sfr /usr/lib64/libbr* /usr/lib/
b) 'sudo ln -sfr /usr/lib64/
c) generate '/etc/udev/
content:
# Brother brscan devices
ATTRS{idVendor}
2. Epson Iscan
a) 'sudo ln -sfr /usr/lib/
b) generate '/etc/udev/
content:
# chmod device EPSON group
ATTRS{manufactu
3. Xerox Workcentre 3225
a) 'sudo ln -sfr /usr/lib/
b) 'sudo adduser $USER lp'

staedtler-przyborski (staedtler-przyborski) wrote : | #37 |
@luca.mg
Are you aware of these informations ?
http://
"The Brother Linux scanner driver works only with a superuser by default, as noted on the brother solutions site.
If you want to allow normal users to also use the scanner, this is the solution:
Download following deb package. Open a terminal and paste following line
wget www.brother.
Can you please try ?

luca.mg (luca-mg) wrote : | #38 |
Hi staedtler-

staedtler-przyborski (staedtler-przyborski) wrote : | #39 |
@luca.mg
Im sorry to hear that.
BTW. Are you on wayland or xorg. If wayland, have you tried with xorg ?

luca.mg (luca-mg) wrote : | #40 |
@staedtler-
I'm on xorg... I forgot to mention: the Brother scanner only works as root AND with xsane, simple-scan doesn't work at all.

luca.mg (luca-mg) wrote : | #41 |
Tried to configure the Brother MFC-1910W as a network scanner, same outcome: it only work with xsane (no simple-scan) as the true root user (no sudo xscan). TBC....

staedtler-przyborski (staedtler-przyborski) wrote : | #42 |
At the moment I see only two possibilities
Try vuescan https:/
or try Hans Schwimmbecks 'ugly' workaround
https:/
Debian recently released libsane1 1.0.27-
Changelog
sane-backends (1.0.27-
* debian/control:
- Drop outdated Recommends libsane-extras-dev to libsane-dev
binary package (Closes: #868265).
- Drop outdated texlive and texlive-latex-extra Build-Dependency.
* debian/rules:
- Drop create and install the /etc/sane.d/dll.d directory.
- Move rules from override_
to override_
to build the arch all packages without error (CLoses: #870455).
- At dh_systemd_enable use debian/saned.socket instead saned.socket.
- Use DEB* vars via default.mk instead own functions.
* Move libsane-
* debian/copyright:
- Add year 2017 for debian/*.
* New debian/
- Initializing usb_mode (Closes:# 869673).
Thanks to Florian Lindemann <email address hidden> and
Olaf Meeuwissen <email address hidden>.
* Move install of man pages from debian/rules to libsane-
sane-
* Move umax_pp.5 from libsane-common to sane-utils.
* debian/
- Add parameter to --retry at the stop section (Closes: #871543).
* libsane1.
- Remove references to the libsane-extras package.
* Correct typos in the previous changelog entry.
* Declare compliance with Debian Policy 4.1.1 (No changes needed).
* Move rm_conffile from libsane-
-- Jörg Frings-Fürst <email address hidden> Sat, 28 Oct 2017 13:26:26 +0200

luca.mg (luca-mg) wrote : | #43 |
Further tested the Brother MFC-1910W with gscan2pdf, no joy even as root. Also tested with a commercial scanning software, a 13.5 MB download supporting current and "vintage" scanners, the Brother MFC-1910W works out of the box as a user. :-((

luca.mg (luca-mg) wrote : | #44 |
Yep, vuescan is the commercial software I was referring to in my previous post, and yes, I tried the ugly workaround as soon as Hans Schwimmbeck posted it, and it used to work, but it prevents from updating too many packages due to a daisy chain of dependencies; I do not even know if I could reinstall it now that it's been removed and the system has been updated, but surely uninstalling it hasn't been easy. As a matter of fact the developers should fix what they broke, or the hardware manufacturer should rewrite the drivers against libsane1, which is very unlikely, especially for old peripherals. Any other solution requiring user action is a workaround, not a bug fix, but I'd be very happy to take action to resurrect the Brother scanner, if I only knew where to stick my hands!

staedtler-przyborski (staedtler-przyborski) wrote : | #45 |
As I've found now the origin of '/etc/udev/
I tried (similiar to the rule for brother scanners provided by Hans):
ATTRS{idVendor}
Result: No firmware up-load, no scanner found. As soon as a I switch back to the rule installed by epson the scanner starts (after switching off-on) to up-load the firmware and is accessible by scanning programs (as non-root).
@luca
can you please try the following udev rule (scanner is locally attached via usb, please keep the current one stored at an other place, no garantuee, so you may want to revert) :
/etc/udev/
# chmod device BROTHER group
ATTRS{manufactu

luca.mg (luca-mg) wrote : | #46 |
Hi staedtler-

staedtler-przyborski (staedtler-przyborski) wrote : | #47 |
'I have written to Brother support'
Nothing will happen. As only Ubuntu 17.10 is affected, no other Ubuntu-Release, no other Linux-Distribution (e.g. Arch-Linux uses libsane 1.0.27 and no extra pecularities are reported) .
Hopefully Ubuntu switches at least for 18.04 LTS back to use non-experimental libraries and frameworks.

PeterPall (peterpall) wrote : | #48 |
My hope was that all the bug fixes you have collected make it to the official .Deb package for Ubuntu and Debian instead.

Jeremy Bícha (jbicha) wrote : | #49 |
Staedtler, despite the scary version number, libsane 1.0.27 itself is not experimental. As you pointed out, Arch has been using 1.0.27 since May.
https:/
I am a bit surprised at the number of people reporting an issue here that is claimed to be new.
Ubuntu 12.04 LTS (and the newer LTS's) also uses the same multiarch directory ( /usr/lib/

staedtler-przyborski (staedtler-przyborski) wrote : | #50 |
Dear Jeremy
But be assured that I know Sane since a very long time (have a look at my sane frontend Tame/2 for OS/2, anybody remebers ? It was the first and only OS/2 scanning application supporting USB thanks to Maeda Haruyuki- a japanese developer). I remember debugging sessions with Osaka (where Maeda lived) and Lithuania (where the OS/2 USB-Stack developers worked) to get it running.
Even a longer time I have linux experiences (starting with DLD-Linux 2.0 in the early ninties) and a quite long ubuntu experience (6.06 for private use and since 7.04 my whole company is equipped with ubuntu on currently > 40 desktops ).
Scanning was always a nightmare and adventure (e.g. I support a lawyers company who uses Ubuntu in Virtual Box for only one reason: their Scanner is no longer supported by windows)
To make it short: It would be great if Ubuntu could continue to support scanners like it did in the past.

luca.mg (luca-mg) wrote : | #51 |
Hy all, just here to write that after exchanging a bunch of useless emails with a kind chap from Brother customer support, he finally redirected me to the "lab technicians", who wrote to me "read the faq, or check over internet if there are solutions from the community".

staedtler-przyborski (staedtler-przyborski) wrote : | #52 |
@luca
What did I tell you ....
How about a debugging session ;-)
Open your terminal and paste:
'export SANE_DEBUG_DLL=255'
then try sane-find-scanner (with/without sudo)
scanimage -L (with/without sudo)
Xsane (with/without sudo)
also as root ....
show us the results.

luca.mg (luca-mg) wrote : | #53 |
Hi Staedtler, I knew You were right, but I gave it a try; too bad Brother sold a linux supported product while in fact they give no support, and not a good after sale service for a 10 months old product.
This is (in short) the debugging output:
'sane-find-scanner' output
-------------- snip ----------------
found USB scanner (vendor=0x04f9 [Brother], product=0x035d [MFC-1910W]) at libusb:002:006
-------------- snip ----------------
'scanimage -L'
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] sane_init/
[dll] add_backend: adding backend `epkowa'
[dll] sane_init/
[dll] sane_init/
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `canon_dr'
[dll] add_backend: adding backend `cardscan'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan3'
[dll] add_backend: adding backend `dell1600n_net'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epkowa'
[dll] add_backend: `epkowa' is already there
-------------- snip ----------------
-------------- plenty of lines here, no brother backend though; backends are listed in aphabetical order, copy-pasted the text up to 'epkowa', which is the Epson Perfection 4490 Photo scanner (unplugged), since it is one of the scanners that do not work without tinkering with the backend location
[dll] sane_get_devices
-------------- snip ----------------
-------------- plenty of text here too, no brother backend found and loaded, I include the Epson Perfection lines
[dll] load: searching backend `epkowa' in `/usr/lib/
[dll] load: trying to load `/usr/lib/
[dll] load: dlopen()ing `/usr/lib/
[dll] init: initializing backend `epkowa'
[dll] init: backend `epkowa' is version 1.0.213
-------------- snip ----------------
[dll] sane_get_devices: found 0 devices
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `xerox_mfp's exit function
-------------- snip ----------------
-------------- plenty of text again, n...

luca.mg (luca-mg) wrote : | #54 |
The message is too big perhaps. I'll post again in small chuncks as soon as I have the chance.
In the meanwhile a 16.04 user reported the scanner failure, apparently due to a libsane1 update.
See https:/
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x04f2/0xb012 at 001:005: Access denied (insufficient permissions)
found USB scanner (vendor=0x04f9 [Brother], product=0x01f5 [MFC-5490CN]) at libusb:001:004
could not open USB device 0x18d1/0x4ee7 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1c4f/0x0003 at 003:003: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.

staedtler-przyborski (staedtler-przyborski) wrote : | #55 |
Hi Luca can you try
/etc/udev/
SUBSYSTEM!
# For BROTHER MFC-1910W
SYSFS{idVendor}
LABEL="_end"

Paul Nickerson (pgn674) wrote : | #56 |
Thank you, staedtler-

luca.mg (luca-mg) wrote : | #57 |
Hi Staedtler, did that, and fought with several rules files before to no joy. What You suggest is pretty much the same as what the brother-

luca.mg (luca-mg) wrote : | #58 |
My bad: the 'ENV' line is on by default, not the 'SYMLINK', my apologies. Following is the content of the 60-brother-
#
# udev rules sample for Brother MFP
# version 1.0.2-0
#
# Copyright (C) 2012-2016 Brother. Industries, Ltd.
#
# copy to /etc/udev/rules.d or /lib/udev/rules.d
#
ACTION!="add", GOTO="brother_
SUBSYSTEM=="usb", GOTO="brother_
SUBSYSTEM!
LABEL="
SYSFS{idVendor}
ATTRS{idVendor}
GOTO="brother_
LABEL="
# ATTRS{bInterfac
# ATTRS{bInterfac
# ATTRS{bInterfac
# GOTO="brother_
# LABEL="
ATTRS{bInterfac
ATTRS{bInterfac
ATTRS{bInterfac
#MODE="0666"
#GROUP="scanner"
ENV{libsane_
#SYMLINK+
LABEL="

Matt_H (matt-heimbach) wrote : | #59 |
Like others, it appears this bug has made my Epson Perfection v30 unusable after upgrading to artful from zesty. It shows up via 'lsusb' but not 'scanimage -L'. I attempted the workaround by staedtler-

staedtler-przyborski (staedtler-przyborski) wrote : | #60 |
@Matt_H
Please install this plugin
Then continue with #36

staedtler-przyborski (staedtler-przyborski) wrote : | #61 |
@Matt_H
Sorry, I should have asked first: Are you on 32 or 64 bit ?

Matt_H (matt-heimbach) wrote : Re: [Bug 1728012] Re: Many 3rd party scanner drivers are broken by a sane change | #62 |
@staedtler-
Thanks. I am on 64-bit. I thought I had that epson plugin already
installed as I had it in my directory of non-repo software to install after
a clean Xubuntu install and I had to do a clean install while on zesty due
to a failed drive, but maybe not? Or maybe I need to re-install
regardless? Anyway, when I'm back home I will install that plugin and then
continue with #36. Thanks!
On Wed, Nov 15, 2017 at 9:58 AM, staedtler-
<email address hidden>> wrote:
> @Matt_H
>
> Sorry, I should have asked first: Are you on 32 or 64 bit ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Many 3rd party scanner drivers are broken by a sane change
>
> Status in sane-backends package in Ubuntu:
> Confirmed
>
> Bug description:
> Many scanners can no more be used since sane has changed something:
> The 3rd-party plug-in the vendor provides as .deb package will still
> install. But the scanner is no more recognized.
>
> Scanners that are affected are(besides others):
> - Epson Perfection V10
> - Epson Perfection V1000
> - Epson WorkForce GT-1500
> - Brother MFC-8510DN
> - Epson Perfection V33
>
> It is to note that the probability that the scanner manufacturers fix
> things others broke is below 100%.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: libsane1 1.0.27-
> Uname: Linux 4.14.0-
> ApportVersion: 2.20.7-0ubuntu3.1
> Architecture: amd64
> Date: Fri Oct 27 12:35:52 2017
> EcryptfsInUse: Yes
> SourcePackage: sane-backends
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https:/
> bug/1728012/
>

staedtler-przyborski (staedtler-przyborski) wrote : | #63 |
@ luca
could you do the following ?
'export SANE_DEBUG_DLL=128'
As user
'strace scanimage -L 2>strace.user.log'
As root
'strace scanimage -L 2>strace.root.log'
Finally
'diff strace.user.log strace.root.log'
And show us the diff ?

luca.mg (luca-mg) wrote : | #64 |
- scanimage -L output diff Edit (1.2 MiB, text/plain)
Hi Staedtler, attached is the diff file, it's beyond my understanding :-) even more since scanimage -L does not detect the scanner even as root, although the scanner itself works running xsane from a root terminal.

staedtler-przyborski (staedtler-przyborski) wrote : | #65 |
I have no idea what 'more-magic' xsane uses, as simple magic of root using scanimage isn't sufficient.
as your diff shows no success, only 'permission denied' the cause of the failure can't be identified ...
maybe a
'export SANE_DEBUG_DLL=128'
As user
'strace xsane 2>strace.user.log'
As root
'strace xsane -L 2>strace.root.log'
Finally
'diff strace.user.log strace.root.log'
could be of help. Don't know. But it's worth a try, unless better ideas arise.

staedtler-przyborski (staedtler-przyborski) wrote : | #66 |
Sorry
As root also only (no -L)
'strace xsane 2>strace.root.log'

Matt_H (matt-heimbach) wrote : | #67 |
@staedtler-

luca.mg (luca-mg) wrote : | #68 |
- diff.xsane.txt Edit (11.6 MiB, text/plain)
Hi Staedtler, attached the xsane diff file. I'm out of ideas as well, but thank You for Your time and effort.

staedtler-przyborski (staedtler-przyborski) wrote : | #69 |
Hi Luca,
In your diff.sane.txt I've found these two entries (problem seems related to settings of c189:130) :
< openat(AT_FDCWD, "/run/udev/
< fstat(33, {st_mode=
< fstat(33, {st_mode=
< read(33, "I:4009030\
< read(33, "", 4096) = 0
< close(33) = 0
< getrandom(
---
> openat(AT_FDCWD, "/run/udev/
> fstat(411, {st_mode=
> fstat(411, {st_mode=
> read(411, "I:4009030\
> read(411, "", 4096) = 0
> close(411) = 0
> getrandom(
So next step would be:
1. 'sane-find-scanner'
last time you did this output was
'found USB scanner (vendor=0x04f9 [Brother], product=0x035d [MFC-1910W]) at libusb:002:006'
But please run it again for being sure, usb port could have changed...
2. 'udevadm info -a /dev/bus/
Post result here (Complete device please. Looks like: looking at device '/devices/
3. 'udevadm test /devices/
Post result here (Complete please. For interest are lines like : handling device node '/dev/bus/
preserve permissions /dev/bus/
preserve already existing symlink '/dev/char/189:259' to '../bus/
Thanks

luca.mg (luca-mg) wrote : | #70 |
Good monday Staedtler, here it is. Regards, Luca
'sane-find-scanner' gave 'found USB scanner (vendor=0x04f9 [Brother], product=0x035d [MFC-1910W]) at libusb:002:003'
-------
'udevadm info -a /dev/bus/
looking at device '/devices/
KERNEL=="2-4"
SUBSYSTEM=
DRIVER=="usb"
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
ATTR{
looking at parent device '/devices/
KERNELS=="usb2"
SUBSYSTEMS=
DRIVERS=="usb"
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS=
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS==""
DRIVERS==""
-------
'udevadm test /devices/pci000...

staedtler-przyborski (staedtler-przyborski) wrote : | #71 |
@Luca
Bingo
udevadm test /devices/
shows:
'Invalid rule /etc/udev/
So consequently your device is configured as printer-only:
RUN '/lib/udev/
handling device node '/dev/bus/
preserve permissions /dev/bus/
preserve already existing symlink '/dev/char/189:130' to '../bus/
ACTION=add
BUSNUM=002
DEVNAME=
DEVNUM=003
DEVPATH=
DEVTYPE=usb_device
DRIVER=usb
ID_BUS=usb
ID_FOR_
ID_MODEL=MFC-1910W
ID_MODEL_
ID_MODEL_
ID_MODEL_ID=035d
ID_PATH=
ID_PATH_
ID_REVISION=0100
ID_SERIAL=
ID_SERIAL_
ID_USB_
ID_VENDOR=Brother
ID_VENDOR_
ID_VENDOR_
ID_VENDOR_ID=04f9
MAJOR=189
MINOR=130
PRODUCT=4f9/35d/100
SUBSYSTEM=usb
SYSTEMD_
TAGS=:systemd:
TYPE=0/0/0
USEC_INITIALIZE
libsane_matched=yes
run: 'uaccess'
run: '/lib/udev/

staedtler-przyborski (staedtler-przyborski) wrote : | #72 |
- new udev-rule for testing Edit (237 bytes, text/plain)
Hi Luca,
can you please remove /etc/udev/
and add instead /etc/udev/
Don't worry about the 0777 (as long you posess your computer ;-). We can later try to reduce permissions (but 0666 makes no real difference ...)

luca.mg (luca-mg) wrote : | #73 |
Hi Staedtler, bingo it is. I did try what You suggest, no joy, but the information that You collected (and that I couldn't even imagine of), have put me on the right track. Here's what works for me:
1) I created a /etc/udev/
usb:v04F9p035D*
libsane_
where the file is named after the backend, v049f is vendor ID, and p035d is product ID; those may very well change for other scanners :-)
2) edited the file /etc/sane.
brother4
this may very well change for other backends :-))
no need for the brother-

luca.mg (luca-mg) wrote : | #74 |
To be precise: "v049f is vendor ID, and p035d is product ID" should read "049f is vendor ID, and 035d is product ID", as in usb:vXXXXpXXXX, where the Xs are the outcome of lsusb.

luca.mg (luca-mg) wrote : | #75 |
More on this, everything works as a user with simple-scan and gscan2pdf too, with both the Epson and the Brother scanners on I can select between peripherals. Again a public thank You to Staedtler for his help!

staedtler-przyborski (staedtler-przyborski) wrote : | #76 |
Congratulations, great work Luca. And big relief ...
So I summarize the workarounds as follows (no need to crawl through this lengthy bug report):
I.Brother:
1. brscan, brscan2, brscan3
a) 'sudo ln -sfr /usr/lib64/libbr* /usr/lib/
b) 'sudo ln -sfr /usr/lib64/
c) generate '/etc/udev/
content:
# Brother brscan devices
ATTRS{idVendor}
2. brscan4
a) execute 'lsusb' to get VendorId (04f9) and ProductID
b) create '/etc/udev/
content:
usb:v04F9pYYYY* (pYYYY is product ID from lsusb, Example: usb:v04F9p035D, 04f9 is vendor ID, and 035d is product ID for BrotherMFC-1910W")
libsane_matched=yes
c) edit '/etc/sane.
add 'brother4'
II. Epson Iscan
a) 'sudo ln -sfr /usr/lib/
b) generate '/etc/udev/
content:
# chmod device EPSON group
ATTRS{manufactu
III. Xerox Workcentre 3225
a) 'sudo ln -sfr /usr/lib/
b) 'sudo adduser $USER lp'
For me this looks like we have several bugs in one ;-)
e.g. III b) happens also on other libsane 1.0.27 installations and seems a libsane bug (at least it is listed there as bug)
Hopefully all this becomes obsolete with Ubuntu 18.04 ....

luca.mg (luca-mg) wrote : | #77 |
This is regarding post #54, I went to https:/

luca.mg (luca-mg) wrote : | #78 |
Hi Staedtler, I didn't refresh the page before posting, so I didn't see Your post #76. Believe it or not the congrats go to You, I would have never done it without brainstorming with You, and Your posts #71 and 72 have been elightening. Regarding the /etc/sane.
Regards, Luca

luca.mg (luca-mg) wrote : | #79 |
Double checked, brscan4 symlinks required! To sum it up:
a) install libsane-extras
b) install brscan4
c) 'sudo ln -sfr /usr/lib64/
d) execute 'lsusb' to get VendorId (04f9) and ProductID
e) create '/etc/udev/
content:
usb:v04f9pYYYY* (pYYYY is product ID from lsusb, Example: usb:v04f9p035d, 04f9 is vendor ID, and 035d is product ID for Brother MFC-1910W")
libsane_matched=yes
f) edit '/etc/sane.
add 'brother4'
g) please take my apologies for rushing out the scoop. (and may the sane forgive me!)

Rajasekharan N (rajasekharan) wrote : | #80 |
Here is the workaround for Samsung M2070.
1.) sudo ln -sfr /usr/lib/
2.) Edit the file 59-smfp_
ATTRS{idProduct
3.) Voila. It's working like a charm.
I was trolling the Internet like a headless chicken the whole day. Thanks a gazillion to staedtler-

Pep (pepsi-farkas-peter) wrote : | #81 |
Comment #80 worked for me.
Thank you very much, you saved me :)

Ken Wright (wizard-koalatyworks) wrote : | #82 |
staedtler-
Any insights?

staedtler-przyborski (staedtler-przyborski) wrote : | #83 |
@ Ken Wright
As starting point:
output of
'lsusb'
and
'sudo sane-find-scanner'
'scanimage -L'
please

Ken Wright (wizard-koalatyworks) wrote : | #84 |
staedtler-
Output of lsusb:
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 016: ID 0cf3:0036 Atheros Communications, Inc.
Bus 001 Device 003: ID 064e:9205 Suyin Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 04b8:014a Seiko Epson Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output of sudo sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x0bda [Generic], product=0x0129 [USB2.0-CRW]) at libusb:001:005
found USB scanner (vendor=0x04b8 [EPSON], product=0x014a [EPSON Perfection V37/V370]) at libusb:002:006
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Output of scanimage -L
device `epkowa:
device `epkowa:
It looks to me like scanimage isn't seeing what sane-find-scanner is, if that makes any sense.

staedtler-przyborski (staedtler-przyborski) wrote : | #85 |
Output(s) seem fine
have you installed
http://
I guess so but for beeing sure ...
Also
sane-backends (1.0.27-
I ask so much because in comment 21 the epson V-370 is told to be working. So it seems a problem with your setting

Ken Wright (wizard-koalatyworks) wrote : | #86 |
Yes, installing iscan was the first thing I did. I had to install it when I was running 16.04 and the scanner worked, so I knew it was needed.
I tried to install sane-backends, but I got this response:
sudo aptitude install sane-backends
[sudo] password for kwright:
Couldn't find any package matching "sane-backends", but there are 2 packages which contain "sane-backends" in their description:
scanbd scanbd:i386
Unable to apply some actions, aborting
sudo aptitude install scanbd
scanbd is already installed at the requested version (1.4.4-1build2)
scanbd is already installed at the requested version (1.4.4-1build2)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

staedtler-przyborski (staedtler-przyborski) wrote : | #87 |
@ Ken Wright
You know this is not a helpdesk ?
open a terminal and paste
'apt list --installed |grep -e esci -e iscan -e libsane1'
this shows your installed Sane backends (libsane1) and your iscan installion

Ken Wright (wizard-koalatyworks) wrote : | #88 |
Here's the output:
iscan/now 2.30.2-2 amd64 [installed,local]
iscan-data/now 1.36.0-1 all [installed,local]
iscan-plugin-
libsane1/
Is this helpful at all?

staedtler-przyborski (staedtler-przyborski) wrote : | #89 |
@ Ken Wright
looks okay so far
finally
output of
'ls /usr/lib/
and
'ls /etc/udev/

Ken Wright (wizard-koalatyworks) wrote : | #90 |
I think we may be on the verge of a solution.
$ ls /usr/lib/
ls: cannot access '/usr/lib/
$ ls /etc/udev/
/etc/udev/
/etc/udev/
libsane-epkowa appears to be missing. I'll see if I can find it and symlink it to /usr/lib/

Ken Wright (wizard-koalatyworks) wrote : | #91 |
No joy. Error during device i/o.

staedtler-przyborski (staedtler-przyborski) wrote : | #92 |
If
1)'ls /usr/lib/sane/*'
shows:
/usr/lib/
/usr/lib/
then a
2)'sudo ln -sfr /usr/lib/
is the cure for your scanner hickups ...
If not, you first need to reinstall iscan and then do 2).

Ken Wright (wizard-koalatyworks) wrote : | #93 |
Okay, I did all that. Fresh download of Iscan, made the symlinks, and I'm still getting the "Error during device I/O" message.

staedtler-przyborski (staedtler-przyborski) wrote : | #94 |
Try another USB -Port, (no USB 3 whenever possible), check USB cables,
check if the file 'iscan' is in 'etc/sane.d/dll.d/
content:
'epkowa'
edit '/etc/sane.
comment all entries by adding '#' in front of every line
add 'epkowa' (uncommented !)
edit '/etc/sane.
comment the lines
'usb' and 'scsi'
uncomment the line
'#usb 0x04b8 0x0110' by removing the '#' and correct ProductId (0x014a)
looks like 'usb 0x04b8 0x014a' then.
spend some candles and reboot ...
Finally: Are you really sure the scanner is working ?

Ken Wright (wizard-koalatyworks) wrote : | #95 |
Yes, I'm sure the scanner is working because this last round of fixes has it working! Thanks so very much!

louBurnard (lou-burnard) wrote : | #96 |
My Epson Perfection V500 stopped working after I upgraded from 17.04 to 17.10, as per everyone else's.
I created the softlink
$sudo ln -sfr /usr/lib/
and created the file
$sudo nano /etc/udev/
with content
ATTRS{
Still no joy.
>>>I then remembered to power the scanner off and on again <<<<
It works!
Thanks to all you wonderful Ubuntu users out there...

louBurnard (lou-burnard) wrote : | #97 |
OTOH, Iscan now refuses to save its output as JPG or PNG.

Paulo Marcel Coelho Aragão (marcelpaulo) wrote : | #98 |
I have an Epson Stylus TX235W which I used to print and scan wirelessly. Even after creating the /usr/lib/

PeterPall (peterpall) wrote : | #99 |
About the Iscan, PNG and JPEG phenomenon: Iscan's png support still depends on an very old version of libpng. If this library isn't found support for the PNG format is dropped. I guess, libjpeg has been renamed (and most probably has changed its interface), as well.

staedtler-przyborski (staedtler-przyborski) wrote : | #100 |
@ marcelpaulo
have a look at comment #94

MARTIN (o-martin-n) wrote : | #101 |
The problems is the same with lexmark CX310n scanner on ubuntu 64 bits >=16.04 (after sane update)
To fix the bug:
'sudo ln -sfr /usr/lib64/
Thanks

sz gy (gyszabolcs) wrote : | #102 |
I still have no luck with Samsung M2070W scanner over wifi. :(
Are there anybody able to scan with M0270W over wifi with Ubuntu 17.10.
With Ubuntu 17.04 it was working fine.

KEVIN KENNY (ke9tv) wrote : | #103 |
Bug definitely affects me with Epson Perfection V330 Photo. I can confirm that the workaround in #36 makes the scanner usable again.

bruno (kompliziert-hier) wrote : | #104 |
«MeeToo».
My Epson Perfection V370 Photo does not work with my newly installed Kubuntu 17.10. With the 14.04-5 it works perfectly.
I do hope you will solve the problem before the Version 18.04 LTS is out.
I am still use the 14.10 as working version, but want to adobt myself with Plasma5

delijati (delijati) wrote : | #105 |
Is there any progress or workaround? My printer, scanner (Brother DCP-J715W)

delijati (delijati) wrote : | #106 |
got it working by adding `brother3` to `/etc/sane.

PeterPall (peterpall) wrote : | #107 |

PeterPall (peterpall) wrote : | #108 |
Seems like the 1st try for my patch is lost including its description =>
I've tried to create a patch that automatically applies all workarounds on installing libsane1. The only thing I am not sure is the symlinks:
- If we try to link the new directories to the old ones on a system update (when the old dir still exists) the link cannot be created. Hence the patch only creates them on a clean install.
- and I have no idea if we can avoid creating the links on IA32 systems, too - where they don't do harm, but don't help, neither.
Perhaps we should compile a list of all individual files Epson, Brother and perhaps others provide and create a separate symlink for every file. Any ideas? And any volunteers for this?

Ubuntu Foundations Team Bug Bot (crichton) wrote : | #109 |
The attachment "libsane1.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
tags: | added: patch |

Francisco Villar (villarf) wrote : | #110 |
I still face the same issue with my Samsung M2070W scanner over wifi.
None of the workarounds and fixes worked for me.

Sam Wilson (samwilson.id.au) wrote : | #111 |
I'm not sure which update did it, but without me doing anything my Epson V33 is working again now on Ubunbu 17.10.

staedtler-przyborski (staedtler-przyborski) wrote : | #112 |
A first test with Ubuntu 18.04 and my Epson V 300 showed: Things remain the same as with 17.10. Only after the steps described in post #76 my scanner began to work.
Btw. the opinion of the sane developers I talked with is rather clear and easy: those who broke things have to fix them.

Francisco Villar (villarf) wrote : | #113 |
Question to those where this is working again, do you use your scanner over Wifi or over an USB cable?

Sam Wilson (samwilson.id.au) wrote : | #114 |
Mine's with a USB cable.

Mika (70mike) wrote : | #115 |
Thanks staedtler-
It worked for me in 18.04 with epson scanner.
I hope it stays that way.

Vaclav Kosar (vackosar) wrote : | #116 |
I have a problem with Samsung CLX-3185 scanner: the finder detects the scanner but scanimage not. I tried couple thing here, but they were either not relevant or didn't work.

Eduard Pertinez i Juncosa (eduardp) wrote : | #117 |
For the record.
My scanner Epson Workforve WF-7610 was not recognized by iscan yet xsane recognized it.
sudo -u saned scanimage -L
returned
device `epson2:
but it did not work.
It used to work flawesly with the same configuration BEFORE upgrading to 17.10.
My workaround:
a) Commented epson2 and epson in /etc/sane.
b) epkowa.conf has the correct net ip.
c) I copied epkowa drivers to correct lib folder
cp /usr/lib/
after that
sudo -u saned scanimage -L
returned
device `epkowa:
and iscan ran again.

Michael Steenbeek (gymnasiast) wrote : | #118 |
I have a Samsung M2070W. I have tried the workaround in #80, but unfortunately it did not work for me, even after restarting.

Michael Steenbeek (gymnasiast) wrote : | #119 |
I can't seem to edit my previous post, but after running ldd on the .so file I noticed that libusb-0.1-4 was missing. Installing that package (on top of the workaround in #80) made the scanner work for me.

Ken Wright (wizard-koalatyworks) wrote : | #120 |
Well, it happened again. I just upgraded to 18.04 and once again my scanner isn't working. I've reinstalled the Epson driver (the scanner in question is a Perfection V370), created the symlinks, and made sure 79-udev-epson.rules had the correct contents. I've power-cycled the scanner and the computer, but no joy. I can run xsane as root, but when I try to run it as a user it immediately says "no devices found." Has anyone else experienced this?

Peter (lastcoderstanding) wrote : | #121 |
Confirm this for
Samsung SCX-3200
ID 04e8:3441
Ubuntu 18.04 Server
connected via USB (worked flawlessly in 16.04)
Printer works (splix)
Scanner is detected, but when starting to scan: I/O Error
didn't install any third party drivers

Maxim Egorushkin (max0x7ba) wrote : | #122 |
Had the same issue with Ubuntu 18.04 and Samsung SCX-3205W. Over Wi-Fi the printer worked, the scanner did not. In Ubuntu 16.04 both printer and scanner work.
Used advice from https:/

Maxim Egorushkin (max0x7ba) wrote : | #123 |
Had the same issue with Ubuntu 18.04 and Samsung SCX-3205W. Over Wi-Fi the printer worked, the scanner did not. In Ubuntu 16.04 both printer and scanner work.
Used advice from https:/

Steven Tryon (stryon) wrote : | #124 |
Same with 18.04 and Epson V500 with current iScan installed.
Worked as installed with 16.04 and with workarounds with 17.10.
stryon@gimli:~$ scanimage -L
device `epkowa:
Note: Scanner light turns blinking red.
stryon@gimli:~$ sudo lsusb | grep Epson
Bus 002 Device 013: ID 04b8:0130 Seiko Epson Corp. GT-X770 [Perfection V500]
Copied /usr/lib/sane$/* to /usr/lib/
Commented out epson lines in /etc/sane.
epkowa.conf has usb line enabled.
On starting xsane, xsane says "Scanning for devices" then scanner light turns blinking red.
"Acquire preview" pops up error window: Failed to start scanner: Invalid argument.
Similar results with iscan plugin for Gimp.

Steven Tryon (stryon) wrote : | #125 |
Addendum to #124
/etc/udev/
ATTRS{manufactu

Raimondo Giammanco (rai) wrote : | #126 |
The bug still affects Epson Perfection V330 Photo on Ubuntu 18.04 but the workaround in #36 makes the scanner usable again.
Nonetheless, iscan is still unable to save as .JPEG or .PNG. Is that a different issue?
I suspect that iscan and its interpreters are no longer actively maintained by EPSON, so...
Is there any known workaround?

Boaz Dodin (bdcomp) wrote : | #127 |
@Raimondo It's a different issue - make sure the libjpeg62 package installed.

luca.mg (luca-mg) wrote : | #128 |
After a bunch of Bionic updates the Brother MFC 1910W scanner gave up working; I have had to install the libsane-extras package and add the line "brother4" to the file /etc/sane.

Manuel (manuel-schulte) wrote : | #129 |
I'm affected as well, my scanner is an Epson GT-S50 (0x04b8 0x0137).
I've documented my observations and trials to resolve on askubuntu.com: https:/
I tried also to do a fresh install of Bionic, but same issue.
I tried to specify my scanner in /etc/sane.
> SUBSYSTEM=="usb", ENV{DEVTYPE}
SUBSYSTEM=
ATTRS{idVendor}
GROUP="scanner", ENV{libsane_
So far, no luck, scanner remains stubbornly undetected :'(

Manuel (manuel-schulte) wrote : | #130 |
ADDENDUM to #129: Ah! Success!
I followed the advice of comment #28 (https:/
Did the following:
$ sudo ln -sfr /usr/lib/
Then:
1. Removed the "usb 0x04b8 0x0137" entry I had added to /etc/sane.
2. Added a 55-epson-
SUBSYSTEM=="usb", ENV{DEVTYPE}
SUBSYSTEM=
ATTRS{manufactu
ATTRS{idVendor}
Finally I unplugged / plugged my scanner and tried:
$ scanimage -L
And got this encouraging answer:
device `epkowa:
Then I started iscan (Image Scan!) and it immediately detected my scanner.
I then could successfully scan a page.
The workaround is thus effective! Thanks to all contributions :-)

Sicabol (sicabol) wrote : | #131 |
I have followed comment #96 for an Epson Perfection Photo V500 on Ubuntu 18.04 - it works perfectly.

Peter Bennett (pgbennett) wrote : | #132 |
Brother DCP-7065DN Network Printer & scanner. I just installed Bionic alongside Xenial. Printer works fine on bionic with the brother drivers but the scanner is not found. The scanner works with Xenial. For xenial, after installing the Brother drivers, I had created links using "sudo ln -sf /usr/lib64/

Marco Bortoli (markus51) wrote : | #133 |
Brother MFC-J480DW, printer ok, scanner doesn't work in Ubuntu 18.04, fresh installation yesterday. I use simple scan, scanner is not found. Scanner works fine with 16.04. In brother folder, brscan4-

Letatcest (ksoeteman) wrote : | #134 |
I'd like to add that Epson Perfection V500 works perfectly after installing all official Epson Linux drivers and follow the instructions at number 25: https:/
But I don't think non-savvy Ubuntu users can figure this out on their own...

Peter Bennett (pgbennett) wrote : | #135 |
Brother DCP-7065DN Network Printer & scanner on bionic (comment #132 above). I have now installed a chroot of xenial on my new bionic setup. In the chroot I installed the Brother scanner drivers and ran the "sudo ln -sf /usr/lib64/

Ken Wright (wizard-koalatyworks) wrote : | #136 |
I've just tried a fresh install of Epson's drivers, deleting and reinstalling libsane-epkowa*, recreating the symlinks, all the process in Comment #96. This procedure worked for me on 17.10, but not on 18.04. What am I missing?

Manuel (manuel-schulte) wrote : | #137 |
@Ken Wright:
For my scanner (Epson GT-S50 / epkowa driver), I added more in my udev rule file:
> SUBSYSTEM=="usb", ENV{DEVTYPE}
> SUBSYSTEM=
> ATTRS{manufactu
> ATTRS{idVendor}
the last line is important, and is missing in the recommendations of comment #96, that is perhaps what is causing you trouble. NOTE: for your scanner, the line should read (cfr. #124):
> ATTRS{idVendor}
Hoping this will help. Cheers.

Keith from Ipswich (keithcoleman) wrote : | #138 |
Brother MFC-7420 installed under fresh install of 18.04 and connected via USB. Brother2 drivers are installed. Have created links and local udev rules and almost have scanner working.
scanimage -L >>> device `brother2:
scanimage --test >>> scanimage: open of device brother2:bus2;dev4 failed: Invalid argument
Using debug, scanimage test openned and successfully interrogated the scanner but failed with
[dll] sane_start(
scanimage: sane_start: Invalid argument
scanning to file was similar
[dll] sane_open: trying to open `brother2:
scanimage: open of device brother2:bus2;dev1 failed: Invalid argument
To get this far my drivers needed libusb-0.1-4 (userspace USB programming library). 18.04 uses libusb-1 and they are not interchangeable as I tried a simple link pointing to new version.
Is this a jigsaw puzzle with a couple of pieces missing

Keith from Ipswich (keithcoleman) wrote : | #139 |
https:/

PeterPall (peterpall) wrote : | #140 |
The USB3 issue should be resolved in the linux kernel bionic uses, see the following thread: https:/

Chris Rainey (ckrzen) wrote : | #141 |
HP Color LaserJet MFP M477fnw also affected.

Keith from Ipswich (keithcoleman) wrote : | #142 |
Thank you PeterPaul. Will try again after the next Bionic kernel upgrade. In the meantime the brother MFC is plugged into my 16.04 PC and network connected. The printer cost me $20 at a garage sale and only has USB.
PS - more pieces of the puzzle: the brother-
The driver name is "Brother MFC7420 for CUPS" and does not have a hyphen after MFC so it appears after all MFC printers in the list of drivers and is easily missed

Ken Wright (wizard-koalatyworks) wrote : | #143 |
@Manuel,
I added the further content to my Rules file, but it didn't make any difference.
In case I haven't mentioned it, and because it may be important, I am able to scan as root, but not as a regular user.

Jean COLIN (carl174) wrote : | #144 |
Had problem with EPSON perfection 3170 photo = GT9400UF
searched for long
to display what dll are used,
use command shell export SANE_DEBUG_DLL=128
then use command shell xsane
discovered that
[dll] load: searching backend `epkowa' in `/usr/lib/
[dll] load: trying to load `/usr/lib/
[dll] load: dlopen()ing `/usr/lib/
[dll] init: initializing backend `epkowa'
[dll] init: backend `epkowa' is version 1.0.213
the file /usr/lib/
the file downloaded from epsion was installed at /usr/lib/sane/
copied this file from /usr/lib/sane/ to /usr/lib/
now
[dll] init: backend `epkowa' is version 1.0.208
and working (for me) - probable regression between version 1.0.208 and version 1.0.213
Regards
Regards

Manuel (manuel-schulte) wrote : | #145 |
@Ken Wright,
Yes, you mentioned it and it is why I suggested to add the extra rules... but I may be wrong as I'm no udev expert :'(
Have you checked in your user settings if your account has "Use scanners" checked under "User privileges"? If not, maybe you'd have to give it a try to see if it solves the problem.

Manuel (manuel-schulte) wrote : | #146 |
Same as Jean COLIN:
...
[dll] load: searching backend `epkowa' in `/usr/lib/
[dll] load: trying to load `/usr/lib/
[dll] load: dlopen()ing `/usr/lib/
[dll] init: initializing backend `epkowa'
[dll] init: backend `epkowa' is version 1.0.213
[dll] load: searching backend `ls5000' in `/usr/lib/
[dll] load: trying to load `/usr/lib/
[dll] load: dlopen()ing `/usr/lib/
[dll] init: initializing backend `ls5000'
[dll] init: backend `ls5000' is version 1.0.0
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `epkowa:
[dll] sane_open: open successful
...
Besides, in spite the fact the workaround worked for me (able to scan), there are still some issues:
a. the scanner is very slow to detect (at least one minute, against a few seconds under Ubuntu 16.04)
b. my scanner is sheet fed, but gets identified as a flatbed scanner, which results in some options being grayed out in "Image Scan!" (iscan)
I'll try as, Jean, to replace the libsane-epkowa.so.1 by the one provided with the Epkowa package to see if it solved those issues as well.

Ken Wright (wizard-koalatyworks) wrote : | #147 |
@Manuel,
You are a frickin' genius! I checked Users and Groups. Use scanners was checked, so I took a look at my groups. I has both saned and scanner, but was only a member of scanner. I joined saned, rebooted, and Robert is your mother's brother. Thank you so very much!

Peter Bennett (pgbennett) wrote : | #148 |
Brother DCP-7065DN Network Printer & scanner on bionic (comment #132 and #135 above). Adding sane and scanner group and checking "use scanners" does not help. The scanner is still not recognized.

BobvanderPoel (bob-mellowood) wrote : | #149 |
I just installed 18.04 and had the same problem ... so it's not fixed yet.
Seems that copying the epkowa files from /usr/lib/sane to /usr/lib/

Ken Wright (wizard-koalatyworks) wrote : | #150 |
@Peter Bennett,
Have you created the symlinks from /usr/lib/sane to /usr/lib/

Ken Wright (wizard-koalatyworks) wrote : | #151 |
@Peter Bennet,
try "sudo sane-find-scanner" (without the double quotes) and see if the scanner is recognized.

Peter Bennett (pgbennett) wrote : | #152 |
@Ken Wright
I did set up the links with "sudo cp /usr/lib64/
The "sudo sane-find-scanner" does not find it - that seems to be looking for USB scanners but this is network attached. It found my TV tuner (PCTV 801e) and thinks it may be a scanner.
"sudo scanimage -L" also does not find it
See below
peter@andromeda:~$ ls -l /usr/lib/
-rwxr-xr-x 1 root root 158336 May 16 19:04 /usr/lib/
-rwxr-xr-x 1 root root 158336 May 16 19:04 /usr/lib/
-rwxr-xr-x 1 root root 158336 May 16 19:04 /usr/lib/
peter@andromeda:~$ ls -l /usr/lib/sane/*bro*
lrwxrwxrwx 1 root root 35 May 16 18:45 /usr/lib/
lrwxrwxrwx 1 root root 37 May 16 18:45 /usr/lib/
lrwxrwxrwx 1 root root 41 May 16 18:45 /usr/lib/
peter@andromeda:~$ sudo sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x2304 [YUANRD], product=0x023a [PCTV 801e]) at libusb:003:003
could not fetch string descriptor: Pipe error
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
peter@andromeda:~$ sudo scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

Peter Bennett (pgbennett) wrote : | #153 |
Correction to the prior post - the command to link the files was "ln -s" not "cp". I did try both linking and copying the files. Currently they are linked.

downward (invisioslice) wrote : | #154 |
imagescan_

Ken Wright (wizard-koalatyworks) wrote : | #155 |
@downward,
Take a look at epson.com and download the latest drivers. I think that may help.

Ken Wright (wizard-koalatyworks) wrote : | #156 |
@Peter Bennett,
I'm sorry, I don't know anything about network connections, but that's where your problem lies. You've got the drivers linked, and the Epson rule, so once you get the network connection fixed you should be all right. Sorry I can't be of more help.

luca.mg (luca-mg) wrote : | #157 |
@ Peter Bennet: hi there, I have a brother4 driven scanner too, all I did was to run the latest brother installer and install the libsane-extras package adding the line "brother4" to the file /etc/sane.

PeterPall (peterpall) wrote : | #158 |
In my case the network problem also involved gufw being configured to refuse all inbound connections: avahi's autodiscover requires you to ope. the ports needed for bonjour.

Peter Bennett (pgbennett) wrote : | #159 |
@luca.mg
I tried what you suggested, and rebooted, but the scanner is still not found by scanimage -L
@Ken Wright
The network must be OK, because I can scan if I run under chroot in the same installation.
$Peterpall
I do not have gufw, or any firewall. the ports all should be open, and it does work under chroot so I don't think it is a network problem.

Ken Wright (wizard-koalatyworks) wrote : | #160 |
@Peter Bennett,
If you've got Synaptic, start it and search for ufw. I had it without knowing. I installed gufw, which is just a graphical interface to ufw and was able to check the firewall rules.

Peter Bennett (pgbennett) wrote : | #161 |
@Ken Wright
Thanks for the info. I installed gufw. I found that the firewall was disabled for "Home" and enabled for "Office" and "Public". I disabled it for all and rebooted. scanimage -L still does not find the Brother scanner.

Ken Wright (wizard-koalatyworks) wrote : | #162 |
@Peter Bennett,
Let me make sure I'm following. scanimage -L doesn't find the scanner, but sudo scanimage -L does?

Peter Bennett (pgbennett) wrote : | #163 |
No. sudo scanimage -L gives the same result. It does not detect the scanner. However schroot with chroot of Ubuntu 16.04 detects it correctly. See below.
peter@andromeda:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
peter@andromeda:~$ sudo scanimage -L
[sudo] password for peter:
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
peter@andromeda:~$ schroot -c chroot:xenial
(xenial)
device `brother4:
(xenial)

Steven Tryon (stryon) wrote : | #164 |
Clean install of sane and Epson drivers and reseating cables appears to have taken care my problems with my Epson V500.

Karl Kastner (kastner-karl) wrote : | #165 |
Samsung SCX-470x,04e8:3457 Samsung Electronics Co., Ltd, is affected as well, the scanner is detected, but if a scan is attempted, the error "Failed to start scanner: error during device i/o" is displayed. Then the connection to the device is lost and I need to restart the device.
Rajasekharan workaround fixed the problem, thanks for posting it!

Veron Rado (junket) wrote : | #166 |
Samsung SCX-4600 ID 04e8:3433 suffers from this issue too.
It worked fine on Ubuntu 16.04 and 16.10. 17.10 seems to have caused it.
Simple Scan doesn't find the scanner anymore.
Xsane finds it. Sometimes it doesn't.
When it does find it, it fails to scan with "Failed to start scanner:Error during device I/O"
Scanimage finds it and works.
(It does crash with a segmentation fault trying `scanimage --test` but that might be a separate issue?)
I think the fix might be #80. But I don't have most ot the files listed:
- I don't have `/usr/lib/sane` directory at all.
- My `/etc/udev/rules.d` is empty.
Any pointers or tips are appreciated.
Ubuntu 18.04
uname -a
Linux atlantic 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The backend that's used is `xerox_mfp`

Veron Rado (junket) wrote : | #167 |
Bit of a breakthrough :)
Launching simple scan and xsane via the terminal with the USB3 workaround[1] environmental variable works:
$ SANE_USB_
Or
$ SANE_USB_
The weird thing is I had previously set that variable by adding `export SANE_USB_
But that *did not work*.
It's only by chance I tried this.
So, apparently for the SCX-4600, the USB3 issue is the culprit.
[1] See 'Note 3' in the 'Latest News' banner https:/
[2] https:/

Veron Rado (junket) wrote : | #168 |
Found a permanent fix for Samsung SCX-4600 and USB3 issue.
According to ArchWiki[1] systemd and dbus don't pickup environment variables set in ~/.bashrc.
That explains why the .bashrc fix didn't work.
So the solution I finally found and went for was number 2 in the list on ArchWiki here[2]
Using nano I edited /etc/systemd/
I appended this at the bottom of it:
DefaultEnvironm
Then I rebooted (I don't know how to get systemd to reload /etc/systemd/
And tah-dah!
Simple scan and Xsane now work as normal.
[1] https:/
[2] https:/

Adam Gwizdz (amgwizdz) wrote : | #169 |
Thanks staedtler-

Ken Wright (wizard-koalatyworks) wrote : | #170 |
Well, tanj-dammit! I had this problem fixed and now it's happening again! I've gone through all the fixes in this thread to no avail. Should I start another issue or stay here with people who understand?

Ilja (ilja-schmelzer) wrote : | #171 |
I also have a problem installing Panasonic KX-MB1500 on Ubuntu 18.04 LTS. Drivers taken from https:/
lsusb gives:
Bus 001 Device 005: ID 04da:0f0b Panasonic (Matsushita)
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
sudo sane-find-scanner gives:
found USB scanner (vendor=0x0bda [Realtek], product=0x8179 [802.11n NIC]) at libusb:001:002
could not fetch string descriptor: Pipe error
sudo scanimage -L gives nothing.
The end of my /lib/udev/
-----
# Hewlett-Packard ScanJet 6300C
ATTRS{type}=="3", ATTRS{vendor}
# Panasonic MFS scanners
ATTRS{idVendor}
LABEL="
----

Rob Cannell (r-cannell) wrote : | #172 |
Thanks Staedtler. I can confirm the problem still exists on 18.04 with Epson V200. Your solution worked for me.

fabianbur (fabianbur) wrote : | #173 |
I can confirm the problem still exists on 18.04 with Samsung SCX-3200.
Thanks Staedtler. What would be a solution with this scanner?

Yevhen (onegin-ua) wrote : | #174 |
Thanks Staedtleк-
After update Ubuntu 16.04 to Ubuntu 18.04 my Brother DCP-J315W hasn't worked as scanner.
Your solution helped me and my scanner works again on brscan4.

Peter Bennett (pgbennett) wrote : | #175 |
There is an updated driver for the Brother DCP-7065DN scanner on the Brother web site, dated 5/31/2018. This fixes the problem. see https:/

RadekB (rrrbbb) wrote : | #176 |
Confirmed for Epson V37.

robbielink (robbielink) wrote : | #177 |
#36 worked for me - Brother MFC420CN
Thanks!

Maximilian Borm (bormolino) wrote : | #178 |
Same on my Samsung 2070M. Works perfect under ubuntu 16.04 LTS but not under 18.04 LTS. Scanner not found by simple scan and sane.

Laszlo Keki (ssabra) wrote : | #179 |
Hello. I have the same problem. Just changed from 16 to Ubuntu 18.04.1 LTS and my Brother DS-620 scanner which was working perfectly before, now not working. I tried all the recipes mentioned above but nothing scanner is not identified. Solution, updates?

Wilhelm Hagg (wilhelmhagg) wrote : | #180 |
Same problem for Epson Perfection V39

Wladimir Mutel (mwg) wrote : | #181 |
Dear package maintainers,
as you see, 'epkowa' and some other Epson backends are clearly mispackaged.
Also, Epson USB device permissions should be set properly by udev
Let's see if this problem does have any chances to be fixed in Ubuntu 18.04 before 20.04 is released

Michele Michielin (michele-michielin) wrote : | #182 |
Hello, I can confirm I was having the same problem with an Epson Perfection V10 in 18.04 that was solved creating the file '/etc/udev/
Thanks

Bruno leite (brunocleite) wrote : | #183 |
Same problem here for Xerox WorkCentre 3025

Janne Peltonen (janne-peltonen) wrote : | #184 |
I'm having the same problem with Samsung M2070 scanner, but thanks to the information here I was able to patch it working. I linked the files located in /usr/lib/sane (copied there likely by the samsung driver installer) to /usr/lib/

Barry Harding (barryha) wrote : | #185 |
This is a problem with an Epson GT-1500 in ubuntu 18.04 and the work around does not help. This problem seems to have been here for a long long time. Isn't there anyone to try to fix it??

Wladimir Mutel (mwg) wrote : | #186 |
well, what is really mispackaged, is Epson's iscan 1.0.1 package which places its .so backends into /usr/lib/sane , which is now went our of sync with multi-arch library paths like /usr/lib/

Christian Meier (chris-ubuntu-two) wrote : | #187 |
Seiko Epson Corp. GT-F650 [GT-S600/Perfection V10/V100] doesn't work in simple-scan in 18.04.1 LTS (Bionic Beaver). It worked without issues in the previous LTS release. After extracting the firmware and setting up the symlinks mentioned in this topic, at least XSane is working. I'm using it now in a virtual machine in 16.04. :(

Polló László (lpollo1) wrote : | #188 |
I have a Epson L382 printer/scanner machine and i use the software available from Epson. The scanner software do not find the scanner - after the upgrade. sane-find-scanner write this: found USB scanner (vendor=0x04b8 [EPSON], product=0x1120 [L382 Series]) at libusb:002:004 could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions) scanimage -L write this: No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). The printer part of the machine working properly.

Jeremy Bícha (jbicha) wrote : | #189 |
I understand why /usr/lib64/ doesn't work right now on Ubuntu (that's a directory commonly used by Fedora and Red Hat distros).
I don't understand why /usr/lib/sane/ doesn't work according to the comments here. When sane-backends was converted to multiarch, a patch was added that I think was supposed to enable /usr/lib/sane/ to still be supported.
https:/
https:/
If that patch worked, then maybe it makes sense to just add /usr/lib64/ there too.
I don't have a scanner myself to test any of this.

PeterPall (peterpall) wrote : | #190 |
Making the library automatically look for plug-ins in all possible places they can be found would be a great idea: This would mean that it doesn't matter if the plug-in expects the library multiarch or not.
If I interpret the 0125-patch correctly it changes the path plugins are found in instead of adding a second one.

Lloyd Hayes (hayeslloyd) wrote : | #191 |
I also have this problem, but not with all Epson scanners. My combination Artisan 837 printer/scanner works fine. But my Epson Perfection V600 won't work. And after following the directions here I ended up with 2 drivers for my Epson Artisan 837. But the Epson V600 is still not working.
The V600 is used for high-res scans of prints and negatives/
In the past, I have been able to get this scanner to work on my Linux system. But that was in the past, and may have been before I upgraded to the current Ubuntu Linux version...

silencer (silencer4321) wrote : [Desktop-packages] [Bug 1728012] Re: Many 3rd party scanner drivers are broken by a sane change | #192 |
Cześć
Udało ci się może rozwiązać problem skanowania w Xerox Workcentre 3225?
Mam to samo, po update do 18.04, skaner przestał działać.
Sposób z linkami symbolicznymi nie działa.
Pozdrawiam

Jeremy Bícha (jbicha) wrote : | #193 |
PeterPall, thank you for your help. I opened LP: #1795725 for the multiarch issue and forwarded the bug to Debian.
Is there a complete list of the udev rules collected so far that we should consider adding to the Ubuntu packaging?

Thierry B. (thierrybo2) wrote : | #194 |
Latest Epson 1.3.38 driver released 10-18-2018 use multiarch folders now

e-fernbach (e-fernbach) wrote : | #195 |
I have a problem with a HP ScanJet 4370. The scanner is correctly recognized (lsusb output: Bus 001 Device 012: ID 03f0:4105 Hewlett-Packard ScanJet 4370).
sudo scanimage -L output: device `hp3900:
scanimage --test output: scanimage: sane_start: Invalid argument
after power cycling the scanner scanimage --test results vary from passing results over scanimage: scanning image of size 433x590 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1299 bytes... FAIL Error: End of file reached
to scanimage: sane_start: Invalid argument
The scanner worked fine under Linux Mint 18 and Ubuntu 17.10.
System: Ubuntu 18.04.1

Neil Wallace (rowinggolfer-gmail) wrote : | #196 |
Epson V370 Scanner working for me with simple scan on Ubuntu18.04 after using Staedtler's suggestions above.
ie. - install the driver from epson site, then.
~$ sudo cp /usr/lib/
~$ sudo vim /etc/udev/
(inserting the following).
# chmod device EPSON group
# ACTION=="add", ATTRS{manufactu
ATTRS{manufactu
Many thanks.

e-fernbach (e-fernbach) wrote : | #197 |
I am just a user, thus this post may sound naive but perhaps it gives a different perspective:
Sane used to work until "something" was changed an now it doesn't work anymore for many people. My naive questions:
what was/is the benefit of the change?
do the benefits outweigh the created problems?
if not is there a way to fall back to the original situation?

Hartmut Jürgens (quantfin) wrote : | #198 |
Brother MFC-215C: Installing drivers from support.brother.com is not sufficient.
But it worked after setting two symbolic links:
~$ sudo ln -s /usr/lib/
~$ sudo ln -s /usr/lib/

Peter Hebert (peterhebert) wrote : | #199 |
Can confirm that louBurnard's method mentioned in comment #96 also worked for me with Ubuntu 18.04 and the Epson Perfection V500. Thanks also to staedtler-

Jaime Cruz (jaime-cruz) wrote : | #200 |
Another vote for LouBurnard's method here. Bionic with Epson Perfection V33 scanner.

James C March (jamescmarch) wrote : | #201 |
@luca.mg Your suggestion in comment #157 worked! I had to install libsane-extras (and libsane-common) using Synaptic Package Manager. Not sure why those weren't already part of the install. I also added the line "brother4" to the file /etc/sane.

luca.mg (luca-mg) wrote : | #202 |
Hi James, glad it worked!
Hi all, on Ubuntu 18.04, with a multifunction HP printer/scanner I could only run the scanner as root; it was not my system and the relevant files were already /usr/lib/
Regards, Luca

Chris Rainey (ckrzen) wrote : | #203 |
All that was needed for my Brother DCP-L2550DW was to 'apt purge' the manually installed drivers:
$ sudo apt --auto-remove purge brscan4 dcpl2550dwpdrv
Then *BE SURE* to use the Brother installer script: linux-brprinter
(or whatever your current version is from the support.brother.com website, etc.)
Follow the instructions from the Brother download site and during the
script installation to-the-
*** CAVEAT: use the printer I.P. addy if on a LAN and _NOT_ the auto-
detected mDNS addy if you have an AT&T Fiber residential gateway such as
mine(BGW210-700) which has a ".local" domain hard-coded in the DNS. This
effectively kills mDNS(Avahi) broadcasts and so I'm not able to connect
to the printer using that system.
CUPS Connection: lpd://192.

User (user11542) wrote : | #204 |
I'm amazed that this bug has been opened for over a year and there is no meaningful status update to be found. I'd like to echo the questions and comments posted by another user above at Comment # 197:
I am just a user, thus this post may sound naive but perhaps it gives a different perspective:
Sane used to work until "something" was changed an now it doesn't work anymore for many people. My naive questions:
what was/is the benefit of the change?
do the benefits outweigh the created problems?
if not is there a way to fall back to the original situation?

Diego Arimany (darimany) wrote : | #205 |
Since 2017 until now (2019)
For EPSON's website provides Linux packages for scanners and printers as (.deb, .rpm, or source) which are simple to install. In two steps (if you have it on the network).
Step 1.
Go to EPSON Driver and Software Download Center (http://
Download and unpack the scanner driver (Image Scan, currently version 1.3.40)
imagescan-
Then, run ./install.sh
sudo ./install.sh
Step 2. (for a newtork scanner)
Edit the file /etc/sane.
Modify the line
net 192.168.xxx.yyy (to match your scanner IP)
That's it.
A full how to is at my website
http://

pen name (newcontact8) wrote : | #206 |
I have a USB-connected brother printer/scanner MFC-7420, hooked up to a desktop running xubuntu 18.04.1 The printer works but the scanner does not. I have tried pretty much every heck posted here and elsewhere but to no avail. Here's what I have done and the error messages I got. Heads up: I wonder what's the significance on the discrepency in (3) below?
-----------------
0) To install the drivers I following the instruction (+FAQ) on
https:/
including brother-
-----------------
1) Xsane says
Failed to open device `brother2:
Invalid argument.
(sudo xsane gives the same error message). When I fire up simple-scan (sudo or otherwise) it says
Ready to Scan
Brother MFC-7420
but when I click "scan" I got "Unable to connect to scanner".
-----------------
2) scanimage -L
device `brother2:
scanimage --test
scanimage: open of device brother2:bus2;dev5 failed: Invalid argument
-----------------
3) lsusb
Bus 001 Device 002: ID 04f9:0180 Brother Industries, Ltd MFC-7420
[ Question: How come it says 001:002 when xsane complains about 002:005 ?!! ]
ls -l /dev/bus/
crw-rw-r--+ 1 root lp 189, 1 Jan 17 15:36 /dev/bus/
ls -l /dev/bus/usb/001
total 0
crw-rw-r-- 1 root root 189, 0 Jan 17 15:27 001
crw-rw-r--+ 1 root lp 189, 1 Jan 17 15:36 002
crw-rw-r-- 1 root root 189, 2 Jan 17 15:27 003
crw-rw-r-- 1 root root 189, 3 Jan 17 15:27 004
crw-rw-r-- 1 root root 189, 4 Jan 17 15:27 005
crw-rw-r-- 1 root root 189, 5 Jan 17 15:27 006
[Question: According to
https:/
the command above should have listed "scanner" but as you can see it's not there]
-------------------
4) I have copied files from lib64 to lib, such as
sudo ln -sf /usr/lib64/
Reboot but to no avail.
-------------------
5) I added myself to the scanner group:
sudo usermod -a -G scanner (me)
Reboot but to no avail. I also tried
more /etc/group | grep -n scanner
and here's the output:
59:scanner:
-------
6) I edited /lib/udev/
https:/
Reboot but to no avail.
-------
7) There is no "brother.conf" in /etc/sane.d
-------
8) I used synaptic to delete all "brother" related files, reinstall the drivers in (step 0) above, reboot but to no avail.
-------
9) I added the following two lines at the end of /lib/udev/
# Brother scanners
ATTRS{idVendor}
Reboot but to no avail.
-------
I'm at a lost on what to do. The scanner (again, it's USB-based, not wireless) worked until window, but I no longer have access to the window machine and I really need the scanner for work. Your help and advice is most welcome. THANKS!

koboldhh (koboldhh) wrote : | #207 |
Fail to use Epson Perfection V500
when starting ISCAN, this message follow: "not able to send a command to scan. check scan"
but recognized by usb port
Bus 001 Device 010: ID 04b8:0130 Seiko Epson Corp. GT-X770 [Perfection V500]
anybody help?

Stephen Turley (turley714) wrote : | #208 |
I'm having the save error with the Epson V550. Happy to help with a fix if someone could show me where to start looking.

Harald Braun (hbraun1) wrote : | #209 |
- 39-smfp_samsung.rules Edit (5.6 KiB, text/plain)
I have with the multifunction printer Samsung CLX-3185N and Simple Scan the following problem:
After starting Simple Scan, I can scan the 1st page; every other page no longer. Error message: "Scan failed Scan failed to start."
What have I done so far:
Linux unified driver uld_V1.
Then the command
sudo ~ / downloads / uld / install.sh
called and installed the driver. There were no error messages.
Since the scanner was not recognized at the beginning, I created the following links.
sudo ln -sfv /usr/lib/
Now the scanner is found with sane-find-scanner and scanimage -L; but that above Problem occurs now.
I tested the following before calling Simple-Scan:
haraldbraun @ Fulda: ~ $ lsusb | grep -e samsung
Bus 001 Device 005: ID 04e8: 343d Samsung Electronics Co., Ltd
haraldbraun @ Fulda: ~ $ sudo sane-find-scanner
Found USB scanner (vendor = 0x04e8 [Samsung Electronics Co., Ltd.], product = 0x343d [CLX-3180 Series]) at libusb: 001: 005
haraldbraun @ Fulda: ~ $ scanimage -L
device `smfp: usb; 04e8; 343d; Z52IBAIB600104R 'is a Samsung CLX-3180 series on USB scanner
haraldbraun @ Fulda: ~ $ ls -al / dev / bus / usb / 001/005
crw-rw-r - + 1 root lp 189, 4 Mar 17 08:00 / dev / bus / usb / 001/005
haraldbraun @ Fulda: ~ $ groups
Harald Brown Lp Sudo Backup Lpadmin Scanner Saned Public
haraldbraun @ Fulda: /etc/udev/rules.d$ ls -l
a total of 68
-rwxr-xr -x 1 root root 5666 Mar 16 17:56 39-smfp_
-rw-r - r-- 1 root root 58549 Feb 18 11:28 70-snap.core.rules
In 39-smfp_
# This file is a part of Unified Linux Driver
# Rules to allow low level USB device access for smfpautoconf
#
# For new distributions,
# Permissions and group are set according to common libsane rules
#
ACTION!="add", GOTO="smfp_
# Check device type
ENV{DEVTYPE}
# Check SUBSYSTEM (should be either "usb" or "usb_device")
SUBSYSTEM=="usb", GOTO="smfp_
SUBSYSTEM=
GOTO="smfp_
LABEL="
# Check Vendor ID
ATTR{idVendor}
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
.
.
.
ENV{libsane_
LABEL="
Then I have the command in the terminal:
sudo tail -f / var / log / syslog
entered, Simple-Scan started.
The first...

Mickaël Tessier (mickaeltess53) wrote : | #210 |
Hello,
I am French, sorry for my English.
I was running Linux Mint 19 and I'm using a Brother DCP-J515W printer with scanner.
I do not know which tutorial I followed, but I could print and scan.
I wanted to install Linux Mint LMDE3.
With the Brother script or the demonipuch script, the printer works but not the scanner.
So I went back to Linux Mint 19.1, but same thing.
I wanted to back down by releasing Linux Mint 19, but same thing.
I ended up installing Linux Mint LMDE3 and trying to run the scanner.
After reinstalling me LMDE3, I used the Brother script, but the scanner was not recognized.
I executed these commands:
mickael@
mickael@
device `brother3:
And the scanner is recognized in Simple Scan, but it does not work.
Xsane does not recognize anything.
Thank you in advance

Mickaël Tessier (mickaeltess53) wrote : | #211 |
I was going to forget, my printer is connected in wifi !!!

Michael (m-doble) wrote : | #212 |
Hello I'm new to LinuxMint and I have a DCP-750CW printer-scanner. No problem with printing, but the scanner isn't recognised by LinuwMint 19.1. Can anyone help me? Thanks!

Michael (m-doble) wrote : | #213 |
sorry,I forgot to specify: BROTHER DCP-750CW printer-scanner connected by USB; scanning doesn't work under LinuxMint 19.1; any advice on what to do?

Peter Bennett (pgbennett) wrote : | #214 |
Michael - have you installed the drivers from the Brother web site? The Brother printer drivers are provided with Ubuntu, but the scanner drivers have to be manually installed.

Michael (m-doble) wrote : Re: [Bug 1728012] Re: Many 3rd party scanner drivers are broken by a sane change | #215 |
Hi Peter,
Thanks for your reply. Yes, I followed all the instructions but error
messages appear during the installment. I can send you the details if
you like (and are willing to spend time to help me :-)).
Michael
Le 27/04/2019 à 14:07, Peter Bennett a écrit :
> Michael - have you installed the drivers from the Brother web site? The
> Brother printer drivers are provided with Ubuntu, but the scanner
> drivers have to be manually installed.
>

luca.mg (luca-mg) wrote : | #216 |
Hi Michael, are You installing as root or sudo?

luca.mg (luca-mg) wrote : | #217 |
Hi all, Brother MFC-1910W, new Ubuntu Mate 19.04 install, Brother drivers from https:/
1) created the file /etc/udev/
usb:v04F9p035D*
libsane_
2) created the file /etc/sane.
brother4
the scanner works with no further tinkering, creating symlinks and the like.
HTH Luca

luca.mg (luca-mg) wrote : | #218 |
Hi again, Epson Perfection 4490 Photo, new Ubuntu Mate 19.04 install, iscan-bundle-
1) from a terminal enter 'sudo passwd root' and create a password for the root user, when done
2) enter 'su root' and provide the newly created password, when root
3) run 'xsane' despite the warnings AND scan a page (a previous attempt without scanning didn't work), after that, believe it or not, the scanner works, I do not really understand why and how, but this is it, though YMMV.
Regards, Luca

Michael (m-doble) wrote : | #219 |
Dear Luca, I'm new to linux but to answer your question, I think I used the commandes SUDO. But what's the difference between root and sudo?

luca.mg (luca-mg) wrote : | #220 |
Hi Michael, sudo is enough for driver installation, if You did not sudo that is why install failed. Root is the real system administrator, not needed for this task.
REegards, Luca

PeterPall (peterpall) wrote : | #221 |
If the scanner can be found only by the superuser that might indicate that an udev rule that allows scanner access for ordinary users is missing. Or that this udev rule gives scanner access to an user group you happen not to be part of...

luca.mg (luca-mg) wrote : | #222 |
Hi Peter, if the above is addressed to me, the Epson scanner works for regular users after the first scan as root, I do not get the reason why, but this is it.
Thank You for stepping in.

PeterPall (peterpall) wrote : | #223 |
Then perhaps uploading the firmware to the scanner can only be done as root, for some reason.
Does the output of susb -v change after scanning for the first time?

Chris Rainey (ckrzen) wrote : | #224 |
Just a reminder to those of us using Brother DCP or MFP's: I repeatedly
find that the only way to properly install the printer and scanner drivers
is to use the "Installer Script"(i.e. 09/13/2018
(2.2.1-1)) provided on the model downloads page(see below) and to follow
the directions given _explicitly_
to install a recently updated scanner driver(i.e. 01/21/2019
(0.4.7-1)) by itself as an upgrade to the currently installed one and even
re-ran the setup command(i.e. Brsaneconfig4 -a name=(name your device)
model=(model name) ip=xx.xx.xx.xx) for my network(Wi-Fi) DCP-L2550DW, but
it does not work that way. I can't stress, enough, the apparent need to
re-run the "Installer Script", exactly as shown--below, in order for
everything to work!
How to Install
Step1. Download the tool.(linux-
The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(
Step2. Open a terminal window.
Step3. Go to the directory you downloaded the file to in the last step. By
using the cd command.
e.g. cd Downloads
Step4. Enter this command to extract the downloaded file:
*Command: gunzip linux-brprinter
e.g. gunzip linux-brprinter
Step5. Get superuser authorization with the "*su*" command or "*sudo su*"
command.
Step6. Run the tool:
*Command: bash linux-brprinter
e.g. bash linux-brprinter
Step7. The driver installation will start. Follow the installation screen
directions.
When you see the message "Will you specify the DeviceURI ?",
For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI number.
The install process may take some time. Please wait until it is complete.
On Tue, May 7, 2019 at 7:41 AM PeterPall <email address hidden> wrote:
> Then perhaps uploading the firmware to the scanner can only be done as
> root, for some reason.
> Does the output of susb -v change after scanning for the first time?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Many 3rd party scanner drivers are broken by a sane change
>
> Status in sane-backends package in Ubuntu:
> Confirmed
>
> Bug description:
> Many scanners can no more be used since sane has changed something:
> The 3rd-party plug-in the vendor provides as .deb package will still
> install. But the scanner is no more recognized.
>
> Scanners that are affected are(besides others):
> - Epson Perfection V10
> - Epson Perfection V1000
> - Epson WorkForce GT-1500
> - Brother MFC-8510DN
> - Epson Perfection V33
>
> It is to note that the probability that the scanner manufacturers fix
> things others broke is below 100%.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: libsane1 1.0.27-
> Uname: Linux 4.14.0-
> ApportVersion: 2.20.7-0ubuntu3.1
> Architecture: amd64
> Date: Fri Oct 27 12:35:52 201...

luca.mg (luca-mg) wrote : | #225 |
@ PeterPall: regarding the Epson scanner, yes it could be the firmware upload, the first root scan took time, I thought it was the scanner warming up longer than usual and not catching up, but I allowed time and it finally went through, so You may very well be right. I did not run lsusb -v, just a plain lsub, but before the root scan the scanner was detected as an epkowa driven unknown model, after the root scan it is detected with the proper model name.
@ Chris Rainey: regarding the Brother MFP, I can confirm that I ran the installer script and not the available deb packages.

Chris Rainey (ckrzen) wrote : | #226 |
@luca.mg: have you checked for firmware updates? My Brother DCP-L2550DW can
update from the web interface in the system tools/administr
there have been a few updates in the last year.
On Tue, May 7, 2019 at 2:45 PM luca.mg <email address hidden> wrote:
> @ PeterPall: regarding the Epson scanner, yes it could be the firmware
> upload, the first root scan took time, I thought it was the scanner
> warming up longer than usual and not catching up, but I allowed time and
> it finally went through, so You may very well be right. I did not run
> lsusb -v, just a plain lsub, but before the root scan the scanner was
> detected as an epkowa driven unknown model, after the root scan it is
> detected with the proper model name.
>
> @ Chris Rainey: regarding the Brother MFP, I can confirm that I ran the
> installer script and not the available deb packages.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Many 3rd party scanner drivers are broken by a sane change
>
> Status in sane-backends package in Ubuntu:
> Confirmed
>
> Bug description:
> Many scanners can no more be used since sane has changed something:
> The 3rd-party plug-in the vendor provides as .deb package will still
> install. But the scanner is no more recognized.
>
> Scanners that are affected are(besides others):
> - Epson Perfection V10
> - Epson Perfection V1000
> - Epson WorkForce GT-1500
> - Brother MFC-8510DN
> - Epson Perfection V33
>
> It is to note that the probability that the scanner manufacturers fix
> things others broke is below 100%.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: libsane1 1.0.27-
> Uname: Linux 4.14.0-
> ApportVersion: 2.20.7-0ubuntu3.1
> Architecture: amd64
> Date: Fri Oct 27 12:35:52 2017
> EcryptfsInUse: Yes
> SourcePackage: sane-backends
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https:/
>

PeterPall (peterpall) wrote : | #227 |
Then the answer is simple: extend the udev file with the usb if of the scanner without firmware so use will give you write access to this device, too. Once that is done sane can upload the firmware, the scanner can identify itself as the model you have bought and you can scan. Seems like we should collect the Epson usb IDs somewhere...

luca.mg (luca-mg) wrote : | #228 |
@ Chris Rainey: no such a thing in my system.
@ PeterPall: the scanner works properly now, it only didn't on the very first time using it. Weird, isn't it?

PeterPall (peterpall) wrote : | #229 |
@Luca-mg: What your computer sees is the following:
- You attach a device whose USB ID doesn't match any udev rule => the device is accessible for the root user only.
- then you as the root user start a program that uploads something to the device.
- the device disconnects and
- a new device connects, this time using an USB ID there is an udev rule for. This rule tells the device is a scanner. You are in the group "scanner" => You can use it without root rights.
What you need is an udev rule that tells the system that the USB ID your device has before its firmware is uploaded is a scanner, too. As soon as udev knows that this device is a scanner it will give you the necessary rights to upload the firmware without being root.

Gunnar Hjalmarsson (gunnarhj) wrote : | #230 |
To the extent this bug is similar to the linked Debian bug, it was fixed in Ubuntu 19.04, so I marked it as "Fix Released". OTOH, in that case there is a need to backport the fix to Ubuntu 18.04, and therefore I added a bionic bug task.
Changed in sane-backends (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in sane-backends (Ubuntu Bionic): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in sane-backends (Debian): | |
status: | Unknown → Fix Released |
description: | updated |

Gunnar Hjalmarsson (gunnarhj) wrote : | #231 |
I have uploaded a proposed fix of sane-backends to this PPA:
https:/
If you are on 18.04 and affected by this bug, it would be great if you could install from the PPA, test to find out if it makes a difference, and report your observations in a comment here.
tags: | added: regression-release |

Gunnar Hjalmarsson (gunnarhj) wrote : | #232 |
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-
* Add myself to the lp group:
sudo adduser $USER lp
* Add a libsane rule for Brother:
$ cat /lib/udev/
ATTRS{
* Make the system know about .so files in /usr/lib64:[1]
$ cat /etc/ld.
# 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?

Steven Santos (5g3-steven-7tv) wrote : | #233 |
I am having issues myself, but I think mine are related to running ubuntu
in a VM on Windows.
I got IT to set aside an unused desktop pc for me to load and run it on
(they say its now on my desk...). Should have results tomorrow or Tuesday.
On Sun, Jun 30, 2019 at 6:20 PM Gunnar Hjalmarsson <
<email address hidden>> 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-
>
> * Add myself to the lp group:
>
> sudo adduser $USER lp
>
> * Add a libsane rule for Brother:
>
> $ cat /lib/udev/
> ATTRS{idVendor}
>
> * Make the system know about .so files in /usr/lib64:[1]
>
> $ cat /etc/ld.
> # 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?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> 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:
> In Progress
> Status in sane-backends package in Debian:
> Fix Released
>
> Bug description:
> [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 ...

Gunnar Hjalmarsson (gunnarhj) wrote : | #234 |
I submitted <https:/

renbag (renbag) wrote : | #235 |
@Gunnar Hjalmarsson:
in bionic I had to install libusb-0.1-4 to be able to scan with my MFC-440CN (brscan2), because it ships libusb-1.0-0 by default.

Gunnar Hjalmarsson (gunnarhj) wrote : | #236 |
@renbag: Tried that, but didn't help for me.
Actually it would have been weird if it had made a difference, since sane-backends has been built with libusb-1.0-0-dev for a long time, which make libsane/libsane1 and sane-utils depend on libusb-1.0-0.
I can scan with my MFC-240C on both 16.04 and 19.04.
With that said, and if you are still on bionic, it would be great if you could install from the PPA and let us know how it goes.

Gunnar Hjalmarsson (gunnarhj) wrote : | #237 |
I made a new attempt with bionic, and yes!!
@renbag: You were absolutely correct, and it's brscan2 that requires the presence of libusb-0.1-4. I think this explains it:
$ ldd /usr/lib64/
libusb-0.1.so.4 => /lib/x86_
libusb-0.1.so.4 was used when libsane-
So now I have been able to confirm that the proposed package for bionic in the PPA makes a difference. Would still appreciate more feedback before starting to look for a sponsor who can upload.

renbag (renbag) wrote : | #238 |
I confirm that the packages in the proposed PPA allow to scan with a Brother MFC-440CN (brscan2).
I tried booting directly from a bionic USB stick and followed the steps listed on comment #232 (except adding a libsane rule, which is not needed in my case) and additionally installed libusb-0.1-4.
Thanks to Gunnar for the fix!

Gunnar Hjalmarsson (gunnarhj) wrote : | #239 |
Thanks @renbag. With your help I'm now confident enough to proceed with the principal bionic change.
As regards support for the /usr/lib64/sane directory, I would like to know if that change will be accepted in Debian before acting; please see <https:/

Gunnar Hjalmarsson (gunnarhj) wrote : | #240 |
- sane-backends_lp1728012_bionic.debdiff Edit (5.4 KiB, text/plain)
I decided to break out the /usr/lib64/sane thing to bug #1835220, so we can proceed with the more important bionic fix.
description: | updated |
description: | updated |

Brian Murray (brian-murray) wrote : Please test proposed package | #241 |
Hello PeterPall, or anyone else affected,
Accepted sane-backends into bionic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in sane-backends (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed verification-needed-bionic |

Gunnar Hjalmarsson (gunnarhj) wrote : | #242 |
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/
lrwxrwxrwx 1 root root 31 jul 3 21:57 /usr/lib/
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-
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |

Benjamin Terweiden (avoca) wrote : | #243 |
Samsung Xpress M2070
After installing the drivers (sudo sh install.sh)
this fixed it:
cd /usr/lib/
sudo ln -s /opt/smfp-

Michael (m-doble) wrote : Re: [Bug 1728012] Re: Many 3rd party scanner drivers are broken by a sane change | #244 |
Hello I'm new to Linux Mint. Can any one help me with getting the scanner of Brother DCP750 to work ?
With much thanks,
Michael
Le 10 juil. 2019 19:35, Benjamin Terweiden <email address hidden> a écrit :
Samsung Xpress M2070
After installing the drivers (sudo sh install.sh)
this fixed it:
cd /usr/lib/
sudo ln -s /opt/smfp-
/usr/lib/
--
You received this bug notification because you are subscribed to the bug
report.
https:/
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_
[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 ...

Łukasz Zemczak (sil2100) wrote : | #245 |
Normally I'd say we should wait for verification using a test case that does not involve any workarounds, but seeing the actual bug-fix I think it might be safe to release it with the testing it got already. This seems to be a logical change.

Launchpad Janitor (janitor) wrote : | #246 |
This bug was fixed in the package sane-backends - 1.0.27-
---------------
sane-backends (1.0.27-
* debian/
- Reactivated and refreshed to allow driver from non-multiarch
directories (Closes: #910103, LP: #1728012).
It was fixed in disco, and this is the related Debian commit:
https:/
-- Gunnar Hjalmarsson <email address hidden> Wed, 03 Jul 2019 15:53:00 +0200
Changed in sane-backends (Ubuntu Bionic): | |
status: | Fix Committed → Fix Released |

Łukasz Zemczak (sil2100) wrote : Update Released | #247 |
The verification of the Stable Release Update for sane-backends has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Gunnar Hjalmarsson (gunnarhj) wrote : | #248 |
So finally this has been fixed also in 18.04. I want to thank Steven Santos who called my attention to the problem as well as the solution.

Phil (phlcsp) wrote : Re: [Bug 1728012] Update Released | #249 |
Hi Lukasz,
I am an Ubuntu user but *not* a technician so please bear with me. Your
e-mail says "The verification of the Stable Release Update for
sane-backends has
completed successfully and the package has now been released to -updates."
Do you know what release will contain the fix and when the release will
occur?
(I updated my system a couple of minutes ago and the scanner is still not
working.) Should I have checkmarked Pre-released updates Bionic-proposed
in the Developer Options tab of the update settings - see picture? (The
release I'm using is 18.04.02) Thanks!
[image: image.png]
On Thu, Jul 18, 2019 at 3:26 AM Łukasz Zemczak <email address hidden>
wrote:
> The verification of the Stable Release Update for sane-backends has
> completed successfully and the package has now been released to
> -updates. Subsequently, the Ubuntu Stable Release Updates Team is being
> unsubscribed and will not receive messages about this bug report. In
> the event that you encounter a regression using the package from
> -updates please report a new bug using ubuntu-bug and tag the bug report
> regression-update so we can easily find any regressions.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1822360).
> https:/
>
> 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 Released
> Status in sane-backends package in Debian:
> Fix Released
>
> Bug description:
> To the sponsor: Please upload to bionic using the attached sane-
> backends_
>
> [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
> -...

Gunnar Hjalmarsson (gunnarhj) wrote : | #250 |
Hi Phil,
Łukasz will probably not see your question. But this fix is about Ubuntu 18.04, and no, the "Pre-released updates" option does not need to be checked - the "Recommended updates" option in the "Updates" tab is sufficient (and that one is checked by default).
To confirm that you got the fix you can open a terminal window and run this command:
dpkg-query -W libsane1 libsane-common sane-utils
The version you should have is 1.0.27-
Also, please note that there are multiple possible reasons why your scanner refuses to scan. This fix addresses one particular issue which was a regression compared to Ubuntu 16.04.
To get help with your particular problem, please use e.g. Ask Ubuntu or some other support resource as mentioned here:
https:/
This is a bug report intended to report, investigate and keep track of bugs. It's not a support channel.

Manuel (manuel-schulte) wrote : Re: [Bug 1728012] Re: Many 3rd party scanner drivers are broken by a sane change | #251 |
- 20190722_ubuntu18.04_sane-update-ok.png Edit (10.1 KiB, image/png; name="20190722_ubuntu18.04_sane-update-ok.png")
Hi,
I received the update yesterday. Success!!!
Could scan without issues and my scanner got recognized with all features
working fine!
Thanks a lot, kudos
Manuel SCHULTE
*Managing Director, Olympus Consulting sprl*
*gsm :* +32(0)498 881 718
*mail :* <email address hidden>
*web :* http://
Le lun. 22 juil. 2019 à 01:55, Gunnar Hjalmarsson <
<email address hidden>> a écrit :
> Hi Phil,
>
> Łukasz will probably not see your question. But this fix is about Ubuntu
> 18.04, and no, the "Pre-released updates" option does not need to be
> checked - the "Recommended updates" option in the "Updates" tab is
> sufficient (and that one is checked by default).
>
> To confirm that you got the fix you can open a terminal window and run
> this command:
>
> dpkg-query -W libsane1 libsane-common sane-utils
>
> The version you should have is 1.0.27-
>
> Also, please note that there are multiple possible reasons why your
> scanner refuses to scan. This fix addresses one particular issue which
> was a regression compared to Ubuntu 16.04.
>
> To get help with your particular problem, please use e.g. Ask Ubuntu or
> some other support resource as mentioned here:
>
> https:/
>
> This is a bug report intended to report, investigate and keep track of
> bugs. It's not a support channel.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Many 3rd party scanner drivers are broken by a sane change
>
> To manage notifications about this bug go to:
>
> https:/
>

Manuel (manuel-schulte) wrote : Re: [Bug 1728012] Update Released | #252 |
- 20190722_ubuntu18.04_sane-update-ok.png Edit (10.1 KiB, image/png; name="20190722_ubuntu18.04_sane-update-ok.png")
Worked for me...
~$ uname -a
Linux hades 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux
~$ lsb_release -a
LSB Version: core-9.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Manuel SCHULTE
*Managing Director, Olympus Consulting sprl*
*gsm :* +32(0)498 881 718
*mail :* <email address hidden>
*web :* http://
Le dim. 21 juil. 2019 à 23:35, Phil <email address hidden> a écrit :
> Hi Lukasz,
>
> I am an Ubuntu user but *not* a technician so please bear with me. Your
> e-mail says "The verification of the Stable Release Update for
> sane-backends has
> completed successfully and the package has now been released to -updates."
> Do you know what release will contain the fix and when the release will
> occur?
> (I updated my system a couple of minutes ago and the scanner is still not
> working.) Should I have checkmarked Pre-released updates Bionic-proposed
> in the Developer Options tab of the update settings - see picture? (The
> release I'm using is 18.04.02) Thanks!
>
>
> [image: image.png]
>
>
>
> On Thu, Jul 18, 2019 at 3:26 AM Łukasz Zemczak <<email address hidden>
> >
> wrote:
>
> > The verification of the Stable Release Update for sane-backends has
> > completed successfully and the package has now been released to
> > -updates. Subsequently, the Ubuntu Stable Release Updates Team is being
> > unsubscribed and will not receive messages about this bug report. In
> > the event that you encounter a regression using the package from
> > -updates please report a new bug using ubuntu-bug and tag the bug report
> > regression-update so we can easily find any regressions.
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1822360).
> > https:/
> >
> > 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 Released
> > Status in sane-backends package in Debian:
> > Fix Released
> >
> > Bug description:
> > To the sponsor: Please upload to bionic using the attached sane-
> > backends_
> >
> > [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
...

Miles Wolbe (k-miles) wrote : | #253 |
Ran into the same scanner issue today with a Brother MFC-6490CW under Ubuntu 18.04 (factory installed by Dell and fully updated before attempting printer/scanner install). Found pdc's post on askubuntu.com ( https:/

Gunnar Hjalmarsson (gunnarhj) wrote : | #254 |
@Miles: Yes, bug #1835220 is still open, unfortunately. Good that you found your way.

Phil (phlcsp) wrote : | #255 |
Just wanted you to know the scan function on my OfficeEdge Pro5500 is
working again! I installed the following driver from Lexmark Support
(Australia).
lexmark_
Regards
On Mon, Jul 22, 2019 at 4:31 PM Manuel <email address hidden> wrote:
> Worked for me...
> ~$ uname -a
> Linux hades 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019
> x86_64 x86_64 x86_64 GNU/Linux
> ~$ lsb_release -a
> LSB Version:
> core-9.
> Distributor ID: Ubuntu
> Description: Ubuntu 18.04.2 LTS
> Release: 18.04
> Codename: bionic
>
> Manuel SCHULTE
> *Managing Director, Olympus Consulting sprl*
> *gsm :* +32(0)498 881 718
> *mail :* <email address hidden>
> *web :* http://
>
>
> Le dim. 21 juil. 2019 à 23:35, Phil <email address hidden> a écrit :
>
> > Hi Lukasz,
> >
> > I am an Ubuntu user but *not* a technician so please bear with me. Your
> > e-mail says "The verification of the Stable Release Update for
> > sane-backends has
> > completed successfully and the package has now been released to
> -updates."
> > Do you know what release will contain the fix and when the release will
> > occur?
> > (I updated my system a couple of minutes ago and the scanner is still not
> > working.) Should I have checkmarked Pre-released updates Bionic-proposed
> > in the Developer Options tab of the update settings - see picture? (The
> > release I'm using is 18.04.02) Thanks!
> >
> >
> > [image: image.png]
> >
> >
> >
> > On Thu, Jul 18, 2019 at 3:26 AM Łukasz Zemczak <
> <email address hidden>
> > >
> > wrote:
> >
> > > The verification of the Stable Release Update for sane-backends has
> > > completed successfully and the package has now been released to
> > > -updates. Subsequently, the Ubuntu Stable Release Updates Team is
> being
> > > unsubscribed and will not receive messages about this bug report. In
> > > the event that you encounter a regression using the package from
> > > -updates please report a new bug using ubuntu-bug and tag the bug
> report
> > > regression-update so we can easily find any regressions.
> > >
> > > --
> > > You received this bug notification because you are subscribed to a
> > > duplicate bug report (1822360).
> > > https:/
> > >
> > > 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 Released
> > > Status in sane-backends package in Debian:
> > > Fix Released
> > >
> > > Bug description:
> > > To the sponsor: Please upload to bionic using the attached sane-
> > > backends_
> > >
> > > [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...
Status changed to 'Confirmed' because the bug affects multiple users.