[Pkg-hpijs-devel] Bug#516331: Cannot print, operation not permitted

Ross Burton ross at debian.org
Fri Feb 20 17:27:11 UTC 2009


Package: hplip
Version: 2.8.12-3
Severity: normal

Since upgrading to 2.7.12-3 I can't print to my HP Photosmart 4500 series any
more.  Syslog says this:

Feb 20 17:19:47 blackadder kernel: [133547.508059] usb 5-1: New USB device found, idVendor=03f0, idProduct=6b11
Feb 20 17:19:47 blackadder kernel: [133547.508059] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 20 17:19:47 blackadder kernel: [133547.508059] usb 5-1: Product: Photosmart C4500 series
Feb 20 17:19:47 blackadder kernel: [133547.508059] usb 5-1: Manufacturer: HP
Feb 20 17:19:47 blackadder kernel: [133547.508059] usb 5-1: SerialNumber: CN8AKF20S8057K
Feb 20 17:19:49 blackadder hal_lpadmin: add
Feb 20 17:19:50 blackadder hal_lpadmin: URIs: ['hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K', 'usb://HP/Photosmart%20C4500%20series?serial=CN8AKF20S8057K', 'hal:///org/freedesktop/Hal/devices/usb_device_3f0_6b11_CN8AKF20S8057K_if1_printer_CN8AKF20S8057K']
Feb 20 17:19:50 blackadder hal_lpadmin: HPLIP Fax URIs: None
Feb 20 17:19:50 blackadder hal_lpadmin: Not adding printer: Photosmart_C4500_series already exists
Feb 20 17:19:50 blackadder hal_lpadmin: Printer Photosmart_C4500_series exists but is disabled, reason: /usr/lib/cups/backend/hp failed; use 'cupsenable Photosmart_C4500_series' to enable it
Feb 20 17:19:52 blackadder kernel: [133552.540329] usb-storage: device scan complete
Feb 20 17:19:52 blackadder kernel: [133552.543978] scsi 7:0:0:0: Direct-Access     HP       Photosmart C4500 1.00 PQ: 0 ANSI: 5
Feb 20 17:19:52 blackadder kernel: [133552.545232] sd 7:0:0:0: [sdb] Attached SCSI removable disk
Feb 20 17:20:11 blackadder Photosmart_C4500_series?serial=CN8AKF20S8057K: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted 
Feb 20 17:20:11 blackadder Photosmart_C4500_series?serial=CN8AKF20S8057K: io/hpmud/musb.c 603: invalid product id string ret=-1 
Feb 20 17:20:11 blackadder Photosmart_C4500_series?serial=CN8AKF20S8057K: io/hpmud/musb.c 1104: unable to open hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K 
Feb 20 17:20:11 blackadder Photosmart_C4500_series?serial=CN8AKF20S8057K: prnt/backend/hp.c 676: INFO: open device failed stat=12; will retry in 30 seconds... 
Feb 20 17:20:14 blackadder hpijs: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted 
Feb 20 17:20:14 blackadder hpijs: io/hpmud/musb.c 603: invalid product id string ret=-1 
Feb 20 17:20:14 blackadder hpijs: io/hpmud/musb.c 1104: unable to open hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K 

For some reason I'm not getting permission denied instead of access to the
printer.

-- Package-specific info:
error: NOT FOUND OR FAILED TO LOAD!
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

HP Linux Imaging and Printing System (ver. 2.8.12)
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 blackadder 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0

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

Checking Python version...
OK, version 2.5.4 installed

Checking PyQt 3.x version...

Checking PyQt 4.x version...

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


------------------------
| 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 3- Qt interface for Python (for Qt version 3.x)...
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y python-qt3"

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

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...
To install this dependency, execute this command:
su -c "apt-get install --force-yes -y python-reportlab"

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 2.8.12 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/hpijs/HP
doc = /usr/share/doc/hplip-doc/HTML
drv = /usr/share/cups/drv
ppdbase = /usr/share/ppd/hpijs
home = /usr/share/hplip
icon = no
cupsfilter = /usr/lib/cups/filter

[last_used]
device_uri = hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K

[hplip]
version = 2.8.12

[configure]
foomatic-rip-hplip-install = no
qt4 = yes
doc-build = yes
qt3 = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.12.26
foomatic-ppd-install = no
network-build = yes
ui-toolkit = qwarning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.

HP Linux Imaging and Printing System (ver. 2.8.12)
System Tray Status Service 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.

