sane-project-website/old-archive/2001-04/0203.html

221 wiersze
7.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: Epson Perfection 1240U</TITLE>
<META NAME="Author" CONTENT="Howard Gilbert (post@howard-gilbert.uklinux.net)">
<META NAME="Subject" CONTENT="Re: Epson Perfection 1240U">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Epson Perfection 1240U</H1>
<!-- received="Sat Apr 21 03:48:12 2001" -->
<!-- isoreceived="20010421104812" -->
<!-- sent="Sat, 21 Apr 2001 10:56:14 +0100 (BST)" -->
<!-- isosent="20010421095614" -->
<!-- name="Howard Gilbert" -->
<!-- email="post@howard-gilbert.uklinux.net" -->
<!-- subject="Re: Epson Perfection 1240U" -->
<!-- id="Pine.LNX.4.21.0104211046280.31268-100000@ahg.redroofs" -->
<!-- inreplyto="01042012374501.18523@lancelot" -->
<STRONG>From:</STRONG> Howard Gilbert (<A HREF="mailto:post@howard-gilbert.uklinux.net?Subject=Re:%20Epson%20Perfection%201240U&In-Reply-To=&lt;Pine.LNX.4.21.0104211046280.31268-100000@ahg.redroofs&gt;"><EM>post@howard-gilbert.uklinux.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Apr 21 2001 - 02:56:14 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0204.html">Oliver Neukum: "Fwd: Re: regarding status of microtek usb linux kernel driver (fwd)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0202.html">Peter Kirchgessner: "Re: hp scanjet IIcx"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0191.html">Steven Hatfield: "Epson Perfection 1240U"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#203">[ date ]</A>
<A HREF="index.html#203">[ thread ]</A>
<A HREF="subject.html#203">[ subject ]</A>
<A HREF="author.html#203">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Steven,
<BR>
<P>Did you check to see if scanner.c in the kernel drivers contains:-
<BR>
vendor=0x04b8 product=0x010b under Epson,
<BR>
and if not add this to it.
<BR>
<P>I recently got a 1240U to work with kernel v2.4.2 (under RH7.0) by doing
<BR>
this.
<BR>
<P>On Fri, 20 Apr 2001, Steven Hatfield wrote:
<BR>
<P><EM>&gt; Hi all,
</EM><BR>
<EM>&gt; I have an Epson Perfection 1240U, and am trying to get it going under SuSE
</EM><BR>
<EM>&gt; 7.1. I have a vanilla 2.4.3 kernel installed and compiled with USB / UHCI /
</EM><BR>
<EM>&gt; SCANNER all as modules. This is my first attempt at using a USB device, and
</EM><BR>
<EM>&gt; unfortunately I'm not having any luck with it :(
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have /etc/sane.d/epson.conf containing just:
</EM><BR>
<EM>&gt; usb /dev/usb/scanner0
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I insert the scanner module with the line:
</EM><BR>
<EM>&gt; insmod scanner product=0x10b vendor=0x4b8
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; and when I type lsmod, I get:
</EM><BR>
<EM>&gt; usbcore 46832 1 [scanner usb-uhci]
</EM><BR>
<EM>&gt; usb-uhci 21776 0 (unused)
</EM><BR>
<EM>&gt; scanner 6256 0
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have the following installed:
</EM><BR>
<EM>&gt; sane-1.0.4-3
</EM><BR>
<EM>&gt; xsane-0.70-0
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; When I type &quot;xsane&quot; at the shell prompt, I get the message:
</EM><BR>
<EM>&gt; xsane: no devices available
</EM><BR>
<EM>&gt; and in the console, it shows:
</EM><BR>
<EM>&gt; [epson] ident failed
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; In /var/log/messages, I see:
</EM><BR>
<EM>&gt; Apr 20 12:29:01 lancelot modprobe: modprobe: Can't locate module char-major-81
</EM><BR>
<EM>&gt; Apr 20 12:29:01 lancelot last message repeated 4 times
</EM><BR>
<EM>&gt; Apr 20 12:29:01 lancelot kernel: usb-uhci.c: interrupt, status 3, frame# 135
</EM><BR>
<EM>&gt; Apr 20 12:29:01 lancelot kernel: scanner.c: write_scanner: NAK recieved.
</EM><BR>
<EM>&gt; Apr 20 12:29:01 lancelot kernel: usb-uhci.c: interrupt, status 3, frame# 143
</EM><BR>
<EM>&gt; Apr 20 12:29:01 lancelot kernel: scanner.c: write_scanner: NAK recieved.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; So I tried a different tactic:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I used &quot;xsane -s epson:/dev/usbscanner&quot; as the shell prompt command, and
</EM><BR>
<EM>&gt; received the message box:
</EM><BR>
<EM>&gt; Failed to open device &quot;epson:/dev/usbscanner&quot;:
</EM><BR>
<EM>&gt; Invalid Argument
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; and in the console, I see:
</EM><BR>
<EM>&gt; [epson] ident failed
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; /var/log/messages shows:
</EM><BR>
<EM>&gt; Apr 20 12:31:59 lancelot modprobe: modprobe: Can't locate module char-major-81
</EM><BR>
<EM>&gt; Apr 20 12:31:59 lancelot last message repeated 4 times
</EM><BR>
<EM>&gt; Apr 20 12:31:59 lancelot kernel: usb-uhci.c: interrupt, status 3, frame# 1963
</EM><BR>
<EM>&gt; Apr 20 12:31:59 lancelot kernel: scanner.c: write_scanner: NAK recieved.
</EM><BR>
<EM>&gt; Apr 20 12:31:59 lancelot kernel: usb-uhci.c: interrupt, status 3, frame# 1970
</EM><BR>
<EM>&gt; Apr 20 12:31:59 lancelot kernel: scanner.c: write_scanner: NAK recieved.
</EM><BR>
<EM>&gt; Apr 20 12:32:01 lancelot kernel: scanner.c: open_scanner(0): Scanner device
</EM><BR>
<EM>&gt; is already open
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; lsmod still shows the same as before at this point (unused/0 for both uhci
</EM><BR>
<EM>&gt; and scanner modules).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; What am I doing wrong, and what can I do to get the scanner to work?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Thanks for any help!
</EM><BR>
<EM>&gt; -Steven
</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:%20Epson%20Perfection%201240U&In-Reply-To=&lt;Pine.LNX.4.21.0104211046280.31268-100000@ahg.redroofs&gt;">majordomo@mostang.com</A>
</EM><BR>
<EM>&gt;
</EM><BR>
<P><PRE>
--
Best wishes,
Howard.
(Dr A.H.Gilbert, Thornaby-on-Tees, Nth Yorkshire.)
&quot;An expert is a man who has made all the mistakes which can be made in a very narrow field.&quot; Niels Bohr (1885-1962)
<P><P><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:%20Epson%20Perfection%201240U&In-Reply-To=&lt;Pine.LNX.4.21.0104211046280.31268-100000@ahg.redroofs&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0204.html">Oliver Neukum: "Fwd: Re: regarding status of microtek usb linux kernel driver (fwd)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0202.html">Peter Kirchgessner: "Re: hp scanjet IIcx"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0191.html">Steven Hatfield: "Epson Perfection 1240U"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#203">[ date ]</A>
<A HREF="index.html#203">[ thread ]</A>
<A HREF="subject.html#203">[ subject ]</A>
<A HREF="author.html#203">[ 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 Apr 21 2001 - 03:48:25 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>