💾 Archived View for uscoffings.net › tech › linux › epson-scanner.gmi captured on 2024-03-21 at 15:19:58. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
[date: 2018-03-24]
Install iscan
http://support.epson.net/linux/src/scanner/iscan/
It adds the file /etc/sane/dll.d/iscan, which refers to the epkowa driver
/etc/sane.d/epkowa.conf
Run "iscan"
But it can't find the scanner.
Add USB device specifically?
# vim /etc/sane.d/epkowa.conf usb 0x04b8 0x0133
Still can't find the scanner.
# strace -e file -o trace iscan openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/sane/libsane-epkowa.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
iscan installed the files in the wrong place:
laura@laura-desktop:/pool/Library/software/linux/iscan-bundle-1.0.4.x64.deb$ dpkg -L iscan | grep epkowa /usr/lib/sane/libsane-epkowa.so.1.0.15 /usr/lib/sane/libsane-epkowa.la
Linked the files. Others found same solution:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012/comments/12
Still can't find the scanner.
Was iscan-registry supposed to do something at install time, but failed because the libs couldn't be found? Removed and reinstalled (with links already in place) but no help.
strace says it is loading the library, and finding the /sys/... and reading EPSON. Yet seems to skip it. Add line back:
# vim /etc/sane.d/epkowa.conf usb 0x04b8 0x0133 $ sudo iscan
...hangs
Tried different USB cable
Added Laura to adm, root, sane, scanner, etc groups
Tried rebooting
sane-find-scanner scanimage -L device `epkowa:usb:001:003' is a Epson (unknown model) flatbed scanner
Someone said I need to do:
iscan-registry --add interpreter usb 0x04b8 0x0133 /usr/lib/iscan/libesint86 /usr/share/iscan/esfw86.bin
But I don't have those "es" files. Where do they come from? Googling suggests there exists a iscan-gt-1500-bundle
Install plugin:
$ sudo iscan-registry --add interpreter usb 0x04b8 0x0133 /usr/lib/iscan/libesint86 /usr/share/iscan/esfw86.bin
Undo the "usb 0x04b8 0x0133" line from epkowa.conf; apparently libusb doesn't work; it uses "interpreter" instead.
Summary:
There is a newer imagescan:
https://github.com/utsushi/imagescan
http://support.epson.net/linux/src/scanner/imagescanv3/ubuntu/