[sane-devel] Epson 1650: set_scan_area failed: Invalid argument
Pierre Sarrazin
sarrazip at sympatico.ca
Wed Oct 16 10:55:39 BST 2002
In the last month or so, I stopped being able to use my Epson
Perfection 1650 scanner from xsane. The 'scanimage' command
still works however.
I start xsane (0.86) from the command line and I can see the
largest button on the scanner flicker a bit. When I click
Start (with parameters Viewer/Color/Full range/100/1.00/0.0/0.0),
I get a dialog box that says:
Failed to start scanner: Invalid argument
I did see the large button flicker again. This seems to
be a frequently reported error message. I tried again with
SANE_DEBUG_EPSON=3 and got this:
[sanei_debug] Setting debug level of epson to 3.
[epson] sane_init: sane-backends 1.0.8
[epson] SANE Epson Backend v0.2.21 - 2002-04-22
[epson] attach: opening usb /dev/usb/scanner0
[epson] send buf, size = 2
[epson] send buf, size = 2
[epson] type B 0x42
[epson] level 8 0x38
[epson] no option equipment installed
[epson] resolution (dpi): 50
:
:
[epson] resolution (dpi): 3200
[epson] maximum scan area: x 27200 y 37440
[epson] send buf, size = 2
[epson] send buf, size = 1
[epson] Max. supported color depth = 16
[epson] send buf, size = 2
[epson] Focus position = 0x40
[epson] Enabling 'Set Focus' support
[epson] send buf, size = 2
[epson] Preview = 0
[epson] Resolution = 50
:
:
[epson] sane_start: set_gamma( s, 0x2 ).
[epson] send buf, size = 2
[epson] send buf, size = 1
[epson] sane_start: set_color_correction( s, 0x80 )
[epson] send buf, size = 2
[epson] send buf, size = 1
[epson] send buf, size = 2
[epson] send buf, size = 4
[epson] Preview = 0
[epson] Resolution = 100
[epson] get para 0x80f03b0 0x80f0a58 tlx 215.899994 tly 43.794632 brx 215.899994 bry 297.179977 [mm]
[epson] set_scan_area: 0x80f03b0 850 172 0 997
[epson] sane_start: set_scan_area failed: Invalid argument
[epson] Preview = 0
[epson] Resolution = 100
[epson] get para 0x80f03b0 0x80f0a58 tlx 215.899994 tly 43.794632 brx 215.899994 bry 297.179977 [mm]
Other information:
RedHat 7.2
gcc 2.96
glibc 2.2.4
Linux 2.4.18 i686
$ rpm -qa | grep -i sane | sort
sane-backends-1.0.8-1.ximian.1
sane-backends-devel-1.0.8-1.ximian.1
sane-frontends-1.0.8-1.ximian.1
xsane-0.86-1.ximian.1
xsane-gimp-0.86-1.ximian.1
(Obtained and installed by Ximian Red Carpet 1.3.)
$ grep -v '^#' /etc/sane.d/epson.conf
usb /dev/usb/scanner0
$ ls -l /dev/usb/scanner0
crw------- 1 ps users 180, 48 avr 11 2002 /dev/usb/scanner0
$ sane-find-scanner | grep -v '^#' | grep -v '^$'
sane-find-scanner: found USB scanner (vendor = 0x04b8, product = 0x0110) at device /dev/usb/scanner0
I tried with xsane 0.88 (using an RPM I compiled myself from the
.spec file provided in the source tarball) and 0.83 but the result
was the same.
This scanner has worked very well until about a month ago. I can
provide more details if needed. Thanks.
--
Pierre Sarrazin <sarrazip at sympatico dot ca>
More information about the sane-devel
mailing list