sane-project-website/old-archive/1997-02/0055.html

191 wiersze
9.8 KiB
HTML

<!-- received="Fri Apr 18 01:57:20 1997 MST" -->
<!-- sent="Fri, 18 Apr 1997 10:47:55 +0059 (MDT)" -->
<!-- name="Mathias Weigt" -->
<!-- email="p5iba@medchem2.pharmazie.uni-halle.de" -->
<!-- subject="Measurements in color mode" -->
<!-- id="199704172120.OAA24967@panda.mosberger" -->
<!-- inreplyto="" -->
<title>sane-devel: Measurements in color mode</title>
<h1>Measurements in color mode</h1>
<b>Mathias Weigt</b> (<a href="mailto:p5iba@medchem2.pharmazie.uni-halle.de"><i>p5iba@medchem2.pharmazie.uni-halle.de</i></a>)<br>
<i>Fri, 18 Apr 1997 10:47:55 +0059 (MDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#55">[ date ]</a><a href="index.html#55">[ thread ]</a><a href="subject.html#55">[ subject ]</a><a href="author.html#55">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0056.html">becka@sunserver1.rz.uni-duesseldorf.de: "Re: Name collision (serious)"</a>
<li> <b>Previous message:</b> <a href="0054.html">David Mosberger-Tang: "Re: mustek 3-pass backend now working!"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Servus !<br>
<p>
<i> &gt;Now I'm confused. How did you acquire the 300dpi image that you sent</i><br>
<i> &gt;me this morning? With xscan? If so, I guess the status is this:</i><br>
<i> &gt;</i><br>
<i> &gt; - xscan works with all resolutions, but it runs slower than expected</i><br>
<i> &gt;</i><br>
<i> &gt; - scan's performance is fine, but it crashes at resolutions &gt;18dpi</i><br>
<i> &gt;</i><br>
<i> &gt;Is this correct?</i><br>
<p>
Absolutely. But I`m not sure about scan`s performance because after killing<br>
xscan (Cancel button doesn't work) the current pass is finished with the <br>
expected performance. Scan crashes before the first pass is done.<br>
<p>
Here are some measurements with xscan and xscan form Arno A.(xscanaa):<br>
after 1st pass after 2nd pass after 3rd pass<br>
dpi mode Area xscan xscanaa xscan xscanaa xscan xscanaa<br>
61 color whole 0:30 - 1:25 - 2:10 -<br>
157 dto dto 1:30 - 3:20 - 5:30 -<br>
300 gray dto - - - - 0:30 0:27<br>
300 color dto 4:30 - 10:10 - 15:55 1:50<br>
600 gray dto - - - - 1:00 0:51<br>
600 color dto - - 42:00 - cancel. 3:00<br>
<p>
I configured without "--enable-debug --disabled-shared".<br>
<p>
The gdb output again:<br>
GDB is free software and you are welcome to distribute copies of it<br>
under certain conditions; type "show copying" to see the conditions.<br>
There is absolutely no warranty for GDB; type "show warranty" for details.<br>
GDB 4.16 (i486-unknown-linux --target i486-linux), <br>
Copyright 1996 Free Software Foundation, Inc...<br>
(gdb) runn  --mode color --verbose --resolution 300<br>
Starting program: /usr/local/bin/scan --mode color --verbose --resolution 300<br>
[sanei_init_debug]: Setting debug level of dll to 128.<br>
[dll] adding backend pnm<br>
[dll] ...already there<br>
[dll] adding backend mustek<br>
[dll] ...already there<br>
[dll] adding backend qcam<br>
[dll] ...already there<br>
[dll] init: initializing backend `qcam'<br>
[dll] init: initializing backend `mustek'<br>
[sanei_init_debug]: Setting debug level of mustek to 128.<br>
[mustek] attach: opening /dev/scanner<br>
[mustek] attach: sending INQUIRY<br>
[mustek] wait_ready: sending TEST_UNIT_READY<br>
[mustek] attach: firmware revision 2.71<br>
[mustek] attach: found Mustek scanner model MFS-06000CX (flatbed scanner), 3-pass<br>
[dll] init: initializing backend `pnm'<br>
[dll] init: initializing backend `net'<br>
[dll] init: initializing backend `hp'<br>
[dll] control_option(handle=0x805c410,option=0,action=0,value=0xbffff64c,info=(nil))<br>
[dll] control_option(handle=0x805c410,option=0,action=0,value=0xbffff608,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=0)<br>
[dll] get_option_descriptor(handle=0x805c410,option=1)<br>
[dll] get_option_descriptor(handle=0x805c410,option=2)<br>
[dll] get_option_descriptor(handle=0x805c410,option=3)<br>
[dll] get_option_descriptor(handle=0x805c410,option=4)<br>
[dll] get_option_descriptor(handle=0x805c410,option=5)<br>
[dll] get_option_descriptor(handle=0x805c410,option=6)<br>
[dll] get_option_descriptor(handle=0x805c410,option=7)<br>
[dll] get_option_descriptor(handle=0x805c410,option=8)<br>
[dll] get_option_descriptor(handle=0x805c410,option=9)<br>
[dll] get_option_descriptor(handle=0x805c410,option=10)<br>
[dll] control_option(handle=0x805c410,option=10,action=0,value=0x805b068,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=11)<br>
[dll] control_option(handle=0x805c410,option=11,action=0,value=0x805b06c,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=12)<br>
[dll] get_option_descriptor(handle=0x805c410,option=13)<br>
[dll] get_option_descriptor(handle=0x805c410,option=14)<br>
[dll] get_option_descriptor(handle=0x805c410,option=15)<br>
[dll] get_option_descriptor(handle=0x805c410,option=16)<br>
[dll] get_option_descriptor(handle=0x805c410,option=17)<br>
[dll] get_option_descriptor(handle=0x805c410,option=18)<br>
[dll] get_option_descriptor(handle=0x805c410,option=19)<br>
[dll] get_option_descriptor(handle=0x805c410,option=20)<br>
[dll] get_option_descriptor(handle=0x805c410,option=21)<br>
[dll] control_option(handle=0x805c410,option=8,action=0,value=0xbffff604,info=(nil))<br>
[dll] control_option(handle=0x805c410,option=9,action=0,value=0xbffff604,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=2)<br>
[dll] get_option_descriptor(handle=0x805c410,option=2)<br>
[dll] control_option(handle=0x805c410,option=2,action=1,value=0xbffff7ec,info=0xbffff5d4)<br>
[dll] control_option(handle=0x805c410,option=0,action=0,value=0xbffff5b8,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=0)<br>
[dll] get_option_descriptor(handle=0x805c410,option=1)<br>
[dll] get_option_descriptor(handle=0x805c410,option=2)<br>
[dll] get_option_descriptor(handle=0x805c410,option=3)<br>
[dll] get_option_descriptor(handle=0x805c410,option=4)<br>
[dll] get_option_descriptor(handle=0x805c410,option=5)<br>
[dll] get_option_descriptor(handle=0x805c410,option=6)<br>
[dll] get_option_descriptor(handle=0x805c410,option=7)<br>
[dll] get_option_descriptor(handle=0x805c410,option=8)<br>
[dll] get_option_descriptor(handle=0x805c410,option=9)<br>
[dll] get_option_descriptor(handle=0x805c410,option=10)<br>
[dll] control_option(handle=0x805c410,option=10,action=0,value=0x805b068,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=11)<br>
[dll] control_option(handle=0x805c410,option=11,action=0,value=0x805b06c,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=12)<br>
[dll] get_option_descriptor(handle=0x805c410,option=13)<br>
[dll] get_option_descriptor(handle=0x805c410,option=14)<br>
[dll] get_option_descriptor(handle=0x805c410,option=15)<br>
[dll] get_option_descriptor(handle=0x805c410,option=16)<br>
[dll] get_option_descriptor(handle=0x805c410,option=17)<br>
[dll] get_option_descriptor(handle=0x805c410,option=18)<br>
[dll] get_option_descriptor(handle=0x805c410,option=19)<br>
[dll] get_option_descriptor(handle=0x805c410,option=20)<br>
[dll] get_option_descriptor(handle=0x805c410,option=21)<br>
[dll] control_option(handle=0x805c410,option=8,action=0,value=0xbffff5b4,info=(nil))<br>
[dll] control_option(handle=0x805c410,option=9,action=0,value=0xbffff5b4,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=3)<br>
[dll] get_option_descriptor(handle=0x805c410,option=3)<br>
[dll] control_option(handle=0x805c410,option=3,action=1,value=0x805c670,info=0xbffff5d4)<br>
[dll] control_option(handle=0x805c410,option=8,action=0,value=0xbffff648,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=10)<br>
[dll] control_option(handle=0x805c410,option=10,action=1,value=0xbffff644,info=0xbffff600)<br>
[dll] control_option(handle=0x805c410,option=9,action=0,value=0xbffff648,info=(nil))<br>
[dll] get_option_descriptor(handle=0x805c410,option=11)<br>
[dll] control_option(handle=0x805c410,option=11,action=1,value=0xbffff644,info=0xbffff600)<br>
[dll] start(handle=0x805c410)<br>
[mustek] wait_ready: sending TEST_UNIT_READY<br>
[mustek] get_image_status: bytes_per_line=2550, lines=4200<br>
[dll] get_parameters(handle=0x805c410,params=0xbfff75f8)<br>
scan: acquiring red frame<br>
scan: scanning image of size 2550x4200 pixels at 8 bits/pixel<br>
[dll] read(handle=0x805c410,data=0xbfff7610,maxlen=32768,lenp=0xbfff75dc)<br>
[mustek] lines_per_buffer=12, bytes_per_line=2550<br>
[mustek] reader_process: read 12 lines[mustek] read 4096 bytes<br>
<p>
Program received signal SIGSEGV, Segmentation fault.<br>
0x804a8ce in scan_it () at scan.c:840<br>
840 image.data[offset + 3*i] = buffer[i];<br>
(gdb) bt<br>
#0 0x804a8ce in scan_it () at scan.c:840<br>
#1 0x804b300 in main (argc=6, argv=0xbffff678) at scan.c:1185<br>
#2 0x804949e in ___crt_dummy__ ()<br>
(gdb) print i<br>
$1 = 0<br>
(gdb) print offset<br>
$2 = 0<br>
(gdb) print len<br>
$3 = 4096<br>
(gdb) print image<br>
$4 = {data = 0x0, Bpp = 3, width = 2550, height = 3944, x = 0, y = 0}<br>
(gdb) print parm<br>
$5 = {format = SANE_FRAME_RED, last_frame = 0, bytes_per_line = 2550, <br>
pixels_per_line = 2550, lines = 4200, depth = 8}<br>
(gdb) quit<br>
<p>
<p>
<p>
Mathias Weigt <br>
<a href="mailto:p5iba@medchem2.pharmazie.uni-halle.de">p5iba@medchem2.pharmazie.uni-halle.de</a><br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0056.html">becka@sunserver1.rz.uni-duesseldorf.de: "Re: Name collision (serious)"</a>
<li> <b>Previous message:</b> <a href="0054.html">David Mosberger-Tang: "Re: mustek 3-pass backend now working!"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>