Steffan Harris <scisteffan at gmail.com> writes: > I'm getting invalid argument errors when trying to run scanimage > > out.pnm using an Epson SX410 printer/scanner unit running > sane-backends 1.0.21 on Debian. Here's the debug output: > > steffan at debian:~$ scanimage -L > device `v4l:/dev/video0' is a Noname Built-in iSight virtual device > device `epson2:libusb:001:014' is a Epson PID 0851 flatbed scanner > steffan at debian:~$ scanimage --version > scanimage (sane-backends) 1.0.21; backend version 1.0.21 > steffan at debian:~$ SANE_DEBUG_EPSON2=255 scanimage > out.pnm > [sanei_debug] Setting debug level of epson2 to 255. > [epson2] sane_epson2_get_devices - results: > [... snip ...] > [epson2] 0 (3): PID 0851
Things look OK so far, but > scanimage: sane_start: Invalid argument > [epson2] sane_epson2_exit > [epson2] free_devices I'd have expected at least a [epson2] sane_epson_2_sane_start before the scanimage message. Sure you sent all of the log? FWIW, several epson2 backend bugs were fixed in sane-backends-1.0.22 so you might want to give that a try. Alternatively, you can try the epkowa backend distributed as part of Image Scan! for Linux[1]. It is known to work just fine. [1] http://www.avasys.jp/lx-bin2/linux_e/spc/DL1.do (for all-in-ones, like the Epson Stylus SX410 you have) http://www.avasys.jp/lx-bin2/linux_e/scan/DL1.do (for scanners) Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962