Hi,
> Do all the backends work with 'scanimage -T'? Both stand-alone and
> using network scanning? Could everyone test their scanner, and report
> back to the list if their scanner handle this?
I am using sane-devel-20000206, Linux 2.2.14, glibc2.0.7.
The Mustek backend works with a Mustek 600 II N without the net backend. If
I do the test over the network (using localhost) it doesn't. Standard error
is:
[...]
scanimage: stepped read, 31 bytes... PASS
scanimage: stepped read, 15 bytes... PASS
scanimage: stepped read, 7 bytes... PASS
scanimage: stepped read, 3 bytes... PASS
scanimage: stopping scanner...
scanimage: stopping scanner...
scanimage: stopping scanner...
The last line is repeated until I stop scanimage by SIGKILL (Ctrl-C and
SIGTERM doesn't work).
The debug output is (net & dll set to 255):
[...]
scanimage: stepped read, 7 bytes... [dll] read(handle=0x804eac8,data=0x8052348,maxlen=7,lenp=0xbffff320)
PASS
scanimage: stepped read, 3 bytes... [dll] read(handle=0x804eac8,data=0x8052348,maxlen=3,lenp=0xbffff320)
PASS
[dll] cancel(handle=0x804eac8)
[dll] close(handle=0x804eac8)
[dll] exiting
[dll] calling backend net's exit function
[net] exiting
[net] closing dev 0x804ef10, ctl=4
scanimage: stopping scanner...
[dll] cancel(handle=0x804eac8)
scanimage: stopping scanner...
[dll] cancel(handle=0x804eac8)
scanimage: stopping scanner...
[...]
XSane does however work using network scanning and the Mustek backend. But
if I cancel during a network scan I get "Speicherzugriffsfehler" (segmentation fault).
The last lines of the debugging output are:
[dll] cancel(handle=0x80cd378)
[dll] read(handle=0x80cd378,data=0x807e520,maxlen=32768,lenp=0xbffff4b0)
[dll] get_option_descriptor(handle=0x80cd378,option=10)
[dll] get_option_descriptor(handle=0x80cd378,option=11)
[dll] get_option_descriptor(handle=0x80cd378,option=12)
[dll] get_option_descriptor(handle=0x80cd378,option=13)
[dll] get_option_descriptor(handle=0x80cd378,option=10)
[dll] control_option(handle=0x80cd378,option=10,action=0,value=0xbfffeb68,info=(nil))
[dll] get_option_descriptor(handle=0x80cd378,option=11)
[dll] control_option(handle=0x80cd378,option=11,action=0,value=0xbfffeb68,info=(nil))
[dll] get_option_descriptor(handle=0x80cd378,option=12)
[dll] control_option(handle=0x80cd378,option=12,action=0,value=0xbfffeb68,info=(nil))
Speicherzugriffsfehler
The pnm backend passes the test both in direct mode and over the net.
Bye, Henning
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Mon Feb 14 2000 - 10:56:45 PST