[sane-devel] Using "scanimage" under Gentoo
Dr Rainer Woitok
rainer.woitok at gmail.com
Thu Dec 19 18:37:35 GMT 2019
Bruce and All,
On Tuesday, 2019-12-17 07:07:14 +1000, Bruce Schultz wrote:
> You could try rebuilding the backends with the following command:
> EGIT_OVERRIDE_COMMIT_SANE_PROJECT_BACKENDS=6b7052c4 ACCEPT_KEYWORDS="**"
> emerge -av1 =media-gfx/sane-backends-9999
> That will install git commit 6b7052c4, which should get you pretty close
> to the same version of the backend that you originally reported working
> on Ubuntu, which was version 1.0.28+git20190831-xenial0 from the PPA.
Doesn't work either. But that is again 1.0.28, a version I possibly
missed by hair's breadth :
$ scanimage -V
scanimage (sane-backends) 1.0.28-348-g6b7052c4-dirty; backend version 1.0.28
$ scanimage '--batch=.%03d0.png' --batch-increment 1 --batch-print --batch-start 1 --device pixma:MX880_new-host --source 'Automatic Document Feeder' --format png --mode Color --resolution 300 -l 3 -t 0 -x 210 -y 297
Scanning infinity pages, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
Scanning page 2
scanimage: sane_read: Document feeder out of documents
Scanned page 2. (scanner status = 7)
Batch terminated, 2 pages scanned
: I've again checked my old Ubuntu installation logs and in particul-
ar compared them to the time stamps of my scanned "*.pdf" files.
Under Ubuntu the last multi-page scan not using the flatbed appar-
ently was on 2019-08-08.
I installed sane-backends 0.1.28+git20190810-xenial0 on 2019-08-17
due to a routine upgrade. Even though there are some "*.pdf" files
scanned thereafter, these were flatbed scans. So I honestly cannot
tell whether or not this version was able to scan from the ADF und-
er Ubuntu. And the sane-backends 1.0.28+git20190831-xenial0 inst-
alled via just another routine upgrade was possibly never ever used
The version installed when I did my last successful ADF scans under
Ubuntu then has to be 0.1.27+git20190731-xenial0, which I installed
> In your output below it's showing a timeout of 100, but I presume you
> intended to override that to 5000.
That's the old story that my router is advertizing several addresses to
"scanimage" which all but the last aren't scanners at all. And every-
time "scanimage" waits five seconds for the request to time out. So I
set the timeout to only 0.1 seconds for all devices EXCEPT my scanner.
More information about the sane-devel