Device comm. error 5012 with second printing attempt

Asked by merrifie

hp photosmart 7660 / ubuntu 9.05 / cups 1.3.9 / hplip 3.9.2

Printing works once but generally not the second time. The (second) job is queued and status indicats 'processing' but eventually the HP Device Manager shows "Device communication error" (5012), queued job status becomes 'pending' and the printer no longer appears in lsusb. The printer does not respond to the power button and has to be unplugged. After plugging it back in and powering it up, the system is ready to repeat the whole process again.

BEFORE:
merrifie@m1-desktop:~$ lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:b202 Hewlett-Packard photosmart 7600 series
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 007: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

merrifie@m1-desktop:~$ /usr/lib/cups/backend/hp
direct hp:/usb/photosmart_7600_series?serial=MY423330GHP7 "HP photosmart 7600 series" "HP photosmart 7600 series USB MY423330GHP7 HPLIP" "MFG:HP;MDL:photosmart 7600 series;CLS:PRINTER;DES:photosmart 7600 series;SN:MY423330GHP7;"

AFTER:
merrifie@m1-desktop:~$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 006: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

merrifie@m1-desktop:~$ /usr/lib/cups/backend/hp
direct hp "Unknown" "HP Printer (HPLIP)"

Question information

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

hp-info
BEFORE:
merrifie@m1-desktop:~/printer$ hp-info -i

