I mean to install scanner Epson 3170 Photo under Ubuntu 20.04. I post at the bottom the (usual) installation steps I took prior to checking if my PC finds the scanner.
sane-find-scanner found the scanner
$ 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=0x06cb, product=0x009a) at libusb:001:005 found USB scanner (vendor=0x04b8 [EPSON], product=0x0116 [EPSON Scanner]) at libusb:001:009 # 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.
sudo I got the error messages
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions) ...
I mean to fix this later on, if I manage to overcome the following problems, unless this is part of the problem, which I guess it is not).
scanimage did not find the scanner
$ 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).
So I edited
epkowa (it wasn't listed), and comment
epson was already commented.
The page SANE: External Backends (Drivers) mentions that the 3170 is supported by
epkowa ("requires DFSG non-free iscan-plugin-gt-9400 overseas version of the GT-9400UF").
So I tried installing
It is only available as an
Looking for related info, I found in [Solved] Successful Image Scan Installation for EPSON USB Scanner and Epson Perfection 3170 Photo Scanner (aka GT-9400) on Ubuntu Feisty that going through the conversion
deb and installing them (two packages, actually) is the only way to make the 3170 work.
I am not certain this changed from the time of those posts, but I decided trying.
Following instructions above, and additionally:
Architecture: i386 amd64instead of
Architecture: i386, amd64in
debian/controlfiles (otherwise error
dpkg-gencontrol: error: 'i386,' is not a legal architecture in list 'i386, amd64'is thrown).
export LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu"since I was getting several errors
$ fakeroot debian/rules binary ... dpkg-shlibdeps: error: cannot find library libjpeg.so.62 needed by debian/iscan/usr/lib/sane/libsane-epkowa.so.1.0.15 (ELF format: 'elf32-i386' abi: '0101000300000000'; RPATH: '') ... dpkg-shlibdeps: error: cannot continue due to the errors listed above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to use -l. dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/iscan.substvars debian/iscan/usr/lib/sane/libsane-epkowa.so.1.0.15 debian/iscan/usr/lib/libesmod.so.1.1.0 debian/iscan/usr/bin/iscan returned exit code 2 dh_shlibdeps: error: Aborting due to earlier error make: [debian/rules:27: binary-arch] Error 2 (ignored) ...
I managed to create
iscan_2.10.0-2_amd64.deb (is it expected to get
2.10.0-2 instead of
Then I installed both packages with
$ sudo gdebi iscan_2.10.0-2_amd64.deb $ sudo gdebi iscan-plugin-gt-9400_1.0.0-2_amd64.deb
(I overwrote here my previously created
Then I plugged the scanner and turned it on. And the I got error
$ iscan iscan: error while loading shared libraries: libjpeg.so.62: wrong ELF class: ELFCLASS64
How can I proceed to get the scanner to work? (I expect once this problem is solved, there will be a few hurdles until it is working)
What I did:
sudo apt-get install sane sane-utils libsane xsane
Expand archive above and inside
Add myself to group
$ groups user1 adm lp cdrom sudo dip plugdev lpadmin lxd sambashare vboxusers
Plug the scanner in the USB and turn it on.
- Running a epson Scanner perfection 3170
- Scanner Epson L210 for Ubuntu 16.04 is NOW working
- How to install EPSON l210 scanner
- Simple Scan cannot find scanner
- Scanner Not detected by Simple Scan