warning: Unable to connect to dbus. Is hp-systray running?
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K
error: Device not found
error: 5 errors and/or warnings.
t3
pp-build = yes
fax-build = yes
scanner-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
foomatic-drv-install = yes



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K

[installation]
version = 2.8.12.26
date_time = 02/20/09 17:24:08



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

No devices found.

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

No devices found.

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


Photosmart_C4500_series
-----------------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/Photosmart_C4500_series?serial=CN8AKF20S8057K
PPD: /etc/cups/ppd/Photosmart_C4500_series.ppd
PPD Description: HP Photosmart c4500 series Foomatic/hpijs, hpijs 2.8.10
Printer status: printer Photosmart_C4500_series disabled since Fri 20 Feb 2009 17:23:47 GMT -
	Paused


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


Summary of needed commands to run to satisfy missing dependencies:
su -c "apt-get install --force-yes -y python-qt3"
su -c "apt-get install --force-yes -y python-reportlab"

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


Done.


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                    3.110         add and remove users and groups
ii  coreutils                  6.12-1        The GNU core utilities
ii  cups                       1.3.9-14      Common UNIX Printing System(tm) - 
ii  hplip-data                 2.8.12-3      HP Linux Printing and Imaging - da
ii  libc6                      2.7-18        GNU C Library: Shared libraries
ii  libcups2                   1.3.9-14      Common UNIX Printing System(tm) - 
ii  libdbus-1-3                1.2.12-1      simple interprocess messaging syst
ii  libsane                    1.0.19-24     API library for scanners
ii  libsnmp15                  5.4.1~dfsg-12 SNMP (Simple Network Management Pr
ii  libssl0.9.8                0.9.8g-15.1   SSL shared libraries
ii  libusb-0.1-4               2:0.1.12-13   userspace USB programming library
ii  lsb-base                   3.2-20        Linux Standard Base 3.2 init scrip
ii  python                     2.5.2-3       An interactive high-level object-o
ii  python-dbus                0.83.0-1      simple interprocess messaging syst
ii  python-imaging             1.1.6-3       Python Imaging Library
ii  python-support             0.8.7         automated rebuilding support for P

Versions of packages hplip recommends:
ii  cups-client                   1.3.9-14   Common UNIX Printing System(tm) - 
ii  hpijs                         2.8.12-3   HP Linux Printing and Imaging - gs
ii  sane-utils                    1.0.19-24  API library for scanners -- utilit

Versions of packages hplip suggests:
pn  hplip-doc                     <none>     (no description available)
pn  hplip-gui                     <none>     (no description available)
pn  kdeprint | gtklp | xpp        <none>     (no description available)
pn  openprinting-ppds             <none>     (no description available)

-- no debconf information


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                    3.110         add and remove users and groups
ii  coreutils                  6.12-1        The GNU core utilities
ii  cups                       1.3.9-14      Common UNIX Printing System(tm) - 
ii  hplip-data                 2.8.12-3      HP Linux Printing and Imaging - da
ii  libc6                      2.7-18        GNU C Library: Shared libraries
ii  libcups2                   1.3.9-14      Common UNIX Printing System(tm) - 
ii  libdbus-1-3                1.2.12-1      simple interprocess messaging syst
ii  libsane                    1.0.19-24     API library for scanners
ii  libsnmp15                  5.4.1~dfsg-12 SNMP (Simple Network Management Pr
ii  libssl0.9.8                0.9.8g-15.1   SSL shared libraries
ii  libusb-0.1-4               2:0.1.12-13   userspace USB programming library
ii  lsb-base                   3.2-20        Linux Standard Base 3.2 init scrip
ii  python                     2.5.2-3       An interactive high-level object-o
ii  python-dbus                0.83.0-1      simple interprocess messaging syst
ii  python-imaging             1.1.6-3       Python Imaging Library
ii  python-support             0.8.7         automated rebuilding support for P

Versions of packages hplip recommends:
ii  cups-client                   1.3.9-14   Common UNIX Printing System(tm) - 
ii  hpijs                         2.8.12-3   HP Linux Printing and Imaging - gs
ii  sane-utils                    1.0.19-24  API library for scanners -- utilit

Versions of packages hplip suggests:
pn  hplip-doc                     <none>     (no description available)
pn  hplip-gui                     <none>     (no description available)
pn  kdeprint | gtklp | xpp        <none>     (no description available)
pn  openprinting-ppds             <none>     (no description available)

-- no debconf information





More information about the Pkg-hpijs-devel mailing list