Package: libsane
Version: 1.0.17-3
Severity: normal

I use xsane to access an agfa snapscan scsi scanner installed on one 
host from
another host using net.conf
Both hosts run debian unstable.
It has been working very well until now.
I cannot use xinetd on the the server host anymore.
The net backend will only work if I run saned directly.

Here is the output if I try to run saned via xinetd :
On the client, I run :

SANE_DEBUG_NET=255 scanimage -L

[sanei_debug] Setting debug level of net to 255.
[net] sane_init: authorize = 0x8049230, version_code = 0xaf8bb998
[net] sane_init: SANE net backend version 1.0.13 (AF-indep+IPv6) from 
sane-backends 1.0.17
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: trying to add 192.168.1.50
[net] add_device: adding backend 192.168.1.50
[net] add_device: backend 192.168.1.50 added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_get_devices: local_only = 0
[net] connect_dev: trying to connect to 192.168.1.50
[net] connect_dev: [0] connection succeeded (IPv4)
[net] connect_dev: sanei_w_init
[net] connect_dev: net_init (user=enrico, local version=1.0.3)
[net] connect_dev: argument marshalling error (Connection reset by peer)
[net] connect_dev: closing connection to 192.168.1.50
[net] sane_get_devices: ignoring failure to connect to 192.168.1.50
[net] sane_get_devices: finished (0 devices)

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x807ed38, ctl=-1
[net] sane_exit: finished.

On the other hand, if I run saned directly on the server host, 
there is the output :

[sanei_debug] Setting debug level of net to 255.
[net] sane_init: authorize = 0x8049230, version_code = 0xafb92f98
[net] sane_init: SANE net backend version 1.0.13 (AF-indep+IPv6) from 
sane-backends 1.0.17
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] sane_init: trying to add 192.168.1.50
[net] add_device: adding backend 192.168.1.50
[net] add_device: backend 192.168.1.50 added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_get_devices: local_only = 0
[net] connect_dev: trying to connect to 192.168.1.50
[net] connect_dev: [0] connection succeeded (IPv4)
[net] connect_dev: sanei_w_init
[net] connect_dev: net_init (user=enrico, local version=1.0.3)
[net] connect_dev: freeing init reply (status=Success, remote 
version=1.0.3)
[net] connect_dev: done
[net] sane_get_devices: got 192.168.1.50:snapscan:/dev/sg0
[net] sane_get_devices: finished (1 devices)
device `net:192.168.1.50:snapscan:/dev/sg0' is a AGFA SNAPSCAN 310 
flatbed scanner
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x807ed38, ctl=3
[net] sane_exit: finished.

Here is the file /etc/saned.d/net.conf on the client :
# This is the net config file.  Each line names a host to attach to.
# If you list "localhost" then your backends can be accessed either
# directly or through the net backend.  Going through the net backend
# may be necessary to access devices that need special privileges.
# localhost
192.168.1.50

Thanks for your help
Enrico


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libsane depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libgphoto2-2                  2.1.6-13   gphoto2 digital camera library
ii  libgphoto2-port0              2.1.6-13   gphoto2 digital camera port librar
ii  libieee1284-3                 0.2.10-1   cross-platform library for paralle
ii  libjpeg62                     6b-13      The Independent JPEG Group's JPEG 
ii  libusb-0.1-4                  2:0.1.12-2 userspace USB programming library
ii  makedev                       2.3.1-81   creates device files in /dev

Versions of packages libsane recommends:
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  sane-utils                    1.0.17-3   API library for scanners -- utilit
ii  udev [hotplug]                0.093-1    /dev/ and hotplug management daemo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to