sane-project-website/old-archive/1999-08/0260.html

296 wiersze
12 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="Sun Aug 22 03:33:08 1999 PDT" -->
<!-- sent="Sun, 22 Aug 1999 12:44:17 +0200" -->
<!-- name="Wim Taymans" -->
<!-- email="wim.taymans@tvd.be" -->
<!-- subject="net problem" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: net problem</title>
<h1>net problem</h1>
<b>Wim Taymans</b> (<a href="mailto:wim.taymans@tvd.be"><i>wim.taymans@tvd.be</i></a>)<br>
<i>Sun, 22 Aug 1999 12:44:17 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#260">[ date ]</a><a href="index.html#260">[ thread ]</a><a href="subject.html#260">[ subject ]</a><a href="author.html#260">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0261.html">Markus Mertinat: "Canon scanners"</a>
<li> <b>Previous message:</b> <a href="0259.html">Thomas Dahl: "CANON IX-4015"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0267.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0267.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0268.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0270.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0309.html">Petter Reinholdtsen: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0317.html">Petter Reinholdtsen: "Re: net problem"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
--------------5464E97129741CB12192C3EC<br>
Content-Type: text/plain; charset=us-ascii<br>
Content-Transfer-Encoding: 7bit<br>
<p>
Hi,<br>
<p>
I have a Microtek Scanmaker X6. I got it to work with a local<br>
(x)scanimage but it doesn't work with the net driver.<br>
<p>
What did I do:<br>
<p>
compiled version 1.0.1 using egcs 1.1.2, I use kernel 2.3.13,<br>
glibc 2.1.2.<br>
<p>
Added<br>
<p>
sane 6566/tcp # network scanner daemon<br>
<p>
to /etc/services<br>
<p>
sane stream tcp nowait root /usr/local/sbin/saned saned<br>
<p>
to /etc/inetd.conf<br>
<p>
localhost<br>
<p>
to /usr/local/etc/sane.d/net.conf<br>
<p>
uncommented net in dll.conf<br>
<p>
added<br>
<p>
localhost to /usr/local/etc/sane.d/saned.conf<br>
<p>
this is the output I get (with SANE_DEBUG_NET=128), the first<br>
succesfull probe is from the local microtek2 backend, the other<br>
failing probe is from the net driver. Needless to say, the net<br>
probe also fails from my other machine.<br>
<p>
[root@fireburner-10-0-0-4 tools]$ /usr/local/bin/scanimage -L<br>
<p>
Scanner attributes from device structure<br>
========================================<br>
<p>
Scanner ID...<br>
~~~~~~~~~~~~~<br>
Vendor Name: ' '<br>
Model Name: 'Scanner 636A4 '<br>
Revision: '1.40'<br>
Model Code: 0x91 (X6)<br>
Device Type Code: 0x06 (Scanner),<br>
Scanner type: Flatbed scanner<br>
Supported options: Automatic document feeder: Yes<br>
Transparency media adapter: Yes<br>
Auto paper detecting: Yes<br>
Advanced picture system: No<br>
Stripes: No<br>
Slides: No<br>
Scan button: Yes<br>
<p>
Imaging Capabilities...<br>
~~~~~~~~~~~~~~~~~~~~~~~<br>
Color scanner: Yes<br>
Number passes: 1 pass<br>
Resolution: X-max: 600 dpi<br>
Y-max: 1200 dpi<br>
Geometry: Geometric width: 5100 pts (8.50'')<br>
Geometric height: 7020 pts (11.70'')<br>
Optical resol. : 600<br>
Modes: Lineart: No<br>
Halftone: No<br>
Gray: Yes<br>
Color: Yes<br>
Depths: Nibble Gray: Yes<br>
10-bit-color: No<br>
12-bit-color: yes<br>
d/l of HT pattern: No<br>
Builtin HT patt.: 0<br>
LUT capabilities: 4096 words<br>
<p>
Miscellaneous capabilities...<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Data format: Chunky data, R, G &amp; B in one pixel<br>
Color Sequence: R - G - B<br>
CCD gap: 8 lines<br>
CCD pixels: 5100<br>
Calib wh str loc: -288<br>
Max calib space: 80<br>
Number of lens: 1<br>
Max no of windows: 64<br>
Sh trnsf func equ: 1<br>
Buffer type: Ring<br>
FEPROM: No<br>
[sanei_init_debug]: Setting debug level of net to 128.<br>
[net] adding backend localhost<br>
[net] get_devices: ignoring rpc-returned status Unknown SANE status code 168448867<br>
device `microtek2:/dev/sga' is a Microtek ScanMaker X6 / Phantom 636 flatbed scanner<br>
[net] exiting<br>
[net] closing dev 0x80c2f40, ctl=24<br>
<p>
commenting everything but net in saned.conf gives:<br>
<p>
[sanei_init_debug]: Setting debug level of net to 128.<br>
[net] adding backend localhost<br>
[net] get_devices: ignoring rpc-returned status Unknown SANE status code 1534288238<br>
[net] exiting<br>
[net] closing dev 0x804ee38, ctl=4<br>
<p>
What am I doing wrong?<br>
<p>
Regards,<br>
<p>
Wim<br>
<p>
<pre>
--
The only way to learn a new programming language is by writing programs in it.
- Brian Kernighan
<p>
<p>
<p>
--------------5464E97129741CB12192C3EC
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<p>
&lt;!doctype html public "-//w3c//dtd html 4.0 transitional//en"&gt;
<html>
<pre>Hi,</pre>
<pre>I have a Microtek Scanmaker X6. I got it to work with a local
(x)scanimage but it doesn't work with the net driver.</pre>
<pre>What did I do:</pre>
<pre>compiled version 1.0.1 using egcs 1.1.2, I use kernel 2.3.13,
glibc 2.1.2.</pre>
<pre>Added</pre>
<pre>&nbsp; sane&nbsp;&nbsp; 6566/tcp # network scanner daemon
to /etc/services</pre>
<pre>&nbsp; sane stream tcp nowait root /usr/local/sbin/saned saned</pre>
<pre>to /etc/inetd.conf</pre>
<pre>&nbsp;localhost</pre>
<pre>to /usr/local/etc/sane.d/net.conf</pre>
<pre>uncommented net in dll.conf</pre>
<pre>added</pre>
<pre>&nbsp;localhost to /usr/local/etc/sane.d/saned.conf</pre>
<pre>this is the output I get (with SANE_DEBUG_NET=128), the first
succesfull probe is from the local microtek2 backend, the other
failing probe is from the net driver. Needless to say, the net
probe also fails from my other machine.</pre>
<pre>[root@fireburner-10-0-0-4 tools]$ /usr/local/bin/scanimage -L&nbsp;
Scanner attributes from device structure
========================================
Scanner ID...
~~~~~~~~~~~~~
&nbsp; Vendor Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '
&nbsp; Model Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Scanner 636A4&nbsp;&nbsp; '
&nbsp; Revision:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '1.40'
&nbsp; Model Code:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x91 (X6)
&nbsp; Device Type Code:&nbsp;&nbsp; 0x06 (Scanner),
&nbsp; Scanner type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flatbed scanner
&nbsp; Supported options:&nbsp; Automatic document feeder: Yes
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transparency media adapter: Yes
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Auto paper detecting: Yes
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Advanced picture system: No
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Stripes: No
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Slides: No
&nbsp; Scan button:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yes
Imaging Capabilities...
~~~~~~~~~~~~~~~~~~~~~~~
&nbsp; Color scanner:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yes
&nbsp; Number passes:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 pass
&nbsp; Resolution:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X-max:&nbsp;&nbsp; 600 dpi
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Y-max:&nbsp; 1200 dpi
&nbsp; Geometry:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Geometric width:&nbsp; 5100 pts (8.50'')
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Geometric height: 7020 pts (11.70'')
&nbsp; Optical resol.&nbsp; :&nbsp;&nbsp; 600
&nbsp; Modes:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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ities:&nbsp;&nbsp; 4096 words
Miscellaneous capabilities...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&nbsp; Data format:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chunky data, R, G &amp; B in one pixel
&nbsp; Color Sequence:&nbsp;&nbsp;&nbsp;&nbsp; R - G - B
&nbsp; CCD gap:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 lines
&nbsp; CCD pixels:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5100
&nbsp; Calib wh str loc:&nbsp;&nbsp; -288
&nbsp; Max calib space:&nbsp;&nbsp;&nbsp; 80
&nbsp; Number of lens:&nbsp;&nbsp;&nbsp;&nbsp; 1
&nbsp; Max no of windows:&nbsp; 64
&nbsp; Sh trnsf func equ:&nbsp; 1
&nbsp; Buffer type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ring
&nbsp; FEPROM:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No
[sanei_init_debug]: Setting debug level of net to 128.
[net] adding backend localhost
[net] get_devices: ignoring rpc-returned status Unknown SANE status code 168448867
device `microtek2:/dev/sga' is a Microtek ScanMaker X6 / Phantom 636 flatbed scanner
[net] exiting
[net] closing dev 0x80c2f40, ctl=24
</pre>
<pre>commenting everything but net in saned.conf gives:</pre>
<pre>[sanei_init_debug]: Setting debug level of net to 128.
[net] adding backend localhost
[net] get_devices: ignoring rpc-returned status Unknown SANE status code 1534288238
[net] exiting
[net] closing dev 0x804ee38, ctl=4
</pre>
<pre>What am I doing wrong?</pre>
<pre>Regards,</pre>
<pre>Wim</pre>
<pre>--&nbsp;
The only way to learn a new programming language is by writing programs in it.
- Brian Kernighan</pre>
&nbsp;</html>
--------------5464E97129741CB12192C3EC--
--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0261.html">Markus Mertinat: "Canon scanners"</a>
<li> <b>Previous message:</b> <a href="0259.html">Thomas Dahl: "CANON IX-4015"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0267.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0267.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0268.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0270.html">Wim Taymans: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0309.html">Petter Reinholdtsen: "Re: net problem"</a>
<li> <b>Reply:</b> <a href="0317.html">Petter Reinholdtsen: "Re: net problem"</a>
<!-- reply="end" -->
</ul>