HP Linux Imaging and Printing System (ver. 3.9.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-9 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.

Using device: hp:/usb/photosmart_7600_series?serial=MY423330GHP7

hp:/usb/photosmart_7600_series?serial=MY423330GHP7

Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  agent1-ack False
  agent1-desc Black cartridge
  agent1-dvc 0
  agent1-health 0
  agent1-health-desc Low
  agent1-hp-ink False
  agent1-id 9
  agent1-kind 3
  agent1-known False
  agent1-level 0
  agent1-level-trigger 5
  agent1-sku 56 (C6656A)
  agent1-type 1
  agent1-virgin False
  agent2-ack False
  agent2-desc Tri-color cartridge
  agent2-dvc 0
  agent2-health 0
  agent2-health-desc Good/OK
  agent2-hp-ink False
  agent2-id 0
  agent2-kind 3
  agent2-known False
  agent2-level 31
  agent2-level-trigger 0
  agent2-sku 57 (C6657A)
  agent2-type 2
  agent2-virgin False
  back-end hp
  cups-printer photosmart-7600-series
  cups-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  dev-file
  device-state 1
  device-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  deviceid MFG:hp;MDL:photosmart 7600
                                series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;CLS:PRINTER;DES:
                                7660;SN:MY423330GHP7;S:0380088084001021002c14d0000c250001f
                                ;J: ;Z:0102;
  duplexer 0
  error-state 102
  host
  in-tray1 True
  in-tray2 False
  is-hp True
  media-path 3
  panel 0
  panel-line1
  panel-line2
  photo-tray 1
  port 1
  r 0
  revision 3
  rg 000
  rr 000000
  rs 000000000
  serial MY423330GHP7
  status-code 1501
  status-desc Black cartridge is low on ink
  supply-door 0
  top-door 1

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 1
  clean-type 1
  color-cal-type 3
  copy-type 0
  embedded-server-type 0
  fax-type 0
  fw-download False
  icon default_photosmart.png
  io-mfp-mode 6
  io-mode 1
  io-support 2
  job-storage 0
  linefeed-cal-type 0
  model photosmart_7600_series
  model-ui HP Photosmart 7600 Series
  model1 HP Photosmart 7655 Photo Printer
  model2 HP Photosmart 7660 Photo Printer
  monitor-type 0
  panel-check-type 0
  pcard-type 1
  plugin 0
  plugin-reason 0
  power-settings 0
  pq-diag-type 0
  r-type 0
  r0-agent1-kind 3
  r0-agent1-sku 56 (C6656A)
  r0-agent1-type 1
  r0-agent2-kind 3
  r0-agent2-sku 57 (C6657A)
  r0-agent2-type 2
  r0-agent3-kind 3
  r0-agent3-sku 58 (C6658A)
  r0-agent3-type 3
  r0-agent4-kind 3
  r0-agent4-sku 59 (C9359A)
  r0-agent4-type 10
  scan-style 0
  scan-type 0
  status-battery-check 0
  status-dynamic-counters 0
  status-type 2
  support-released True
  support-subtype 0
  support-type 2
  support-ver 0.9.5
  tech-class ['DJGenericVIP']
  tech-subclass ['Normal']
  tech-type 2
  usb-pid 45570
  usb-vid 1008

Status History (most recent first):
  Date/Time Code Status Description User Job ID
  -------------------- ----- ---------------------------------------- -------- --------
  05/12/09 19:21:33 1501 Black cartridge is low on ink merrifie 0
  05/12/09 19:21:33 1000 Idle merrifie 0
  05/12/09 18:55:41 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:55:41 1000 Idle merrifie 0
  05/12/09 18:40:41 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:40:41 1000 Idle merrifie 0
  05/12/09 18:40:31 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:40:31 1000 Idle merrifie 0
  05/12/09 18:09:43 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:09:43 1000 Idle merrifie 0
  05/12/09 18:03:04 1501 Black cartridge is low on ink merrifie 0

Done.

AFTER:
merrifie@m1-desktop:~/printer$ hp-info -i

HP Linux Imaging and Printing System (ver. 3.9.2)
Device Information Utility ver. 5.2

Copyright (c) 2001-9 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.

Using device: hp:/usb/photosmart_7600_series?serial=MY423330GHP7

hp:/usb/photosmart_7600_series?serial=MY423330GHP7

error: Unable to communicate with device (code=12): hp:/usb/photosmart_7600_series?serial=MY423330GHP7
error: Error opening device (Device not found).
Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  back-end hp
  cups-printer photosmart-7600-series
  cups-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  dev-file
  device-state -1
  device-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  deviceid
  error-state 101
  host
  is-hp True
  panel 0
  panel-line1
  panel-line2
  port 1
  serial MY423330GHP7
  status-code 5002
  status-desc

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 1
  clean-type 1
  color-cal-type 3
  copy-type 0
  embedded-server-type 0
  fax-type 0
  fw-download False
  icon default_photosmart.png
  io-mfp-mode 6
  io-mode 1
  io-support 2
  job-storage 0
  linefeed-cal-type 0
  model photosmart_7600_series
  model-ui HP Photosmart 7600 Series
  model1 HP Photosmart 7655 Photo Printer
  model2 HP Photosmart 7660 Photo Printer
  monitor-type 0
  panel-check-type 0
  pcard-type 1
  plugin 0
  plugin-reason 0
  power-settings 0
  pq-diag-type 0
  r-type 0
  r0-agent1-kind 3
  r0-agent1-sku 56 (C6656A)
  r0-agent1-type 1
  r0-agent2-kind 3
  r0-agent2-sku 57 (C6657A)
  r0-agent2-type 2
  r0-agent3-kind 3
  r0-agent3-sku 58 (C6658A)
  r0-agent3-type 3
  r0-agent4-kind 3
  r0-agent4-sku 59 (C9359A)
  r0-agent4-type 10
  scan-style 0
  scan-type 0
  status-battery-check 0
  status-dynamic-counters 0
  status-type 2
  support-released True
  support-subtype 0
  support-type 2
  support-ver 0.9.5
  tech-class ['DJGenericVIP']
  tech-subclass ['Normal']
  tech-type 2
  usb-pid 45570
  usb-vid 1008

Status History (most recent first):
  Date/Time Code Status Description User Job ID
  -------------------- ----- ---------------------------------------- -------- --------
  05/12/09 21:30:20 5012 Device communication error merrifie 0
  05/12/09 21:14:45 500 Started a print job merrifie 117
  05/12/09 21:14:32 501 Print job has completed merrifie 116
  05/12/09 21:14:20 500 Started a print job merrifie 116
  05/12/09 21:12:25 1501 Black cartridge is low on ink merrifie 0
  05/12/09 21:05:09 5012 Device communication error merrifie 0
  05/12/09 20:44:36 500 Started a print job merrifie 115
  05/12/09 20:44:00 1501 Black cartridge is low on ink merrifie 0
  05/12/09 20:43:43 501 Print job has completed merrifie 114
  05/12/09 20:43:31 500 Started a print job merrifie 114
  05/12/09 20:43:22 1501 Black cartridge is low on ink merrifie 0
  05/12/09 20:43:11 501 Print job has completed merrifie 113
  05/12/09 20:42:59 500 Started a print job merrifie 113
  05/12/09 20:42:29 1501 Black cartridge is low on ink merrifie 0
  05/12/09 20:31:58 5012 Device communication error merrifie 0
  05/12/09 20:31:25 500 Started a print job merrifie 112
  05/12/09 20:31:05 1501 Black cartridge is low on ink merrifie 0
  05/12/09 20:30:49 501 Print job has completed merrifie 111
  05/12/09 20:30:20 500 Started a print job merrifie 111
  05/12/09 20:29:27 1501 Black cartridge is low on ink merrifie 0
  05/12/09 20:18:08 5012 Device communication error merrifie 0
  05/12/09 20:03:05 500 Started a print job merrifie 110
  05/12/09 19:52:07 1501 Black cartridge is low on ink merrifie 0
  05/12/09 19:41:49 501 Print job has completed merrifie 109
  05/12/09 19:41:35 500 Started a print job merrifie 109
  05/12/09 19:21:33 1501 Black cartridge is low on ink merrifie 0
  05/12/09 19:21:33 1000 Idle merrifie 0
  05/12/09 18:55:41 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:55:41 1000 Idle merrifie 0
  05/12/09 18:40:41 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:40:41 1000 Idle merrifie 0
  05/12/09 18:40:31 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:40:31 1000 Idle merrifie 0
  05/12/09 18:09:43 1501 Black cartridge is low on ink merrifie 0
  05/12/09 18:09:43 1000 Idle merrifie 0
  05/12/09 18:03:04 1501 Black cartridge is low on ink merrifie 0

Done.

Revision history for this message
merrifie (merrifie) said :
#2

hp-check -rt
BEFORE:
merrifie@m1-desktop:~/printer$ hp-check -rt

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux m1-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------
| RUNTIME DEPENDENCIES |
------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.2

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

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = photosmart-7600-series
device_uri = hp:/usb/photosmart_7600_series?serial=MY423330GHP7

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.2.49
date_time = 05/12/09 21:40:11

[refresh]
rate = 30
enable = False
type = 0

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

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

  Device URI Model
  -------------------------------------------------- -------------------------------
  hp:/usb/photosmart_7600_series?serial=MY423330GHP7 HP photosmart 7600 series

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

photosmart-7600-series
----------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
PPD: /etc/cups/ppd/photosmart-7600-series.ppd
PPD Description: HP Photosmart 7600 series Foomatic/hpijs, hpijs 2.8.7
Printer status: printer photosmart-7600-series is idle. enabled since Tue 12 May 2009 09:38:39 PM PDT
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

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

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0xb202 at 004:059:
    Device URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
    Device node: /dev/bus/usb/004/059
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/004/059
# owner: root
# group: lp
user::rw-
user:merrifie:rw-
group::rw-
mask::rw-
other::r--

-----------
| SUMMARY |
-----------

error: 1 error or warning.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.

AFTER:
merrifie@m1-desktop:~/printer$ hp-check -rt

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux m1-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------
| RUNTIME DEPENDENCIES |
------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.2

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

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = photosmart-7600-series
device_uri = hp:/usb/photosmart_7600_series?serial=MY423330GHP7

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.2.49
date_time = 05/12/09 21:32:42

[refresh]
rate = 30
enable = False
type = 0

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

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

No devices found.

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

photosmart-7600-series
----------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
PPD: /etc/cups/ppd/photosmart-7600-series.ppd
PPD Description: HP Photosmart 7600 series Foomatic/hpijs, hpijs 2.8.7
Printer Unplugged or turned offart-7600-series disabled since Tue 12 May 2009 09:16:40 PM PDT -
error: Unable to communicate with device (code=12): hp:/usb/photosmart_7600_series?serial=MY423330GHP7
error: Device not found

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

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

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 2 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Thanks for all the info.

Please run

sudo tail -f /var/log/syslog

Then do the 2 print jobs and post the output from the syslog.

Thanks!

Aaron

Revision history for this message
merrifie (merrifie) said :
#4

I had a little trouble in that the first print job wasn't always successful. IOW, sometimes it would simply fail the first time. However, the following syslog represents a successful and then an unsuccessful print job:
May 14 00:10:06 m1-desktop hal_lpadmin: Re-enabling printer photosmart-7600-series
May 14 00:10:06 m1-desktop kernel: [ 3559.355027] ppdev0: registered pardevice
May 14 00:10:06 m1-desktop hp: io/hpmud/pp.c 627: unable to read device-id ret=-1
May 14 00:10:06 m1-desktop kernel: [ 3559.396334] ppdev0: unregistered pardevice
May 14 00:10:07 m1-desktop hal_lpadmin: No print queue setup needed for printer with UDI /org/freedesktop/Hal/devices/usb_device_3f0_b202_MY423330GHP7_if0, as queues are already in place.
May 14 00:10:09 m1-desktop kernel: [ 3562.461440] usb-storage: device scan complete
May 14 00:10:09 m1-desktop kernel: [ 3562.469444] scsi 10:0:0:0: Direct-Access HP photosmart 7600 1.00 PQ: 0 ANSI: 2
May 14 00:10:10 m1-desktop kernel: [ 3562.517548] sd 10:0:0:0: [sdc] Attached SCSI removable disk
May 14 00:10:10 m1-desktop kernel: [ 3562.517650] sd 10:0:0:0: Attached scsi generic sg4 type 0
May 14 00:10:47 m1-desktop kernel: [ 3599.562125] usblp0: removed
May 14 00:14:01 m1-desktop hpijs: WARNING: black pen has low ink
May 14 00:14:01 m1-desktop hpijs: STATE: marker-supply-low-warning
May 14 00:14:42 m1-desktop hpijs: WARNING: black pen has low ink
May 14 00:14:42 m1-desktop hpijs: STATE: marker-supply-low-warning
May 14 00:15:14 m1-desktop kernel: [ 3867.112037] usb 4-2: reset full speed USB device using uhci_hcd and address 39
May 14 00:15:27 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 1381: unable to write data hp:/usb/photosmart_7600_series?serial=MY423330GHP7: 45 second io timeout
May 14 00:15:29 m1-desktop kernel: [ 3882.224040] usb 4-2: device descriptor read/64, error -110
May 14 00:15:44 m1-desktop kernel: [ 3897.440029] usb 4-2: device descriptor read/64, error -110
May 14 00:15:45 m1-desktop kernel: [ 3897.656029] usb 4-2: reset full speed USB device using uhci_hcd and address 39
May 14 00:16:00 m1-desktop kernel: [ 3912.768027] usb 4-2: device descriptor read/64, error -110
May 14 00:16:15 m1-desktop kernel: [ 3927.984028] usb 4-2: device descriptor read/64, error -110
May 14 00:16:15 m1-desktop kernel: [ 3928.200028] usb 4-2: reset full speed USB device using uhci_hcd and address 39
May 14 00:16:20 m1-desktop kernel: [ 3933.221847] usb 4-2: device descriptor read/8, error -110
May 14 00:16:25 m1-desktop kernel: [ 3938.341234] usb 4-2: device descriptor read/8, error -110
May 14 00:16:26 m1-desktop kernel: [ 3938.556024] usb 4-2: reset full speed USB device using uhci_hcd and address 39
May 14 00:16:31 m1-desktop kernel: [ 3943.577598] usb 4-2: device descriptor read/8, error -110
May 14 00:16:36 m1-desktop kernel: [ 3948.697978] usb 4-2: device descriptor read/8, error -110
May 14 00:16:36 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 725: invalid deviceid wIndex=0, retrying wIndex=0: No such device
May 14 00:16:36 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 734: invalid deviceid retry ret=-19: No such device
May 14 00:16:36 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 777: invalid device_status: No such device
May 14 00:16:36 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 1022: bulk_write failed buf=0xbfa85c3c size=8192 len=-19: No such device
May 14 00:16:36 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 1384: unable to write data hp:/usb/photosmart_7600_series?serial=MY423330GHP7: No such device

[... 13279 lines of repeated io/hpmud/musb.c messages ...]

May 14 00:16:37 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 1384: unable to write data hp:/usb/photosmart_7600_series?serial=MY423330GHP7: No such device
May 14 00:16:37 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 725: invalid deviceid wIndex=0, retrying wIndex=0: No such device
May 14 00:16:37 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 734: invalid deviceid retry ret=-19: No such device
May 14 00:16:37 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 777: invalid device_status: No such device
May 14 00:16:37 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 1022: bulk_write failed buf=0xbfa85c3c size=8192 len=-19: No such device
May 14 00:16:37 m1-desktop hal_lpadmin: hal_lpadmin triggered by low-level USB device
May 14 00:16:37 m1-desktop hal_lpadmin: Using device ID from HAL database entry
May 14 00:16:37 m1-desktop hal_lpadmin: remove
May 14 00:16:37 m1-desktop hal_lpadmin: Printer reported by HAL: hp photosmart 7600 series MY423330GHP7
May 14 00:16:37 m1-desktop hal_lpadmin: Found configured printer: photosmart-7600-series; URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
May 14 00:16:37 m1-desktop hal_lpadmin: Disabled printer photosmart-7600-series, as the corresponding device was unplugged or turned off
May 14 00:16:37 m1-desktop kernel: [ 3950.484021] usb 4-2: device not accepting address 42, error -71
May 14 00:16:38 m1-desktop kernel: [ 3950.596035] usb 4-2: new full speed USB device using uhci_hcd and address 43
May 14 00:16:38 m1-desktop kernel: [ 3951.004017] usb 4-2: device not accepting address 43, error -71
May 14 00:16:38 m1-desktop kernel: [ 3951.004041] hub 4-0:1.0: unable to enumerate USB device on port 2
May 14 00:16:41 m1-desktop kernel: [ 3953.724033] usb 4-2: new full speed USB device using uhci_hcd and address 44
May 14 00:16:41 m1-desktop kernel: [ 3953.848028] usb 4-2: device descriptor read/64, error -71
May 14 00:16:41 m1-desktop kernel: [ 3954.072027] usb 4-2: device descriptor read/64, error -71
May 14 00:16:41 m1-desktop kernel: [ 3954.288027] usb 4-2: new full speed USB device using uhci_hcd and address 45
May 14 00:16:41 m1-desktop kernel: [ 3954.408031] usb 4-2: device descriptor read/64, error -71
May 14 00:16:42 m1-desktop kernel: [ 3954.632028] usb 4-2: device descriptor read/64, error -71
May 14 00:16:42 m1-desktop kernel: [ 3954.848031] usb 4-2: new full speed USB device using uhci_hcd and address 46
May 14 00:16:42 m1-desktop kernel: [ 3955.256017] usb 4-2: device not accepting address 46, error -71
May 14 00:16:42 m1-desktop kernel: [ 3955.368030] usb 4-2: new full speed USB device using uhci_hcd and address 47
May 14 00:16:43 m1-desktop kernel: [ 3955.776022] usb 4-2: device not accepting address 47, error -71
May 14 00:16:43 m1-desktop kernel: [ 3955.776044] hub 4-0:1.0: unable to enumerate USB device on port 2
May 14 00:16:43 m1-desktop python: io/hpmud/musb.c 1104: unable to open hp:/usb/photosmart_7600_series?serial=MY423330GHP7
May 14 00:16:43 m1-desktop python: hp-systray(hpdio)[3620]: error: Unable to communicate with device (code=12): hp:/usb/photosmart_7600_series?serial=MY423330GHP7
May 14 00:16:43 m1-desktop python: hp-systray(hpdio)[3620]: error: Device not found

Thank you for your time and effort! I appreciate it.

Revision history for this message
merrifie (merrifie) said :
#5

Oops, I found that there were lines among the 13K+ I deleted from the above syslog that may be important. They are;

May 14 00:16:36 m1-desktop kernel: [ 3948.800638] usb 4-2: USB disconnect, address 39
May 14 00:16:36 m1-desktop kernel: [ 3948.802026] sd 10:0:0:0: Device offlined - not ready after error recovery
May 14 00:16:36 m1-desktop kernel: [ 3948.912053] usb 4-2: new full speed USB device using uhci_hcd and address 40
May 14 00:16:36 m1-desktop kernel: [ 3949.060048] usb 4-2: device descriptor read/64, error -71
May 14 00:16:36 m1-desktop hal_lpadmin: Running hal_lpadmin
May 14 00:16:36 m1-desktop kernel: [ 3949.284076] usb 4-2: device descriptor read/64, error -71
May 14 00:16:36 m1-desktop kernel: [ 3949.501058] usb 4-2: new full speed USB device using uhci_hcd and address 41
May 14 00:16:37 m1-desktop kernel: [ 3949.624046] usb 4-2: device descriptor read/64, error -71
May 14 00:16:37 m1-desktop kernel: [ 3949.848035] usb 4-2: device descriptor read/64, error -71
May 14 00:16:37 m1-desktop kernel: [ 3950.072208] usb 4-2: new full speed USB device using uhci_hcd and address 42

I still have the entire raw output, if necessary.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#6

Is it possible to test on a windows system and/or a different computer? Try a different USB cable? It seems like some data isn't able to be read from the device. But if it's not consistent this may indicate a hardware or kernel problem.

Aaron

Revision history for this message
merrifie (merrifie) said :
#7

The box is a dual boot (ubuntu / win XP). Printing works fine on XP...

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

Can you try installing the latest version of HPLIP? 3.9.4b.

http://hplipopensource.com

Thanks.

Aaron

Revision history for this message
merrifie (merrifie) said :
#9

The upgrade went smoothly but printing still fails. The queue indicates processing and does not change (unlike the previous change to 'pending'). The HP Device Manager shows "Started a print job", "Device is busy" and "Print job has completed" and finally "Device communication error" with the execution of the hp- commands.

lsusb before and after did not change.

hp-info
BEFORE:

HP Linux Imaging and Printing System (ver. 3.9.4b)
Device Information Utility ver. 5.2

Copyright (c) 2001-9 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.

Using device: hp:/usb/photosmart_7600_series?serial=MY423330GHP7

hp:/usb/photosmart_7600_series?serial=MY423330GHP7

Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  agent1-ack False
  agent1-desc Black cartridge
  agent1-dvc 0
  agent1-health 0
  agent1-health-desc Very low
  agent1-hp-ink False
  agent1-id 9
  agent1-kind 3
  agent1-known False
  agent1-level 0
  agent1-level-trigger 6
  agent1-sku 56 (C6656A)
  agent1-type 1
  agent1-virgin False
  agent2-ack False
  agent2-desc Tri-color cartridge
  agent2-dvc 0
  agent2-health 0
  agent2-health-desc Good/OK
  agent2-hp-ink False
  agent2-id 0
  agent2-kind 3
  agent2-known False
  agent2-level 28
  agent2-level-trigger 0
  agent2-sku 57 (C6657A)
  agent2-type 2
  agent2-virgin False
  back-end hp
  cups-printer photosmart_7600
  cups-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  dev-file
  device-state 1
  device-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  deviceid MFG:hp;MDL:photosmart 7600
                                series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;CLS:PRINTER;DES:
                                7660;SN:MY423330GHP7;S:0380088084001021002c14e0000c250001c
                                ;J: ;Z:0102;
  duplexer 0
  error-state 102
  host
  in-tray1 True
  in-tray2 False
  is-hp True
  media-path 3
  panel 0
  panel-line1
  panel-line2
  photo-tray 1
  port 1
  r 0
  revision 3
  rg 000
  rr 000000
  rs 000000000
  serial MY423330GHP7
  status-code 1501
  status-desc Black cartridge is low on ink
  supply-door 0
  top-door 1

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 1
  clean-type 1
  color-cal-type 3
  copy-type 0
  embedded-server-type 0
  fax-type 0
  fw-download False
  icon default_photosmart.png
  io-mfp-mode 6
  io-mode 1
  io-support 2
  job-storage 0
  linefeed-cal-type 0
  model photosmart_7600_series
  model-ui HP Photosmart 7600 Series
  model1 HP Photosmart 7655 Photo Printer
  model2 HP Photosmart 7660 Photo Printer
  monitor-type 0
  panel-check-type 0
  pcard-type 1
  plugin 0
  plugin-reason 0
  power-settings 0
  pq-diag-type 0
  r-type 0
  r0-agent1-kind 3
  r0-agent1-sku 56 (C6656A)
  r0-agent1-type 1
  r0-agent2-kind 3
  r0-agent2-sku 57 (C6657A)
  r0-agent2-type 2
  r0-agent3-kind 3
  r0-agent3-sku 58 (C6658A)
  r0-agent3-type 3
  r0-agent4-kind 3
  r0-agent4-sku 59 (C9359A)
  r0-agent4-type 10
  scan-style 0
  scan-type 0
  status-battery-check 0
  status-dynamic-counters 0
  status-type 2
  support-released True
  support-subtype 0
  support-type 2
  support-ver 0.9.5
  tech-class ['DJGenericVIP']
  tech-subclass ['Normal']
  tech-type 2
  usb-pid 45570
  usb-vid 1008

Status History (most recent first):
  Date/Time Code Status Description User Job ID
  -------------------- ----- ---------------------------------------- -------- --------
  05/22/09 07:32:14 1501 Black cartridge is low on ink merrifie 0
  05/22/09 07:32:14 1000 Idle merrifie 0
  05/22/09 07:31:55 1501 Black cartridge is low on ink merrifie 0
  05/22/09 07:31:35 1001 Busy merrifie 0
  05/22/09 07:30:45 5012 Device communication error merrifie 0
  05/22/09 07:30:44 501 Print job has completed merrifie 133
  05/22/09 07:30:44 5021 Device is busy merrifie 133
  05/22/09 07:29:44 500 Started a print job merrifie 133
  05/22/09 07:29:29 1501 Black cartridge is low on ink merrifie 0
  05/22/09 07:29:29 1000 Idle merrifie 0
  05/22/09 07:27:26 1501 Black cartridge is low on ink merrifie 0

Done.

AFTER:
error: Unable to communicate with device (code=12): hp:/usb/photosmart_7600_series?serial=MY423330GHP7
error: Error opening device (Device not found).

HP Linux Imaging and Printing System (ver. 3.9.4b)
Device Information Utility ver. 5.2

Copyright (c) 2001-9 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.

Using device: hp:/usb/photosmart_7600_series?serial=MY423330GHP7

hp:/usb/photosmart_7600_series?serial=MY423330GHP7

Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  back-end hp
  cups-printer photosmart_7600
  cups-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  dev-file
  device-state -1
  device-uri hp:/usb/photosmart_7600_series?serial=MY423330GHP7
  deviceid
  error-state 101
  host
  is-hp True
  panel 0
  panel-line1
  panel-line2
  port 1
  serial MY423330GHP7
  status-code 5002
  status-desc

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 1
  clean-type 1
  color-cal-type 3
  copy-type 0
  embedded-server-type 0
  fax-type 0
  fw-download False
  icon default_photosmart.png
  io-mfp-mode 6
  io-mode 1
  io-support 2
  job-storage 0
  linefeed-cal-type 0
  model photosmart_7600_series
  model-ui HP Photosmart 7600 Series
  model1 HP Photosmart 7655 Photo Printer
  model2 HP Photosmart 7660 Photo Printer
  monitor-type 0
  panel-check-type 0
  pcard-type 1
  plugin 0
  plugin-reason 0
  power-settings 0
  pq-diag-type 0
  r-type 0
  r0-agent1-kind 3
  r0-agent1-sku 56 (C6656A)
  r0-agent1-type 1
  r0-agent2-kind 3
  r0-agent2-sku 57 (C6657A)
  r0-agent2-type 2
  r0-agent3-kind 3
  r0-agent3-sku 58 (C6658A)
  r0-agent3-type 3
  r0-agent4-kind 3
  r0-agent4-sku 59 (C9359A)
  r0-agent4-type 10
  scan-style 0
  scan-type 0
  status-battery-check 0
  status-dynamic-counters 0
  status-type 2
  support-released True
  support-subtype 0
  support-type 2
  support-ver 0.9.5
  tech-class ['DJGenericVIP']
  tech-subclass ['Normal']
  tech-type 2
  usb-pid 45570
  usb-vid 1008

Status History (most recent first):
  Date/Time Code Status Description User Job ID
  -------------------- ----- ---------------------------------------- -------- --------
  05/22/09 07:37:49 5012 Device communication error merrifie 0
  05/22/09 07:34:31 501 Print job has completed merrifie 134
  05/22/09 07:34:31 5021 Device is busy merrifie 134
  05/22/09 07:32:35 500 Started a print job merrifie 134
  05/22/09 07:32:14 1501 Black cartridge is low on ink merrifie 0
  05/22/09 07:32:14 1000 Idle merrifie 0
  05/22/09 07:31:55 1501 Black cartridge is low on ink merrifie 0
  05/22/09 07:31:35 1001 Busy merrifie 0
  05/22/09 07:30:45 5012 Device communication error merrifie 0
  05/22/09 07:30:44 501 Print job has completed merrifie 133
  05/22/09 07:30:44 5021 Device is busy merrifie 133
  05/22/09 07:29:44 500 Started a print job merrifie 133
  05/22/09 07:29:29 1501 Black cartridge is low on ink merrifie 0
  05/22/09 07:29:29 1000 Idle merrifie 0
  05/22/09 07:27:26 1501 Black cartridge is low on ink merrifie 0

Done.

Revision history for this message
merrifie (merrifie) said :
#10

hp-check -rt
BEFORE:

HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux m1-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------
| RUNTIME DEPENDENCIES |
------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.4b currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-3.9.4b
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
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=no
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = photosmart-7600-series
printer =
working_dir = .
device_uri = hp:/usb/photosmart_7600_series?serial=MY423330GHP7

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.4b.10
date_time = 05/22/09 07:32:17

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

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

[polling]
enable = false
device_list =
interval = 5

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

  Device URI Model
  -------------------------------- -------------------------
  hp:/usb/photosmart_7600_series?s HP photosmart 7600 series
  erial=MY423330GHP7

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

photosmart_7600
---------------
Type: Printer
Device URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
PPD: /etc/cups/ppd/photosmart_7600.ppd
PPD Description: HP Photosmart 7600 Series hpijs, 3.9.4b
Printer status: printer photosmart_7600 is idle. enabled since Fri 22 May 2009 07:31:18 AM PDT

Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

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

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0xb202 at 004:003:
    Device URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
    Device node: /dev/bus/usb/004/003
    Mode: 0660
getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/004/003

# owner: lp

# group: lp

user::rw-

user:merrifie:rw-

group::rw-

mask::rw-

other::---

---------------
| USER GROUPS |
---------------

users adm lp dialout fax cdrom tape audio dip plugdev scanner fuse lpadmin pulse-rt admin sambashare

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.

AFTER:

HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux m1-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.9
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------
| RUNTIME DEPENDENCIES |
------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.4b currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-3.9.4b
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
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=no
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current conerror: Unable to communicate with device (code=12): hp:/usb/photosmart_7600_series?serial=MY423330GHP7
error: Device not found
error: Communication status: Failed
error: 1 error or warning.
tents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = photosmart-7600-series
printer =
working_dir = .
device_uri = hp:/usb/photosmart_7600_series?serial=MY423330GHP7

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[installation]
version = 3.9.4b.10
date_time = 05/22/09 07:37:54

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address =
voice_phone =

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

[polling]
enable = false
device_list =
interval = 5

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

No devices found.

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

photosmart_7600
---------------
Type: Printer
Device URI: hp:/usb/photosmart_7600_series?serial=MY423330GHP7
PPD: /etc/cups/ppd/photosmart_7600.ppd
PPD Description: HP Photosmart 7600 Series hpijs, 3.9.4b
Printer status: printer photosmart_7600 disabled since Fri 22 May 2009 07:34:34 AM PDT -
 Unplugged or turned off

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

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

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

users adm lp dialout fax cdrom tape audio dip plugdev scanner fuse lpadmin pulse-rt admin sambashare

-----------
| SUMMARY |
-----------

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.

Revision history for this message
merrifie (merrifie) said :
#11

syslog for failure:
May 22 07:31:18 m1-desktop hal_lpadmin: Not adding printer: photosmart_7600 already exists
May 22 07:31:18 m1-desktop hal_lpadmin: Re-enabling printer photosmart_7600
May 22 07:31:19 m1-desktop hal_lpadmin: No print queue setup needed for printer with UDI /org/freedesktop/Hal/devices/usb_device_3f0_b202_MY423330GHP7_if0, as queues are already in place.
May 22 07:31:22 m1-desktop kernel: [ 566.545893] usb-storage: device scan complete
May 22 07:31:22 m1-desktop kernel: [ 566.567870] scsi 5:0:0:0: Direct-Access HP photosmart 7600 1.00 PQ: 0 ANSI: 2
May 22 07:31:22 m1-desktop kernel: [ 566.615956] sd 5:0:0:0: [sdc] Attached SCSI removable disk
May 22 07:31:22 m1-desktop kernel: [ 566.616334] sd 5:0:0:0: Attached scsi generic sg4 type 0
May 22 07:31:35 m1-desktop kernel: [ 579.928764] usblp0: removed
May 22 07:32:18 m1-desktop kernel: [ 623.072074] ppdev0: registered pardevice
May 22 07:32:18 m1-desktop kernel: [ 623.072090] ppdev0: unregistered pardevice
May 22 07:33:09 m1-desktop kernel: [ 674.112052] usb 4-2: reset full speed USB device using uhci_hcd and address 3
May 22 07:33:22 m1-desktop photosmart_7600_series?serial=MY423330GHP7: io/hpmud/musb.c 1386: unable to write data hp:/usb/photosmart_7600_series?serial=MY423330GHP7: 45 second io timeout
May 22 07:33:24 m1-desktop kernel: [ 689.224037] usb 4-2: device descriptor read/64, error -110
May 22 07:33:39 m1-desktop kernel: [ 704.440036] usb 4-2: device descriptor read/64, error -110
May 22 07:33:40 m1-desktop kernel: [ 704.656033] usb 4-2: reset full speed USB device using uhci_hcd and address 3
May 22 07:33:55 m1-desktop kernel: [ 719.768094] usb 4-2: device descriptor read/64, error -110
May 22 07:34:10 m1-desktop kernel: [ 734.984020] usb 4-2: device descriptor read/64, error -110
May 22 07:34:10 m1-desktop kernel: [ 735.200020] usb 4-2: reset full speed USB device using uhci_hcd and address 3
May 22 07:34:15 m1-desktop kernel: [ 740.221546] usb 4-2: device descriptor read/8, error -110

Revision history for this message
merrifie (merrifie) said :
#12

Anything more I can do to debug this problem? I'm a software developer so with a little direction I could dig deeper into this. Jonathan's problem (HPLIP question #72278) seems quite similar although mine reoccurs. In fact, the act of printing seems to cause the error. I can refresh the HPLIP Device Manager status and everything is fine... until I print (which may work... or it appears to cause the comm error).

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#13

I've tested the Photosmart 7660 on Ubuntu 9.04 printing many print jobs in a row and haven't been able to reproduce this. I'm learning towards either a system issue or a hardware issue. Is it possible to verify the printer on another computer? Also try a different USB cable, etc.

Sorry I couldn't help more.

Aaron

Revision history for this message
merrifie (merrifie) said :
#14

The printer has "always" worked while connected to the same computer running winXP. Last night I tried another USB cable without success. I was about to reboot to XP just to confirm my initial assertion and decided to try "ubuntu 9.04 kernel 2.6.27-11 generic". After working through a gnome display manager problem, my system booted with this kernel option.

All printing has been successful from ubuntu using kernel 2.6.27-11.

What does that mean for this question? Is the display manager issue relevant? Is this a kernel issue?

Do you want more information?

Thanks for your effort on my behalf. I appreciate your time and expertise.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#15

WIth the kernel update the printing is working okay?

In theory there could have been something in the kernel update. I'm using 2.6.28-11-generic.

If printing is okay for now I'd say this is solved. Unless I misunderstood you.

Aaron

Revision history for this message
merrifie (merrifie) said :
#16

No, I experience the printing problems described above while using 2.6.28-11 (the default boot option for Ubuntu 9.04). I happened to try 2.6.27-11 just to see what would happen. I have NOT had printing problems with 2.6.27-11.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#17

I see. Either way I can't reproduce this so it would seem to be a kernel or other system problem.

Hope this at least points you in the right direction.

Aaron

Revision history for this message
Don Pittman (donpittman) said :
#18

I am having the same exact problem running Fedora 11 (kernel 2.6.29.6-213.fc11.x86_64)
I have to delete the printer in the system print manager, power cycle the printer, and then run hp-setup.
If I try to print twice I get the following log messages:
Aug 17 11:10:52 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 331: WARNING: color pen has low ink
Aug 17 11:10:52 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 350: STATE: marker-supply-low-warning
Aug 17 11:10:52 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 156: unable to set Quality=0, MediaType=5, ColorMode=2, err=2
Aug 17 11:10:52 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 158: following will be used Quality=0, MediaType=0, ColorMode=2,
Aug 17 11:11:35 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 673: hpcups: returning status 0 from main
Aug 17 11:12:28 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 331: WARNING: color pen has low ink
Aug 17 11:12:28 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 350: STATE: marker-supply-low-warning
Aug 17 11:12:28 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 156: unable to set Quality=0, MediaType=5, ColorMode=2, err=2
Aug 17 11:12:28 pitthome photosmart_7900: prnt/hpijs/hpcups.cpp 158: following will be used Quality=0, MediaType=0, ColorMode=2,
Aug 17 11:13:01 pitthome kernel: usb 5-2: reset full speed USB device using uhci_hcd and address 8
Aug 17 11:13:13 pitthome hp[3970]: io/hpmud/musb.c 1386: unable to write data hp:/usb/photosmart_7900_series?serial=CN375120SGEI: 45 second io timeout
Aug 17 11:13:16 pitthome kernel: usb 5-2: device descriptor read/64, error -110
Aug 17 11:13:33 pitthome kernel: usb 5-2: device descriptor read/64, error -110
Aug 17 11:13:34 pitthome kernel: usb 5-2: reset full speed USB device using uhci_hcd and address 8
Aug 17 11:13:50 pitthome kernel: usb 5-2: device descriptor read/64, error -110
Aug 17 11:13:57 pitthome ntpd[2250]: synchronized to 217.160.254.116, stratum 2
Aug 17 11:14:06 pitthome kernel: usb 5-2: device descriptor read/64, error -110
Aug 17 11:14:07 pitthome kernel: usb 5-2: reset full speed USB device using uhci_hcd and address 8
Aug 17 11:14:12 pitthome kernel: usb 5-2: device descriptor read/8, error -110
Aug 17 11:14:17 pitthome kernel: usb 5-2: device descriptor read/8, error -110
Aug 17 11:14:19 pitthome kernel: usb 5-2: reset full speed USB device using uhci_hcd and address 8
Aug 17 11:14:24 pitthome kernel: usb 5-2: device descriptor read/8, error -110
Aug 17 11:14:29 pitthome kernel: usb 5-2: device descriptor read/8, error -110
Aug 17 11:14:29 pitthome hp[3970]: io/hpmud/musb.c 725: invalid deviceid wIndex=0, retrying wIndex=0: No such device
Aug 17 11:14:29 pitthome hp[3970]: io/hpmud/musb.c 734: invalid deviceid retry ret=-19: No such device
Aug 17 11:14:29 pitthome hp[3970]: prnt/backend/hp.c 607: ERROR: 5021 device communication error!
Aug 17 11:14:29 pitthome hp[3970]: io/hpmud/musb.c 548: aborting outstanding 7/1/2 write
Aug 17 11:14:29 pitthome photosmart_7900: prnt/hpijs/services.cpp 387: unable to write to output, fd=1, count=4096: Broken pipe
Aug 17 11:14:29 pitthome photosmart_7900: prnt/hpijs/services.cpp 387: unable to write to output, fd=1, count=4096: Broken pipe
Aug 17 11:14:29 pitthome photosmart_7900: prnt/hpijs/services.cpp 387: unable to write to output, fd=1, count=4096: Broken pipe
Aug 17 11:14:29 pitthome photosmart_7900: prnt/hpijs/services.cpp 387: unable to write to output, fd=1, count=4096: Broken pipe
Aug 17 11:14:29 pitthome photosmart_7900: prnt/hpijs/services.cpp 387: unable to write to output, fd=1, count=4096: Broken pipe
Aug 17 11:14:29 pitthome kernel: sd 9:0:0:0: Device offlined - not ready after error recovery
Aug 17 11:14:29 pitthome kernel: usb 5-2: USB disconnect, address 8
Aug 17 11:14:29 pitthome kernel: usb 5-2: new full speed USB device using uhci_hcd and address 9
Aug 17 11:14:29 pitthome kernel: usb 5-2: device descriptor read/64, error -71
Aug 17 11:14:30 pitthome kernel: usb 5-2: device descriptor read/64, error -71
Aug 17 11:14:30 pitthome kernel: usb 5-2: new full speed USB device using uhci_hcd and address 10
Aug 17 11:14:30 pitthome kernel: usb 5-2: device descriptor read/64, error -71
Aug 17 11:14:30 pitthome kernel: usb 5-2: device descriptor read/64, error -71
Aug 17 11:14:31 pitthome kernel: usb 5-2: new full speed USB device using uhci_hcd and address 11
Aug 17 11:14:31 pitthome kernel: usb 5-2: device not accepting address 11, error -71
Aug 17 11:14:31 pitthome kernel: usb 5-2: new full speed USB device using uhci_hcd and address 12
Aug 17 11:14:32 pitthome kernel: usb 5-2: device not accepting address 12, error -71
Aug 17 11:14:32 pitthome kernel: hub 5-0:1.0: unable to enumerate USB device on port 2

Revision history for this message
Don Pittman (donpittman) said :
#19

Looks like the same problem in Suse here:http://lists.opensuse.org/opensuse-bugs/2008-12/msg09903.html

Revision history for this message
merrifie (merrifie) said :
#20

Based on the comment by Mohd Syukor Abdul on 2009-06-14 in the hplip question "HP LaserJet 2420 won't print" (cf. https://answers.launchpad.net/ubuntu/+source/hplip/+question/73423), I changed the device URI connection type for my printer from HPLIP to USB. It has printed from various applications without trouble for several days now!

Previously, I had to use kernel version 2.6.27-11 to resolve the printer problems described above.
I'm currently using the 2.6.28-15 kernel (latest with Jaunty) with the USB style connection device URI. I don't know what (if anything) I give up or gain by switching from the HPLIP URI to USB...