Error message when attempting to scan using CM1017 in Linux

Asked by RVDowning

In Linux, Mandriva 2009.1, when clicking the Scan icon in Hp Device Manager I get the following error message:

Failed to open device 'hpaio:/net/HP_Color_Laserjet_CM1017?ip=192.168.1.200': Invalid argument.

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
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Please run hp-check -t and post the output.

Also run:

su -c "tail -f /var/log/syslog"

then try and scan and post all of the output in the syslog.

Thanks.

Aaron

Revision history for this message
RVDowning (rvd) said :
#2

On Mon, 04 May 2009 11:39:49 -0400, Aaron Albright
<email address hidden> wrote:

> Your question #69776 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/69776
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> Please run hp-check -t and post the output.
>
> Also run:
>
> su -c "tail -f /var/log/syslog"
Follows:

[rvd@localhost ~]$ su -c "tail -f /var/log/syslog"
Password:
May 4 19:41:11 localhost python: io/hpmud/hpmud.c 205: invalid
channel_open state, current io_mode=raw/uni service=HP-MESSAGE
hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
May 4 19:41:11 localhost python: io/hpmud/hpmud.c 589: invalid
channel_close state
May 4 19:41:11 localhost python: io/hpmud/hpmud.c 205: invalid
channel_open state, current io_mode=raw/uni service=HP-MESSAGE
hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
May 4 19:41:11 localhost python: io/hpmud/hpmud.c 589: invalid
channel_close state
May 4 19:41:11 localhost klogd: ppdev0: registered pardevice
May 4 19:41:11 localhost klogd: ppdev0: unregistered pardevice
May 4 19:41:12 localhost python: hp-check[29218]: error: 12 errors and/or
warnings.
>
> then try and scan and post all of the output in the syslog.
Nothing went into the syslog, but the following appeared on the screen:

[rvd@localhost ~]$ hp-scan
HP Linux Imaging and Printing System (ver. 3.9.2)
Scan Utility ver. 2.1

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: hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200

warning: No destinations specified. Adding 'file' destination by default.
warning: File destination enabled with no output file specified.
Setting output format to JPEG for color/lineart mode.
warning: Defaulting to '/home/rvd/hpscan001.jpg'.
error: Unable to locate device
hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200 using SANE backend
hpaio:. Please check HPLIP installation.

>
> Thanks.
>
> Aaron
>

<email address hidden>

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

Mandriva 9.1 is very old and we no longer test or provide technical assistance on it. However, please run hp-check and it will give you some hints as to what the problem is.

More than likely in the file /etc/sane.d/dll.conf it is missing the line "hpaio". You could try adding it and scanning again.

Although you may have some other configuration problems--Mandriva 9.1 is very old..

Aaron

Revision history for this message
RVDowning (rvd) said :
#4

Please be advised that the Mandriva release is 2009.1, not 9.1. 2009.1 is
Mandriva's latest operating system.

I'm heading out of town and won't be able to try this again until I return
at the beginning of the week.

Rich

On Thu, 07 May 2009 11:45:11 -0400, Aaron Albright
<email address hidden> wrote:

> Your question #69776 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/69776
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> Mandriva 9.1 is very old and we no longer test or provide technical
> assistance on it. However, please run hp-check and it will give you
> some hints as to what the problem is.
>
> More than likely in the file /etc/sane.d/dll.conf it is missing the line
> "hpaio". You could try adding it and scanning again.
>
> Although you may have some other configuration problems--Mandriva 9.1 is
> very old..
>
> Aaron
>

Revision history for this message
RVDowning (rvd) said :
#5

Executing hp-scan returns the following:

[rvd@localhost ~]$ hp-scan

HP Linux Imaging and Printing System (ver. 3.9.2)
Scan Utility ver. 2.1

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: hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200

