kopia lustrzana https://gitlab.com/sane-project/website
224 wiersze
7.4 KiB
HTML
224 wiersze
7.4 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: Microtek scanner not working anymore</TITLE>
|
||
|
<META NAME="Author" CONTENT="Marcel Pol (mpol@gmx.net)">
|
||
|
<META NAME="Subject" CONTENT="Re: Microtek scanner not working anymore">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
|
<H1>Re: Microtek scanner not working anymore</H1>
|
||
|
<!-- received="Wed Apr 25 14:02:04 2001" -->
|
||
|
<!-- isoreceived="20010425210204" -->
|
||
|
<!-- sent="Wed, 25 Apr 2001 23:04:45 +0200 (CEST)" -->
|
||
|
<!-- isosent="20010425210445" -->
|
||
|
<!-- name="Marcel Pol" -->
|
||
|
<!-- email="mpol@gmx.net" -->
|
||
|
<!-- subject="Re: Microtek scanner not working anymore" -->
|
||
|
<!-- id="XFMail.010425230445.mpol@gmx.net" -->
|
||
|
<!-- inreplyto="3AE7375B.5132E2C1@t-online.de" -->
|
||
|
<STRONG>From:</STRONG> Marcel Pol (<A HREF="mailto:mpol@gmx.net?Subject=Re:%20Microtek%20scanner%20not%20working%20anymore&In-Reply-To=<XFMail.010425230445.mpol@gmx.net>"><EM>mpol@gmx.net</EM></A>)<BR>
|
||
|
<STRONG>Date:</STRONG> Wed Apr 25 2001 - 14:04:45 PDT
|
||
|
<P>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0268.html">Karl Heinz Kremer: "Re: EPSON 640U"</A>
|
||
|
<UL>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0266.html">Oliver Rauch: "xsane-0.76 released"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0265.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0271.html">karsten.festag@t-online.de: "Re: Microtek scanner not working anymore"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#267">[ date ]</A>
|
||
|
<A HREF="index.html#267">[ thread ]</A>
|
||
|
<A HREF="subject.html#267">[ subject ]</A>
|
||
|
<A HREF="author.html#267">[ author ]</A>
|
||
|
</UL>
|
||
|
<HR NOSHADE><P>
|
||
|
<!-- body="start" -->
|
||
|
<P>
|
||
|
On 25-Apr-01 Karsten Festag wrote:
|
||
|
<BR>
|
||
|
<EM>> I don't know if it's related, but I a few days ago I read here about
|
||
|
</EM><BR>
|
||
|
<EM>> timeout problems whith SANE-1.0.4. Did you try to apply this patch?
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> --- sane-backends-1.0.4/sanei/sanei_scsi.c.orig Wed Jan 10 01:41:09
|
||
|
</EM><BR>
|
||
|
<EM>> 2001
|
||
|
</EM><BR>
|
||
|
<EM>> +++ sane-backends-1.0.4/sanei/sanei_scsi.c Wed Jan 10 01:41:13 2001
|
||
|
</EM><BR>
|
||
|
<EM>> @@ -1890,7 +1890,7 @@
|
||
|
</EM><BR>
|
||
|
<EM>> (const void*) req->sgdata.sg3.hdr.cmdp = cmd;
|
||
|
</EM><BR>
|
||
|
<EM>> req->sgdata.sg3.hdr.sbp = &(req->sgdata.sg3.sense_buffer[0]);
|
||
|
</EM><BR>
|
||
|
<EM>> /* 10 seconds should be ok even for slow scanners */
|
||
|
</EM><BR>
|
||
|
<EM>> - req->sgdata.sg3.hdr.timeout = 10000;
|
||
|
</EM><BR>
|
||
|
<EM>> + req->sgdata.sg3.hdr.timeout = 10 * 60 * 1000;
|
||
|
</EM><BR>
|
||
|
<EM>> req->sgdata.sg3.hdr.flags = SG_FLAG_DIRECT_IO;
|
||
|
</EM><BR>
|
||
|
<EM>> req->sgdata.sg3.hdr.pack_id = pack_id++;
|
||
|
</EM><BR>
|
||
|
<EM>> req->sgdata.sg3.hdr.usr_ptr = 0;
|
||
|
</EM><BR>
|
||
|
<P>Yes, it is applied.
|
||
|
<BR>
|
||
|
Seems that didn't help for me.
|
||
|
<BR>
|
||
|
<P>I have a few options I could try.
|
||
|
<BR>
|
||
|
1. Use an old kernel, and an older version of Sane, see how that works
|
||
|
<BR>
|
||
|
out.
|
||
|
<BR>
|
||
|
2. I could Freebsd here, and see if I can get it going then.
|
||
|
<BR>
|
||
|
Maybe i can then get wiser about if it is sane or the kernel.
|
||
|
<BR>
|
||
|
<P>The stupid thing is, when moving it to another machine it stopped
|
||
|
<BR>
|
||
|
working, and moving it back didn't help. So there wasn't a real excuse
|
||
|
<BR>
|
||
|
for the scanner to stop working.
|
||
|
<BR>
|
||
|
<P>Reading your answer, I assume you don't have an idea how to deal with it
|
||
|
<BR>
|
||
|
:-)
|
||
|
<BR>
|
||
|
Then I guess I'm gonna have to try some of the options to see if that
|
||
|
<BR>
|
||
|
gives anything.
|
||
|
<BR>
|
||
|
<P>Greetings,
|
||
|
<BR>
|
||
|
Marcel Pol
|
||
|
<BR>
|
||
|
<P><P><EM>> Marcel Pol wrote:
|
||
|
</EM><BR>
|
||
|
<EM>>> I'm using a Microtek scanner with Sane, but for some time now it's not
|
||
|
</EM><BR>
|
||
|
<EM>>> working.
|
||
|
</EM><BR>
|
||
|
<EM>>> The change happened when I attached the (working) scanner to another
|
||
|
</EM><BR>
|
||
|
<EM>>> computer. There it didn't work, and when I put it back it still
|
||
|
</EM><BR>
|
||
|
<EM>>> doesn't work.
|
||
|
</EM><BR>
|
||
|
<EM>>> The kernel recognizes it (cdrecord -scanbus).
|
||
|
</EM><BR>
|
||
|
<EM>>> 1,6,0 106) ' ' 'Scanner 600A4 ' '2.21' Scanner
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> When I turn on debugging for the Microtek2 backend it spits out the
|
||
|
</EM><BR>
|
||
|
<EM>>> right messages.
|
||
|
</EM><BR>
|
||
|
<EM>>> After that, the scanner just hangs.
|
||
|
</EM><BR>
|
||
|
<EM>>> Well, it sounds like it tries to scan, while it seems in desperate
|
||
|
</EM><BR>
|
||
|
<EM>>> need of a few drops of oil.
|
||
|
</EM><BR>
|
||
|
<EM>>> When I Ctrl-C sane, and check the scanner with cdrecord -scanbus, I
|
||
|
</EM><BR>
|
||
|
<EM>>> get this back:
|
||
|
</EM><BR>
|
||
|
<EM>>> 1,6,0 106) '' '' '' NON CCS Disk
|
||
|
</EM><BR>
|
||
|
<EM>>> When I turn it off and on, I get the original kernel message, but
|
||
|
</EM><BR>
|
||
|
<EM>>> further there's no change.
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> Some time ago, with maybe a 2.4.0 linux kernel (now 2.4.3) it quit
|
||
|
</EM><BR>
|
||
|
<EM>>> after some time, while saying "device busy".
|
||
|
</EM><BR>
|
||
|
<EM>>> If I turned of the scanner while it was hanging I did get the same
|
||
|
</EM><BR>
|
||
|
<EM>>> error.
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> I'm using a Microtek2 scanner with a BusLogic BT930 scsi card.
|
||
|
</EM><BR>
|
||
|
<EM>>> I'm using Sane 1.0.4 with linux 2.4.3
|
||
|
</EM><BR>
|
||
|
<EM>>> I installed Windows, and it functions there without a problem.
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> I suspect the backend of Sane, or the BusLogic driver.
|
||
|
</EM><BR>
|
||
|
<EM>>> I heard some people about data corruption on a BusLogic scsi card, but
|
||
|
</EM><BR>
|
||
|
<EM>>> I wouldn't know if that relates to my problem.
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> I hope this is enough information provided, and that there is a fix
|
||
|
</EM><BR>
|
||
|
<EM>>> for this.
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> Debug Messages:
|
||
|
</EM><BR>
|
||
|
<EM>>> export SANE_DEBUG_MICROTEK2=128
|
||
|
</EM><BR>
|
||
|
<EM>>> xsane
|
||
|
</EM><BR>
|
||
|
<EM>> .....
|
||
|
</EM><BR>
|
||
|
<EM>>> [microtek2] scsi_wait_for_image: ms=0x81283c0
|
||
|
</EM><BR>
|
||
|
<EM>>> [microtek2] scsi_read_image_status: ms=0x81283c0
|
||
|
</EM><BR>
|
||
|
<EM>>>
|
||
|
</EM><BR>
|
||
|
<EM>>> And here it hangs.
|
||
|
</EM><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?Subject=Re:%20Microtek%20scanner%20not%20working%20anymore&In-Reply-To=<XFMail.010425230445.mpol@gmx.net>">majordomo@mostang.com</A>
|
||
|
</PRE>
|
||
|
<P><!-- body="end" -->
|
||
|
<HR NOSHADE>
|
||
|
<UL>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0268.html">Karl Heinz Kremer: "Re: EPSON 640U"</A>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0266.html">Oliver Rauch: "xsane-0.76 released"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0265.html">Karsten Festag: "Re: Microtek scanner not working anymore"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0271.html">karsten.festag@t-online.de: "Re: Microtek scanner not working anymore"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#267">[ date ]</A>
|
||
|
<A HREF="index.html#267">[ thread ]</A>
|
||
|
<A HREF="subject.html#267">[ subject ]</A>
|
||
|
<A HREF="author.html#267">[ 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 Apr 25 2001 - 14:04:48 PDT</EM>
|
||
|
</EM>
|
||
|
</SMALL>
|
||
|
</BODY>
|
||
|
</HTML>
|