sane-project-website/old-archive/1997-11/0171.html

89 wiersze
3.4 KiB
HTML

<!-- received="Fri Nov 28 02:42:02 1997 PST" -->
<!-- sent="Fri, 28 Nov 1997 11:41:49 +0100 (MET)" -->
<!-- name="Andreas Czechanowski" -->
<!-- email="m075@ins.uni-stuttgart.de" -->
<!-- subject="Re: PARAGON 600 II N" -->
<!-- id="Pine.HPP.3.96.971128112818.6890A-100000@inshp01.ins.uni-stuttgart.de" -->
<!-- inreplyto="Pine.LNX.3.95.971127144223.583A-100000@Casper.co.za" -->
<title>sane-devel: Re: PARAGON 600 II N</title>
<h1>Re: PARAGON 600 II N</h1>
<b>Andreas Czechanowski</b> (<a href="mailto:m075@ins.uni-stuttgart.de"><i>m075@ins.uni-stuttgart.de</i></a>)<br>
<i>Fri, 28 Nov 1997 11:41:49 +0100 (MET)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#171">[ date ]</a><a href="index.html#171">[ thread ]</a><a href="subject.html#171">[ subject ]</a><a href="author.html#171">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0172.html">Jeroen Steenblik: "Unlisted Mustek scanner"</a>
<li> <b>Previous message:</b> <a href="0170.html">eric: "problems with sane and linux..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hi Enrico !<br>
<p>
On Thu, 27 Nov 1997, Enrico Oreglia wrote:<br>
<p>
<i>&gt; First of all, YOU'RE GREAT, because my scanner now is turned on by sane!!!</i><br>
<p>
That's at least better than nothing !<br>
<br>
<i>&gt; But...</i><br>
<i>&gt; </i><br>
<i>&gt; I can't do anything.</i><br>
<p>
That's not so good at all.<br>
<br>
<i>&gt; Only one time I obtained a preview (I don't know how) and now if I try to</i><br>
<i>&gt; use my scanner, sane only turn it on and that's all, it's impossible to</i><br>
<i>&gt; obtain a preview or a scan (color, gray etc.).</i><br>
<i>&gt; </i><br>
<i>&gt; Some suggestions?</i><br>
<p>
At least one possibility: I always ran xscanimage/scanimage as SUID root<br>
program. It should be also possible to use /dev/port (if this device is<br>
readable/writable for the user), but it is not well tested.<br>
When you already tried as root, I only can give you the hint to do<br>
<p>
export SANE_DEBUG_MUSTEK=2<br>
xscanimage<br>
<p>
and to look at the debugging output (or, send me what you got).<br>
You will see if the scanner gets identified after power-on.<br>
<p>
<i>&gt; And, it's possible turn off the scanner light with sane?</i><br>
<p>
Yes, there was a bug in sanei/sanei_ab306n.c that did not turn<br>
the scanner off after leaving the program. If you still want to try<br>
with sane-0.67, you can change the line 473,474 as shown below:<br>
Change<br>
<p>
/* power off the scanner: */<br>
ab306_outb (port + i, port[i].base, 0x00);<br>
<p>
so that it looks like:<br>
<p>
/* power off the scanner: */<br>
ab306_outb (port + i, port[i].base + 1, 0x00);<br>
<br>
Andreas.<br>
<p>
PS: I am still trying to get a improved backend implementation through<br>
to be included into 0.68, but there were still some implementation<br>
details that did not match. I hope it will be ready in time.<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0172.html">Jeroen Steenblik: "Unlisted Mustek scanner"</a>
<li> <b>Previous message:</b> <a href="0170.html">eric: "problems with sane and linux..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>