[sane-devel] saned, Network Scanner, Automatic Document Feeder
Nicolas
nicolas.martin at freesurf.fr
Thu Oct 2 19:03:32 UTC 2008
So you get this issue when pixma backend is called from saned, but not
when called directly from scanimage.
Could you get some logs from the backend.
To get traces using saned, proceed like this (this is how I do):
- stop the saned daemon (or inetd, xinetd if called by those)
- under the root account:
# export SANE_DEBUG_PIXMA=10
- restart the saned daemon (or through inetd, or xinetd)
Then from a net client, run the scanimage command.
On the scan server, you should get logs in the syslog
file /var/log/syslog, lines
starting with [pixma]
Please cut/paste in a file and post
Nicolas
Le jeudi 02 octobre 2008 à 14:28 +0200, Pascal Seiler a écrit :
> I have configured a Canon PIXMA MX 310 (Printer/Scanner/FAX) on a Debian
> Etch server. SANE version is 1.1.0-cvs from 2008-09-30.
>
> When I try to scan multiple pages using the Automatic Document Feeder
> the jobs fails after the first page with the following error:
>
> scanimage: sane_start: Invalid argument
>
> Scanning single pages works with ADF as well as Flatbed and multiple
> pages works with Flatbed. scanimage on the server itself works when
> scanning from the local scanner, when trying to scan from net even on
> the server itself, the same error occurs.
>
> This is the output from debug whe scanning over the network:
>
> ....
> ....
> ....
> scanimage: min/max graylevel value = 36/255
> scanimage: read 26267904 bytes in total
> Scanned page 1. (scanner status = 5)
> Scanning page 2
> [dll] sane_start(handle=0x8090248)
> scanimage: sane_start: Invalid argument
> [dll] sane_cancel(handle=0x8090248)
> [dll] sane_close(handle=0x8090248)
> [dll] sane_exit: exiting
> ....
> ....
>
> and this is the same, but scanning from the local scanner:
> ...
> ...
> ...
> Scanned page 1. (scanner status = 5)
> Scanning page 2
> [dll] sane_start(handle=0x8053b40)
> [dll] sane_get_parameters(handle=0x8053b40,params=0xbfaf8eb0)
> [dll]
> sane_read(handle=0x8053b40,data=0x806d258,maxlen=32768,lenp=0xbfaf8edc)
> ...
> ...
> ...
>
> --
> Pascal
>
More information about the sane-devel
mailing list