# Re: xcam/xscanimage hangs w/ SANE 0.57

Mark Cornick (mcornick@zorak.gsfc.nasa.gov)
Fri, 30 May 1997 09:21:41 -0400

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: David Mosberger-Tang: "Re: xcam/xscanimage hangs w/ SANE 0.57"
- Previous message: Michael K. Johnson: "Re: image buffering"
- In reply to: Gordon Matzigkeit: "Re: image buffering"
- Next in thread: David Mosberger-Tang: "Re: image buffering"
- Reply: David Mosberger-Tang: "Re: image buffering"

On Thu, May 29, 1997 at 04:22:04PM -0700, David Mosberger-Tang wrote:
> Hmmh, I seem to vaguely recall that ECP may cause problems with QCam.
> I suppose you could try switching it into regular bidirectional mode,
> but I doubt that's the problem given that things used to work for you.

I tried it with the port in plain bidirectional mode (my BIOS calls it
"PS/2 mode"), same thing. I had the port in ECP mode because the qcam
seemed to be more consistently detected that way (??? - the port is in
PS/2 mode now and the camera gets detected every time - ???)

> Another potential problem source is /tmp/LOCK.qcam.0x<port-addr>.
> It's a lockfile that controls access to the camera. If something goes
> wrong, that lock might not be released properly (though I haven't seen
> any problems with this in a long time).

Hm, the /tmp/LOCK files do seem to be sticking around a long
time. It's Fri May 30 09:17:42 EDT 1997 right now, and I have:
-rw-r--r-- 1 root problem 0 May 29 10:16 LOCK.qcam.0x378
in /tmp. (I have a cron job that does scanimage once per minute.)

> Rather than the strace output, it would be more useful to have the
> debug output you get with environment variables SANE_DEBUG_QCAM and
> SANE_DEBUG_DLL set to 128. That should at least give an idea of where
> the camera gets stuck.

OK, here it is... I started xcam, clicked "play", got one image and
the hang, then interrupted it with ^C:

