sane-project-website/old-archive/2000-12/0078.html

146 wiersze
5.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: Sg devices on Mac hardware.</TITLE>
<META NAME="Author" CONTENT="Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)">
<META NAME="Subject" CONTENT="Re: Sg devices on Mac hardware.">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Sg devices on Mac hardware.</H1>
<!-- received="Sat Dec 9 00:54:31 2000" -->
<!-- isoreceived="20001209085431" -->
<!-- sent="Sat, 9 Dec 2000 09:49:20 +0100" -->
<!-- isosent="20001209084920" -->
<!-- name="Oliver Neukum" -->
<!-- email="Oliver.Neukum@lrz.uni-muenchen.de" -->
<!-- subject="Re: Sg devices on Mac hardware." -->
<!-- id="00120909564300.00462@ghanima" -->
<!-- inreplyto="3A318292.5B34EADF@mac.com" -->
<STRONG>From:</STRONG> Oliver Neukum (<A HREF="mailto:Oliver.Neukum@lrz.uni-muenchen.de?Subject=Re:%20Sg%20devices%20on%20Mac%20hardware.&In-Reply-To=&lt;00120909564300.00462@ghanima&gt;"><EM>Oliver.Neukum@lrz.uni-muenchen.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Dec 09 2000 - 00:49:20 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0079.html">Henning Meier-Geinitz: "Re: Mustek 600 II EP support ?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0077.html">Oliver Rauch: "Re: Sg devices on Mac hardware."</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0075.html">Jerry Fritschle: "Re: Sg devices on Mac hardware."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0086.html">Nick Lamb: "Re: Sg devices on Mac hardware."</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0036.html">Oliver Rauch: "Re: Sg devices on Mac hardware."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#78">[ date ]</A>
<A HREF="index.html#78">[ thread ]</A>
<A HREF="subject.html#78">[ subject ]</A>
<A HREF="author.html#78">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; the debug script gave me 'no such device' failure. /dev/scanner is linked to
</EM><BR>
<EM>&gt; /dev/sga, and both appear in /usr/local/etc/sane.d/umax.conf.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Again, the scanner shows up in cat /proc/scsi/scsi, and also on the boot screens.
</EM><BR>
<EM>&gt; I should also mention that I have a removable SCSI drive ( /dev/sda4) that is
</EM><BR>
<EM>&gt; working properly. It is on the scsi chain right after the scanner. I don't see a
</EM><BR>
<EM>&gt; syslog entry for a scsi controller.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have the file sg.c in /usr/src/linux-2.2.14/drivers/scsi/ . Also sg.h exists
</EM><BR>
<EM>&gt; in both /usr/src/linux-2.214/include/scsi and in /usr/include/scsi. Is the
</EM><BR>
<EM>&gt; problem that these have not been compiled? (Puts on flame-proof suit in case this
</EM><BR>
<EM>&gt; is a stupid question).
</EM><BR>
<P>That is a reason that would result in a failure you describe.
<BR>
<P>You need to check 'cat/proc/scsi/scsi'
<BR>
<P>It should like similar to this:
<BR>
<P>oliver@ghanima:/proc/scsi/sg &gt; cat /proc/scsi/scsi
<BR>
Attached devices:
<BR>
Host: scsi0 Channel: 00 Id: 01 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.09
<BR>
&nbsp;&nbsp;Type: CD-ROM ANSI SCSI revision: 02
<BR>
Host: scsi0 Channel: 00 Id: 02 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: ARCHIVE Model: Python 27871-XXX Rev: 1214
<BR>
&nbsp;&nbsp;Type: Sequential-Access ANSI SCSI revision: 02
<BR>
Host: scsi0 Channel: 00 Id: 03 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: YAMAHA Model: CRW8424S Rev: 1.0f
<BR>
&nbsp;&nbsp;Type: CD-ROM ANSI SCSI revision: 02
<BR>
Host: scsi1 Channel: 00 Id: 00 Lun: 00
<BR>
&nbsp;&nbsp;Vendor: Model: Scanner 636A4 Rev: 1.50
<BR>
&nbsp;&nbsp;Type: Scanner ANSI SCSI revision: 02
<BR>
<P>Then you need to make sure that your scanner is really sga.
<BR>
sga is the first device listed. My scanner for example is sgd.
<BR>
<P>Then you can check whether the sg driver is loaded with
<BR>
'cat /proc/modules'
<BR>
If it isn't load it 'modprobe sg_mod' (yoi need to be root)
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HTH
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Oliver
<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:%20Sg%20devices%20on%20Mac%20hardware.&In-Reply-To=&lt;00120909564300.00462@ghanima&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0079.html">Henning Meier-Geinitz: "Re: Mustek 600 II EP support ?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0077.html">Oliver Rauch: "Re: Sg devices on Mac hardware."</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0075.html">Jerry Fritschle: "Re: Sg devices on Mac hardware."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0086.html">Nick Lamb: "Re: Sg devices on Mac hardware."</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0036.html">Oliver Rauch: "Re: Sg devices on Mac hardware."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#78">[ date ]</A>
<A HREF="index.html#78">[ thread ]</A>
<A HREF="subject.html#78">[ subject ]</A>
<A HREF="author.html#78">[ 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>Sat Dec 09 2000 - 00:56:27 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>