Mustek scanning problems

Mathias Weigt (p5iba@medchem2.pharmazie.uni-halle.de)
Sat, 05 Jul 1997 14:53:24 +0200

Servus !

First of all I am sorry for the (confusing) mail in German. I thought
sending it only to Frank and not to the list.
I could test my scanner on another system (with sane-0.6) and it worked
fine. But there
must be something wrong with my system but I couldn`t figure it out yet.

Does anybody has an idea ?
Here is the output of "scanimage ..." with all debug-levels set to 128:

[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 sanei_scsi to 128.
[dll] loading backend pnm
[dll] dlopen()ing `libsane-pnm.so'
[dll] init: initializing backend `pnm'
[dll]
control_option(handle=0x804eee8,option=0,action=0,value=0xbffff64c,info=(nil))

[dll]
control_option(handle=0x804eee8,option=0,action=0,value=0xbffff608,info=(nil))

[dll] get_option_descriptor(handle=0x804eee8,option=0)
[dll] get_option_descriptor(handle=0x804eee8,option=1)
[dll] get_option_descriptor(handle=0x804eee8,option=2)
[dll] get_option_descriptor(handle=0x804eee8,option=3)
[dll] get_option_descriptor(handle=0x804eee8,option=4)
[dll] get_option_descriptor(handle=0x804eee8,option=5)
[dll] get_option_descriptor(handle=0x804eee8,option=6)
[dll] get_option_descriptor(handle=0x804eee8,option=7)
[dll] get_option_descriptor(handle=0x804eee8,option=8)
[dll] get_option_descriptor(handle=0x804eee8,option=9)
[dll] get_option_descriptor(handle=0x804eee8,option=10)
[dll] get_option_descriptor(handle=0x804eee8,option=11)
[dll] get_option_descriptor(handle=0x804eee8,option=12)
[dll]
control_option(handle=0x804eee8,option=12,action=0,value=0x804d1ac,info=(nil))

[dll] get_option_descriptor(handle=0x804eee8,option=13)
[dll]
control_option(handle=0x804eee8,option=13,action=0,value=0x804d1b0,info=(nil))

[dll] get_option_descriptor(handle=0x804eee8,option=14)
[dll] get_option_descriptor(handle=0x804eee8,option=15)
[dll] get_option_descriptor(handle=0x804eee8,option=16)
[dll] get_option_descriptor(handle=0x804eee8,option=17)
[dll] get_option_descriptor(handle=0x804eee8,option=18)
[dll] get_option_descriptor(handle=0x804eee8,option=19)
[dll] get_option_descriptor(handle=0x804eee8,option=20)
[dll] get_option_descriptor(handle=0x804eee8,option=21)
[dll] get_option_descriptor(handle=0x804eee8,option=22)
[dll] get_option_descriptor(handle=0x804eee8,option=23)
[dll] get_option_descriptor(handle=0x804eee8,option=24)
[dll]
control_option(handle=0x804eee8,option=10,action=0,value=0xbffff604,info=(nil))

[dll]
control_option(handle=0x804eee8,option=11,action=0,value=0xbffff604,info=(nil))

[dll]
control_option(handle=0x804eee8,option=10,action=0,value=0xbffff648,info=(nil))

[dll] get_option_descriptor(handle=0x804eee8,option=12)
[dll]
control_option(handle=0x804eee8,option=12,action=1,value=0xbffff644,info=0xbffff600)

[dll]
control_option(handle=0x804eee8,option=11,action=0,value=0xbffff648,info=(nil))

[dll] get_option_descriptor(handle=0x804eee8,option=13)
[dll]
control_option(handle=0x804eee8,option=13,action=1,value=0xbffff644,info=0xbffff600)

[dll] start(handle=0x804eee8)
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[dll] get_parameters(handle=0x804eee8,params=0xbfff75f8)
[dll]
read(handle=0x804eee8,data=0xbfff7610,maxlen=32768,lenp=0xbfff75dc)
[sanei_scsi] sanei_scsi_cmd: bad write
[dll] cancel(handle=0x804eee8)
[dll] close(handle=0x804eee8)
[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
152 252
255

What does this mean ?

[sanei_scsi] sanei_scsi_cmd: bad write

The Scanner initializes, steps forward and stops.
I tried it with certain kernels but it didn`t help.

Thanks ...

--
Mathias Weigt
p5iba@medchem2.pharmazie.uni-halle.de

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