kopia lustrzana https://gitlab.com/sane-project/website
180 wiersze
6.4 KiB
HTML
180 wiersze
6.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: man page sane-scsi</TITLE>
|
|
<META NAME="Author" CONTENT="Douglas Gilbert (dgilbert@interlog.com)">
|
|
<META NAME="Subject" CONTENT="Re: man page sane-scsi">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: man page sane-scsi</H1>
|
|
<!-- received="Wed Jul 26 20:48:00 2000" -->
|
|
<!-- isoreceived="20000727034800" -->
|
|
<!-- sent="Wed, 26 Jul 2000 23:58:29 -0400" -->
|
|
<!-- isosent="20000727035829" -->
|
|
<!-- name="Douglas Gilbert" -->
|
|
<!-- email="dgilbert@interlog.com" -->
|
|
<!-- subject="Re: man page sane-scsi" -->
|
|
<!-- id="397FB365.E9729EC7@interlog.com" -->
|
|
<!-- inreplyto="397F78E4.B8A9ED13@uniserve.com" -->
|
|
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20man%20page%20sane-scsi&In-Reply-To=<397FB365.E9729EC7@interlog.com>"><EM>dgilbert@interlog.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed Jul 26 2000 - 20:58:29 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0224.html">Paul Nixon: "Acer620UT"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0222.html">Chris Pinkham: "Re: TODO for 1.0.3"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0220.html">Bob van der Poel: "man page sane-scsi"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0231.html">Bob van der Poel: "Re: man page sane-scsi"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0219.html">Christophe Thommeret: "Re: Resetting HP scanners"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0231.html">Bob van der Poel: "Re: man page sane-scsi"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#223">[ date ]</A>
|
|
<A HREF="index.html#223">[ thread ]</A>
|
|
<A HREF="subject.html#223">[ subject ]</A>
|
|
<A HREF="author.html#223">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Bob van der Poel wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> 1. Just a comment on this page. In the linux section it talks about
|
|
</EM><BR>
|
|
<EM>> scanners not being turned on at boot/powerup and using the line:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> echo "scsi add-single-device 2 0 5 0" > /proc/scsi/scsi
|
|
</EM><BR>
|
|
<P>Works for me. Assuming the aha152x is the only SCSI adapter
|
|
<BR>
|
|
in your system then that "2" above should be a "0".
|
|
<BR>
|
|
<P><EM>> I've not been able to get this to work. However, simply doing something
|
|
</EM><BR>
|
|
<EM>> like:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> modprobe /lib/modules/...path to scsi mods/aha152x.o
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> works perfectly. Might want to add this to the docs.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> 2. Now, can someone help with this....I never needed to do the above
|
|
</EM><BR>
|
|
<EM>> until just recently when I added cd-burner using the pseudo=scsi driver.
|
|
</EM><BR>
|
|
<EM>> I have the following in my /etc/conf.modules:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> alias scsi_hostadapter aha152x
|
|
</EM><BR>
|
|
<EM>> post-install sg modprobe aha152x
|
|
</EM><BR>
|
|
<EM>> options aha152x aha152x=0x140,9
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> and I'm thinking that I need to change it.
|
|
</EM><BR>
|
|
<P>Assuming its an IDE cdwriter and you're using the ide-scsi pseudo
|
|
<BR>
|
|
driver then you shouldn't need to anything with those lines
|
|
<BR>
|
|
in /etc/conf.modules .
|
|
<BR>
|
|
<P>You may need to convince the IDE subsystem not to take control
|
|
<BR>
|
|
of the cd writer. This can be done by:
|
|
<BR>
|
|
- not building in the ide-cd driver
|
|
<BR>
|
|
- building in that driver and putting a line like this into lilo:
|
|
<BR>
|
|
append="hdb=ide-scsi"
|
|
<BR>
|
|
- build the ide-cd driver as a module and if it must be loaded
|
|
<BR>
|
|
(e.g. to control another cd reader) then invoke it like this:
|
|
<BR>
|
|
modprobe ide-cd ignore=hdb
|
|
<BR>
|
|
<P>[N.B. In the forthcoming lk 2.4 that append in the second bullet
|
|
<BR>
|
|
changes to: append="hdb=scsi" ]
|
|
<BR>
|
|
<P><EM>> But, I don't see what?? Oh,
|
|
</EM><BR>
|
|
<EM>> should the 'sg' be changed to the 'sgb' since this is now my scanner
|
|
</EM><BR>
|
|
<EM>> device? I really don't understand this entire sg* stuff...I was under
|
|
</EM><BR>
|
|
<EM>> the impression that the whole works was supposed to be dynamic, but here
|
|
</EM><BR>
|
|
<EM>> I am still manually setting things up. Had to set the cdrom to use
|
|
</EM><BR>
|
|
<EM>> 'sga'...
|
|
</EM><BR>
|
|
<P>No, don't change 'sg' to 'sgb'
|
|
<BR>
|
|
<P>Look at the output of 'cat /proc/scsi/scsi'. The order that devices
|
|
<BR>
|
|
appear there is the same order sg allocates device numbers (i.e.
|
|
<BR>
|
|
sg0, sg1 ...) or the now deprecated driver letters (i.e. sga, sgb ...).
|
|
<BR>
|
|
If the ide-scsi and aha152x drivers are modules (which seems to
|
|
<BR>
|
|
be the case) then by controlling the order of the module loads
|
|
<BR>
|
|
then you will control which device is sg0 and sg1 .
|
|
<BR>
|
|
<P>Clear?
|
|
<BR>
|
|
<P>Doug Gilbert
|
|
<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:%20man%20page%20sane-scsi&In-Reply-To=<397FB365.E9729EC7@interlog.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0224.html">Paul Nixon: "Acer620UT"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0222.html">Chris Pinkham: "Re: TODO for 1.0.3"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0220.html">Bob van der Poel: "man page sane-scsi"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0231.html">Bob van der Poel: "Re: man page sane-scsi"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0219.html">Christophe Thommeret: "Re: Resetting HP scanners"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0231.html">Bob van der Poel: "Re: man page sane-scsi"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#223">[ date ]</A>
|
|
<A HREF="index.html#223">[ thread ]</A>
|
|
<A HREF="subject.html#223">[ subject ]</A>
|
|
<A HREF="author.html#223">[ 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 26 2000 - 20:50:31 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|