[sane-devel] Scanning with Epson WF-4820, USB-connected.

G.W. Haywood sane-devel at jubileegroup.co.uk
Thu Dec 22 16:04:57 GMT 2022


Hi there,

First post ever to this list.

A colleague has a new Epson printer/scanner.

The old one was also Epson but it died.

The old one worked fine with this in epson2.conf:

usb 0x04b8 0x08b8

The new one does not work with the following in epson2.conf:

# This is the Epson "Workforce Pro WF-4820".
usb 0x04b8 0x117b

The scanner is found OK but I/O errors are reported.  Below is the
debug output of an attempt to scan:

8<----------------------------------------------------------------------
# SANE_DEBUG_DLL=128 scanimage >temp.pnm
[15:54:41.130842] [sanei_debug] Setting debug level of dll to 128.
[15:54:41.131737] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.31-debian
[15:54:41.132413] [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[15:54:41.133113] [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[15:54:41.133407] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[15:54:41.133653] [dll] sane_init/read_dlld: done.
[15:54:41.133897] [dll] sane_init/read_config: reading dll.conf
[15:54:41.134132] [dll] add_backend: adding backend `epson2'
Output format is not set, using pnm as a default.
[15:54:41.134510] [dll] sane_get_devices
[15:54:41.134743] [dll] load: searching backend `epson2' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane:/usr/lib64/sane'
[15:54:41.134961] [dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-epson2.so.1'
[15:54:41.135191] [dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-epson2.so.1'
[15:54:41.136022] [dll] init: initializing backend `epson2'
[15:54:41.371549] [dll] init: backend `epson2' is version 1.0.124
[15:54:42.757685] [dll] sane_get_devices: found 1 devices
[15:54:42.757769] [dll] sane_open: trying to open `epson2:libusb:001:008'
[15:54:42.775923] [dll] sane_open: open successful
[15:54:42.776024] [dll] sane_get_option_descriptor(handle=0x55999f6f1250,option=0)
[15:54:42.776086] [dll] sane_control_option(handle=0x55999f6f1250,option=0,action=0,value=0x7ffdd298d1dc,info=(nil))
[15:54:42.776160] [dll] sane_get_option_descriptor(handle=0x55999f6f1250,option=0)
[15:54:42.776218] [dll] sane_control_option(handle=0x55999f6f1250,option=0,action=0,value=0x7ffdd298d0e0,info=(nil))
[15:54:42.776278] [dll] sane_get_option_descriptor(handle=0x55999f6f1250,option=1)
... skip practically identical output for 34 other options ...
[15:54:42.778188] [dll] sane_get_option_descriptor(handle=0x55999f6f1250,option=36)
[15:54:42.778243] [dll] sane_control_option(handle=0x55999f6f1250,option=27,action=0,value=0x55999f6c33c0,info=(nil))
[15:54:42.778301] [dll] sane_control_option(handle=0x55999f6f1250,option=25,action=0,value=0x7ffdd298d0e4,info=(nil))
[15:54:42.778360] [dll] sane_control_option(handle=0x55999f6f1250,option=28,action=0,value=0x55999f6c33c4,info=(nil))
[15:54:42.778419] [dll] sane_control_option(handle=0x55999f6f1250,option=26,action=0,value=0x7ffdd298d0e4,info=(nil))
[15:54:42.778484] [dll] sane_control_option(handle=0x55999f6f1250,option=25,action=0,value=0x7ffdd298d210,info=(nil))
[15:54:42.778543] [dll] sane_get_option_descriptor(handle=0x55999f6f1250,option=27)
[15:54:42.778599] [dll] sane_control_option(handle=0x55999f6f1250,option=27,action=1,value=0x7ffdd298d230,info=0x7ffdd298d0f4)
[15:54:42.781686] [dll] sane_control_option(handle=0x55999f6f1250,option=26,action=0,value=0x7ffdd298d210,info=(nil))
[15:54:42.782541] [dll] sane_get_option_descriptor(handle=0x55999f6f1250,option=28)
[15:54:42.783051] [dll] sane_control_option(handle=0x55999f6f1250,option=28,action=1,value=0x7ffdd298d230,info=0x7ffdd298d0f4)
[15:54:42.783571] [dll] sane_start(handle=0x55999f6f1250)
scanimage: sane_start: Error during device I/O
[15:54:43.248919] [dll] sane_cancel(handle=0x55999f6f1250)
[15:54:43.250481] [dll] sane_close(handle=0x55999f6f1250)
[15:54:43.285713] [dll] sane_exit: exiting
[15:54:43.286513] [dll] sane_exit: calling backend `epson2's exit function
[15:54:43.287401] [dll] sane_exit: finished
8<----------------------------------------------------------------------

I also tried the 'epson' and 'utsushi' backends with similar results.

The scanner works fine under Windows.

Help?

-- 

73,
Ged.



More information about the sane-devel mailing list