[sane-devel] saned does not find hpaio scanner

martin f krafft madduck at madduck.net
Thu Mar 10 20:41:30 UTC 2016


Hey,

We have a scanner available through a network and since we wanted to
avoid having to install the hplip drivers on all workstations, we
thought we'd employ saned to make the scanner available on the
network.

This worked fine until we upgraded to Debian jessie / sane 1.0.24
(from 1.0.22).

Now, while I can access the scanner from the "scan server" just
fine:

  # scanimage -L
  device `hpaio:/net/HP_LaserJet_3052?ip=192.168.14.30' is a Hewlett-Packard HP_LaserJet_3052 all-in-one

saned does not know about it anymore:

  # SANE_DEBUG_DLL=255 SANE_DEBUG_NET=255 SANE_DEBUG_HPAIO=255 sudo -Eu saned saned -d
  [saned] main: starting debug mode (level 2)
  [saned] saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up
  [saned] check_host: access by remote host: 192.168.14.33
  [saned] init: access granted to madduck at 192.168.14.33
  [sanei_debug] Setting debug level of dll to 255.
  [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
  [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
  [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
  [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
  [dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
  [dll] sane_init/read_config: reading dll.d/libsane-extras
  [dll] add_backend: adding backend `ls5000'
  [dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
  [dll] sane_init/read_config: reading dll.d/hplip
  [dll] add_backend: adding backend `hpaio'
  [dll] sane_init/read_dlld: done.
  [dll] sane_init/read_config: reading dll.conf
  [dll] sane_get_devices
  [dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
  [dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
  [dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
  [dll] init: initializing backend `hpaio'
  [sanei_debug] Setting debug level of hpaio to 255.
  [hpaio] sane_hpaio_init(): scan/sane/hpaio.c 323
  [dll] init: backend `hpaio' is version 1.0.0
  [hpaio] sane_hpaio_get_devices(local=1): scan/sane/hpaio.c 342
  [dll] load: searching backend `ls5000' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
  [dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1'
  [dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-ls5000.so.1'
  [dll] init: initializing backend `ls5000'
  [dll] init: backend `ls5000' is version 1.0.0
  [dll] sane_get_devices: found 0 devices
  [saned] bailing out, waiting for children...
  [saned] bail_out: all children exited

Why is the libsane-hpaio.so backend not finding the scanner that
scanimage can access?

Thanks,

-- 
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
 
"we did rate the microsoft security researcher as less-bad than the
 people who prepare the carcasses for dissection in biology
 laboratories."
             -- michael moyer, executive editor of _popular science_
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20160310/d82fd76e/attachment.sig>


More information about the sane-devel mailing list