Dne 13.7.2016 v 15:40 Brian napsal(a):
On to Plan C.
1. In the software you have from Epson (iscan-bundle) there is a .deb in
the "core" directory. Open up the .deb (I use mc for that) and copy
the following files to your machine.
/etc/sane.d/dll.d/iscan to /etc/sane.d/dll.d/
/etc/sane.d/epkowa.conf to /etc/sane.d/
/usr/lib/sane to /usr/lib
OK, only the third was new, the first two were the same /as for bites/
2. The "data" directory has iscan-data. 'mkdir /usr/share/iscan-data'
on your machine and copy /usr/share/iscan-data/usb to it.
OK
3. Have /etc/sane.d/dll.conf with the single line
epkowa
OK
All the files are under a free license, if it matters to you.
Not really.
scanimage -L is good, even when running many times:
dady@linuxbox:~$ scanimage -L
[sanei_debug] Setting debug level of dll to 100.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] add_backend: adding backend `ls5000'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/iscan
[dll] sane_init/read_config: reading dll.d/iscan
[dll] add_backend: adding backend `epkowa'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `epkowa'
[dll] add_backend: `epkowa' is already there
[dll] sane_get_devices
[dll] load: searching backend `epkowa' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-epkowa.so.1'
[dll] load: couldn't open
`/usr/lib/x86_64-linux-gnu/sane/libsane-epkowa.so.1' (No such file or
directory)
[dll] load: trying to load `/usr/lib/sane/libsane-epkowa.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-epkowa.so.1'
[dll] init: initializing backend `epkowa'
[dll] init: backend `epkowa' is version 1.0.213
[dll] load: searching backend `ls5000' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1'
[dll] init: initializing backend `ls5000'
[dll] init: backend `ls5000' is version 1.0.0
[dll] load: searching backend `hpaio' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
device `epkowa:usb:001:005' is a Epson (unknown model) flatbed scanner
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `epkowa's exit function
[dll] sane_exit: calling backend `ls5000's exit function
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished
running xsane is not good when the printer was in sleeping state, but
its not the issue now /just for you to know/:
dady@linuxbox:~$ xsane
Gtk-Message: Failed to load module "canberra-gtk-module"
[sanei_debug] Setting debug level of dll to 100.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] add_backend: adding backend `ls5000'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/iscan
[dll] sane_init/read_config: reading dll.d/iscan
[dll] add_backend: adding backend `epkowa'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `epkowa'
[dll] add_backend: `epkowa' is already there
[dll] sane_get_devices
[dll] load: searching backend `epkowa' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-epkowa.so.1'
[dll] load: couldn't open
`/usr/lib/x86_64-linux-gnu/sane/libsane-epkowa.so.1' (Adresář nebo
soubor neexistuje)
[dll] load: trying to load `/usr/lib/sane/libsane-epkowa.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-epkowa.so.1'
[dll] init: initializing backend `epkowa'
[dll] init: backend `epkowa' is version 1.0.213
...waiting...
[dll] load: searching backend `ls5000' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1'
[dll] init: initializing backend `ls5000'
[dll] init: backend `ls5000' is version 1.0.0
[dll] load: searching backend `hpaio' in
`/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load
`/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `epkowa:usb:001:005'
... another waiting ...some error message after in dialog window:invalid
argument
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `epkowa's exit function
[dll] sane_exit: calling backend `ls5000's exit function
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: finished
running xsane immediately after power on the printer: works! :-)
attached: first scan: Thank you (not sure is the attachement are good here).
Thank you, its quite crazy, but works.
Pavel