sane-project-website/old-archive/2001-02/0180.html

144 wiersze
6.2 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: Snapscan SCSI 1236s + aha152x + linux 2.4.0 = probl</TITLE>
<META NAME="Author" CONTENT="anvil@amin.unice.fr (anvil@amin.unice.fr)">
<META NAME="Subject" CONTENT="Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem</H1>
<!-- received="Mon Feb 19 16:48:58 2001" -->
<!-- isoreceived="20010220004858" -->
<!-- sent="Tue, 20 Feb 2001 01:57:47 +0100" -->
<!-- isosent="20010220005747" -->
<!-- name="anvil@amin.unice.fr" -->
<!-- email="anvil@amin.unice.fr" -->
<!-- subject="Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem" -->
<!-- id="200102200057.f1K0vlt01657@gruyere.ath.cx" -->
<STRONG>From:</STRONG> <A HREF="mailto:anvil@amin.unice.fr?Subject=Re:%20Snapscan%20SCSI%201236s%20%2B%20aha152x%20%2B%20linux%202.4.0%20=%20problem&In-Reply-To=&lt;200102200057.f1K0vlt01657@gruyere.ath.cx&gt;"><EM>anvil@amin.unice.fr</EM></A><BR>
<STRONG>Date:</STRONG> Mon Feb 19 2001 - 16:57:47 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0181.html">jhall+sane-devel@UU.NET: "Re: HP5300C - USB-problems?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0179.html">Oliver Neukum: "Re: HP5300C - USB-problems?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0182.html">Douglas Gilbert: "Re: Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0182.html">Douglas Gilbert: "Re: Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#180">[ date ]</A>
<A HREF="index.html#180">[ thread ]</A>
<A HREF="subject.html#180">[ subject ]</A>
<A HREF="author.html#180">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello.
<BR>
I did check the archive for this problem and some people said it had
<BR>
worked after but..
<BR>
I did patch linux-2.4.0 aha152x driver with this :
<BR>
<P><P>@@ -932,6 +936,8 @@
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printk(KERN_ERR &quot;aha152x%d: catched software interrupt for unknown controller.\n&quot;, HOSTNO);
<BR>
&nbsp;
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HOSTDATA(shpnt)-&gt;swint++;
<BR>
+
<BR>
+ SETPORT(DMACNTRL0, INTEN);
<BR>
&nbsp;}
<BR>
&nbsp;
<BR>
&nbsp;
<BR>
@@ -1274,7 +1280,7 @@
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SETPORT(SIMODE0, 0);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SETPORT(SIMODE1, 0);
<BR>
&nbsp;
<BR>
- ok = request_irq(shpnt-&gt;irq, swintr, SA_INTERRUPT, &quot;aha152x&quot;, shpnt);
<BR>
+ ok = request_irq(shpnt-&gt;irq, swintr, SA_INTERRUPT|SA_SHIRQ, &quot;aha152x&quot;, shpnt);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device, but when i try to acquire a
<BR>
preview, lots of &quot;(scsi0:2:0) no buffers left for 128(128) bytes (data
<BR>
overrun!?)&quot; appears in dmesg command..
<BR>
<P>I don't know how to make work this scanner anymore since if i reboot in
<BR>
2.2.1x kernel there's no problems. Could you please help me ?
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dams
<BR>
<P><PRE>
--
Dams Nad<61>
DEA Informatique : <A HREF="mailto:anvil@amin.unice.fr?Subject=Re:%20Snapscan%20SCSI%201236s%20%2B%20aha152x%20%2B%20linux%202.4.0%20=%20problem&In-Reply-To=&lt;200102200057.f1K0vlt01657@gruyere.ath.cx&gt;">anvil@amin.unice.fr</A>
Association AMIN : <A HREF="http://amin.unice.fr/">http://amin.unice.fr/</A>
Irc Operator : Anvil on IrcNet.Eurecom.Fr
<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:%20Snapscan%20SCSI%201236s%20%2B%20aha152x%20%2B%20linux%202.4.0%20=%20problem&In-Reply-To=&lt;200102200057.f1K0vlt01657@gruyere.ath.cx&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0181.html">jhall+sane-devel@UU.NET: "Re: HP5300C - USB-problems?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0179.html">Oliver Neukum: "Re: HP5300C - USB-problems?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0182.html">Douglas Gilbert: "Re: Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0182.html">Douglas Gilbert: "Re: Snapscan SCSI 1236s + aha152x + linux 2.4.0 = problem"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#180">[ date ]</A>
<A HREF="index.html#180">[ thread ]</A>
<A HREF="subject.html#180">[ subject ]</A>
<A HREF="author.html#180">[ 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>Mon Feb 19 2001 - 16:54:24 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>