net problem

Wim Taymans (wim.taymans@tvd.be)
Sun, 22 Aug 1999 12:44:17 +0200

--------------5464E97129741CB12192C3EC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

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.

What did I do:

compiled version 1.0.1 using egcs 1.1.2, I use kernel 2.3.13,
glibc 2.1.2.

Added

sane 6566/tcp # network scanner daemon

to /etc/services

sane stream tcp nowait root /usr/local/sbin/saned saned

to /etc/inetd.conf

localhost

to /usr/local/etc/sane.d/net.conf

uncommented net in dll.conf

added

localhost to /usr/local/etc/sane.d/saned.conf

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.

[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

commenting everything but net in saned.conf gives:

[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

What am I doing wrong?

Regards,

Wim

--
The only way to learn a new programming language is by writing programs in it.
- Brian Kernighan

--------------5464E97129741CB12192C3EC Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

Hi,
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.
What did I do:
compiled version 1.0.1 using egcs 1.1.2, I use kernel 2.3.13,
glibc 2.1.2.
Added
  sane   6566/tcp # network scanner daemon

to /etc/services
  sane stream tcp nowait root /usr/local/sbin/saned saned
to /etc/inetd.conf
 localhost
to /usr/local/etc/sane.d/net.conf
uncommented net in dll.conf
added
 localhost to /usr/local/etc/sane.d/saned.conf
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.
[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
commenting everything but net in saned.conf gives:
[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
What am I doing wrong?
Regards,
Wim
-- 
The only way to learn a new programming language is by writing programs in it.
- Brian Kernighan
  --------------5464E97129741CB12192C3EC-- -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com