$ export SANE_DEBUG_DLL=128
$ hp-scan
[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: couldn't open `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1' (No such file or directory)
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
Using device hpaio:/net/Photosmart_Prem_C310_series?zc=HPB2B091
Opening connection to device...
[dll] sane_open: trying to open `hpaio:/net/Photosmart_Prem_C310_series?zc=HPB2B091'
error: SANE: Error during device I/O (code=9)
ubuntu 12.10 x64, hplip 3.12.6-3ubuntu4
hp-check attached
$ export SANE_DEBUG_DLL=128 x86_64- linux-gnu/ sane:/usr/ lib/sane' x86_64- linux-gnu/ sane/libsane- hpaio.so. 1' x86_64- linux-gnu/ sane/libsane- hpaio.so. 1' (No such file or directory) sane/libsane- hpaio.so. 1' sane/libsane- hpaio.so. 1' net/Photosmart_ Prem_C310_ series? zc=HPB2B091 /net/Photosmart _Prem_C310_ series? zc=HPB2B091'
$ hp-scan
[dll] load: searching backend `hpaio' in `/usr/lib/
[dll] load: trying to load `/usr/lib/
[dll] load: couldn't open `/usr/lib/
[dll] load: trying to load `/usr/lib/
[dll] load: dlopen()ing `/usr/lib/
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_get_devices: found 1 devices
Using device hpaio:/
Opening connection to device...
[dll] sane_open: trying to open `hpaio:
error: SANE: Error during device I/O (code=9)