warning: No destinations specified. Adding 'file' destination by default.
warning: File destination enabled with no output file specified.
Setting output format to JPEG for color/lineart mode.
warning: Defaulting to '/home/rvd/hpscan001.jpg'.
Using device hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
Opening connection to device...
/usr/bin/hp-scan:666: DeprecationWarning: catching of string exceptions is
deprecated
   except scanext.error, e:
Traceback (most recent call last):
   File "/usr/bin/hp-scan", line 667, in <module>
     sane.reportError(e)
AttributeError: 'module' object has no attribute 'reportError'
[rvd@localhost ~]$

****************************

When executing the HP Device Manager and clicking on Scan I get the
following:
"Failed to open device
'hpaio:/net/HP_Color_Laserjet_CM1017?ip=192.168.1.100';
Error during device I/O.

****************************
output of hp-check -t follows:

hp-check[31097]: info: :
Initializing. Please wait...
MandrivaLinux

2009.1

scheduler is running

Linux localhost 2.6.29.1-desktop-4mnb #1 SMP Mon Apr 20 18:57:56 EDT 2009
i686 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux

hp-check[31097]: info: :
hp-check[31097]: info: :---------------
hp-check[31097]: info: :| SYSTEM INFO |
hp-check[31097]: info: :---------------
hp-check[31097]: info: :
hp-check[31097]: info: :Basic system information:
hp-check[31097]: info: :Linux localhost 2.6.29.1-desktop-4mnb #1 SMP Mon
Apr 20 18:57:56 EDT 2009 i686 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux
hp-check[31097]: info: :
hp-check[31097]: info: :Distribution:
hp-check[31097]: info: :mandriva 2009.1
hp-check[31097]: info: :
HPOJ running?
hp-check[31097]: info: :No, HPOJ is not running (OK).
hp-check[31097]: info: :
hp-check[31097]: info: :Checking Python version...
hp-check[31097]: info: :OK, version 2.6.1 installed
hp-check[31097]: info: :
hp-check[31097]: info: :Checking PyQt 4.x version...
hp-check[31097]: info: :OK, version 4.4.4 installed.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for CUPS...
hp-check[31097]: info: :Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dbus/python-dbus...
hp-check[31097]: info: :dbus daemon is running.
hp-check[31097]: info: :python-dbus version: 0.83.0
hp-check[31097]: info: :
hp-check[31097]: info: :
hp-check[31097]: info: :------------------------------------
hp-check[31097]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[31097]: info: :------------------------------------
hp-check[31097]: info: :
note: To check for compile-time only dependencies, re-run hp-check with
the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r
parameter (ie, hp-check -r).
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: CUPS - Common Unix
Printing System...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: CUPS DDK - CUPS driver
development kit...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: GhostScript - PostScript
and PDF language interpreter and previewer...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: libcrypto - OpenSSL
cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
this dependency is installed before installing or running HPLIP.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: libpthread - POSIX
threads library...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: make - GNU make utility
to maintain groups of programs...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: PIL - Python Imaging
Library (required for commandline scanning with hp-scan)...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: ppdev - Parallel port
support kernel module....
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: PyQt 4- Qt interface for
Python (for Qt version 4.x)...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: PyQt 4 DBus - DBus
Support for PyQt4...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: Python ctypes - A foreign
function library for Python...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: Python DBus - Python
bindings for DBus...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: Python XML libraries...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: Python 2.3 or greater -
Required for fax functionality...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: Python 2.2 or greater -
Python programming language...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: Reportlab - PDF library
for Python...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: SANE - Scanning library...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :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.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: scanimage - Shell
scanning program...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for dependency: xsane - Graphical scanner
frontend for SANE...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :
hp-check[31097]: info: :----------------------
hp-check[31097]: info: :| HPLIP INSTALLATION |
hp-check[31097]: info: :----------------------
hp-check[31097]: info: :
hp-check[31097]: info: :
hp-check[31097]: info: :Currently installed HPLIP version...
hp-check[31097]: info: :HPLIP 3.9.2 currently installed in
'/usr/share/hplip'.
hp-check[31097]: info: :
hp-check[31097]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[31097]: info: :# 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/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.2
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=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