[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend pnm
[dll] ...already there
[dll] adding backend mustek
[dll] ...already there
[dll] adding backend hp
[dll] ...already there
[dll] adding backend qcam
[dll] ...already there
[dll] init: initializing backend `qcam'
[sanei_init_debug]: Setting debug level of qcam to 128.
[qcam] qc_lock_wait: acquiring lock for 0x378
[qcam] qc_lock_wait: got lock for 0x378
[qcam] attach: found QuickCam version 0x10
[qcam] qc_send: sent 0x1d, camera echoed 0x78
[qcam] qc_send: (re-read does not help)
[qcam] attach: resetting black_level
[qcam] qc_getstatus: status=0x02
[qcam] qc_lock_wait: releasing lock for 0x378
[dll] init: initializing backend `mustek'
[dll] init: initializing backend `pnm'
[dll] init: initializing backend `net'
[dll] init: initializing backend `hp'
[qcam] open(0x378)
[dll] control_option(handle=0x8066bc0,option=0,action=0,value=0xbffff668,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=1)
[dll] get_option_descriptor(handle=0x8066bc0,option=2)
[dll] control_option(handle=0x8066bc0,option=2,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=3)
[dll] control_option(handle=0x8066bc0,option=3,action=0,value=0x8067390,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=4)
[dll] control_option(handle=0x8066bc0,option=4,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=5)
[dll] control_option(handle=0x8066bc0,option=5,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=6)
[dll] control_option(handle=0x8066bc0,option=6,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=7)
[dll] get_option_descriptor(handle=0x8066bc0,option=8)
[dll] control_option(handle=0x8066bc0,option=8,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=9)
[dll] control_option(handle=0x8066bc0,option=9,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=10)
[dll] control_option(handle=0x8066bc0,option=10,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=11)
[dll] control_option(handle=0x8066bc0,option=11,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=12)
[dll] get_option_descriptor(handle=0x8066bc0,option=13)
[dll] control_option(handle=0x8066bc0,option=13,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=14)
[dll] get_option_descriptor(handle=0x8066bc0,option=15)
[dll] control_option(handle=0x8066bc0,option=15,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=16)
[dll] control_option(handle=0x8066bc0,option=16,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=17)
[dll] control_option(handle=0x8066bc0,option=17,action=0,value=0xbffff53c,info=(nil))
[dll] get_option_descriptor(handle=0x8066bc0,option=18)
[dll] control_option(handle=0x8066bc0,option=18,action=0,value=0xbffff53c,info=(nil))
[dll] get_parameters(handle=0x8066bc0,params=0x805b310)
[dll] get_option_descriptor(handle=0x8066bc0,option=1)
[dll] get_option_descriptor(handle=0x8066bc0,option=2)
[dll] get_option_descriptor(handle=0x8066bc0,option=3)
[dll] get_option_descriptor(handle=0x8066bc0,option=4)
[dll] get_option_descriptor(handle=0x8066bc0,option=5)
[dll] get_option_descriptor(handle=0x8066bc0,option=6)
[dll] get_option_descriptor(handle=0x8066bc0,option=7)
[dll] get_option_descriptor(handle=0x8066bc0,option=8)
[dll] get_option_descriptor(handle=0x8066bc0,option=9)
[dll] get_option_descriptor(handle=0x8066bc0,option=10)
[dll] get_option_descriptor(handle=0x8066bc0,option=11)
[dll] get_option_descriptor(handle=0x8066bc0,option=12)
[dll] get_option_descriptor(handle=0x8066bc0,option=13)
[dll] get_option_descriptor(handle=0x8066bc0,option=14)
[dll] get_option_descriptor(handle=0x8066bc0,option=15)
[dll] get_option_descriptor(handle=0x8066bc0,option=16)
[dll] get_option_descriptor(handle=0x8066bc0,option=17)
[dll] get_option_descriptor(handle=0x8066bc0,option=18)
[dll] start(handle=0x8066bc0)
[qcam] qc_lock_wait: acquiring lock for 0x378
[qcam] qc_lock_wait: got lock for 0x378
[qcam] qc_getstatus: status=0x02
[qcam] start: black_level=0
[qcam] qc_getstatus: status=0xc2
[qcam] qc_getstatus: status=0xc2
[qcam] qc_getstatus: status=0xc2
[qcam] qc_getstatus: status=0xc2
[qcam] qc_getstatus: status=0xc2
[qcam] qc_getstatus: status=0x02
[qcam] sane_start: top=0, left=5, white=150, bright=135, contr=104
[qcam] start: unidir 246 lines of 330 pixels each (243540 bytes) => 330x246
[qcam] scanmode (before increment): 0x18
[dll] get_parameters(handle=0x8066bc0,params=0x805b310)
[dll] set_io_mode(handle=0x8066bc0,nonblocking=1)
[dll] get_select_fd(handle=0x8066bc0,fdp=0xbffff4d0)
[qcam] reader_process: got request for 243540 bytes
[qcam] reader_process: frame complete
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=0,max_len=32768,len=32768)
[qcam] qc_lock_wait: releasing lock for 0x378
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=4096,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=4096,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=8192,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=8192,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=12288,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=12288,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=16384,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=16384,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=20480,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=20480,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=24576,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=24576,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=28672,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=28672,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=32768,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=32768,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=36864,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=36864,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=40960,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=40960,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=45056,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=45056,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=49152,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=49152,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=53248,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=53248,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=57344,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=57344,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=61440,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=61440,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=65536,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=65536,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=69632,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=69632,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=73728,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=73728,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=77824,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=77824,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=81920,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=81920,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=86016,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=86016,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=90112,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=90112,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=94208,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=94208,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=98304,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=98304,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=102400,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=102400,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=106496,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=106496,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=110592,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=110592,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=114688,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=114688,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=118784,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=118784,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=122880,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=122880,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=126976,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=126976,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=131072,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=131072,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=135168,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=135168,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=139264,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=139264,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=143360,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=143360,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=147456,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=147456,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=151552,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=151552,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=155648,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=155648,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=159744,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=159744,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=163840,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=163840,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=167936,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=167936,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=172032,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=172032,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=176128,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=176128,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=180224,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=180224,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=184320,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=184320,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=188416,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=188416,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=192512,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=192512,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=196608,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=196608,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=200704,max_len=32767,len=32767)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=200704,max_len=32767,len=32767)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=204800,max_len=32766,len=32766)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=204800,max_len=32766,len=32766)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=208896,max_len=32768,len=32768)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=208896,max_len=32768,len=32768)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=212992,max_len=32767,len=30548)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=212992,max_len=32767,len=30548)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=217088,max_len=32766,len=26452)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=217088,max_len=32766,len=26452)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=221184,max_len=32768,len=22356)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=221184,max_len=32768,len=22356)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=225280,max_len=32767,len=18260)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=225280,max_len=32767,len=18260)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=229376,max_len=32766,len=14164)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=229376,max_len=32766,len=14164)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=233472,max_len=32768,len=10068)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[qcam] read(buf=0x805330c,num_bytes=233472,max_len=32768,len=10068)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=237568,max_len=32767,len=5972)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330d,maxlen=32767,lenp=0xbffff700)
[qcam] read(buf=0x805330d,num_bytes=237568,max_len=32767,len=5972)
[qcam] read: got 4096 bytes
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=241664,max_len=32766,len=1876)
[qcam] read: no more data available
[dll] read(handle=0x8066bc0,data=0x805330e,maxlen=32766,lenp=0xbffff700)
[qcam] read(buf=0x805330e,num_bytes=241664,max_len=32766,len=1876)
[qcam] read: got 1876 bytes
[dll] read(handle=0x8066bc0,data=0x805330c,maxlen=32768,lenp=0xbffff700)
[dll] cancel(handle=0x8066bc0)
[dll] get_option_descriptor(handle=0x8066bc0,option=1)
[dll] get_option_descriptor(handle=0x8066bc0,option=2)
[dll] get_option_descriptor(handle=0x8066bc0,option=3)
[dll] get_option_descriptor(handle=0x8066bc0,option=4)
[dll] get_option_descriptor(handle=0x8066bc0,option=5)
[dll] get_option_descriptor(handle=0x8066bc0,option=6)
[dll] get_option_descriptor(handle=0x8066bc0,option=7)
[dll] get_option_descriptor(handle=0x8066bc0,option=8)
[dll] get_option_descriptor(handle=0x8066bc0,option=9)
[dll] get_option_descriptor(handle=0x8066bc0,option=10)
[dll] get_option_descriptor(handle=0x8066bc0,option=11)
[dll] get_option_descriptor(handle=0x8066bc0,option=12)
[dll] get_option_descriptor(handle=0x8066bc0,option=13)
[dll] get_option_descriptor(handle=0x8066bc0,option=14)
[dll] get_option_descriptor(handle=0x8066bc0,option=15)
[dll] get_option_descriptor(handle=0x8066bc0,option=16)
[dll] get_option_descriptor(handle=0x8066bc0,option=17)
[dll] get_option_descriptor(handle=0x8066bc0,option=18)
[dll] start(handle=0x8066bc0)
[qcam] qc_lock_wait: acquiring lock for 0x378
[qcam] qc_lock_wait: got lock for 0x378
[qcam] qc_send: sent 0x2d, camera echoed 0xf6
[qcam] qc_send: (re-read does not help)
[qcam] qc_send: sent 0x02, camera echoed 0xf6
[qcam] qc_send: (re-read does not help)
[qcam] qc_send: sent 0x29, camera echoed 0xf6
[qcam] qc_send: (re-read does not help)
[qcam] qc_getstatus: status=0xf6
[qcam] qc_send: sent 0x29, camera echoed 0xf6
[qcam] qc_send: (re-read does not help)
[qcam] qc_getstatus: status=0xf6
[qcam] qc_send: sent 0x29, camera echoed 0x86
[qcam] qc_send: (re-read does not help)
[qcam] qc_getstatus: status=0x88
[qcam] qc_send: sent 0x29, camera echoed 0x87
[qcam] qc_send: (re-read does not help)
[qcam] sighandler: got signal 2
[qcam] reader_process: sending signal ACK
[dll] exiting
[dll] calling backend `qcam's exit function
[dll] calling backend `mustek's exit function
[dll] calling backend `pnm's exit function
[dll] calling backend `net's exit function
[dll] calling backend `hp's exit function

    --
    Mark Cornick / HSTX/NASA Goddard Space Flight Center, Code 922
    mcornick@zorak.gsfc.nasa.gov

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

     Next message: David Mosberger-Tang: "Re: xcam/xscanimage hangs w/ SANE 0.57"
     Previous message: Michael K. Johnson: "Re: image buffering"
     In reply to: Gordon Matzigkeit: "Re: image buffering"

     Next in thread: David Mosberger-Tang: "Re: image buffering"
     Reply: David Mosberger-Tang: "Re: image buffering"