hplip installed, Photosmart 5520 all in one prints but no scan

Asked by Graham Andrews

I have recently purchased a HP Photosmart 5520 all-in-one printer. Printer set up has been fine, but the scanner is problematic. I am running the 64 bit version of Linux Mint 13, which I understand should be supported by hplip, I have downloaded and installed the latest version of hplip (3.12.11)

Having Re-installed hplip with the auto flag set and choosing to remove and install the Scanner still fails to work.

Using HP Device Manager to try and scan get error message as follows - Failed to open device 'hpaio:/usb/Photosmart_5520_series?serial=CN27L161L505ST':Operation not supported

Test Page Prints OK.

Added User to scanner group

hp-check -t doesn't find the scanner, no errors appear at the end

sane-find-scanner gives - found USB scanner (vendor=0x03f0 [HP], product=0xb111 [Photosmart 5520 series]) at libusb:001:005

scanimage -L gives - No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

contents of etc/saned/dll.conf shows hpaio at the end of the list

Simple scan doen't find the scanner

Xsane finds no devices

Please can you explain what I have missed!

************************************************************
Results of hpcheck -t

hp-check[16477]: info: :
Initializing. Please wait...
LinuxMint

13

scheduler is running

1.5.3

Linux graham-desktop 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

hp-check[16477]: info: :
hp-check[16477]: info: :---------------
hp-check[16477]: info: :| SYSTEM INFO |
hp-check[16477]: info: :---------------
hp-check[16477]: info: :
3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 GNU/Linux

graham-desktop

3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 GNU/Linux

hp-check[16477]: info: : Kernel: 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 GNU/Linux
 Host: graham-desktop
 Proc: 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 GNU/Linux
 Distribution: linuxmint 13
hp-check[16477]: info: :
hp-check[16477]: info: :-----------------------
hp-check[16477]: info: :| HPLIP CONFIGURATION |
hp-check[16477]: info: :-----------------------
hp-check[16477]: info: :
hp-check[16477]: info: :HPLIP-Version: HPLIP 3.12.11
hp-check[16477]: info: :HPLIP-Home: /usr/share/hplip
hp-check[16477]: info: :HPLIP-Installation: Auto installation is supported for linuxmint distro 13 version
hp-check[16477]: info: :
hp-check[16477]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[16477]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.11
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

hp-check[16477]: info: :
hp-check[16477]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[16477]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[16477]: info: :
hp-check[16477]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[16477]: info: :[upgrade]
notify_upgrade = true
last_upgraded_time = 1355757176
pending_upgrade_time = 0
latest_available_version = 3.12.11

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/Photosmart_5520_series?serial=CN27L161L505ST"
printer_name = Photosmart_5520
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 17/12/12 15:37:05
version = 3.12.11

hp-check[16477]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[16477]: info: :
hp-check[16477]: info: :--------------------------
hp-check[16477]: info: :| External Dependencies |
hp-check[16477]: info: :--------------------------
hp-check[16477]: info: :
hp-check[16477]: info: : gs Ghostscript REQUIRED 7.05 9.05 OK -
hp-check[16477]: info: : network Network-wget OPTIONAL - 1.13.4 OK -
hp-check[16477]: info: : dbus DBus REQUIRED - 1.4.18 OK -
hp-check[16477]: info: : scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
hp-check[16477]: info: : policykit Admin-Policy-framework OPTIONAL - 0.104 OK -
hp-check[16477]: info: : xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
scheduler is running

hp-check[16477]: info: : cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running'
hp-check[16477]: info: :
hp-check[16477]: info: :-------------------------
hp-check[16477]: info: :| General Dependencies |
hp-check[16477]: info: :-------------------------
hp-check[16477]: info: :
hp-check[16477]: info: : reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
hp-check[16477]: info: : libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
hp-check[16477]: info: : pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
hp-check[16477]: info: : pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.1 OK -
hp-check[16477]: info: : libjpeg JPEG-Lib REQUIRED - - OK -
hp-check[16477]: info: : libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
hp-check[16477]: info: : python-dbus Python-DBUS REQUIRED 0.80.0 1.0.0 OK -
hp-check[16477]: info: : python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
hp-check[16477]: info: : pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 OK -
hp-check[16477]: info: : cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
hp-check[16477]: info: : sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
hp-check[16477]: info: : libusb USB-Lib REQUIRED - 1.0 OK -
hp-check[16477]: info: : sane Scan-Lib REQUIRED - 1.0.22 OK -
hp-check[16477]: info: : cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
hp-check[16477]: info: : libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
hp-check[16477]: info: : python-xml Python-XML-Lib REQUIRED - 2.0.1 OK -
hp-check[16477]: info: : python-notify Desktop-notifications OPTIONAL - - OK -
hp-check[16477]: info: :
hp-check[16477]: info: :------------------------------
hp-check[16477]: info: :| Compile Time Dependencies |
hp-check[16477]: info: :------------------------------
hp-check[16477]: info: :
hp-check[16477]: info: : gcc gcc-Compiler REQUIRED - 4.6.3 OK -
hp-check[16477]: info: : libtool Build-tools REQUIRED - 2.4.2 OK -
hp-check[16477]: info: : make GNU-Build-tools REQUIRED 3.0 3.81 OK -
hp-check[16477]: info: :
hp-check[16477]: info: :----------------------
hp-check[16477]: info: :| Python Extentions |
hp-check[16477]: info: :----------------------
hp-check[16477]: info: :
hp-check[16477]: info: : cupsext CUPS-Extension REQUIRED - 3.12.11 OK -
hp-check[16477]: info: : pcardext PhotoCard-Extension REQUIRED - 3.12.11 OK -
hp-check[16477]: info: : hpmudext IO-Extension REQUIRED - 3.12.11 OK -
hp-check[16477]: info: :
hp-check[16477]: info: :-----------------------
hp-check[16477]: info: :| Scan Configuration |
hp-check[16477]: info: :-----------------------
hp-check[16477]: info: :
hp-check[16477]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.12.11 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[16477]: info: : scanext Scan-SANE-Extension REQUIRED - 3.12.11 OK -
hp-check[16477]: info: :
hp-check[16477]: info: :------------------------------
hp-check[16477]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[16477]: info: :------------------------------
hp-check[16477]: info: :
hp-check[16477]: info: :No Scanner found.
hp-check[16477]: info: :
hp-check[16477]: info: :--------------------------
hp-check[16477]: info: :| DISCOVERED USB DEVICES |
hp-check[16477]: info: :--------------------------
hp-check[16477]: info: :
hp-check[16477]: info: : Device URI Model
hp-check[16477]: info: : -------------------------------- -------------------------
hp-check[16477]: info: : hp:/usb/Photosmart_5520_series?s HP Photosmart 5520 series
  erial=CN27L161L505ST
