kopia lustrzana https://gitlab.com/sane-project/website
296 wiersze
12 KiB
HTML
296 wiersze
12 KiB
HTML
|
<!-- 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 & 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>
|
|||
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|||
|
<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> sane 6566/tcp # network scanner daemon
|
|||
|
|
|||
|
to /etc/services</pre>
|
|||
|
|
|||
|
<pre> sane stream tcp nowait root /usr/local/sbin/saned saned</pre>
|
|||
|
|
|||
|
<pre>to /etc/inetd.conf</pre>
|
|||
|
|
|||
|
<pre> localhost</pre>
|
|||
|
|
|||
|
<pre>to /usr/local/etc/sane.d/net.conf</pre>
|
|||
|
|
|||
|
<pre>uncommented net in dll.conf</pre>
|
|||
|
|
|||
|
<pre>added</pre>
|
|||
|
|
|||
|
<pre> 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
|
|||
|
|
|||
|
|
|||
|
Scanner attributes from device structure
|
|||
|
========================================
|
|||
|
|
|||
|
Scanner ID...
|
|||
|
~~~~~~~~~~~~~
|
|||
|
Vendor Name: ' '
|
|||
|
Model Name: 'Scanner 636A4 '
|
|||
|
Revision: '1.40'
|
|||
|
Model Code: 0x91 (X6)
|
|||
|
Device Type Code: 0x06 (Scanner),
|
|||
|
Scanner type: Flatbed scanner
|
|||
|
Supported options: Automatic document feeder: Yes
|
|||
|
Transparency media adapter: Yes
|
|||
|
Auto paper detecting: Yes
|
|||
|
Advanced picture system: No
|
|||
|
Stripes: No
|
|||
|
Slides: No
|
|||
|
Scan button: Yes
|
|||
|
|
|||
|
Imaging Capabilities...
|
|||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
Color scanner: Yes
|
|||
|
Number passes: 1 pass
|
|||
|
Resolution: X-max: 600 dpi
|
|||
|
Y-max: 1200 dpi
|
|||
|
Geometry: Geometric width: 5100 pts (8.50'')
|
|||
|
Geometric height: 7020 pts (11.70'')
|
|||
|
Optical resol. : 600
|
|||
|
Modes: Lineart: No
|
|||
|
Halftone: No
|
|||
|
Gray: Yes
|
|||
|
Color: Yes
|
|||
|
Depths: Nibble Gray: Yes
|
|||
|
10-bit-color: No
|
|||
|
12-bit-color: yes
|
|||
|
d/l of HT pattern: No
|
|||
|
Builtin HT patt.: 0
|
|||
|
LUT capabilities: 4096 words
|
|||
|
|
|||
|
Miscellaneous capabilities...
|
|||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|||
|
Data format: Chunky data, R, G & B in one pixel
|
|||
|
Color Sequence: R - G - B
|
|||
|
CCD gap: 8 lines
|
|||
|
CCD pixels: 5100
|
|||
|
Calib wh str loc: -288
|
|||
|
Max calib space: 80
|
|||
|
Number of lens: 1
|
|||
|
Max no of windows: 64
|
|||
|
Sh trnsf func equ: 1
|
|||
|
Buffer type: Ring
|
|||
|
FEPROM: 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>--
|
|||
|
The only way to learn a new programming language is by writing programs in it.
|
|||
|
- Brian Kernighan</pre>
|
|||
|
</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>
|