Comment 14 for bug 877793

Revision history for this message
Rickard (rickard-uk) wrote :

Hi,
I think I have a crude non-standard work around.
I noticed on my 11.04 x64 installed that all the hapio files were in directory '/usr/lib/sane/' like so:
libsane-hpaio.la
libsane-hpaio.so
libsane-hpaio.so.1
libsane-hpaio.so.1.0.0

But not after driver install for 11.10 x64. They were after the install instead in the '/usr/lib64/sane/' directory. By copying them over I managed to get it to work.

So, far the full approach for an install is:

cd ~
gedit .bashrc
#enter the below lines at the end of the file, save it and close it (note no space between equals = sign
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/
# export LD_LIBRARY_PATH

cd /etc/ld.so.conf.d/
sudo gedit lib64.conf
# Add the below line in the file lib64.conf
# /usr/lib64/

# restart the machine and then run the command to load the libraries and the plugin command is sometimes
# needed before the full drivers install for some reason :(
sudo ldconfig
sudo hp-plugin -g
sh hplip-3.11.10.run

# Then run the below commands to test that scanning is working
ls -alt /usr/lib64/sane/
sudo cp /usr/lib64/sane/*.* /usr/lib/sane/
scanimage -L

Which gives me and out put of:
device `hpaio:/net/HP_Color_LaserJet_CM2320nf_MFP?zc=NPI7887E4' is a Hewlett-Packard HP_Color_LaserJet_CM2320nf_MFP all-in-one

And Simple Scan now works.

But I am not sure this is the correct way to install the drivers properly as it seems a lot of manual work outside the install script. Is there a proper way to install them?

Regards Rick