← Back to team overview

desktop-packages team mailing list archive

[Bug 1469313] Re: After installing hplip 3.15.6 printer is sometimes not recognized after reboot

 

Tonight I got to print something - printer shows job started and then
completed however nothing happens. I turned off and the on printer,
tried again, nothing. Changed USB cable port on hub, nothing. Ran sudo
lsusb, printer is seen, ran hp-setup printer not seen. Ran hp-doctor,
printer not seen. All output is below. This is becoming absurd!!

chris@localhost:~$ sudo lsusb
[sudo] password for chris: 
Bus 002 Device 021: ID 1949:0012 Lab126, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 1058:0830 Western Digital Technologies, Inc. 
Bus 001 Device 012: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 001 Device 005: ID 0bc2:2120 Seagate RSS LLC 
Bus 001 Device 004: ID 050d:0237 Belkin Components F5U237 USB 2.0 7-Port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 1241:1166 Belkin MI-2150 Trust Mouse
Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
chris@localhost:~$ hp-setup

HP Linux Imaging and Printing System (ver. 3.15.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb

Done.
chris@localhost:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.15.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
Latest version of HPLIP is already installed.


Checking for Dependencies....

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.0.0-997-generic #201503310205 SMP Tue Mar 31 02:07:04 UTC 2015 GNU/Linux
 Host: localhost
 Proc: 4.0.0-997-generic #201503310205 SMP Tue Mar 31 02:07:04 UTC 2015 GNU/Linux
 Distribution: ubuntu 14.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  14.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.15.6

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

# 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.15.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.15.6


Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 07/09/2015 19:47:47
version = 3.15.6

[upgrade]
notify_upgrade = true
last_upgraded_time = 1435354374
pending_upgrade_time = 0
latest_available_version = 3.15.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.10            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.23          OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.998           OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             1.7.2           OK         'CUPS Scheduler is running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.15            OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.6.18          OK         -

-------------------------
|  General Dependencies |
-------------------------

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.1           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.0             OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.10.4          OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               1.7.2           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.2           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.23          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.6           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.10.4          OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.19            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.6           OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               1.7.2           OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               1.0.23          OK         -

---------------
|  COMPILEDEP |
---------------

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.2           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.8.4           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             3.81            OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.15.6          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.15.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.15.6          OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.15.6          OK         'hpaio found in /etc/sane.d/dll.conf'

-----------------------
|  Other Dependencies |
-----------------------


------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP-LaserJet-1020
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
PPD: /etc/cups/ppd/HP-LaserJet-1020.ppd
PPD Description: HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended)
Printer status: printer HP-LaserJet-1020 is idle.  enabled since Thu 09 Jul 2015 07:45:50 PM CDT
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
error: Device not found
error: Communication status: Failed

HP_LaserJet_1020
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
PPD: /etc/cups/ppd/HP_LaserJet_1020.ppd
PPD Description: HP LaserJet 1020, hpcups 3.15.6, requires proprietary plugin
Printer status: printer HP_LaserJet_1020 is idle.  enabled since Thu 09 Jul 2015 07:44:2Rendering completed
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------


Checking Permissions....
Permissions are correct.


Checking for Configured Queues....
 
warning: 2 queues of same device HP-LaserJet-1020 is configured.
Remove unwanted queues.
error: PPD file for 'HP-LaserJet-1020' is not correct. Need to choose correct PPD file.
Do you want to remove and re-configure? (y=yes*, n=no, q=quit) ? y
' HP-LaserJet-1020' removed successfully.
Re-configuring this printer by hp-setup...

HP Linux Imaging and Printing System (ver. 3.15.6)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to
accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num       Connection  Description                                               
            Type                                                                  
  --------  ----------  ----------------------------------------------------------
  0*        usb         Universal Serial Bus (USB)                                
  1         net         Network/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ?

Using connection type: usb

error: No device selected/specified or that supports this functionality.
 

