sane-project-website/old-archive/2001-06/0306.html

270 wiersze
9.7 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: snapscan and aic7xxx driver don't work together</TITLE>
<META NAME="Author" CONTENT="DStevenson (tech@dgssoftware.co.uk)">
<META NAME="Subject" CONTENT="Re: snapscan and aic7xxx driver don't work together">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: snapscan and aic7xxx driver don't work together</H1>
<!-- received="Wed Jun 27 11:34:43 2001" -->
<!-- isoreceived="20010627183443" -->
<!-- sent="Wed, 27 Jun 2001 19:38:31 -0400" -->
<!-- isosent="20010627233831" -->
<!-- name="DStevenson" -->
<!-- email="tech@dgssoftware.co.uk" -->
<!-- subject="Re: snapscan and aic7xxx driver don't work together" -->
<!-- id="01062719383100.01346@bristol.dgssoftware.co.uk" -->
<!-- inreplyto="3B39D6D2.9070802@silverfields.com" -->
<STRONG>From:</STRONG> DStevenson (<A HREF="mailto:tech@dgssoftware.co.uk?Subject=Re:%20snapscan%20and%20aic7xxx%20driver%20don't%20work%20together&In-Reply-To=&lt;01062719383100.01346@bristol.dgssoftware.co.uk&gt;"><EM>tech@dgssoftware.co.uk</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Jun 27 2001 - 16:38:31 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0307.html">John Coppens: "Re: Small bug in XSane"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0305.html">Simon Schulz: "HP ScanJet 3300C"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0299.html">Timothy Reaves: "Re: snapscan and aic7xxx driver don't work together"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0283.html">Oliver Rauch: "Re: snapscan and aic7xxx driver don't work together"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#306">[ date ]</A>
<A HREF="index.html#306">[ thread ]</A>
<A HREF="subject.html#306">[ subject ]</A>
<A HREF="author.html#306">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
On Wednesday 27 June 2001 08:51, Timothy Reaves wrote:
<BR>
<EM>&gt; Ben Stanley wrote:
</EM><BR>
<EM>&gt; &gt; Steffen Kluge wrote:
</EM><BR>
<EM>&gt; &gt;&gt;On Wed, Jun 27, 2001 at 11:53:46AM +1000, Ben Stanley wrote:
</EM><BR>
<EM>&gt; &gt;&gt;&gt;Unfortunately, the aic7xxx_old driver is no longer supported, so I hope
</EM><BR>
<EM>&gt; &gt;&gt;&gt; the aic7xxx driver is fixed soon. I'll email the author.
</EM><BR>
<EM>&gt; &gt;&gt;
</EM><BR>
<EM>&gt; &gt;&gt;I thought the author was Adaptec, sort of. Wasn't that the reason
</EM><BR>
<EM>&gt; &gt;&gt;to phase out the old driver?
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; In the course of trying to solve the problem, I did a bit of reading
</EM><BR>
<EM>&gt; &gt; around... this message was the one that gave me an idea on how to fix it.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; <A HREF="http://uwsg.iu.edu/hypermail/linux/kernel/0104.1/0202.html">http://uwsg.iu.edu/hypermail/linux/kernel/0104.1/0202.html</A>
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; The maintainer of the adaptec scsi driver is Justin Gibbs, who actually
</EM><BR>
<EM>&gt; &gt; started writing the drivers for BSD, then handed the project over to Doug
</EM><BR>
<EM>&gt; &gt; Ledford. Justin was recently employed by Adaptec to take the drivers back
</EM><BR>
<EM>&gt; &gt; and re-write them. So it seems that Adaptec wants to support these
</EM><BR>
<EM>&gt; &gt; drivers.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; <A HREF="http://opensource.adaptec.com">http://opensource.adaptec.com</A>
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; I emailed Justin about the problems but so far I haven't heard back. I
</EM><BR>
<EM>&gt; &gt; should probably mail to the linux kernel mailing list.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Ben.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I've been having great problems with the new aic drivers in the 2.4.x
</EM><BR>
<EM>&gt; kernel and my scanner. This particular scanner is a Polariod SprintScan
</EM><BR>
<EM>&gt; 35+ which sane does not support. I use vuescan with it (and sane for my
</EM><BR>
<EM>&gt; HP IIIc).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; In contacting the aic mailing list, they insist that the problems I have
</EM><BR>
<EM>&gt; are related to my software. The author of the software took debugging
</EM><BR>
<EM>&gt; logs of the old driver, and the new driver, and gave me a report of the
</EM><BR>
<EM>&gt; differences. When I presented this to the aic mailing list, they didn't
</EM><BR>
<EM>&gt; give it any attention.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; So my point is this: the old driver works (I can still boot 2.2.18 and
</EM><BR>
<EM>&gt; use my scaner), but the new driver seems to have some real problems.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20snapscan%20and%20aic7xxx%20driver%20don't%20work%20together&In-Reply-To=&lt;01062719383100.01346@bristol.dgssoftware.co.uk&gt;">majordomo@mostang.com</A>
</EM><BR>
<P>Hi,
<BR>
<P>I have just rmoved the aic7xxx and inserted the aic7xxx_old driver. I also
<BR>
have the SC driver installed. All is now working fine and results are
<BR>
repeatable.
<BR>
<P>What I have done:
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Downloaded the latest SG driver and un-tar into kernel tree.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;make modules modules_install
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reboot
<BR>
<P>now when i boot, as root,
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;modprobe scsi_hostadapter
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lsmod
<BR>
<P>&nbsp;&nbsp;Module Size Used by
<BR>
&nbsp;&nbsp;aic7xxx_old 114800 0 (unused)
<BR>
&nbsp;&nbsp;parport_pc 23024 1 (autoclean)
<BR>
&nbsp;&nbsp;lp 5296 0 (autoclean)
<BR>
&nbsp;&nbsp;parport 24576 1 (autoclean) [parport_pc lp]
<BR>
&nbsp;&nbsp;sb 7136 0 (unused)
<BR>
&nbsp;&nbsp;sb_lib 33120 0 [sb]
<BR>
&nbsp;&nbsp;uart401 6224 0 [sb_lib]
<BR>
&nbsp;&nbsp;sound 54256 0 [sb_lib uart401]
<BR>
&nbsp;&nbsp;soundcore 3504 4 [sb_lib sound]
<BR>
&nbsp;&nbsp;8139too 11696 1 (autoclean)
<BR>
&nbsp;&nbsp;supermount 32464 4 (autoclean)
<BR>
&nbsp;&nbsp;sd_mod 11048 0 (unused)
<BR>
&nbsp;&nbsp;scsi_mod 86036 2 [aic7xxx_old sd_mod]
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rmmod aic7xxx
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insmod aic7xxx_old
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scanimage -T --mode color ( finished OK)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lsmod
<BR>
<P>&nbsp;&nbsp;&nbsp;
<BR>
&nbsp;&nbsp;&nbsp;Module Size Used by
<BR>
&nbsp;&nbsp;&nbsp;sg 25328 1 (autoclean)
<BR>
&nbsp;&nbsp;&nbsp;aic7xxx_old 114800 1
<BR>
&nbsp;&nbsp;&nbsp;parport_pc 23024 1 (autoclean)
<BR>
&nbsp;&nbsp;&nbsp;lp 5296 0 (autoclean)
<BR>
&nbsp;&nbsp;&nbsp;parport 24576 1 (autoclean) [parport_pc lp]
<BR>
&nbsp;&nbsp;&nbsp;sb 7136 0 (unused)
<BR>
&nbsp;&nbsp;&nbsp;sb_lib 33120 0 [sb]
<BR>
&nbsp;&nbsp;&nbsp;uart401 6224 0 [sb_lib]
<BR>
&nbsp;&nbsp;&nbsp;sound 54256 0 [sb_lib uart401]
<BR>
&nbsp;&nbsp;&nbsp;soundcore 3504 4 [sb_lib sound]
<BR>
&nbsp;&nbsp;&nbsp;8139too 11696 1 (autoclean)
<BR>
&nbsp;&nbsp;&nbsp;supermount 32464 4 (autoclean)
<BR>
&nbsp;&nbsp;&nbsp;sd_mod 11048 0 (unused)
<BR>
&nbsp;&nbsp;&nbsp;scsi_mod 86036 3 [sg aic7xxx_old sd_mod]
<BR>
<P><P>I don't know how to do this automatically on boot, but I edited the
<BR>
/etc/modules.conf by chaning the aic7xxx entry to aic7xxx_old and the box
<BR>
decided not to get past the 'detecting new hardware' prompt. I had to edit
<BR>
the file back again for the box to boot OK.
<BR>
<P>Maybe someone could explain what to do?
<BR>
<P>I hope this email may help someone else who has the problems I have had and
<BR>
thanks to all who made suggestions.
<BR>
<P>David.
<BR>
<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:%20snapscan%20and%20aic7xxx%20driver%20don't%20work%20together&In-Reply-To=&lt;01062719383100.01346@bristol.dgssoftware.co.uk&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0307.html">John Coppens: "Re: Small bug in XSane"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0305.html">Simon Schulz: "HP ScanJet 3300C"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0299.html">Timothy Reaves: "Re: snapscan and aic7xxx driver don't work together"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0283.html">Oliver Rauch: "Re: snapscan and aic7xxx driver don't work together"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#306">[ date ]</A>
<A HREF="index.html#306">[ thread ]</A>
<A HREF="subject.html#306">[ subject ]</A>
<A HREF="author.html#306">[ 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 Jun 27 2001 - 11:37:43 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>