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

248 wiersze
8.3 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: No /dev/sg*, no scanner found, with Linux 2.4.1</TITLE>
<META NAME="Author" CONTENT="Damon McGraw (damon@watchland.org)">
<META NAME="Subject" CONTENT="Re: No /dev/sg*, no scanner found, with Linux 2.4.1">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: No /dev/sg*, no scanner found, with Linux 2.4.1</H1>
<!-- received="Thu Feb 15 18:52:06 2001" -->
<!-- isoreceived="20010216025206" -->
<!-- sent="Thu, 15 Feb 2001 22:01:22 -0500" -->
<!-- isosent="20010216030122" -->
<!-- name="Damon McGraw" -->
<!-- email="damon@watchland.org" -->
<!-- subject="Re: No /dev/sg*, no scanner found, with Linux 2.4.1" -->
<!-- id="20010215220122.A23118@watchland.org" -->
<!-- inreplyto="3A8C8698.3090409@home.com" -->
<STRONG>From:</STRONG> Damon McGraw (<A HREF="mailto:damon@watchland.org?Subject=Re:%20No%20/dev/sg*,%20no%20scanner%20found,%20with%20Linux%202.4.1&In-Reply-To=&lt;20010215220122.A23118@watchland.org&gt;"><EM>damon@watchland.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Feb 15 2001 - 19:01:22 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0157.html">Mick Barry: "Resetting scan are options tlx,tly,brx,bry"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0155.html">David M. Anderson: "No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0155.html">David M. Anderson: "No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0168.html">David M. Anderson: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0158.html">abel deuring: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0168.html">David M. Anderson: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#156">[ date ]</A>
<A HREF="index.html#156">[ thread ]</A>
<A HREF="subject.html#156">[ subject ]</A>
<A HREF="author.html#156">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
You need to create the SCSI generic nodes in /dev.
<BR>
try:
<BR>
cd /dev
<BR>
MAKEDEV sg
<BR>
<P>hope that helps,
<BR>
Damon
<BR>
<P>++ 15/02/01 17:47 -0800 - David M. Anderson:
<BR>
<EM>&gt; SANE doesn't seem to find my scanner, but I don't think the problem is
</EM><BR>
<EM>&gt; really with SANE. Nevertheless, this seems to be a good place to ask
</EM><BR>
<EM>&gt; about scanners and Linux. Perhaps someone can help me.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Running Debian GNU/Linux 2.2, with a compiled 2.4.1 kernel. Among other
</EM><BR>
<EM>&gt; things, SCSI generic support is enabled.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Possibly relevant portions of output from &quot;dmesg&quot;:
</EM><BR>
<EM>&gt; CPU: Intel Pentium II (Deschutes) stepping 02
</EM><BR>
<EM>&gt; Board Vendor: ASUSTeK Computer INC..
</EM><BR>
<EM>&gt; Board Name: P2L97-S.
</EM><BR>
<EM>&gt; Board Version: REV 1.xx.
</EM><BR>
<EM>&gt; SCSI subsystem driver Revision: 1.00
</EM><BR>
<EM>&gt; PCI: Found IRQ 9 for device 00:06.0
</EM><BR>
<EM>&gt; PCI: The same IRQ used for device 00:04.2
</EM><BR>
<EM>&gt; (scsi0) &lt;Adaptec AIC-7880 Ultra SCSI host adapter&gt; found at PCI 0/6/0
</EM><BR>
<EM>&gt; (scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
</EM><BR>
<EM>&gt; (scsi0) Downloading sequencer code... 422 instructions downloaded
</EM><BR>
<EM>&gt; scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.1/5.2.0
</EM><BR>
<EM>&gt; &lt;Adaptec AIC-7880 Ultra SCSI host adapter&gt;
</EM><BR>
<EM>&gt; Vendor: UMAX Model: Astra 1200S Rev: V2.6
</EM><BR>
<EM>&gt; Type: Scanner ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; Detected scsi generic sg3 at scsi0, channel 0, id 6, lun 0, type 6
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; /proc/scsi/scsi includes:
</EM><BR>
<EM>&gt; Host: scsi0 Channel: 00 Id: 06 Lun: 00
</EM><BR>
<EM>&gt; Vendor: UMAX Model: Astra 1200S Rev: V2.6
</EM><BR>
<EM>&gt; Type: Scanner ANSI SCSI revision: 02
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; /proc/scsi/sg/device_hdr:
</EM><BR>
<EM>&gt; host chan id lun type bopens qdepth busy
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; /proc/scsi/sg/devices includes:
</EM><BR>
<EM>&gt; 0 0 6 0 6 0 3 0
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; (I also three other SCSI devices, a Zip drive, Jaz drive, and CD-R, on
</EM><BR>
<EM>&gt; IDs 3, 4, and 5, but they seem to be working fine.)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; So it seems clear that the UMAX scanner is detected by the kernel, and
</EM><BR>
<EM>&gt; classified correctly as a scanner, sg3 in particular.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; /etc/sane.d/umax.conf:
</EM><BR>
<EM>&gt; scsi UMAX * Scanner
</EM><BR>
<EM>&gt; scsi LinoHell Office
</EM><BR>
<EM>&gt; scsi LinoHell Office2
</EM><BR>
<EM>&gt; scsi LinoHell SAPHIR2
</EM><BR>
<EM>&gt; scsi Nikon AX-210
</EM><BR>
<EM>&gt; /dev/scanner
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; /usr/lib/sane contains libsane-umax.so.1.0.1 (libsane-umax.so.1 links to
</EM><BR>
<EM>&gt; this).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On the other hand:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; $ ls /dev/sg*
</EM><BR>
<EM>&gt; ls: /dev/sg*: No such file or directory
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; $ sudo find-scanner -v
</EM><BR>
<EM>&gt; find-scanner: searching for scanners:
</EM><BR>
<EM>&gt; find-scanner: checking /dev/scanner... failed to open
</EM><BR>
<EM>&gt; find-scanner: checking /dev/sg0... failed to open
</EM><BR>
<EM>&gt; find-scanner: checking /dev/sg1... failed to open
</EM><BR>
<EM>&gt; find-scanner: checking /dev/sg2... failed to open
</EM><BR>
<EM>&gt; find-scanner: checking /dev/sg3... failed to open
</EM><BR>
<EM>&gt; find-scanner: checking /dev/sg4... failed to open
</EM><BR>
<EM>&gt; ...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; $ scanimage --list-devices
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I am obviously missing something. Does anyone know what it is?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Thanks,
</EM><BR>
<EM>&gt; Dave
</EM><BR>
<EM>&gt;
</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:%20No%20/dev/sg*,%20no%20scanner%20found,%20with%20Linux%202.4.1&In-Reply-To=&lt;20010215220122.A23118@watchland.org&gt;">majordomo@mostang.com</A>
</EM><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:%20No%20/dev/sg*,%20no%20scanner%20found,%20with%20Linux%202.4.1&In-Reply-To=&lt;20010215220122.A23118@watchland.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0157.html">Mick Barry: "Resetting scan are options tlx,tly,brx,bry"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0155.html">David M. Anderson: "No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0155.html">David M. Anderson: "No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0168.html">David M. Anderson: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0158.html">abel deuring: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0168.html">David M. Anderson: "Re: No /dev/sg*, no scanner found, with Linux 2.4.1"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#156">[ date ]</A>
<A HREF="index.html#156">[ thread ]</A>
<A HREF="subject.html#156">[ subject ]</A>
<A HREF="author.html#156">[ 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>Thu Feb 15 2001 - 18:54:36 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>