[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649999: /usr/bin/hp-plugin: hp-plugin generates broken udev files



Package: hplip

Version: 3.11.10-1
File: /usr/bin/hp-plugin
Severity: important

I have a LaserJet 1018 printer which requires a firmware upload before
functioning. The hp-plugin downloaded this firmware and also installed udev
rules to upload it, but those rules do not work:

Nov 25 13:23:00 wallach udevd[282]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:6
Nov 25 13:23:00 wallach udevd[282]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:6'
(and many similar errors for other printer models)

-- Package-specific info:

HP Linux Imaging and Printing System (ver. 3.11.10)
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 wallach 3.1.0-1-amd64 #1 SMP Mon Nov 14 08:02:25 UTC 2011 x86_64 GNU/Linux

Distribution:
debian unstable

Checking Python version...
OK, version 2.7.2 installed

Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!

Checking for CUPS...
Status: scheduler is running
Version: 1.5.0
error_log is set to level: warn

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


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


Checking for dependency: CUPS - Common Unix Printing System...
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: PyQt 4 DBus - DBus Support for PyQt4...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

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

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
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...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

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

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no


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



Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_LaserJet_1018?serial=KP33FZ9"
printer_name = 
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

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

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 11/25/11 13:28:00
version = 3.11.10



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

  Device URI                                 Model                                    
  -----------------------------------------  -----------------------------------------
  hp:/usb/HP_LaserJet_1018?serial=KP33FZ9    HP LaserJet 1018                         

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


Brother-DCP-7030
----------------
Type: Unknown
Device URI: usb://Brother/DCP-7030?serial=000K8N701399
PPD: /etc/cups/ppd/Brother-DCP-7030.ppd
PPD Description: Brother DCP-7010 Foomatic/ljet4
Printer status: printer Brother-DCP-7030 disabled since Thu Jul  7 21:15:31 2011 -
	Unplugged or turned off
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

HP-LaserJet-1018
----------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_1018?serial=KP33FZ9
PPD: /etc/cups/ppd/HP-LaserJet-1018.ppd
PPD Description: HP LaserJet 1018, hpcups 3.11.10, requires proprietary plugin
Printer status: printer HP-LaserJet-1018 is idle.  enabled since Fri Nov 25 13:23:20 2011

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

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
Required plug-in status: Installed
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'...
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device


---------------------
| 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 0x4117 at 002:005: 
    Device URI: hp:/usb/HP_LaserJet_1018?serial=KP33FZ9

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

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
    Device node: /dev/bus/usb/002/005
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/005
# owner: root
# group: lp
# flags: --t
user::rw-
user:pdewacht:rw-
group::rw-
mask::rw-
other::r--



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

pdewacht dialout cdrom floppy sudo audio video plugdev fuse

error: User needs to be member of group 'lp' to enable print, scan & fax.
error: User needs to be member of group 'lpadmin' to manage printers.

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

error: 4 errors and/or warnings.

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


Done.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip depends on:
ii  adduser         3.113     
ii  coreutils       8.13-3    
ii  cups            1.5.0-12  
ii  hplip-cups      3.11.10-1 
ii  hplip-data      3.11.10-1 
ii  libc6           2.13-21   
ii  libcups2        1.5.0-12  
ii  libdbus-1-3     1.4.16-1  
ii  libhpmud0       3.11.10-1 
ii  libsane         1.0.22-7  
ii  libsane-hpaio   3.11.10-1 
ii  libssl1.0.0     1.0.0e-2.1
ii  lsb-base        3.2-28    
ii  policykit-1     0.102-2   
ii  python          2.7.2-9   
ii  python-dbus     0.84.0-2  
ii  python-imaging  1.1.7-4   
ii  python-pexpect  2.3-1     
ii  python2.7       2.7.2-7   
ii  wget            1.13.4-1  

Versions of packages hplip recommends:
ii  avahi-daemon  0.6.30-5
ii  sane-utils    1.0.22-7

Versions of packages hplip suggests:
ii  hplip-doc              <none> 
ii  hplip-gui              <none> 
ii  python-notify          0.1.1-3
ii  system-config-printer  1.2.3-3

-- no debconf information




Reply to: