Installed hplip-3.12.4 on Ubuntu 12.04 and HP1020 still not working

Asked by Martin Gallagher

 After upgrading to 12.04 I discover my HP 1020 printer no longer works.

 Some googling suggests I should get the latest hplib so I d/l and run hplip-3.12.4.run.

 All appears to go well until we get to a printer setup GUI app that wants my root password to d/l and install some unspecified binary blob. This step says it failed with no other useful information.

 My printer is still not working. Here's a copy of the hp-check.log I just produced:

==========================================================================================
hp-check[9994]: info: :
Initializing. Please wait...
Ubuntu

12.04

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
scheduler is running

1.5.2

Linux lion 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686 i686 i386 GNU/Linux

hp-check[9994]: info: :
hp-check[9994]: info: :---------------
hp-check[9994]: info: :| SYSTEM INFO |
hp-check[9994]: info: :---------------
hp-check[9994]: info: :
hp-check[9994]: info: :Basic system information:
hp-check[9994]: info: :Linux lion 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686 i686 i386 GNU/Linux
hp-check[9994]: info: :
hp-check[9994]: info: :Distribution:
hp-check[9994]: info: :ubuntu 12.04
hp-check[9994]: info: :
hp-check[9994]: info: :Checking Python version...
hp-check[9994]: info: :OK, version 2.7.3 installed
hp-check[9994]: info: :
hp-check[9994]: info: :Checking PyQt 4.x version...
hp-check[9994]: info: :OK, version 4.9.1 installed.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for CUPS...
hp-check[9994]: info: :Status: p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
scheduler is running
hp-check[9994]: info: :Version: 1.5.2
hp-check[9994]: info: :error_log is set to level: warn
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dbus/python-dbus...
hp-check[9994]: info: :dbus daemon is running.
hp-check[9994]: info: :python-dbus version: 1.0.0
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :------------------------------------
hp-check[9994]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[9994]: info: :------------------------------------
hp-check[9994]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: DBus - Message bus system...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: libtool - Library building support services...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: libusb - USB library...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Python devel - Python development files...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Python XML libraries...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: SANE - Scanning library...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[9994]: info: :To install this dependency, execute this command:
hp-check[9994]: info: :sudo apt-get install --assume-yes xsane
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :----------------------
hp-check[9994]: info: :| HPLIP INSTALLATION |
hp-check[9994]: info: :----------------------
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :Currently installed HPLIP version...
hp-check[9994]: info: :HPLIP 3.12.4 currently installed in '/usr/share/hplip'.
hp-check[9994]: info: :
hp-check[9994]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[9994]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.4

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.4
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
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.4
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

hp-check[9994]: info: :
hp-check[9994]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[9994]: info: :# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

hp-check[9994]: info: :
hp-check[9994]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[9994]: info: :[installation]
date_time = 19/05/12 19:02:52
version = 3.12.4

[upgrade]
notify_upgrade = true
last_upgraded_time = 1337417540
pending_upgrade_time = 0
latest_available_version = 3.12.4

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_LaserJet_1020?serial=JL0KMB7"
printer_name =
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 =

hp-check[9994]: info: :
hp-check[9994]: info: :--------------------------
hp-check[9994]: info: :| DISCOVERED USB DEVICES |
hp-check[9994]: info: :--------------------------
hp-check[9994]: info: :
hp-check[9994]: info: : Device URI Model
hp-check[9994]: info: : --------------------------------------- ------------------------
hp-check[9994]: info: : hp:/usb/HP_LaserJet_1020?serial=JL0KMB7 HP LaserJet 1020
hp-check[9994]: info: :
hp-check[9994]: info: :---------------------------------
hp-check[9994]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[9994]: info: :---------------------------------
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :p11-kit
hp-check[9994]: info: :-------
hp-check[9994]: info: :Type: Unknown
hp-check[9994]: info: :Device URI: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
hp-check[9994]: info: :
hp-check[9994]: info: :HP_LaserJet_1020
hp-check[9994]: info: :----------------
hp-check[9994]: info: :Type: Printer
hp-check[9994]: info: :Device URI: hp:/usb/HP_LaserJet_1020?serial=JL0KMB7
hp-check[9994]: info: :PPD: /etc/cups/ppd/HP_LaserJet_1020.ppd
hp-check[9994]: info: :PPD Description: HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended)
hp-check[9994]: info: :Printer status: p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
printer HP_LaserJet_1020 disabled since Sat 19 May 2012 19:01:49 EST -
 /usr/lib/cups/backend/hp failed
error: Required plug-in status: Not installed
error: Device busy: hp:/usb/HP_LaserJet_1020?serial=JL0KMB7
error: Device not found
error: Communication status: Failed
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :----------------------
hp-check[9994]: info: :| SANE CONFIGURATION |
hp-check[9994]: info: :----------------------
hp-check[9994]: info: :
hp-check[9994]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[9994]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking output of 'scanimage -L'...
hp-check[9994]: info: :p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory

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).

hp-check[9994]: info: :
hp-check[9994]: info: :---------------------
hp-check[9994]: info: :| PYTHON EXTENSIONS |
hp-check[9994]: info: :---------------------
hp-check[9994]: info: :
hp-check[9994]: info: :Checking 'cupsext' CUPS extension...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking 'pcardext' Photocard extension...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking 'hpmudext' I/O extension...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :Checking 'scanext' SANE scanning extension...
hp-check[9994]: info: :OK, found.
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :
hp-check[9994]: info: :-----------------
hp-check[9994]: info: :| USB I/O SETUP |
hp-check[9994]: info: :-----------------
hp-check[9994]: info: :
hp-check[9994]: info: :Checking for permissions of USB attached printers...
hp-check[9994]: info: :
HP Device 0x324 at 006:003:
warning: Device URI: (Makeuri FAILED)
hp-check[9994]: info: :
HP Device 0x2b17 at 002:005:
hp-check[9994]: info: : Device URI: hp:/usb/HP_LaserJet_1020?serial=JL0KMB7
hp-check[9994]: info: : Device node: /dev/bus/usb/002/005
hp-check[9994]: info: : Mode: 0664
hp-check[9994]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/002/005
# owner: root
# group: lp
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::r--

hp-check[9994]: info: :
hp-check[9994]: info: :---------------
hp-check[9994]: info: :| USER GROUPS |
hp-check[9994]: info: :---------------
hp-check[9994]: info: :
hp-check[9994]: info: :martin adm dialout cdrom plugdev lpadmin admin sambashare

hp-check[9994]: info: :
hp-check[9994]: info: :-----------
hp-check[9994]: info: :| SUMMARY |
hp-check[9994]: info: :-----------
hp-check[9994]: info: :
error: 3 errors and/or warnings.
hp-check[9994]: info: :
hp-check[9994]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[9994]: info: :sudo apt-get install --assume-yes xsane
hp-check[9994]: info: :
hp-check[9994]: info: :Please refer to the installation instructions at:
hp-check[9994]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[9994]: info: :
hp-check[9994]: info: :Done.
===========================================================================

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Gallagher
Solved:
Last query:
Last reply:
Revision history for this message
Martin Gallagher (mgallagh-h) said :
#1

 OK, so I found I needed to get hplip-3.12.4-plugin.run from http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/.

 Managed to run that so the driver is there. Printer not working, but after a rest and a reboot it's working ok. Don't really know why.