kopia lustrzana https://gitlab.com/sane-project/website
158 wiersze
5.8 KiB
HTML
158 wiersze
5.8 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 scanners identified</TITLE>
|
|
<META NAME="Author" CONTENT="Eddy De Greef (degreef@imec.be)">
|
|
<META NAME="Subject" CONTENT="Re: No scanners identified">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: No scanners identified</H1>
|
|
<!-- received="Wed Mar 7 00:33:04 2001" -->
|
|
<!-- isoreceived="20010307083304" -->
|
|
<!-- sent="Wed, 07 Mar 2001 9:51:30 MET" -->
|
|
<!-- isosent="20010307085130" -->
|
|
<!-- name="Eddy De Greef" -->
|
|
<!-- email="degreef@imec.be" -->
|
|
<!-- subject="Re: No scanners identified" -->
|
|
<!-- id="200103070851.JAA06076@jaguar.imec.be" -->
|
|
<!-- inreplyto="3AA019D6.7EF716A3@home.se" -->
|
|
<STRONG>From:</STRONG> Eddy De Greef (<A HREF="mailto:degreef@imec.be?Subject=Re:%20No%20scanners%20identified&In-Reply-To=<200103070851.JAA06076@jaguar.imec.be>"><EM>degreef@imec.be</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Wed Mar 07 2001 - 00:51:30 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0100.html">Ron Shonkwiler: "Re: core dump using umax driver on sparc solaris"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0038.html">Daniel Karlsson: "Re: No scanners identified"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#101">[ date ]</A>
|
|
<A HREF="index.html#101">[ thread ]</A>
|
|
<A HREF="subject.html#101">[ subject ]</A>
|
|
<A HREF="author.html#101">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Daniel Karlsson wrote:
|
|
<BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Eddy De Greef wrote:
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > Daniel Karlsson wrote:
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> > > I have a Mustek 600 III EP Plus scanner connected to the parallel port.
|
|
</EM><BR>
|
|
<EM>> > > When I try to run "scanimage -L" I get a message stating that no
|
|
</EM><BR>
|
|
<EM>> > > scanners were identified and that I should try "find-scanner" tool and
|
|
</EM><BR>
|
|
<EM>> > > read some documentation. The problem is that I have a parallel port
|
|
</EM><BR>
|
|
<EM>> > > scanner, but that program and documentation only covers scsi-scanners.
|
|
</EM><BR>
|
|
<EM>> > >
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > There are three likely causes for your problem:
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > 1) You don't have access to the parallel port.
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > You can easily verify if you log in as root and then try to scan.
|
|
</EM><BR>
|
|
<EM>> > If that works, you should either run the saned daemon (see
|
|
</EM><BR>
|
|
<EM>> > documentation), or make scanimage setuid root (not recommended).
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> It appears to me that the problem is connected to wrong access rights.
|
|
</EM><BR>
|
|
<EM>> However, it's not the parallel port, since I can both read and write to
|
|
</EM><BR>
|
|
<EM>> it, for instance with "echo Hello > /dev/lp0".
|
|
</EM><BR>
|
|
<EM>> The string will then appear on the printer also connected to the port.
|
|
</EM><BR>
|
|
<P>The backend doesn't access the port in that way, I believe. All
|
|
<BR>
|
|
communication with the parallel is performed at the IO-port level
|
|
<BR>
|
|
(ie., IO-ports at addresses 0x380 etc).
|
|
<BR>
|
|
The permissions on /dev/lp0 therefore don't affect the backend.
|
|
<BR>
|
|
A process trying to access the IO-ports must have super-user
|
|
<BR>
|
|
access rights. The proper way to achieve this is to run the sane
|
|
<BR>
|
|
daemon as root (see man saned on how to set it up).
|
|
<BR>
|
|
<P><EM>>
|
|
</EM><BR>
|
|
<EM>> Running scanimage as root will cause an error in loading libraries
|
|
</EM><BR>
|
|
<EM>> (undefined symbol: outb), which indicates that the program progresses
|
|
</EM><BR>
|
|
<EM>> beyond the point described in my problem.
|
|
</EM><BR>
|
|
<P>No idea what is causing this. David Gesswein could be right about
|
|
<BR>
|
|
the optimization issue. Do you have an x86 platform ? I believe
|
|
<BR>
|
|
the low-level assembly routines accessing the io-ports are only
|
|
<BR>
|
|
implemented for x86 hardware.
|
|
<BR>
|
|
<P>Best regards,
|
|
<BR>
|
|
<P>Eddy
|
|
<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%20scanners%20identified&In-Reply-To=<200103070851.JAA06076@jaguar.imec.be>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0100.html">Ron Shonkwiler: "Re: core dump using umax driver on sparc solaris"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0038.html">Daniel Karlsson: "Re: No scanners identified"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0102.html">Jochen Eisinger: "Re: No scanners identified"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#101">[ date ]</A>
|
|
<A HREF="index.html#101">[ thread ]</A>
|
|
<A HREF="subject.html#101">[ subject ]</A>
|
|
<A HREF="author.html#101">[ 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 Mar 07 2001 - 00:34:17 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|