hp-check[31097]: info: :
hp-check[31097]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[31097]: info: :[last_used]
printer_name = HP_Color_LaserJet_CM1017
device_uri = hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200

[installation]
version = 3.9.2.49
date_time = 05/10/09 11:17:34

hp-check[31097]: info: :
hp-check[31097]: info: :-------------------------------
hp-check[31097]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[31097]: info: :-------------------------------
hp-check[31097]: info: :
hp-check[31097]: info: :No devices found.
hp-check[31097]: info: :
hp-check[31097]: info: :--------------------------
hp-check[31097]: info: :| DISCOVERED USB DEVICES |
hp-check[31097]: info: :--------------------------
hp-check[31097]: info: :
hp-check[31097]: info: :No devices found.
hp-check[31097]: info: :
hp-check[31097]: info: :---------------------------------
hp-check[31097]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[31097]: info: :---------------------------------
hp-check[31097]: info: :
hp-check[31097]: info: :
hp-check[31097]: info: :HP_Color_LaserJet_CM1017
hp-check[31097]: info: :------------------------
hp-check[31097]: info: :Type: Printer
hp-check[31097]: info: :Installed in HPLIP?: Yes, using the hp: CUPS
backend.
hp-check[31097]: info: :Device URI:
hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
hp-check[31097]: info: :PPD: /etc/cups/ppd/HP_Color_LaserJet_CM1017.ppd
hp-check[31097]: info: :PPD Description: HP Color LaserJet CM1015
Postscript (recommended)
hp-check[31097]: info: :Printer status: printer HP_Color_LaserJet_CM1017
is idle. enabled since Sun 03 May 2009 01:36:57 PM EDT
error: Required plug-in status: Not installed
hp-check[31097]: info: :Communication status: Good
hp-check[31097]: info: :
hp-check[31097]: info: :HPCoLaserJet
hp-check[31097]: info: :------------
hp-check[31097]: info: :Type: Unknown
hp-check[31097]: info: :Installed in HPLIP?: No, not using the hp: or
hpfax: CUPS backend.
hp-check[31097]: info: :Device URI:
ipp://192.168.1.101:631/printers/HPCoLaserJet
hp-check[31097]: info: :
hp-check[31097]: info: :----------------------
hp-check[31097]: info: :| SANE CONFIGURATION |
hp-check[31097]: info: :----------------------
hp-check[31097]: info: :
hp-check[31097]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[31097]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking output of 'scanimage -L'...
hp-check[31097]: info: :device
`hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200' is a
Hewlett-Packard HP_Color_LaserJet_CM1017 all-in-one
device `v4l:/dev/video0' is a Noname UVC Camera (046d:0990) virtual device

hp-check[31097]: info: :
hp-check[31097]: info: :---------------------
hp-check[31097]: info: :| PYTHON EXTENSIONS |
hp-check[31097]: info: :---------------------
hp-check[31097]: info: :
hp-check[31097]: info: :Checking 'cupsext' CUPS extension...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking 'pcardext' Photocard extension...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking 'hpmudext' I/O extension...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :Checking 'scanext' SANE scanning extension...
hp-check[31097]: info: :OK, found.
hp-check[31097]: info: :
hp-check[31097]: info: :
hp-check[31097]: info: :-----------------
hp-check[31097]: info: :| USB I/O SETUP |
hp-check[31097]: info: :-----------------
hp-check[31097]: info: :
hp-check[31097]: info: :
hp-check[31097]: info: :Checking for permissions of USB attached
printers...
hp-check[31097]: info: :
hp-check[31097]: info: :-----------
hp-check[31097]: info: :| SUMMARY |
hp-check[31097]: info: :-----------
hp-check[31097]: info: :
error: 12 errors and/or warnings.
hp-check[31097]: info: :
hp-check[31097]: info: :Please refer to the installation instructions at:
hp-check[31097]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[31097]: info: :
hp-check[31097]: info: :Done.

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

