sane-project-website/old-archive/2001-05/0242.html

242 wiersze
7.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: Version problems (and others)</TITLE>
<META NAME="Author" CONTENT="Harri Hohteri (harri.hohteri@cs.helsinki.fi)">
<META NAME="Subject" CONTENT="Re: Version problems (and others)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Version problems (and others)</H1>
<!-- received="Sat May 19 05:45:16 2001" -->
<!-- isoreceived="20010519124516" -->
<!-- sent="Sat, 19 May 2001 15:51:37 +0300" -->
<!-- isosent="20010519125137" -->
<!-- name="Harri Hohteri" -->
<!-- email="harri.hohteri@cs.helsinki.fi" -->
<!-- subject="Re: Version problems (and others)" -->
<!-- id="005801c0e062$83062a10$0303a8c0@AC3J06DM74571C" -->
<!-- inreplyto="20010519135434.A8432@vortex.swb.de" -->
<STRONG>From:</STRONG> Harri Hohteri (<A HREF="mailto:harri.hohteri@cs.helsinki.fi?Subject=Re:%20Version%20problems%20(and%20others)&In-Reply-To=&lt;005801c0e062$83062a10$0303a8c0@AC3J06DM74571C&gt;"><EM>harri.hohteri@cs.helsinki.fi</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat May 19 2001 - 05:51:37 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0243.html">scc: "Re: how to write a manpage"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0241.html">Henning Meier-Geinitz: "Re: how to write a manpage"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0240.html">Henning Meier-Geinitz: "Re: Version problems (and others)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0349.html">Petter Reinholdtsen: "Re: Version problems (and others)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#242">[ date ]</A>
<A HREF="index.html#242">[ thread ]</A>
<A HREF="subject.html#242">[ subject ]</A>
<A HREF="author.html#242">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>I have no earlier version of sane. Adding user and group saned helped but
<BR>
only after I rebooted the server. The problem (I think) lies here (this is
<BR>
from Windows prompt):
<BR>
<P>C:\sane&gt;scanimage --version
<BR>
[sanei_debug] Setting debug level of net to 128.
<BR>
[net] init: could not find `sane' service (Not owner); using default port
<BR>
6566
<BR>
[net] adding backend 192.168.0.1
<BR>
scanimage (sane) 1.0.3
<BR>
[net] exiting
<BR>
[net] closing dev 0xa0112b0, ctl=-1
<BR>
<P>Saneimage on Windows says it's 1.0.3 and Linux backend is 1.0.4
<BR>
<P>Saned are all from the same 1.0.4 package on my machine:
<BR>
<P>[root@boolean /]# ls -l ./home/saned
<BR>
total 0
<BR>
[root@boolean /]# ls -l ./root/sane-backends-1.0.4/frontend/.libs/saned
<BR>
-rwxr-xr-x 1 root root 133497 May 13 21:30
<BR>
./root/sane-backends-1.0.4/frontend/.libs/saned
<BR>
[root@boolean /]# ls -l ./root/sane-backends-1.0.4/frontend/saned
<BR>
-rwxr-xr-x 1 root root 3867 May 13 21:30
<BR>
./root/sane-backends-1.0.4/frontend/saned
<BR>
[root@boolean /]# ls -l ./usr/local/sbin/saned
<BR>
-rwxr-xr-x 1 root root 133497 May 13 21:32
<BR>
./usr/local/sbin/saned
<BR>
<P><P>[root@boolean /]# find . -name saned
<BR>
find: ./proc/6/fd: Permission denied
<BR>
./home/saned
<BR>
./root/sane-backends-1.0.4/frontend/.libs/saned
<BR>
./root/sane-backends-1.0.4/frontend/saned
<BR>
./usr/local/sbin/saned
<BR>
<P>Btw. I do have sane in /etc/services
<BR>
<P>[root@boolean /etc]# grep sane services
<BR>
sane 6566/tcp
<BR>
<P><P>----- Original Message -----
<BR>
From: &quot;Henning Meier-Geinitz&quot; &lt;<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Version%20problems%20(and%20others)&In-Reply-To=&lt;005801c0e062$83062a10$0303a8c0@AC3J06DM74571C&gt;">henning@meier-geinitz.de</A>&gt;
<BR>
To: &lt;<A HREF="mailto:sane-devel@mostang.com?Subject=Re:%20Version%20problems%20(and%20others)&In-Reply-To=&lt;005801c0e062$83062a10$0303a8c0@AC3J06DM74571C&gt;">sane-devel@mostang.com</A>&gt;
<BR>
Sent: Saturday, May 19, 2001 2:54 PM
<BR>
Subject: Re: Version problems (and others)
<BR>
<P><P><EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Sat, May 19, 2001 at 02:20:44PM +0300, Harri Hohteri wrote:
</EM><BR>
<EM>&gt; &gt; Hi,
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; I'm using sane backend 1.0.4 on my RH7.1 and trying to access it from
</EM><BR>
<EM>&gt; &gt; my windows machines using either winsane or xsane-w32 0.76. Winsane
</EM><BR>
<EM>&gt; &gt; crashes for some reason and xsane reports for version
</EM><BR>
<EM>&gt; &gt; incompatibility.
</EM><BR>
<EM>&gt; &gt;&gt;From the linux shell I can use net backend successfully. I'm having
</EM><BR>
<EM>&gt; &gt;&gt;problems though that saned doesn't work unless I start xined as root.
</EM><BR>
<EM>&gt; &gt;&gt;That might be because I don't know what to do when man saned says
</EM><BR>
<EM>&gt; &gt;&gt;&quot;Note that both examples assume that there is a saned group and a
</EM><BR>
<EM>&gt; &gt;&gt;saned user.&quot; I know how to use linuxconf and such but what should give
</EM><BR>
<EM>&gt; &gt;&gt;as the password etc.?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; That shouln't matter.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; C:\sane&gt;scanimage -L
</EM><BR>
<EM>&gt; &gt; [sanei_debug] Setting debug level of net to 128.
</EM><BR>
<EM>&gt; &gt; [net] init: could not find `sane' service (Not owner); using default
</EM><BR>
port 6566
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; You seem to haven't put the sane service into /etc/services. But
</EM><BR>
<EM>&gt; that's not the problem.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; [net] adding backend 192.168.0.1
</EM><BR>
<EM>&gt; &gt; [net] connect_dev: major version mismatch: got 0, expected 1
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; It looks like your saned is from SANE 0.76 or earlier. Use saned from
</EM><BR>
<EM>&gt; SANE 1.0.4.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; For testing you can also use saned directly (without (x)inetd):
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; saned -d
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; To enable debugging use something like:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; SANE_DEBUG_DLL=255 saned -d128
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Bye,
</EM><BR>
<EM>&gt; Henning
</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:%20Version%20problems%20(and%20others)&In-Reply-To=&lt;005801c0e062$83062a10$0303a8c0@AC3J06DM74571C&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><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:%20Version%20problems%20(and%20others)&In-Reply-To=&lt;005801c0e062$83062a10$0303a8c0@AC3J06DM74571C&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0243.html">scc: "Re: how to write a manpage"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0241.html">Henning Meier-Geinitz: "Re: how to write a manpage"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0240.html">Henning Meier-Geinitz: "Re: Version problems (and others)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0349.html">Petter Reinholdtsen: "Re: Version problems (and others)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#242">[ date ]</A>
<A HREF="index.html#242">[ thread ]</A>
<A HREF="subject.html#242">[ subject ]</A>
<A HREF="author.html#242">[ 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 May 19 2001 - 05:45:53 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>