On Tue, Apr 15, 2008 at 1:10 PM, <tyler at seraph-net.net> wrote: > On Tue, Apr 15, 2008 at 09:58:16AM -0700, tyler at seraph-net.net wrote: > > Hi guys, > > > > Did something change recently that would cause the scanimage CLI frontend > to no longer work with the latest snapshots? The command I am using is the > following: > > > > /usr/bin/scanimage --source 'ADF Duplex' --contrast 150 --resolution 150 > --mode Lineart -x 215.9 -y 357 --batch=/tmp/20080414143503.%d.pnm > --batch-start 1 > > > > # scanimage -V > > scanimage (sane-backends) 1.1.0-cvs; backend version 1.1.0 > > > > Sorry some clarification, the scanner (Fujitsu 5650) loads the page into the > scan position on the ADF then scanimage exits with the following error: > > scanimage: rounded value of contrast from 150 to 150 > scanimage: rounded value of resolution from 150 to 150 > scanimage: rounded value of br-x from 215.9 to 215.893 > scanimage: rounded value of br-y from 357 to 356.993 > Scanning -1 pages, incrementing by 1, numbering from 1 > Scanning page 1 > scanimage: sane_read: Invalid argument > Scanned page 1. (scanner status = 4) > > In reality, no page was scanned (the file is 0 bytes). This did work on a > previous snapshot from around February 15th.
Did you download the snapshot from https://alioth.debian.org/scm/?group_id=30186 if so, then your february snapshot was actually quite old. the nightly snapshot builder was broken until recently. no matter, we can fix it with a little debug info: SANE_DEBUG_FUJITSU=15 scanimage [your args] 2>5650.log and then send me that log. its probably just an incorrect bit in the set window payload, hopefully an easy fix. allan -- "The truth is an offense, but not a sin"
