sane-project-website/old-archive/1999-12/0153.html

192 wiersze
8.9 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Wed Dec 22 03:08:58 1999 PST" -->
<!-- sent="Wed, 22 Dec 1999 06:08:48 -0500 (EST)" -->
<!-- name="Warren Chartier" -->
<!-- email="icebalm@bigfoot.com" -->
<!-- subject="Re: Microtek SlimScan Cx Parallel?" -->
<!-- id="" -->
<!-- inreplyto="Pine.LNX.4.20.9912220340060.1472-100000@icebalm.lucid.dyndns.org" -->
<title>sane-devel: Re: Microtek SlimScan Cx Parallel?</title>
<h1>Re: Microtek SlimScan Cx Parallel?</h1>
<b>Warren Chartier</b> (<a href="mailto:icebalm@bigfoot.com"><i>icebalm@bigfoot.com</i></a>)<br>
<i>Wed, 22 Dec 1999 06:08:48 -0500 (EST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#153">[ date ]</a><a href="index.html#153">[ thread ]</a><a href="subject.html#153">[ subject ]</a><a href="author.html#153">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0154.html">=?iso-8859-1?Q?: "Re: snapscan310, aha152x(05), de-pnp'd"</a>
<li> <b>Previous message:</b> <a href="0152.html">Oliver Rauch: "Re: Printing images in their original size"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi All,<br>
<p>
Well I went and patched my kernel with ppscsi and am using the onscsi<br>
protocol driver with it, that seems to work just fine, my scanner is<br>
detected at boot! Progress! I compiled sane and it said no scanners were<br>
available, so I set SANE_DEBUG_MICROTEK2=30 and checked for my Model Code<br>
and added that into the microtek2 source, recompiled and it and tried to<br>
run xscanimage. It seems to detect my scanner just fine, but it segfaults<br>
at the end, heres the output: <br>
<p>
---[CuT]---<br>
Scanner attributes from device structure<br>
========================================<br>
<p>
Scanner ID...<br>
~~~~~~~~~~~~~<br>
Vendor Name: ' '<br>
Model Name: ' scanner 330CS '<br>
Revision: '2.06'<br>
Model Code: 0xaf (SlimScan C3)<br>
Device Type Code: 0x06 (Scanner),<br>
Scanner type: Flatbed scanner<br>
Supported options: Automatic document feeder: No<br>
Transparency media adapter: No<br>
Auto paper detecting: No<br>
Advanced picture system: No<br>
Stripes: No<br>
Slides: No<br>
Scan button: Yes<br>
<p>
Imaging Capabilities...<br>
~~~~~~~~~~~~~~~~~~~~~~~<br>
Color scanner: Yes<br>
Number passes: 1 pass<br>
Resolution: X-max: 300 dpi<br>
Y-max: 600 dpi<br>
Geometry: Geometric width: 2550 pts (8.50'')<br>
Geometric height: 3495 pts (11.65'')<br>
Optical resol. : 300<br>
Modes: Lineart: No<br>
Halftone: No<br>
Gray: Yes<br>
Color: Yes<br>
Depths: Nibble Gray: No<br>
10-bit-color: No<br>
12-bit-color: No<br>
d/l of HT pattern: No<br>
Builtin HT patt.: 0<br>
LUT capabilities: None<br>
<p>
Miscellaneous capabilities...<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Data format: Line by line in concatenated sequence,<br>
without color indicator<br>
Color Sequence: B - G - R<br>
CCD gap: 0 lines<br>
CCD pixels: 2550<br>
Calib wh str loc: -104<br>
Max calib space: 48<br>
Number of lens: 1<br>
Max no of windows: 8<br>
Sh trnsf func equ: 0<br>
Buffer type: Ring<br>
FEPROM: No<br>
[microtek2] scsi_read_system_status: md=0x80fc980, fd=-1<br>
[microtek2] attach_one: returning<br>
[microtek2] sane_get_devices: local_only=0<br>
[microtek2] attach: device='/dev/scanner'<br>
[microtek2] scsi_inquiry: mi=0x80fc984, device='/dev/scanner'<br>
[microtek2] check_inquiry: mi=0x80fc984<br>
[microtek2] scsi_read_attributes: mi=0x80fc984, device='/dev/scanner', source=0<br>
[microtek2] scsi_read_system_status: md=0x80fc980, fd=-1<br>
[microtek2] scsi_test_unit_ready: md=/dev/scanner<br>
[microtek2] sane_get_devices: returning<br>
[microtek2] sane_open: device='/dev/scanner'<br>
[microtek2] add_device_list: device='/dev/scanner'<br>
[microtek2] add_device_list: device '/dev/scanner' already in list<br>
[microtek2] attach: device='/dev/scanner'<br>
[microtek2] scsi_inquiry: mi=0x80fc984, device='/dev/scanner'<br>
[microtek2] check_inquiry: mi=0x80fc984<br>
[microtek2] scsi_read_attributes: mi=0x80fc984, device='/dev/scanner', source=0<br>
[microtek2] scsi_read_system_status: md=0x80fc980, fd=-1<br>
[microtek2] init_options: handle=0x812f5d8, source=0<br>
[microtek2] get_lut_size: mi=0x80fc984<br>
[microtek2] get_lut_size: mi=0x80fc984, lut_size=0, lut_word=0<br>
Segmentation fault<br>
---[CuT]---<br>
<p>
Any help would be great in getting this to actually work :)<br>
<p>
Oh, one more note, scanimage, xscanimage and xsane all do this, and<br>
scanimage and xscanimage also segfaulted right after it said no<br>
devices before I modified the microtek2 source with my own model code.<br>
<p>
Thanks in advance,<br>
Warren Chartier<br>
Minister of the Mobile Mechanized Infantry - <a href="http://www.juga.com">http://www.juga.com</a><br>
Fight Spam - Join CAUSE! <a href="http://www.cause.org">http://www.cause.org</a><br>
<p>
---- BEGIN ECHELON BLOCK ----<br>
SCUD missile Ortega AK-47 Uzi $400 million in gold bullion Rule Psix Nazi<br>
militia Project Monarch counter-intelligence JFK cypherpunk Kibo Ron Brown<br>
clones bomb special-ops terrorism WACO nuclear missile MI5<br>
----- END ECHELON BLOCK -----<br>
<p>
On Wed, 22 Dec 1999, Warren Chartier wrote:<br>
<p>
<i>&gt; Hi Matto,</i><br>
<i>&gt; </i><br>
<i>&gt; Thanks alot, this looks like it may work, it has an "onscsi" protocol</i><br>
<i>&gt; module which I recognize from the windows drivers, I'll try it out and</i><br>
<i>&gt; post my story here when I'm done.</i><br>
<i>&gt; </i><br>
<i>&gt; Warren Chartier</i><br>
<i>&gt; Minister of the Mobile Mechanized Infantry - <a href="http://www.juga.com">http://www.juga.com</a></i><br>
<i>&gt; Fight Spam - Join CAUSE! <a href="http://www.cause.org">http://www.cause.org</a></i><br>
<i>&gt; </i><br>
<i>&gt; On Wed, 22 Dec 1999, Matto Marjanovic wrote:</i><br>
<i>&gt; </i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; &gt;I recently purchased a Microtek SlimScan C3 Parallel Port Scanner as I</i><br>
<i>&gt; &gt; &gt;dont have a SCSI card, and as you all probably know, its unsupported.</i><br>
<i>&gt; &gt; ...</i><br>
<i>&gt; &gt; &gt;I was wondering if there was any plan in the future to try to support</i><br>
<i>&gt; &gt; &gt;these Microtek parallel port scanners? I wouldnt mind being a guinea pig</i><br>
<i>&gt; &gt; &gt;or helping out in any way I could, however I dont know C well enough to do</i><br>
<i>&gt; &gt; &gt;anything useful in that area.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Marcel Pol wrote mail to this list [1] saying that his Pagewizard was</i><br>
<i>&gt; &gt; recognized by the scsi system by using the ppSCSI drivers [2] -- I'm</i><br>
<i>&gt; &gt; almost certain that his scanner will work with the microtek driver</i><br>
<i>&gt; &gt; now that it looks like a scsi device (given a patch or two regarding</i><br>
<i>&gt; &gt; the scanner id).</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; I just peeked at the ppSCSI page, and it mentions explicitly:</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; "In particular, the HP-5200C parallel port scanner and the Microtek</i><br>
<i>&gt; &gt; ScanMaker v310 have been tested with the epst and onscsi modules,</i><br>
<i>&gt; &gt; respectively, using the SANE tools."</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; (That would have been with the microtek2 backend.)</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Looks like a good sign....</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; -matt m.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Ref:</i><br>
<i>&gt; &gt; 1) <a href="http://www.mostang.com/mail-archive/sane-devel/1999-11/0305.html">http://www.mostang.com/mail-archive/sane-devel/1999-11/0305.html</a></i><br>
<i>&gt; &gt; 2) <a href="http://www.torque.net/parport/ppscsi.html">http://www.torque.net/parport/ppscsi.html</a></i><br>
<i>&gt; </i><br>
<i>&gt; --</i><br>
<i>&gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; </i><br>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0154.html">=?iso-8859-1?Q?: "Re: snapscan310, aha152x(05), de-pnp'd"</a>
<li> <b>Previous message:</b> <a href="0152.html">Oliver Rauch: "Re: Printing images in their original size"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>