kopia lustrzana https://gitlab.com/sane-project/website
178 wiersze
6.6 KiB
HTML
178 wiersze
6.6 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: same old "no device" problem</TITLE>
|
|
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
|
|
<META NAME="Subject" CONTENT="Re: same old "no device" problem">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: same old "no device" problem</H1>
|
|
<!-- received="Mon Apr 30 10:14:42 2001" -->
|
|
<!-- isoreceived="20010430171442" -->
|
|
<!-- sent="Mon, 30 Apr 2001 19:14:16 +0200" -->
|
|
<!-- isosent="20010430171416" -->
|
|
<!-- name="Henning Meier-Geinitz" -->
|
|
<!-- email="henning@meier-geinitz.de" -->
|
|
<!-- subject="Re: same old "no device" problem" -->
|
|
<!-- id="20010430191416.B29674@vortex.swb.de" -->
|
|
<!-- inreplyto="3AECF109.1060206@columbus.rr.com" -->
|
|
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20same%20old%20"no%20device"%20problem&In-Reply-To=<20010430191416.B29674@vortex.swb.de>"><EM>henning@meier-geinitz.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Mon Apr 30 2001 - 10:14:16 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0318.html">Henning Meier-Geinitz: "Re: : trust imagery 1200 wont work with xscanimage "no sane device""</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0316.html">Henning Meier-Geinitz: "Re: No SANE Devices Found"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0311.html">mKlein: "same old "no device" problem"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#317">[ date ]</A>
|
|
<A HREF="index.html#317">[ thread ]</A>
|
|
<A HREF="subject.html#317">[ subject ]</A>
|
|
<A HREF="author.html#317">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Hi,
|
|
<BR>
|
|
<P>On Sun, Apr 29, 2001 at 11:58:49PM -0500, mKlein wrote:
|
|
<BR>
|
|
<EM>> The last hurdle lies with this problem that a lot of people seem to
|
|
</EM><BR>
|
|
<EM>> have.
|
|
</EM><BR>
|
|
<P>You are talking about the "no device" problem? If scanimage prints the
|
|
<BR>
|
|
"No scanners were identified..." message that just means that. There
|
|
<BR>
|
|
are lots of reasons for the message (scanner not supported, driver not
|
|
<BR>
|
|
load, permission problems, configuration problems etc.).
|
|
<BR>
|
|
<P><EM>> After installing the backend, frontend and xsane, then configuring
|
|
</EM><BR>
|
|
<EM>> snapscan.conf and dll.conf to utilize my scanner, I am unable to run
|
|
</EM><BR>
|
|
<EM>> xscanimage or xsane from anything but /usr/local/etc/sane.d. Usually
|
|
</EM><BR>
|
|
<EM>> I get a "No Devices Available" error from everywhere but that
|
|
</EM><BR>
|
|
<EM>> directory.
|
|
</EM><BR>
|
|
<P>That probably means that your config files aren't found. As the
|
|
<BR>
|
|
directory "/usr/local/etc/sane.d" is the default directory I really
|
|
<BR>
|
|
don't know why this happens. Try to use a freshly installed
|
|
<BR>
|
|
sane-backends-1.0.4.tar.gz from www.mostang.com and don't set
|
|
<BR>
|
|
SANE_CONFIG_DIR. That's what's in the sanei/sanei_config.c file:
|
|
<BR>
|
|
<P>/* Search configuration file FILENAME along directory list DIR_LIST
|
|
<BR>
|
|
and return file pointer if such a file exists. FILENAME should be
|
|
<BR>
|
|
a filename with extension (such as "mustek.conf").
|
|
<BR>
|
|
|
|
<BR>
|
|
1st: SANE_CONFIG_DIR environment variable.
|
|
<BR>
|
|
2nd: PATH_SANE_CONFIG_DIR set during configuration.
|
|
<BR>
|
|
3rd: Current directory.
|
|
<BR>
|
|
|
|
<BR>
|
|
Output: File pointer, or NULL if not found. */
|
|
<BR>
|
|
<P>You can have a look at the code of this file to see if I am right.
|
|
<BR>
|
|
<P><EM>> However, I can dump the executables in /sane.d and symlink them to
|
|
</EM><BR>
|
|
<EM>> /usr/local/bin and it runs just fine anywhere from the command line.
|
|
</EM><BR>
|
|
<EM>> This is simply a work-around and doesn't help with trying to get them to
|
|
</EM><BR>
|
|
<EM>> run as plug-ins in GIMP 1.2. There seems to be nothing I can do to get
|
|
</EM><BR>
|
|
<EM>> that part working.
|
|
</EM><BR>
|
|
<P>sanei_config_open() can't find the files in PATH_SANE_CONFIG_DIR
|
|
<BR>
|
|
(which is /usr/local/etc/sane.d if configure wasn't given any
|
|
<BR>
|
|
arguments) so it uses the current directory. That's why it works if
|
|
<BR>
|
|
the executable is placed in sane.d/.
|
|
<BR>
|
|
<P><EM>> A friend mentioned I would have to make sure sane.d was in my
|
|
</EM><BR>
|
|
<EM>> path. As a intermediate newbie I can say I know what he is talking
|
|
</EM><BR>
|
|
<EM>> about but not how to do that.
|
|
</EM><BR>
|
|
<P>He is right if he says that you can put scanimage to
|
|
<BR>
|
|
/usr/local/etc/sane.d/ and run it just with its name by adding the
|
|
<BR>
|
|
name of the directory to the $PATH environment variable. But that's
|
|
<BR>
|
|
not the right solution.
|
|
<BR>
|
|
<P>To check where sanei_config_open() really looks for the config files
|
|
<BR>
|
|
you can use the following command:
|
|
<BR>
|
|
<P>SANE_DEBUG_SANEI_CONFIG=255 SANE_DEBUG_SNAPSCAN=255 scanimage -L
|
|
<BR>
|
|
<P>Probably that's "/etc/sane.d", maybe something left from a distribution or
|
|
<BR>
|
|
pre vious tries with your sane installation.
|
|
<BR>
|
|
<P><EM>> /dev/sg1
|
|
</EM><BR>
|
|
<P>As a workaround, adding a symlink /dev/scanner to /dev/sg1 will work if I
|
|
<BR>
|
|
understood the snapscan backend correctly.
|
|
<BR>
|
|
<P>Bye,
|
|
<BR>
|
|
Henning
|
|
<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:%20same%20old%20"no%20device"%20problem&In-Reply-To=<20010430191416.B29674@vortex.swb.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0318.html">Henning Meier-Geinitz: "Re: : trust imagery 1200 wont work with xscanimage "no sane device""</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0316.html">Henning Meier-Geinitz: "Re: No SANE Devices Found"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0311.html">mKlein: "same old "no device" problem"</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#317">[ date ]</A>
|
|
<A HREF="index.html#317">[ thread ]</A>
|
|
<A HREF="subject.html#317">[ subject ]</A>
|
|
<A HREF="author.html#317">[ 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>Mon Apr 30 2001 - 10:17:39 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|