hp-check[16477]: info: :
hp-check[16477]: info: :---------------------------------
hp-check[16477]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[16477]: info: :---------------------------------
hp-check[16477]: info: :
hp-check[16477]: info: :
hp-check[16477]: info: :Photosmart_5520
hp-check[16477]: info: :---------------
hp-check[16477]: info: :Type: Printer
hp-check[16477]: info: :Device URI: hp:/usb/Photosmart_5520_series?serial=CN27L161L505ST
hp-check[16477]: info: :PPD: /etc/cups/ppd/Photosmart_5520.ppd
hp-check[16477]: info: :PPD Description: HP Photosmart 5520 Series, hpcups 3.12.11
hp-check[16477]: info: :Printer status: printer Photosmart_5520 is idle. enabled since Mon 17 Dec 2012 15:20:10 GMT
 ready to print
hp-check[16477]: info: :Communication status: Good
hp-check[16477]: info: :
hp-check[16477]: info: :
hp-check[16477]: info: :--------------
hp-check[16477]: info: :| PERMISSION |
hp-check[16477]: info: :--------------
hp-check[16477]: info: :
scanner adm lp cdrom sudo dip plugdev lpadmin sambashare

hp-check[16477]: info: :groups user-groups Required - - OK scanner adm lp cdrom sudo dip plugdev lpadmin sambashare

hp-check[16477]: info: :USB Photosmart_5520 Required - - OK Node:'/dev/bus/usb/001/005' Perm:' root lp rw- rw- rw- rw- r--'
hp-check[16477]: info: :
hp-check[16477]: info: :-----------
hp-check[16477]: info: :| SUMMARY |
hp-check[16477]: info: :-----------
hp-check[16477]: info: :
hp-check[16477]: info: :Missing Required Dependencies
hp-check[16477]: info: :-----------------------------
hp-check[16477]: info: :None
hp-check[16477]: info: :
hp-check[16477]: info: :Missing Optional Dependencies
hp-check[16477]: info: :-----------------------------
hp-check[16477]: info: :None
hp-check[16477]: info: :
hp-check[16477]: info: :
hp-check[16477]: info: :Total Errors: 0
hp-check[16477]: info: :Total Warnings: 0
hp-check[16477]: info: :
hp-check[16477]: info: :No errors or warnings.
hp-check[16477]: info: :
hp-check[16477]: info: :Done.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Amarnath Chitumalla
Solved:
Last query:
Last reply:
Revision history for this message
Best Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Hi,

Seems like In Linux mint 13 64 bit symlink between /usr/lib and /usr/lib64 is missing or changed.

We will fix this issue in next HPILIP release meanwhile please make following changes from scan functionality.
1) copy libsane-hpaio files into /usr/lib/sane folder
   $ sudo cp /usr/lib64/sane/libsane-hpaio* /usrlib/sane

2) start scan functionality
   $ xsane

Thanks & Regards,
Amarnath

Revision history for this message
Graham Andrews (grahamandrews) said :
#2

Many thanks for a prompt reply & Solution to the query.

I assume it's a typo but the first line should read as below (incase any one else tries this solution)

sudo cp /usr/lib64/sane/libsane-hpaio* /usr/lib/sane

Revision history for this message
Joshua Krasnow (allparadigm) said :
#3

On 12.10 I do not have a /usr/lib64/

There is:
/lib
/lib64
/usr/lib
/usr/lib/x86_64-linux-gnu

and copying over from /usr/lib/x86_64-linux-gnu to /usr/lib/sane does not improve results