sane-project-website/old-archive/2000-07/0174.html

176 wiersze
6.5 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: Re: please help. Microtek v300 device I/O error</TITLE>
<META NAME="Author" CONTENT="Bernd Schroeder (Bernd.M.Schroeder@gmx.de)">
<META NAME="Subject" CONTENT="Re: please help. Microtek v300 device I/O error">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: please help. Microtek v300 device I/O error</H1>
<!-- received="Wed Jul 19 10:11:01 2000" -->
<!-- isoreceived="20000719171101" -->
<!-- sent="Wed, 19 Jul 2000 19:13:14 +0200 (MEST)" -->
<!-- isosent="20000719171314" -->
<!-- name="Bernd Schroeder" -->
<!-- email="Bernd.M.Schroeder@gmx.de" -->
<!-- subject="Re: please help. Microtek v300 device I/O error" -->
<!-- id="24444.964026794@www29.gmx.net" -->
<!-- inreplyto="397495CE.E3469E7E@virtc.com" -->
<STRONG>From:</STRONG> Bernd Schroeder (<A HREF="mailto:Bernd.M.Schroeder@gmx.de?Subject=Re:%20please%20help.%20%20Microtek%20v300%20device%20I/O%20error&In-Reply-To=&lt;24444.964026794@www29.gmx.net&gt;"><EM>Bernd.M.Schroeder@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Jul 19 2000 - 10:13:14 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0175.html">Bernhard Mogens Ege: "trouble compiling sane-1.0.2 on linux"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0173.html">Oliver Rauch: "Re: astra 2400 S + ATA"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0154.html">Doug Wilson: "please help. Microtek v300 device I/O error"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#174">[ date ]</A>
<A HREF="index.html#174">[ thread ]</A>
<A HREF="subject.html#174">[ subject ]</A>
<A HREF="author.html#174">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P><EM>&gt; I'm relatively new to Linux and this is my first experience with sane.
</EM><BR>
<EM>&gt; I have no programming experience. My girlfriend's company recently gave
</EM><BR>
<EM>&gt; her an old scanner that they replaced and I would like to get it working
</EM><BR>
<EM>&gt; with my Linux machine. Aparrently, the scanner was working well with
</EM><BR>
<EM>&gt; Win98, but ocassionally flaked out requiring a Win reboot.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I posted a message earlier about this problem and haven't gotten an
</EM><BR>
<EM>&gt; answer yet ... at this point I would appreciate even a flame as long as
</EM><BR>
<EM>&gt; it helps me decide to move in 1 direction or another! :)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The scanner is a Microtek Scanmaker V300 parallel port scanner. I'm
</EM><BR>
<EM>&gt; running Linux Mandrake 2.2.9-19mdk. It was quite a struggle, but I
</EM><BR>
<EM>&gt; managed to install the ppscsi kernel patches. I can load ppscsi, sg,
</EM><BR>
<EM>&gt; and onscsi with insmod without a problem. When I run 'scanimage -d
</EM><BR>
<EM>&gt; microtek2:/dev/sga', however, I get &quot;Error during device I/O.&quot; I looked
</EM><BR>
<EM>&gt; through the san-devel mailing list archives and found that someone else
</EM><BR>
<EM>&gt; had a similar problem, but I never saw an answer ... just advice to set
</EM><BR>
<EM>&gt; SANE_DEBUG_MICROTEK2=30 and publish the results. I did that.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Here are the last few lines of output, where the errors are displayed:
</EM><BR>
<EM>&gt; ..
</EM><BR>
<EM>&gt; [microtek2] dump_area: SenseBuffer
</EM><BR>
<EM>&gt; 0: f00005ffffffe91f 0000000024000000 ........ ....$...
</EM><BR>
<EM>&gt; 16: 2800830060000000 0000000102030405 (...`... ........
</EM><BR>
<EM>&gt; 32: 060708090a0b ......
</EM><BR>
<EM>&gt; [microtek2] scsi_sense_handler: info: ' f'
</EM><BR>
<EM>&gt; [microtek2] scsi_sense_handler: Invalid field in CDB
</EM><BR>
<EM>&gt; [microtek2] scsi_read_image_status: 'Error during device I/O'
</EM><BR>
<EM>&gt; [microtek2] scsi_wait_for_image: 'Error during device I/O'
</EM><BR>
<EM>&gt; [microtek2] cleanup_scanner: ms=0x80561b0
</EM><BR>
<EM>&gt; scanimage: sane_start: Error during device I/O
</EM><BR>
<EM>&gt; [microtek2] sane_cancel: handle=0x80561b0
</EM><BR>
<EM>&gt; [microtek2] cleanup_scanner: ms=0x80561b0
</EM><BR>
<EM>&gt; [microtek2] sane_close: ms=0x80561b0
</EM><BR>
<EM>&gt; [microtek2] cleanup_scanner: ms=0x80561b0
</EM><BR>
<EM>&gt; [microtek2] sane_exit:
</EM><BR>
<EM>&gt; [microtek2] sane_get_devices: local_only=0
</EM><BR>
<EM>&gt; [microtek2] sane_get_devices: sd_list_freed
</EM><BR>
<EM>&gt; [microtek2] sane_exit: MICROTEK2 says goodbye.
</EM><BR>
<P>I do remember that the V300 SCSI model has had problems with exactly
<BR>
this command (read_image_status). This command gets the scanner
<BR>
into calibration before a scan actually starts. The solution
<BR>
(or workaround (?) ) was to skip this command, and everything worked
<BR>
fine.
<BR>
<P>This command is part of the recommended SCSI command flow as
<BR>
described in the Microtek documentation, and some models do not
<BR>
work without it, but the V300 (and ScanMaker 630), for example,
<BR>
apparently do not need it. What is the model code of your
<BR>
model (printed earlier in the debug output) and the version
<BR>
of the backend (also earlier in the debug output) ?
<BR>
<P>Bernd
<BR>
<P><P><PRE>
--
Sent through GMX FreeMail - <A HREF="http://www.gmx.net">http://www.gmx.net</A>
<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:%20please%20help.%20%20Microtek%20v300%20device%20I/O%20error&In-Reply-To=&lt;24444.964026794@www29.gmx.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0175.html">Bernhard Mogens Ege: "trouble compiling sane-1.0.2 on linux"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0173.html">Oliver Rauch: "Re: astra 2400 S + ATA"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0154.html">Doug Wilson: "please help. Microtek v300 device I/O error"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#174">[ date ]</A>
<A HREF="index.html#174">[ thread ]</A>
<A HREF="subject.html#174">[ subject ]</A>
<A HREF="author.html#174">[ 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 Jul 19 2000 - 10:12:35 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>