Your device does not have the required plugin installed.

error: Required plug-in status: Not installed

Run:

hp-plugin

to install the plugin. This should resolve your problem.

Aaron

Revision history for this message
RVDowning (rvd) said :
#7

Following shows the successful installation of the plugin, followed by the
running of hp-check which then says that the plugin is not installed,
followed by error messages from hp-toolbox when attempting to scan.
Sections are delineated by asterisks.

Executed the following:

[rvd@localhost ~]$ hp-plugin (it then asks for roots password)

HP Linux Imaging and Printing System (ver. 3.9.2)
Plugin Download and Install Utility ver. 2.1

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.

|Checking for network connection...
Downloading configuration file from: http://hplip.sf.net/plugin.conf
http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.9.2-plugin.run
1118924 7a846ce2c5f2ff6cf49c3988990c333a860b607c 1235090457.17 True
Checking for network connection...
Downloading plug-in from:
http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.9.2-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.9.2 Plugin Self Extracting
Archive................................

HP Linux Imaging and Printing System (ver. 3.9.2)
Plugin Installer ver. 2.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.

HP Linux Imaging and Printing System (ver. 3.9.2)
Plugin Installer ver. 2.0

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.

Plug-in version: 3.9.2
Installed HPLIP version: 3.9.2
Number of files to install: 27

Starting plugin install...
QPainter::end: Painter ended with 2 saved states
Copying file 86-hpmud-hp_laserjet_1000.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules...
Copying file 86-hpmud-hp_laserjet_1005_series.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules...
Copying file 86-hpmud-hp_laserjet_1018.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules...
Copying file 86-hpmud-hp_laserjet_1020.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_1020.rules...
Copying file 86-hpmud-hp_laserjet_p1005.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_p1005.rules...
Copying file 86-hpmud-hp_laserjet_p1006.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_p1006.rules...
Copying file 86-hpmud-hp_laserjet_p1007.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_p1007.rules...
Copying file 86-hpmud-hp_laserjet_p1008.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_p1008.rules...
Copying file 86-hpmud-hp_laserjet_p1505.rules to
/etc/udev/rules.d/86-hpmud-hp_laserjet_p1505.rules...
Copying file bb_marvell-x86_32.so to
/usr/share/hplip/scan/plugins/bb_marvell-x86_32.so
(link=/usr/share/hplip/scan/plugins/bb_marvell.so)...
Creating symlink /usr/share/hplip/scan/plugins/bb_marvell.so (link) to
file /usr/share/hplip/scan/plugins/bb_marvell-x86_32.so (target)...
Copying file bb_soap-x86_32.so to
/usr/share/hplip/scan/plugins/bb_soap-x86_32.so
(link=/usr/share/hplip/scan/plugins/bb_soap.so)...
Creating symlink /usr/share/hplip/scan/plugins/bb_soap.so (link) to file
/usr/share/hplip/scan/plugins/bb_soap-x86_32.so (target)...
Copying file bb_soapht-x86_32.so to
/usr/share/hplip/scan/plugins/bb_soapht-x86_32.so
(link=/usr/share/hplip/scan/plugins/bb_soapht.so)...
Creating symlink /usr/share/hplip/scan/plugins/bb_soapht.so (link) to file
/usr/share/hplip/scan/plugins/bb_soapht-x86_32.so (target)...
Copying file hp_laserjet_1000.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_1000.fw.gz...
Copying file hp_laserjet_1005_series.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_1005_series.fw.gz...
Copying file hp_laserjet_1018.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_1018.fw.gz...
Copying file hp_laserjet_1020.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_1020.fw.gz...
Copying file hp_laserjet_p1005.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_p1005.fw.gz...
Copying file hp_laserjet_p1006.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_p1006.fw.gz...
Copying file hp_laserjet_p1007.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_p1007.fw.gz...
Copying file hp_laserjet_p1008.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_p1008.fw.gz...
Copying file hp_laserjet_p1505.fw.gz to
/usr/share/hplip/data/firmware/hp_laserjet_p1505.fw.gz...
Copying file license.txt to /usr/share/hplip/data/plugins/license.txt...
Copying file lj-x86_32.so to /usr/share/hplip/prnt/plugins/lj-x86_32.so
(link=/usr/share/hplip/prnt/plugins/lj.so)...
Creating symlink /usr/share/hplip/prnt/plugins/lj.so (link) to file
/usr/share/hplip/prnt/plugins/lj-x86_32.so (target)...
Setting plugin installed flag to 1.

