HPLIP Statu Service loses connection with C8100 series
I have setup HPLIP on Ubuntu 9.04 and previous versions to connect to a C8100 series model. The status monitor continually loses its connection with the unit. The only solution is to reboot the printer and then it reconnects.
I have tried both wired and wireless connections and ended up with the same result.
If I set the printer up through the gnome printing applet, I do not experience this. However, this method does not allow for the functionality provided by the hp tools.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What type of diagnotics can I provide to assist with this problem?
Revision history for this message
|
#2 |
Please run hp-check -t and post the output.
Also run sudo tail -f /var/log/syslog
and keep that running until the error and post the entire log.
Thanks.
Aaron
Revision history for this message
|
#3 |
Here is the outpt of hp-check -t. I see there are a number of missing dependencies listed below. I will repost after I have installed all of them.
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 ubuntu 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 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
-------
| COMPILE AND RUNTIME DEPENDENCIES |
-------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
Checking for dependency: DBus - Message bus system...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libdbus-1-dev
Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes build-essential
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libjpeg62-dev
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libsnmp-dev
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libtool
Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libusb-dev
Checking for dependency: make - GNU make utility to maintain groups of programs...
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 devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes python2.5-dev
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: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
To install this dependency, execute this command:
sudo aptitude install --assume-yes python-reportlab
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo aptitude install --assume-yes libsane-dev
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. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
# 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-
foomatic-
foomatic-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
Current contents of '~/.hplip/
[last_used]
device_uri = hp:/net/
[installation]
date_time = 08/25/09 20:56:05
version = 3.9.2.49
-------
| DISCOVERED PARALLEL DEVICES |
-------
No devices found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
Photosmart_C8100
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/
PPD: /etc/cups/
PPD Description: HP Photosmart c8100 Series hpijs, 3.9.2
Printer status: printer Photosmart_C8100 is idle. enabled since Fri 07 Aug 2009 03:17:17 PM EDT
error: Unable to communicate with device (code=12): hp:/net/
error: unable to open channel
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
'hpaio' in '/etc/sane.
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:
-------
| 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: 12 errors and/or warnings.
Summary of needed commands to run to satisfy missing dependencies:
sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
sudo aptitude install --assume-yes libdbus-1-dev
sudo aptitude install --assume-yes build-essential
sudo aptitude install --assume-yes libjpeg62-dev
sudo aptitude install --assume-yes libsnmp-dev
sudo aptitude install --assume-yes libtool
sudo aptitude install --assume-yes libusb-dev
sudo aptitude install --assume-yes python2.5-dev
sudo aptitude install --assume-yes python-reportlab
sudo aptitude install --assume-yes libsane-dev
Please refer to the installation instructions at:
http://
Done.
Revision history for this message
|
#4 |
Here is the output after fixing all the dependencies. There is still 1 communication error listed.
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 ubuntu 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 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: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0
-------
| COMPILE AND RUNTIME DEPENDENCIES |
-------
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).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
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 devel - Python development files...
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: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
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. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.2
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
# 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-
foomatic-
foomatic-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
Current contents of '~/.hplip/
[last_used]
device_uri = hp:/net/
[installation]
version = 3.9.2.49
date_time = 08/25/09 21:21:54
-------
| DISCOVERED PARALLEL DEVICES |
-------
No devices found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
Photosmart_C8100
----------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/net/
PPD: /etc/cups/
PPD Description: HP Photosmart c8100 Series hpijs, 3.9.2
Printer status: printer Photosmart_C8100 is idle. enabled since Fri 07 Aug 2009 03:17:17 PM EDT
error: Unable to communicate with device (code=12): hp:/net/
error: unable to open channel
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
'hpaio' in '/etc/sane.
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:
-------
| 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: 1 error or warning.
Please refer to the installation instructions at:
http://
Done.
Revision history for this message
|
#5 |
This is in the syslog after trying to refresh the device:
Aug 25 21:26:36 ubuntu python: io/hpmud/jd.c 84: unable to read device-id
Aug 25 21:26:36 ubuntu python: hp-systray(
Aug 25 21:26:36 ubuntu python: hp-systray(
Revision history for this message
|
#6 |
Run:
hp-makeuri 10.0.0.150
and post the output.
Is the printer offline or in an error state?
Aaron
Revision history for this message
|
#7 |
The printer is in its normal ready state. It is not indicating any error.
Here is the output of the command you requested. The result is the same if I run it as my user account or with sudo:
HP Linux Imaging and Printing System (ver. 3.9.2)
Device URI Creation Utility ver. 5.0
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.
error: Device not found
Revision history for this message
|
#8 |
Run:
ping 10.0.0.150
Does that work?
If that works, try these steps:
http://
On Fri, Aug 28, 2009 at 3:32 AM, Dan Frey <
<email address hidden>> wrote:
> Question #80872 on HPLIP changed:
> https:/
>
> Status: Needs information => Open
>
> Dan Frey gave more information on the question:
> The printer is in its normal ready state. It is not indicating any
> error.
>
> Here is the output of the command you requested. The result is the same
> if I run it as my user account or with sudo:
>
> HP Linux Imaging and Printing System (ver. 3.9.2)
> Device URI Creation Utility ver. 5.0
>
> 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.
>
> error: Device not found
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>
Can you help with this problem?
Provide an answer of your own, or ask Daniel Frey for more information if necessary.