color scanning and MFS-6000CX

Mathias Weigt (p5iba@medchem2.pharmazie.uni-halle.de)
Thu, 3 Apr 1997 09:43:26 +0059 (MDT)

Servus !

Sorry for getting on your nerves but color scanning still isn`t possible.
The same old error message "Failed to start scanner: Device busy" is on the
screen after the first pass.
But I have an idea: This message comes before
the carriage has returned. The error occurs when trying to start a second
gray scan before the scanner is ready again. So maybe If you wait a little
bit before starting the second and third pass this problem could be solved
because the carriage gets the chance to return before the scanner is started
again.
The other patch for resolution fix works great: Now I can scan 600 dpi images.

Another thing: Trying to scan in color mode with xscan is only once possible:
Every time after this xscan terminates with ** ERROR **: sigsegv caught
when I change the mode to color. Maybe this is a problem of my S.u.S.E. 4.4.1
Linux system.

Here are your debugging messages:
invoked scan:
[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend pnm
[dll] adding backend mustek
[dll] adding backend qcam
[dll] loading backend qcam
[dll] dlopen()ing `libsane-qcam.so'
[dll] init: initializing backend `qcam'
[dll] loading backend mustek
[dll] dlopen()ing `libsane-mustek.so'
[dll] init: initializing backend `mustek'
[sanei_init_debug]: Setting debug level of mustek to 128.
[mustek] attach: opening /dev/scanner
[mustek] attach: sending INQUIRY
[mustek] attach: sending TEST_UNIT_READY
[mustek] attach: firmware revision 2.71
[mustek] attach: found Mustek scanner model MFS-06000CX (flatbed scanner)
[dll] loading backend pnm
[dll] dlopen()ing `libsane-pnm.so'
[dll] init: initializing backend `pnm'
[dll] control_option(handle=0x804d710,option=0,action=0,value=0xbffff81c,info=(nil))
[dll] control_option(handle=0x804d710,option=0,action=0,value=0xbffff7d8,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=0)
[dll] get_option_descriptor(handle=0x804d710,option=1)
[dll] get_option_descriptor(handle=0x804d710,option=2)
[dll] get_option_descriptor(handle=0x804d710,option=3)
[dll] get_option_descriptor(handle=0x804d710,option=4)
[dll] get_option_descriptor(handle=0x804d710,option=5)
[dll] get_option_descriptor(handle=0x804d710,option=6)
[dll] get_option_descriptor(handle=0x804d710,option=7)
[dll] get_option_descriptor(handle=0x804d710,option=8)
[dll] get_option_descriptor(handle=0x804d710,option=9)
[dll] get_option_descriptor(handle=0x804d710,option=10)
[dll] control_option(handle=0x804d710,option=10,action=0,value=0x804c0e4,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=11)
[dll] control_option(handle=0x804d710,option=11,action=0,value=0x804c0e8,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=12)
[dll] get_option_descriptor(handle=0x804d710,option=13)
[dll] get_option_descriptor(handle=0x804d710,option=14)
[dll] get_option_descriptor(handle=0x804d710,option=15)
[dll] get_option_descriptor(handle=0x804d710,option=16)
[dll] get_option_descriptor(handle=0x804d710,option=17)
[dll] get_option_descriptor(handle=0x804d710,option=18)
[dll] get_option_descriptor(handle=0x804d710,option=19)
[dll] get_option_descriptor(handle=0x804d710,option=20)
[dll] get_option_descriptor(handle=0x804d710,option=21)
[dll] control_option(handle=0x804d710,option=8,action=0,value=0xbffff7d4,info=(nil))
[dll] control_option(handle=0x804d710,option=9,action=0,value=0xbffff7d4,info=(nil))
[dll] control_option(handle=0x804d710,option=8,action=0,value=0xbffff818,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=10)
[dll] control_option(handle=0x804d710,option=10,action=1,value=0xbffff814,info=0xbffff7d0)
[dll] control_option(handle=0x804d710,option=9,action=0,value=0xbffff818,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=11)
[dll] control_option(handle=0x804d710,option=11,action=1,value=0xbffff814,info=0xbffff7d0)
[dll] start(handle=0x804d710)
[dll] get_parameters(handle=0x804d710,params=0xbfff77c8)
[dll] read(handle=0x804d710,data=0xbfff77e0,maxlen=32768,lenp=0xbfff77c4)
[mustek] lines_per_buffer=215, bytes_per_line=152

invoked scan --mode color:
[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend pnm
[dll] adding backend mustek
[dll] adding backend qcam
[dll] loading backend qcam
[dll] dlopen()ing `libsane-qcam.so'
[dll] init: initializing backend `qcam'
[dll] loading backend mustek
[dll] dlopen()ing `libsane-mustek.so'
[dll] init: initializing backend `mustek'
[sanei_init_debug]: Setting debug level of mustek to 128.
[mustek] attach: opening /dev/scanner
[mustek] attach: sending INQUIRY
[mustek] attach: sending TEST_UNIT_READY
[mustek] attach: firmware revision 2.71
[mustek] attach: found Mustek scanner model MFS-06000CX (flatbed scanner)
[dll] loading backend pnm
[dll] dlopen()ing `libsane-pnm.so'
[dll] init: initializing backend `pnm'
[dll] control_option(handle=0x804d710,option=0,action=0,value=0xbffff47c,info=(nil))
[dll] control_option(handle=0x804d710,option=0,action=0,value=0xbffff438,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=0)
[dll] get_option_descriptor(handle=0x804d710,option=1)
[dll] get_option_descriptor(handle=0x804d710,option=2)
[dll] get_option_descriptor(handle=0x804d710,option=3)
[dll] get_option_descriptor(handle=0x804d710,option=4)
[dll] get_option_descriptor(handle=0x804d710,option=5)
[dll] get_option_descriptor(handle=0x804d710,option=6)
[dll] get_option_descriptor(handle=0x804d710,option=7)
[dll] get_option_descriptor(handle=0x804d710,option=8)
[dll] get_option_descriptor(handle=0x804d710,option=9)
[dll] get_option_descriptor(handle=0x804d710,option=10)
[dll] control_option(handle=0x804d710,option=10,action=0,value=0x804c0e4,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=11)
[dll] control_option(handle=0x804d710,option=11,action=0,value=0x804c0e8,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=12)
[dll] get_option_descriptor(handle=0x804d710,option=13)
[dll] get_option_descriptor(handle=0x804d710,option=14)
[dll] get_option_descriptor(handle=0x804d710,option=15)
[dll] get_option_descriptor(handle=0x804d710,option=16)
[dll] get_option_descriptor(handle=0x804d710,option=17)
[dll] get_option_descriptor(handle=0x804d710,option=18)
[dll] get_option_descriptor(handle=0x804d710,option=19)
[dll] get_option_descriptor(handle=0x804d710,option=20)
[dll] get_option_descriptor(handle=0x804d710,option=21)
[dll] control_option(handle=0x804d710,option=8,action=0,value=0xbffff434,info=(nil))
[dll] control_option(handle=0x804d710,option=9,action=0,value=0xbffff434,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=2)
[dll] get_option_descriptor(handle=0x804d710,option=2)
[dll] control_option(handle=0x804d710,option=2,action=1,value=0xbffff602,info=0xbffff404)
[dll] control_option(handle=0x804d710,option=0,action=0,value=0xbffff3e8,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=0)
[dll] get_option_descriptor(handle=0x804d710,option=1)
[dll] get_option_descriptor(handle=0x804d710,option=2)
[dll] get_option_descriptor(handle=0x804d710,option=3)
[dll] get_option_descriptor(handle=0x804d710,option=4)
[dll] get_option_descriptor(handle=0x804d710,option=5)
[dll] get_option_descriptor(handle=0x804d710,option=6)
[dll] get_option_descriptor(handle=0x804d710,option=7)
[dll] get_option_descriptor(handle=0x804d710,option=8)
[dll] get_option_descriptor(handle=0x804d710,option=9)
[dll] get_option_descriptor(handle=0x804d710,option=10)
[dll] control_option(handle=0x804d710,option=10,action=0,value=0x804c0e4,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=11)
[dll] control_option(handle=0x804d710,option=11,action=0,value=0x804c0e8,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=12)
[dll] get_option_descriptor(handle=0x804d710,option=13)
[dll] get_option_descriptor(handle=0x804d710,option=14)
[dll] get_option_descriptor(handle=0x804d710,option=15)
[dll] get_option_descriptor(handle=0x804d710,option=16)
[dll] get_option_descriptor(handle=0x804d710,option=17)
[dll] get_option_descriptor(handle=0x804d710,option=18)
[dll] get_option_descriptor(handle=0x804d710,option=19)
[dll] get_option_descriptor(handle=0x804d710,option=20)
[dll] get_option_descriptor(handle=0x804d710,option=21)
[dll] control_option(handle=0x804d710,option=8,action=0,value=0xbffff3e4,info=(nil))
[dll] control_option(handle=0x804d710,option=9,action=0,value=0xbffff3e4,info=(nil))
[dll] control_option(handle=0x804d710,option=8,action=0,value=0xbffff478,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=10)
[dll] control_option(handle=0x804d710,option=10,action=1,value=0xbffff474,info=0xbffff430)
[dll] control_option(handle=0x804d710,option=9,action=0,value=0xbffff478,info=(nil))
[dll] get_option_descriptor(handle=0x804d710,option=11)
[dll] control_option(handle=0x804d710,option=11,action=1,value=0xbffff474,info=0xbffff430)
[dll] start(handle=0x804d710)
[dll] get_parameters(handle=0x804d710,params=0xbfff7428)
[dll] read(handle=0x804d710,data=0xbfff7440,maxlen=32768,lenp=0xbfff7424)
[mustek] lines_per_buffer=215, bytes_per_line=152
[dll] close(handle=0x804d710)
[dll] exiting
[dll] calling backend `qcam's exit function
[dll] calling backend `mustek's exit function
[dll] calling backend `pnm's exit function
P5
# SANE data follows
50 252
255

As you can see there are no image data in color mode at all.

Thats all

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com