sane-project-website/old-archive/2000-05/0156.html

422 wiersze
12 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Microtek ScanMaker E3 -&gt; crashes the computer</TITLE>
<META NAME="Author" CONTENT="Claude Lefrancois (lefranco@cae.ca)">
<META NAME="Subject" CONTENT="Microtek ScanMaker E3 -&gt; crashes the computer">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Microtek ScanMaker E3 -&gt; crashes the computer</H1>
<!-- received="Wed May 24 06:39:21 2000" -->
<!-- isoreceived="20000524133921" -->
<!-- sent="Wed, 24 May 2000 09:40:04 -0400 (EDT)" -->
<!-- isosent="20000524134004" -->
<!-- name="Claude Lefrancois" -->
<!-- email="lefranco@cae.ca" -->
<!-- subject="Microtek ScanMaker E3 -&gt; crashes the computer" -->
<!-- id="14635.56244.584830.290865@p2118.cae.ca" -->
<STRONG>From:</STRONG> Claude Lefrancois (<A HREF="mailto:lefranco@cae.ca?Subject=Re:%20Microtek%20ScanMaker%20E3%20-&gt;%20crashes%20the%20computer&In-Reply-To=&lt;14635.56244.584830.290865@p2118.cae.ca&gt;"><EM>lefranco@cae.ca</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed May 24 2000 - 06:40:04 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0157.html">Harald Bauer: "Old handheld scanners"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0155.html">Christian Stocker: "Mustek MFS-6000SP and ava-1505 just scans in Black..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0158.html">William (Andy) Smith: "Correct Network Scanner Syntax?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0158.html">William (Andy) Smith: "Correct Network Scanner Syntax?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#156">[ date ]</A>
<A HREF="index.html#156">[ thread ]</A>
<A HREF="subject.html#156">[ subject ]</A>
<A HREF="author.html#156">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello,
<BR>
<P>I am trying to bring a Microtek ScanMaker E3 to work under RedHat
<BR>
Linux 6.2 (Kernel 2.2.12-6.0.1smp). My computer is a dual capable
<BR>
Pentium Pro 200 MHz with only 1 CPU. I am using the AVA-1502 interface
<BR>
card that came with the scanner. I am using SANE 1.0.2 with the
<BR>
Microtek 0.12.0 backend. The SCSI card is configured to IO 0x140, IRQ
<BR>
10, SCSI ID 7 and SCSI reconnect disabled. Here is the driver log:
<BR>
<P>aha152x: BIOS test: passed, detected 1 controller(s)
<BR>
aha152x0: vital data: PORTBASE=0x140, IRQ=10, SCSI ID=7, reconnect=disabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
<BR>
aha152x: trying software interrupt, ok.
<BR>
scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
<BR>
scsi : 1 host.
<BR>
&nbsp;&nbsp;Vendor: Model: Scanner Rev: 1.80
<BR>
&nbsp;&nbsp;Type: Scanner ANSI SCSI revision: 04
<BR>
<P>The scanner is identified correctly by the SCSI driver and the SCSI
<BR>
generic driver is also working fine. Here is the driver log:
<BR>
<P>Detected scsi generic sga at scsi0, channel 0, id 6, lun 0
<BR>
<P>The problem occurs when I try to make the scanner works. If I run a
<BR>
scanner program (scanimage), I can ear the scanner doing some sort of
<BR>
initialisation routines and then the scanner stops forever. The
<BR>
program never returns and after some SCSI timeout the computer
<BR>
experiences a kernel crash and the whole system hangs. I enabled the
<BR>
following DEBUG environment variables and I got the following log:
<BR>
<P>Variables:
<BR>
<P>SANE_DEBUG_MICROTEK
<BR>
SANE_DEBUG_SANEI_SCSI
<BR>
SANE_DEBUG_DLL
<BR>
<P>Log:
<BR>
<P>[sanei_init_debug]: Setting debug level of dll to 128.
<BR>
[dll] adding backend net
<BR>
[dll] ...already there
<BR>
[dll] adding backend abaton
<BR>
[dll] ...already there
<BR>
[dll] adding backend agfafocus
<BR>
[dll] ...already there
<BR>
[dll] adding backend apple
<BR>
[dll] ...already there
<BR>
[dll] adding backend avision
<BR>
[dll] ...already there
<BR>
[dll] adding backend artec
<BR>
[dll] ...already there
<BR>
[dll] adding backend canon
<BR>
[dll] ...already there
<BR>
[dll] adding backend coolscan
<BR>
[dll] ...already there
<BR>
[dll] adding backend dmc
<BR>
[dll] ...already there
<BR>
[dll] adding backend epson
<BR>
[dll] ...already there
<BR>
[dll] adding backend hp
<BR>
[dll] ...already there
<BR>
[dll] adding backend m3096g
<BR>
[dll] ...already there
<BR>
[dll] adding backend microtek
<BR>
[dll] ...already there
<BR>
[dll] adding backend microtek2
<BR>
[dll] ...already there
<BR>
[dll] adding backend mustek
<BR>
[dll] ...already there
<BR>
[dll] adding backend pint
<BR>
[dll] adding backend qcam
<BR>
[dll] ...already there
<BR>
[dll] adding backend ricoh
<BR>
[dll] ...already there
<BR>
[dll] adding backend s9036
<BR>
[dll] ...already there
<BR>
[dll] adding backend sharp
<BR>
[dll] ...already there
<BR>
[dll] adding backend snapscan
<BR>
[dll] ...already there
<BR>
[dll] adding backend sp15c
<BR>
[dll] ...already there
<BR>
[dll] adding backend tamarack
<BR>
[dll] ...already there
<BR>
[dll] adding backend umax
<BR>
[dll] ...already there
<BR>
[dll] init: initializing backend `microtek'
<BR>
[sanei_init_debug]: Setting debug level of microtek to 128.
<BR>
[microtek] sane_init: MICROTEK says hello! (v0.12.0)
<BR>
[microtek] sane_init: config- #Uncomment following line to disable &quot;clever prec
<BR>
alibration&quot; routines...
<BR>
[microtek] sane_init: config- noprecal
<BR>
[microtek] sane_init: Clever Precalibration will be forcibly disabled...
<BR>
[microtek] sane_init: config- scsi * * Scanner
<BR>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
<BR>
[sanei_scsi] searched device is /dev/sga
<BR>
[microtek] attach_scanner: /dev/sga
<BR>
[microtek] attach_scanner: opening /dev/sga
<BR>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
<BR>
[sanei_scsi] sanei_scsi_open: SG driver version: 20136
<BR>
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
<BR>
[sanei_scsi] trying to enable low level command queueing
<BR>
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
<BR>
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
<BR>
[microtek] attach_scanner: sending INQUIRY
<BR>
[sanei_scsi] scsi_req_enter: entered 0x40167008
<BR>
[sanei_scsi] sanei_scsi.issue: 0x40167008
<BR>
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
<BR>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x40167008
<BR>
[sanei_scsi] sanei_scsi.issue: 0x40167008
<BR>
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes
<BR>
[microtek] id_microtek...
<BR>
[microtek] parse_inquiry...
<BR>
[microtek] dump_inquiry...
<BR>
&nbsp;=== SANE/Microtek backend v0.12.0 ===
<BR>
========== Scanner Inquiry Block ========mm
<BR>
06 31 14 01 5b 00 00 00 20 20 20 20 20 20 20 20
<BR>
53 63 61 6e 6e 65 72 20 20 20 20 20 20 20 20 20
<BR>
31 2e 38 30 53 43 53 49 20 46 2f 57 56 33 2e 34
<BR>
20 43 54 4c 35 33 38 30 03 4f 8c c5 02 ee 5f 03
<BR>
01 03 01 00 00 83 00 01 0e 0e 01 05 00 00 00 00
<BR>
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
<BR>
<P>========== Scanner Inquiry Report ==========
<BR>
===== Scanner ID...
<BR>
Device Type Code: 0x06
<BR>
Model Code: 0x5f
<BR>
Vendor Name: ' ' Model Name: 'Scanner '
<BR>
Vendor Specific String: 'SCSI F/WV3.4 CTL5380'
<BR>
Firmware Rev: '1.80'
<BR>
SCSI F/W version: 3.1 Scanner F/W version: 1.4
<BR>
Response data format: 0x01
<BR>
===== Imaging Capabilities...
<BR>
Modes: Lineart Halftone Gray Color (OnePass)
<BR>
Resolution Step Sizes: 1% 5% Expanded Resolution Support? yes
<BR>
Supported Bits Per Sample: 4 8
<BR>
Max. document size code: 0x02
<BR>
Max. document size: 2549 x 3505 pixels
<BR>
Frame units: pixels 1/8&quot;'s
<BR>
# of built-in halftones: 12 Downloadable patterns? Yes
<BR>
Data Compression:
<BR>
Contrast Settings: 14 Exposure Settings: 14
<BR>
Adjustable Shadow/Highlight? yes Adjustable Midtone? yes
<BR>
Digital brightness/offset? yes
<BR>
Gamma Table Size: 256 entries of 1 bytes (max. depth: 8)
<BR>
===== Source Options...
<BR>
Feed type: flatbed ADF support? yes
<BR>
Document Feeder Support? yes Feeder Backtracking? yes
<BR>
Feeder Installed? no Feeder Ready? no
<BR>
Transparency Adapter Installed? no
<BR>
Fast Color Prescan? no
<BR>
Selectable Transfer Format? no
<BR>
Color Transfer Sequence: line-by-line, non-sequential with headers
<BR>
Three pass scan support? no
<BR>
ModeSelect-1 and ModeSense-1 Support? yes
<BR>
Can Disable Linearization Table? no
<BR>
Can Disable Start-of-Scan Recalibration? yes
<BR>
Internal expanded expansion? no
<BR>
<P><P>[microtek] attach_scanner: happy.
<BR>
[sanei_scsi] searched device is /dev/sga
<BR>
[microtek] attach_scanner: /dev/sga
<BR>
[microtek] sane_init: config- /dev/scanner
<BR>
[microtek] attach_scanner: /dev/scanner
<BR>
[microtek] attach_scanner: opening /dev/scanner
<BR>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
<BR>
[sanei_scsi] sanei_scsi_open: SG driver version: 20136
<BR>
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
<BR>
[sanei_scsi] trying to enable low level command queueing
<BR>
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 1
<BR>
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
<BR>
[microtek] attach_scanner: sending INQUIRY
<BR>
[sanei_scsi] scsi_req_enter: entered 0x40167008
<BR>
[sanei_scsi] sanei_scsi.issue: 0x40167008
<BR>
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
<BR>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x40167008
<BR>
[sanei_scsi] sanei_scsi.issue: 0x40167008
<BR>
<P>I have tried different SCSI card setup (IO, IRQ, etc.) with the same
<BR>
results. I have tried to disable all other backends (dll.conf) and to
<BR>
remove the &quot;real calibration&quot; routines and the &quot;clever calibration&quot;
<BR>
routine with the same results again. Any help, suggestions or comments
<BR>
will be really appreciated.
<BR>
<P>Thanks,
<BR>
<P>Claude Lefrancois
<BR>
<P><PRE>
--
<P>Claude Lefrancois
System Administrator &amp; Software Engineer
CAE Electronics Ltd, Department 28, Sensor Systems
8585 Cote-de-Liesse, Saint-Laurent, Quebec, Canada, H4T 1G6
Tel: (514) 341-2000 x3194, Fax: (514) 734-5612
Email: <A HREF="mailto:lefranco@cae.ca?Subject=Re:%20Microtek%20ScanMaker%20E3%20-&gt;%20crashes%20the%20computer&In-Reply-To=&lt;14635.56244.584830.290865@p2118.cae.ca&gt;">lefranco@cae.ca</A> &lt;mailto:<A HREF="mailto:lefranco@cae.ca?Subject=Re:%20Microtek%20ScanMaker%20E3%20-&gt;%20crashes%20the%20computer&In-Reply-To=&lt;14635.56244.584830.290865@p2118.cae.ca&gt;">lefranco@cae.ca</A>&gt;
<P><P>--
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?Subject=Re:%20Microtek%20ScanMaker%20E3%20-&gt;%20crashes%20the%20computer&In-Reply-To=&lt;14635.56244.584830.290865@p2118.cae.ca&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0157.html">Harald Bauer: "Old handheld scanners"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0155.html">Christian Stocker: "Mustek MFS-6000SP and ava-1505 just scans in Black..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0158.html">William (Andy) Smith: "Correct Network Scanner Syntax?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0158.html">William (Andy) Smith: "Correct Network Scanner Syntax?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#156">[ date ]</A>
<A HREF="index.html#156">[ thread ]</A>
<A HREF="subject.html#156">[ subject ]</A>
<A HREF="author.html#156">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed May 24 2000 - 06:41:29 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>