Page 1 of 1

Making my HP Photosmart c5180 scanner work

Posted: 27 Sep 2011, 10:24
by viking60
For some reason I could not get HPLip to pop in Arch. I have on several occasions been able to set up my scanner there.
I have this cheap all in one Printer/scanner HP-Photosmart c5100 series. As I have stated the drivers are installed with hplip. Now I wanted to use Gimp for scanning so I installed sane and did a:

Code: Select all

sane-find-scanner
and it found my scanner:

Code: Select all

found USB scanner (vendor=0x03f0 [HP], product=0x5811 [Photosmart C5100 series]) at libusb:002:006

Together with a lot of other stuff I simply ignored.
Now the real test for finding your hardware in sane is scanimage-L and I came up with a blank there :(
OK We know the HW is there and can be found, so I added myself (my user) to the scanner group.
Trying again.... and still a blank :berserk2
Having a look at the config file:

Code: Select all

sudo nano /etc/sane.d/dll.conf

And there at the very bottom of the file hpaio was commented out like this:

Code: Select all

#hpaio

I uncommented it (If it is not there you must add it for HP scanners to work):

Code: Select all

hpaio

That toke care of it:

Code: Select all

[viking@viking60-server ~]$ scanimage -L
device `hpaio:/usb/Photosmart_C5100_series?serial=MY78GQ91K104MK' is a Hewlett-Packard Photosmart_C5100_series all-in-one


Then I installed xsane and xsane-gimp which is the sane GUI.
Over to Gimp and picked the now present Xsane: Device dialog under file->create
and I could pick my scanner and simply start scanning.
ImageImage

Image
PS: This has nothing to do with the printer setup. The printer has been set up (and working) in Cups for ages. This is all about getting that scanner to work.