sane-project-website/old-archive/1999-05/0085.html

122 wiersze
5.6 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Mon May 10 21:54:21 1999 PDT" -->
<!-- sent="Mon, 10 May 1999 21:48:49 -0700" -->
<!-- name="Dean@Home" -->
<!-- email=""Dean@Home"" -->
<!-- subject="Re: saned troubles" -->
<!-- id="" -->
<!-- inreplyto="saned troubles" -->
<title>sane-devel: Re: saned troubles</title>
<h1>Re: saned troubles</h1>
<b>Dean@Home</b> (<a href="mailto:"Dean@Home""><i>"Dean@Home"</i></a>)<br>
<i>Mon, 10 May 1999 21:48:49 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#85">[ date ]</a><a href="index.html#85">[ thread ]</a><a href="subject.html#85">[ subject ]</a><a href="author.html#85">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0086.html">Hugo van der Kooij: "Re: re Mustek scanner"</a>
<li> <b>Previous message:</b> <a href="0084.html">Sven Riedel: "Networked Sane"</a>
<li> <b>Maybe in reply to:</b> <a href="0069.html">Dean@Home: "saned troubles"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0090.html">John Profic: "Re: saned troubles"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Ray wrote:<br>
<p>
<i>&gt; On Sun, May 09, 1999 at 12:26:18PM -0700, Dean@Home wrote:</i><br>
<i>&gt; &gt; Greetings all,</i><br>
<i>&gt; &gt;</i><br>
<i>&gt; &gt; Sorry in advance if this is a newbie/FAQ, but I can't seem to find</i><br>
<i>&gt; &gt; anything in the way of documentation/troubleshooting for the saned</i><br>
<i>&gt; &gt; portion of SANE. Has anyone ever got this working? How did you do it? Is</i><br>
<i>&gt; &gt; there a FAQ/DOC somewhere, which offers more than the man page does? I</i><br>
<i>&gt; &gt; can't get it going, and don't know where to turn. Any help/links would</i><br>
<i>&gt; &gt; be greatly appreciated.</i><br>
<i>&gt;</i><br>
<i>&gt; Well, I have had it up and working for about 1 week. I had trouble with an</i><br>
<i>&gt; older version (0.7something) but the current version worked without any real</i><br>
<i>&gt; drama. I have a Mustek scanner so on the server I edited /etc/sane.d/:</i><br>
<i>&gt;</i><br>
<i>&gt; net.conf</i><br>
<i>&gt; saned.conf</i><br>
<i>&gt; dll.conf</i><br>
<i>&gt; mustek.conf</i><br>
<p>
Hi Ray, thanks for the reply.<br>
Did all those, minus the mustek.conf, mine's a MicroTek ScanMaker E3, so have<br>
the microtek.conf. I'm 99% sure the editing is right. :) BTW, mine were (I<br>
moved them to etc/sane.d) in /usr/local/etc/sane.d<br>
<p>
<i>&gt; On the clients I just edited net.conf. Oh, I also added a line to</i><br>
<i>&gt; /etc/services and adjusted the permissions for the device pointed to by</i><br>
<i>&gt; /dev/scanner.</i><br>
<p>
Did that too, made an account for saned in group saned, as per the man page. My<br>
device(s), according to find-scanner are /dev/sgc and /dev/sg2. Not sure what<br>
the permissions are, or are supposed to be.<br>
<p>
<i>&gt; To scan I can type:</i><br>
<i>&gt;</i><br>
<i>&gt; scanimage -d net:HOSTNAME:mustek:/dev/scanner &gt; /tmp/test.pnm</i><br>
<i>&gt;</i><br>
<i>&gt; and it just does it's thing.</i><br>
<p>
I get the following error:<br>
<p>
scanimage: open of device net:odin:microtek:/dev/sgc failed: Error during<br>
device I/O<br>
<p>
<p>
<i>&gt; Exactly what problem are you having? Does it work from the machine where</i><br>
<i>&gt; the scanner is attached?</i><br>
<p>
Well, more than I thought at first it seems. Upon looking at the server, I<br>
noticed a number of saned entries in my /var/log/messages, namely connections<br>
being refused from the client. Also, I did have SANE working fine locally on<br>
the server, I recently (Saturday) re-installed RedHat, using 6.0 this time.<br>
It's the bone-stock 2.2.5-15 SMP kernel, but now, when I try scanimage -l, I<br>
get No SANE devices found. Are there RH 6.0 issues with SANE 1.01? I tried<br>
re-installing on both machines, starting from scratch, but it's just not<br>
working. BTW, find-scanner finds the following, in case it matters:<br>
<p>
Detected scsi generic sgc at scsi0, channel 0, id 4, lun 0<br>
find-scanner: found scanner "Scanner 1.40" at device /dev/sgc<br>
find-scanner: found scanner "Scanner 1.40" at device /dev/sg2<br>
<p>
I'm at a total loss now! I appreciate your help though, although I'm sure it's<br>
my newbieness getting in the way of this working. BTW, the server is also the<br>
gateway/firewall/masq machine for this one, so connectivity to/from/through is<br>
working fine. I even tried dropping all the ipchains rules, to no avail. Also,<br>
running saned -d gets the same results, it just exits, dumps the reject line in<br>
the messages file and does nothing. Should I recompile with debugging to see<br>
what is going on?<br>
<p>
Dean@Home<br>
<a href="mailto:deanmills@home.com">deanmills@home.com</a><br>
<p>
---------------------------------------------------------------<br>
Linux thor.valhalla.ca 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT 1999<br>
1 x Cyrix 225MHz processor, 225.28 total BogoMIPS, 128MB RAM<br>
RedHat 6.0 (Hedwig) System library 2.1.1<br>
---------------------------------------------------------------<br>
<p>
<p>
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0086.html">Hugo van der Kooij: "Re: re Mustek scanner"</a>
<li> <b>Previous message:</b> <a href="0084.html">Sven Riedel: "Networked Sane"</a>
<li> <b>Maybe in reply to:</b> <a href="0069.html">Dean@Home: "saned troubles"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0090.html">John Profic: "Re: saned troubles"</a>
<!-- reply="end" -->
</ul>