solution will prevent users from installing HPLIP since HP would not like to make use of their HPLIP, without installing all their mess, as publicized in the package description:
"This package is useful for a minimal footprint headless scanning solution"
HPLIP refuses to provide support, since they simply refer to install HPLIP. I mean, that's not fair since servers needs really "a minimal footprint headless scanning solution" and we do not need HPLIP and other mess.
OK got it to work.
$ dpkg -l | grep sane
ii libsane 1.0.21-9 API library for scanners
ii libsane-extras 184.108.40.206 API library for scanners -- extra backends
ii libsane-hpaio 3.10.6-2+squeeze1 HP SANE backend for multi-function peripherals
ii sane-utils 1.0.21-9 API library for scanners -- utilities
then you add the directory scan and the file scan.py that you take from hplip deb.
so that you have:
data scan scan.py
then you simply do create /etc/hp/hplip.conf
# hplip.conf. Generated from hplip.conf.in by configure.
# Following values are determined at configure time and cannot be changed.
then you type to see your newly found scanner
and then you see that udev does not see it. Ok, let's work on udev.
OK. Let's simply change the UDEV to right permissions, into the directory /etc/udev/rules.d#
OK. Un/replug the USB of our officejet.
Let's try now with a regular user:
$ scanimage -L
[sanei_debug] Setting debug level of dll to 0.
device `hpaio:/usb/Officejet_4500_G510g-m?serial=XX' is a Hewlett-Packard Officejet_4500_G510g-m all-in-one
Then what you do?
- Say thank you, + reportbug to libsane-hpaio (maybe one day, libsane-hpaio will care about it, and will tell you sthg else : INSTALL HPLIP and KDE and all the mess we advice you )
[ SOLVED ]