Checking for HP Properitery Plugin's....
Plugin's already installed
 

Checking for Printer Status....
error: 'HP-LaserJet-1020' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
error: 'HP_LaserJet_1020' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor

Diagnose completed...


More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
chris@localhost:~$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.15.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
Latest version of HPLIP is already installed.


Checking for Dependencies....

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.0.0-997-generic #201503310205 SMP Tue Mar 31 02:07:04 UTC 2015 GNU/Linux
 Host: localhost
 Proc: 4.0.0-997-generic #201503310205 SMP Tue Mar 31 02:07:04 UTC 2015 GNU/Linux
 Distribution: ubuntu 14.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.15.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  14.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.15.6

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

# 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.15.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.15.6


Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 07/09/2015 19:50:54
version = 3.15.6

[upgrade]
notify_upgrade = true
last_upgraded_time = 1435354374
pending_upgrade_time = 0
latest_available_version = 3.15.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.10            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.23          OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.998           OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             1.7.2           OK         'CUPS Scheduler is running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.15            OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.6.18          OK         -

-------------------------
|  General Dependencies |
-------------------------

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.1           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.0             OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.10.4          OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               1.7.2           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.2           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.23          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.6           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.10.4          OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.19            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.6           OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               1.7.2           OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               1.0.23          OK         -

---------------
|  COMPILEDEP |
---------------

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.2           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.8.4           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             3.81            OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.15.6          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.15.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.15.6          OK         -
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.15.6          OK         'hpaio found in /etc/sane.d/dll.conf'

-----------------------
|  Other Dependencies |
-----------------------


------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP_LaserJet_1020
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
PPD: /etc/cups/ppd/HP_LaserJet_1020.ppd
PPD Description: HP LaserJet 1020, hpcups 3.15.6, requires proprietary plugin
Printer status: printer HP_LaserJet_1020 is idle.  enabled since Thu 09 Jul 2015 07:44:2Rendering completed
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1020?serial=JL1F0DC
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------


Checking Permissions....
Permissions are correct.


Checking for Configured Queues....
 
Queue(s) configured correctly using HPLIP.


Checking for HP Properitery Plugin's....
Plugin's already installed
 

Checking for Printer Status....
error: 'HP_LaserJet_1020' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor

Diagnose completed...


More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
chris@localhost:~$

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1469313

Title:
  After installing hplip 3.15.6 printer is sometimes not recognized
  after reboot

Status in hplip package in Ubuntu:
  New

Bug description:
  HPLIP was automatically updated on 11 June 2015. During the upgrade
  instructions were carefully followed however at the end the printer
  was not recognized. The upgrade was attempted again and it was then
  noted that it was required to turn off then on the printer for it be
  be recognized at the end of the install. Today, 26 June 2015 after a
  reboot caused by a video freeze the printer was not recognized
  (firmware was not downloaded during boot as usual) and running hp-
  setup shows printer not recognized even after turning the printer off
  then on several times and also unplugging and replugging it in to the
  usb port. I have not yet gone through these steps:

  => Run the command "hp-uninstall" to cleanly uninstall HPLIP. Remove
  plug-ins too when prompted.

  => Install the latest (or already downloaded 3.15.2 run file)

  => Remove all the existing queues by running the command "hp-setup -r"

  => Re-configure the queue by running the command "hp-setup". This step
  will also prompt for installing the plugin. Follow the prompts to
  install the plugins.

  => Try printing to the queue named HP_LaserJet_1020

  After going through all the steps above the printer is again
  functional. Note: during the step to install the hp driver besides
  unplugging and replugging in the usb cable I have to additionally turn
  the printer off and on. Once this is done the driver installs
  correctly.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: hplip (not installed)
  Uname: Linux 4.0.0-997-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Jun 26 15:12:48 2015
  InstallationDate: Installed on 2014-10-24 (245 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: hplip
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1469313/+subscriptions


References