I am trying to get my all-in-one HP scanner working.

I don't like mdns and avahi and all that kitchen sink. I prefer printing
and scanning using the printer IP address. So, I just installed
sane-bakends and hpaio packages.

I created the hpaio URI using hp-makeuri -s <printer IP address>, and tried
to scan using simple-scan and xsane, but both fail with "unable to connect
to scanner" error. My scanimage -L also does not show the scanner.

To find out what's wrong with sane-backends and hpaio, I printed the sane
debug log. sane-backends is correctly passing the scan request to hpaio,
but hpaio is not able to locate the scanner. Here is the hpaio log:

$ export SANE_DEBUG_HPAIO=128
$ simple-scan hpaio:/net/ENVY_4500_series?ip=192.168.0.211
[05:37:42.189674] [sanei_debug] Setting debug level of hpaio to 128.
[05:37:42.194465] [hpaio] sane_hpaio_init(): scan/sane/hpaio.c 356
[05:37:42.194514] [hpaio] sane_hpaio_get_devices(local=0):
scan/sane/hpaio.c 377
[05:37:42.203302] [hpaio]
sane_hpaio_open(/net/ENVY_4500_series?ip=192.168.0.211): scan/sane/hpaio.c
395 scan_type=0 scansrc=2149
[05:37:46.106613] [hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 371

Any pointers as to what I am missing?

Reply via email to