Done.
Plug-in install successful.

Done.

***************************************************************************
Notice that immediately after installing the plugin, hp-check claims that
the plugin is not installed:

hp-check[13624]: info: :
Initializing. Please wait...
MandrivaLinux

2009.1

scheduler is running

Linux localhost 2.6.29.1-desktop-4mnb #1 SMP Mon Apr 20 18:57:56 EDT 2009
i686 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux

hp-check[13624]: info: :
hp-check[13624]: info: :---------------
hp-check[13624]: info: :| SYSTEM INFO |
hp-check[13624]: info: :---------------
hp-check[13624]: info: :
hp-check[13624]: info: :[01mBasic system information:[0m
hp-check[13624]: info: :Linux localhost 2.6.29.1-desktop-4mnb #1 SMP Mon
Apr 20 18:57:56 EDT 2009 i686 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux
hp-check[13624]: info: :
hp-check[13624]: info: :[01mDistribution:[0m
hp-check[13624]: info: :mandriva 2009.1
hp-check[13624]: info: :[01m
HPOJ running?[0m
hp-check[13624]: info: :No, HPOJ is not running (OK).
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking Python version...[0m
hp-check[13624]: info: :OK, version 2.6.1 installed
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking PyQt 4.x version...[0m
hp-check[13624]: info: :OK, version 4.4.4 installed.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for CUPS...[0m
hp-check[13624]: info: :Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[13624]: info: :dbus daemon is running.
hp-check[13624]: info: :python-dbus version: 0.83.0
hp-check[13624]: info: :
hp-check[13624]: info: :
hp-check[13624]: info: :------------------------------------
hp-check[13624]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[13624]: info: :------------------------------------
hp-check[13624]: info: :
note: To check for compile-time only dependencies, re-run hp-check with
the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r
parameter (ie, hp-check -r).
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: CUPS - Common Unix
Printing System...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: CUPS DDK - CUPS
driver development kit...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: CUPS devel- Common
Unix Printing System development files...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
make sure that this dependency is installed before installing or running
HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: DBus - Message bus
system...[0m
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
this dependency is installed before installing or running HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: gcc - GNU Project C
and C++ Compiler...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
make sure that this dependency is installed before installing or running
HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: GhostScript -
PostScript and PDF language interpreter and previewer...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: libcrypto - OpenSSL
cryptographic library...[0m
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
this dependency is installed before installing or running HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: libjpeg - JPEG
library...[0m
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
this dependency is installed before installing or running HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: libnetsnmp-devel -
SNMP networking library development files...[0m
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
this dependency is installed before installing or running HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: libpthread - POSIX
threads library...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: libtool - Library
building support services...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
make sure that this dependency is installed before installing or running
HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: libusb - USB
library...[0m
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
this dependency is installed before installing or running HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: make - GNU make
utility to maintain groups of programs...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: PIL - Python Imaging
Library (required for commandline scanning with hp-scan)...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: ppdev - Parallel port
support kernel module....[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: PyQt 4- Qt interface
for Python (for Qt version 4.x)...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus
Support for PyQt4...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Python ctypes - A
foreign function library for Python...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Python DBus - Python
bindings for DBus...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Python devel - Python
development files...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
make sure that this dependency is installed before installing or running
HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Python XML
libraries...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Python 2.3 or greater
- Required for fax functionality...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Python 2.2 or greater
- Python programming language...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: Reportlab - PDF
library for Python...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: SANE - Scanning
library...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: SANE - Scanning
library development files...[0m
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
make sure that this dependency is installed before installing or running
HPLIP.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: scanimage - Shell
scanning program...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for dependency: xsane - Graphical
scanner frontend for SANE...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :
hp-check[13624]: info: :----------------------
hp-check[13624]: info: :| HPLIP INSTALLATION |
hp-check[13624]: info: :----------------------
hp-check[13624]: info: :
hp-check[13624]: info: :
hp-check[13624]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[13624]: info: :HPLIP 3.9.2 currently installed in
'/usr/share/hplip'.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mCurrent contents of '/etc/hp/hplip.conf'
file:[0m
hp-check[13624]: info: :# 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/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.2
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=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

hp-check[13624]: info: :
hp-check[13624]: info: :[01mCurrent contents of '~/.hplip/hplip.conf'
file:[0m
hp-check[13624]: info: :[last_used]
printer_name = HP_Color_LaserJet_CM1017
device_uri = hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200

[installation]
version = 3.9.2.49
date_time = 05/12/09 19:13:02

hp-check[13624]: info: :
hp-check[13624]: info: :-------------------------------
hp-check[13624]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[13624]: info: :-------------------------------
hp-check[13624]: info: :
hp-check[13624]: info: :No devices found.
hp-check[13624]: info: :
hp-check[13624]: info: :--------------------------
hp-check[13624]: info: :| DISCOVERED USB DEVICES |
hp-check[13624]: info: :--------------------------
hp-check[13624]: info: :
hp-check[13624]: info: :No devices found.
hp-check[13624]: info: :
hp-check[13624]: info: :---------------------------------
hp-check[13624]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[13624]: info: :---------------------------------
hp-check[13624]: info: :
hp-check[13624]: info: :
hp-check[13624]: info: :[01mHP_Color_LaserJet_CM1017[0m
hp-check[13624]: info: :[01m------------------------[0m
hp-check[13624]: info: :Type: Printer
hp-check[13624]: info: :Installed in HPLIP?: Yes, using the hp: CUPS
backend.
hp-check[13624]: info: :Device URI:
hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
hp-check[13624]: info: :PPD: /etc/cups/ppd/HP_Color_LaserJet_CM1017.ppd
hp-check[13624]: info: :PPD Description: HP Color LaserJet CM1015
Postscript (recommended)
hp-check[13624]: info: :Printer status: printer HP_Color_LaserJet_CM1017
is idle. enabled since Sun 03 May 2009 01:36:57 PM EDT
error: Required plug-in status: Not installed
hp-check[13624]: info: :Communication status: Good
hp-check[13624]: info: :
hp-check[13624]: info: :[01mHPCoLaserJet[0m
hp-check[13624]: info: :[01m------------[0m
hp-check[13624]: info: :Type: Unknown
hp-check[13624]: info: :Installed in HPLIP?: No, not using the hp: or
hpfax: CUPS backend.
hp-check[13624]: info: :Device URI:
ipp://192.168.1.101:631/printers/HPCoLaserJet
hp-check[13624]: info: :
hp-check[13624]: info: :----------------------
hp-check[13624]: info: :| SANE CONFIGURATION |
hp-check[13624]: info: :----------------------
hp-check[13624]: info: :
hp-check[13624]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[13624]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[13624]: info: :device
`hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200' is a
Hewlett-Packard HP_Color_LaserJet_CM1017 all-in-one
device `v4l:/dev/video0' is a Noname UVC Camera (046d:0990) virtual device

hp-check[13624]: info: :
hp-check[13624]: info: :---------------------
hp-check[13624]: info: :| PYTHON EXTENSIONS |
hp-check[13624]: info: :---------------------
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking 'scanext' SANE scanning
extension...[0m
hp-check[13624]: info: :OK, found.
hp-check[13624]: info: :
hp-check[13624]: info: :
hp-check[13624]: info: :-----------------
hp-check[13624]: info: :| USB I/O SETUP |
hp-check[13624]: info: :-----------------
hp-check[13624]: info: :
hp-check[13624]: info: :
hp-check[13624]: info: :[01mChecking for permissions of USB attached
printers...[0m
hp-check[13624]: info: :
hp-check[13624]: info: :-----------
hp-check[13624]: info: :| SUMMARY |
hp-check[13624]: info: :-----------
hp-check[13624]: info: :
error: 12 errors and/or warnings.
hp-check[13624]: info: :
hp-check[13624]: info: :Please refer to the installation instructions at:
hp-check[13624]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[13624]: info: :
hp-check[13624]: info: :Done.

********************************************************************************

Executing hp-toolbox and clicking on the scan button (which executes
/usr/bin/xsane -V %SANE_URI%) causes the following error message:
"Failed to open device
'hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200':
Error during device I/O

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

Is it possible to install the latest version of HPLIP (3.9.4b)? We've made some changes to the plugin that may fix this.

Thanks.

Aaron

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

Please note: hp-scan does not currently support the CM1017.

On Mon, May 4, 2009 at 4:54 PM, RVDowning <
<email address hidden>> wrote:

> Question #69776 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/69776
>
> Status: Needs information => Open
>
> RVDowning gave more information on the question:
> On Mon, 04 May 2009 11:39:49 -0400, Aaron Albright
> <email address hidden> wrote:
>
> > Your question #69776 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/69776
> >
> > Status: Open => Needs information
> >
> > Aaron Albright requested for more information:
> > Please run hp-check -t and post the output.
> >
> > Also run:
> >
> > su -c "tail -f /var/log/syslog"
> Follows:
>
> [rvd@localhost ~]$ su -c "tail -f /var/log/syslog"
> Password:
> May 4 19:41:11 localhost python: io/hpmud/hpmud.c 205: invalid
> channel_open state, current io_mode=raw/uni service=HP-MESSAGE
> hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
> May 4 19:41:11 localhost python: io/hpmud/hpmud.c 589: invalid
> channel_close state
> May 4 19:41:11 localhost python: io/hpmud/hpmud.c 205: invalid
> channel_open state, current io_mode=raw/uni service=HP-MESSAGE
> hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
> May 4 19:41:11 localhost python: io/hpmud/hpmud.c 589: invalid
> channel_close state
> May 4 19:41:11 localhost klogd: ppdev0: registered pardevice
> May 4 19:41:11 localhost klogd: ppdev0: unregistered pardevice
> May 4 19:41:12 localhost python: hp-check[29218]: error: 12 errors and/or
> warnings.
> >
> > then try and scan and post all of the output in the syslog.
> Nothing went into the syslog, but the following appeared on the screen:
>
> [rvd@localhost ~]$ hp-scan
> HP Linux Imaging and Printing System (ver. 3.9.2)
> Scan Utility ver. 2.1
>
> 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: hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200
>
> warning: No destinations specified. Adding 'file' destination by default.
> warning: File destination enabled with no output file specified.
> Setting output format to JPEG for color/lineart mode.
> warning: Defaulting to '/home/rvd/hpscan001.jpg'.
> error: Unable to locate device
> hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.1.200 using SANE backend
> hpaio:. Please check HPLIP installation.
>
> >
> > Thanks.
> >
> > Aaron
> >
>
> <email address hidden>
>
> --
> 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 RVDowning for more information if necessary.

To post a message you must log in.