proprietary plug-in not send after plugging printer

Bug #1169457 reported by Mindaugas B.
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned
hplip (Debian)
Fix Released
Unknown

Bug Description

I have HP LaserJet 1018 printer, witch requires proprietary plug-in.
Long time I succesfully used printer in openSUSE.
But now my printer not receive proprietary plug-in, when printed is attached
via USB.
Yesterday I updated to hplip-3.13.4-2.11.1 from
https://build.opensuse.org/package/show?project=home%3Aang-cz%3Abranches%3AopenSUSE%3A12.3%3AUpdate&package=hplip
It does not helped.
Now I use workaroud:
Open hp-toolbox,
select my printer, use option „Download Firmware“ to send required proprietary
plug-in to printer. After this, I can print.

Maybe in openSUSE 12.2, I see https://bugzilla.novell.com/show_bug.cgi?id=805016 :
At each attach of printer, dialog propted to install proprietary plug-in,
but printer just worked. And if I followed dialog and installed plug-in,
dialog still opened at next time.
So I just ignored that bug.
But this bug in openSUSE 12.3 installation, in contrast, don't care about fact, that plugin must send to
printer!

I open bug in https://bugzilla.novell.com/show_bug.cgi?id=815186
/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules: https://bugzilla.novell.com/attachment.cgi?id=535120
fraction from /var/log/cups/error_log : https://bugzilla.novell.com/attachment.cgi?id=535119

Tags: plugin print
Revision history for this message
Mindaugas B. (embar-super) wrote :

P.S. mentioned workaroud works until next computer reboot or plug/unplug of printer.

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi,

Can you please provide following commands information to analyse further.

$ ls -la /var/lib/hp/
$ hp-diagnose_plugin -g

Thanks & Regards,
Amarnath

Revision history for this message
Mindaugas B. (embar-super) wrote :

> ls -la /var/lib/hp/
total 12
drwxr-xr-x 2 root root 4096 Bal 10 23:37 .
drwxr-xr-x 68 root root 4096 Bal 15 22:17 ..
-rw-r--r-- 1 root root 50 Bal 14 23:09 hplip.state
naudotojas@linux-17m9:~> hp-diagnose_plugin -g

HP Linux Imaging and Printing System (ver. 3.13.4)
Plugin Download and Install Utility ver. 1.0

Copyright (c) 2001-13 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-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/prnt/plugins/lj.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/prnt/plugins/lj.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library status: 1
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/prnt/plugins/lj.so library file present.
hp-diagnose_plugin[4059]: debug: /usr/share/hplip/prnt/plugins/lj.so library status: 1
hp-diagnose_plugin[4059]: debug: Plugin status = 1
Device Plugin is already installed

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi Mindaugas,

From above logs, plug-in is installed correctly .
Regarding 86-hpmud-hp_laserjet_1018.rules, this uploads firmware from PC to printer during USB plug and play (no user interaction required).

From this logs, Plugin missing or Download Firmware pop-up might have not come.

Are you getting Plugin missing or Download Firmware pop-up? Please explain us he problem.

Thanks & Regards,
Amarnath

Revision history for this message
Mindaugas B. (embar-super) wrote :

There is NO pop-up dialog about missing plugin.
And NO pop-up dialog for download of firmware.
(But yes, dialogs does apeared in earler versions with earler openSUSE 12.2
(and apeared without necessity);
But now I use openSUSE 12.3).

The problem is that I must manualy send firmware, because it is not send automatically after plugging.

Revision history for this message
Mindaugas B. (embar-super) wrote :

I try to find udev log, but unsucessfully.

Content of /etc/udev/udev.conf is next 3 lines:
# see udev(7) for details

#udev_log="info"

Strange, but firmaware will be automatically send, if I execute as root and re-plug:
udevadm control --log-priority=info
or
udevadm control --log-priority=debug

But it don't send any firmware after execution any of next and replugging:
udevadm control --log-priority=
udevadm control --log-priority=err
udevadm control --log-priority=error

So maybe this is openSUSE specific bug? (in openSUSE 12.2 and 12.3 were strong changes in boot procedure)

Revision history for this message
Mindaugas B. (embar-super) wrote :

If I use:
 # udevadm control --log-priority=debug
Then
 I get atached /var/log/messages

Robert Milasan suggest, that problem is this:
Apr 18 22:42:48 linux-17m9 hp-mkuri: common/utils.c 98: unable to find
[s{product}] support-type in /usr/share/hplip/data/models/models.dat
Apr 18 22:42:48 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-mkuri
-c &'' [7216] exit with return code 0
Apr 18 22:42:48 linux-17m9 systemd-udevd[7218]: starting '/bin/sh -c
'/usr/bin/hp-firmware -y3 -s001:003 &''
Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c
'/usr/bin/hp-firmware -y3 -s001:003 &''(err) 'warning: No display
found.'
Apr 18 22:42:50 linux-17m9 hp-firmware: hp-firmware[7219]: warning: No display
found.
Apr 18 22:42:50 linux-17m9 hp-firmware: hp-firmware[7219]: error: hp-firmware
-u/--gui requires Qt4 GUI support. Entering interactive mode.
Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c
'/usr/bin/hp-firmware -y3 -s001:003 &''(err) 'error: hp-firmware
-u/--gui requires Qt4 GUI support. Entering interactive mode.'
Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c
'/usr/bin/hp-firmware -y3 -s001:003 &''(out) ''
Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c
'/usr/bin/hp-firmware -y3 -s001:003 &''(out) 'HP Linux Imaging and
Printing System (ver. 3.13.4)'
Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c
'/usr/bin/hp-firmware -y3 -s001:003 &''(out) 'Firmware Download Utility
ver. 2.4'

But even if this message is shown, firmware was send, because "udevadm control --log-priority" =DEBUG, and
firmware not send if I set empty option ( "udevadm control --log-priority=" ) as by default.

Revision history for this message
Mindaugas B. (embar-super) wrote :

Johannes Meixner (see https://bugzilla.novell.com/show_bug.cgi?id=815186#c9) suggest, that
"HP should at least specify the '-i' option when calling hp-firmware
from a udev rules file to avoid those error message."

Revision history for this message
Johannes Meixner (jsmeix) wrote :

Regarding general issues with firmware upload
you may have a look at my own bad experience
with a similar model "HP LaserJet 1020", see
https://bugs.launchpad.net/hplip/+bug/187049

FYI:
Related to "the '-i' option" have a look at
https://bugs.launchpad.net/bugs/1169603

Revision history for this message
Mindaugas B. (embar-super) wrote :

hp-check.log

Revision history for this message
rabauke (sven-burmeister) wrote :

Same issue with openSUSE 12.3. hplip-3.12.11-2.2.1.x86_64.

This did work before and installing the firmware via the hp-toolbox works as well.

Revision history for this message
rabauke (sven-burmeister) wrote :

Some debug output from turning on the printer:

2013-04-28T19:00:11.604879+02:00 linux-ly0d systemd-udevd[3546]: missing file parameter for attr
2013-04-28T19:00:11.746398+02:00 linux-ly0d hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
2013-04-28T19:00:11.905659+02:00 linux-ly0d hp-firmware: hp-firmware[3561]: warning: No display found.
2013-04-28T19:00:11.907756+02:00 linux-ly0d hp-firmware: hp-firmware[3561]: error: hp-firmware -u/--gui requires Qt4 GUI support. Entering interactive mode.

There is no pop-up though to install the plug-in. Would not be necessary anyway since it was installed many times before.

Printer: HP LaserJet 1018

Revision history for this message
Mindaugas B. (embar-super) wrote :
Download full text (5.7 KiB)

I intentionally opened openSUSE 12.2 /var/log/messages 2012-09-08 archive; here I see:

Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules:9
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1000.rules:9'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules:9
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1005_series.rules:9'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:9
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules:9'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1020.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1020.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_1020.rules:9
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_1020.rules:9'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_p1005.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_p1005.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_p1005.rules:9
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_p1005.rules:9'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_p1006.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_p1006.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_p1006.rules:9
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_p1006.rules:9'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/86-hpmud-hp_laserjet_p1007.rules:6
Sep 8 18:45:14 linux-17m9 udevd[296]: invalid rule '/etc/udev/rules.d/86-hpmud-hp_laserjet_p1007.rules:6'
Sep 8 18:45:14 linux-17m9 udevd[296]: unknown key 'SYSFS{idVendor}' in /etc/udev/ru...

Read more...

Revision history for this message
Mindaugas B. (embar-super) wrote :
Download full text (3.3 KiB)

In openSUSE 12.2 /var/log/messages of 2012-10-06 day, I see analog to comment#12 , but as remember printer worked still...

Oct 6 18:56:32 linux-17m9 kernel: usb 1-2: new high-speed USB device number 12 using ehci_hcd
Oct 6 18:56:32 linux-17m9 kernel: usb 1-2: New USB device found, idVendor=03f0, idProduct=4117
Oct 6 18:56:32 linux-17m9 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 6 18:56:32 linux-17m9 kernel: usb 1-2: Product: HP LaserJet 1018
Oct 6 18:56:32 linux-17m9 kernel: usb 1-2: Manufacturer: Hewlett-Packard
Oct 6 18:56:32 linux-17m9 kernel: usb 1-2: SerialNumber: KP1SL0L
Oct 6 18:56:32 linux-17m9 kernel: usblp0: USB Bidirectional printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117
Oct 6 18:56:33 linux-17m9 udevd[25784]: missing file parameter for attr
Oct 6 18:56:33 linux-17m9 logger: loading hp_laserjet_1018 firmware 001 012
Oct 6 18:56:33 linux-17m9 logger: loading hp_printer_device 001 012
Oct 6 18:56:33 linux-17m9 udev-configure-printer: add /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.0
Oct 6 18:56:33 linux-17m9 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:0b.1/usb1/1-2
Oct 6 18:56:33 linux-17m9 udev-configure-printer: Device vendor/product is 03F0:4117
Oct 6 18:56:33 linux-17m9 udev-configure-printer: add /devices/pci0000:00/0000:00:0b.1/usb1/1-2/1-2:1.0/usb/lp0
Oct 6 18:56:33 linux-17m9 udev-configure-printer: failed to claim interface
Oct 6 18:56:33 linux-17m9 udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:0b.1/usb1/1-2
Oct 6 18:56:33 linux-17m9 udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1018 SERN:- serial:KP1SL0L
Oct 6 18:56:33 linux-17m9 hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
Oct 6 18:56:36 linux-17m9 hp-firmware: hp-firmware[26040]: warning: No display found.
Oct 6 18:56:36 linux-17m9 hp-firmware: hp-firmware[26040]: error: hp-firmware -u/--gui requires Qt4 GUI support. Entering interactive mode.
Oct 6 18:56:37 linux-17m9 udev-configure-printer: SERN field matches USB serial number
Oct 6 18:56:37 linux-17m9 udev-configure-printer: URI match: hp:/usb/HP_LaserJet_1018?serial=KP1SL0L
Oct 6 18:56:37 linux-17m9 udev-configure-printer: URI matches without serial number: usb://HP/LaserJet%201018
Oct 6 18:56:37 linux-17m9 udev-configure-printer: Consider also queues with "/usb/lp0" or "/usblp0" in their URIs as matching
Oct 6 18:56:37 linux-17m9 udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_1018?serial=KP1SL0L, normalized: laserjet 1018 serial kp1sl0l
Oct 6 18:56:37 linux-17m9 udev-configure-printer: URI of detected printer: hp:/usb/HP_LaserJet_1018?serial=KP1SL0L, normalized: laserjet 1018 serial kp1sl0l
Oct 6 18:56:37 linux-17m9 udev-configure-printer: Queue ipp://localhost:631/printers/hplaserjet1018 has matching device URI
Oct 6 18:56:37 linux-17m9 udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/hplaserjet1018
Oct 6 18:56:37 linux-17m9 udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201018, normalized: laserjet 1018
Oct 6 18:56:37 linux-17m9 udev-configure-pr...

Read more...

Revision history for this message
Mindaugas B. (embar-super) wrote :

You can ignore comment#13 – that situation was just after openSUSE installation. In later logs I don't find udev complain about unknown key 'SYSFS{idVendor}'

Revision history for this message
Mark Purcell (msp) wrote : Fwd: [Pkg-hpijs-devel] Bug#710078: hplip: LaserJet1018 doesn't work

---------- Forwarded Message ----------

Subject: [Pkg-hpijs-devel] Bug#710078: hplip: LaserJet1018 doesn't work
Date: Tue, 28 May 2013, 09:22:13
From: Andrey Paramonov <email address hidden>
To: Debian Bug Tracking System <email address hidden>

Package: hplip
Version: 3.13.4-1
Severity: serious

Dear Maintainer,

My printer LaserJet1018 works no more with latest hplip package.
Printer can be detected and setup via hp-setup just nicely, but for any
job (incl. test page) I get:

stopped
"/usr/lib/cups/filter/hpcups failed"

Also, when I reboot with my printer plugged-in, my system doesn't boot.
This is I believe the relevant part from /var/log/messages:

May 28 08:42:09 sol kernel: [ 26.243235] lp: driver loaded but no devices
found
May 28 08:42:09 sol kernel: [ 26.273256] ppdev: user-space parallel port
driver
May 28 08:46:22 sol kernel: [ 278.743066] usb 1-1.2: USB disconnect, device
number 3
May 28 08:46:41 sol hp-probe: hp-probe[5284]: warning: hp-probe should not be
run as root/superuser.
May 28 08:46:48 sol kernel: [ 304.274112] usb 2-1.1: new high-speed USB
device number 4 using ehci_hcd
May 28 08:46:48 sol kernel: [ 304.386512] usb 2-1.1: New USB device found,
idVendor=03f0, idProduct=4117
May 28 08:46:48 sol kernel: [ 304.386519] usb 2-1.1: New USB device strings:
Mfr=1, Product=2, SerialNumber=3
May 28 08:46:48 sol kernel: [ 304.386524] usb 2-1.1: Product: HP LaserJet
1018
May 28 08:46:48 sol kernel: [ 304.386528] usb 2-1.1: Manufacturer: Hewlett-
Packard
May 28 08:46:48 sol kernel: [ 304.386531] usb 2-1.1: SerialNumber: KP3FK5P
May 28 08:46:48 sol kernel: [ 304.389903] usblp0: USB Bidirectional printer
dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117
May 28 08:46:48 sol logger: loading hp_laserjet_1018 firmware 002 004
May 28 08:46:48 sol hp-firmware: hp-firmware[5293]: warning: No display found.
May 28 08:46:51 sol kernel: [ 307.498939] usblp0: removed
May 28 08:47:19 sol hp-setup: hp-setup[5325]: warning: Qt/PyQt 4
initialization failed.
May 28 08:47:52 sol hp-testpage: hp-testpage[5378]: warning: hp-testpage
should not be run as root/superuser.
May 28 08:47:52 sol hp-testpage: hp-testpage[5378]: warning: Qt/PyQt 4
initialization failed.
May 28 08:48:22 sol hp-firmware: hp-firmware[5427]: warning: Qt/PyQt 4
initialization failed.

I'm ready to provide any additional info,
Andrey Paramonov

-- Package-specific info:
-----------------------------------------

Changed in hplip (Debian):
status: Unknown → New
Changed in hplip (Debian):
status: New → Confirmed
Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi,

In OpenSuse 12.3, udev rules have been changed to systemctl service to run command. This change is supported in latest HPLIP release.
Please install latest HPLIP from http://hplipopensource.com/hplip-web/install.html.

Thanks & Regards,
Amarnath

Revision history for this message
Mindaugas B. (embar-super) wrote :

Updated to HPLIP 3.13.5. Rebooted my computer. Nothing changed.

/var/log/messages:

Jun 24 08:31:12 linux-17m9 kernel: [ 1.548042] usb 1-1: new high-speed USB device number 2 using ehci_hcd
Jun 24 08:31:12 linux-17m9 kernel: [ 1.684746] usb 1-1: New USB device found, idVendor=03f0, idProduct=4117
Jun 24 08:31:12 linux-17m9 kernel: [ 1.684750] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 24 08:31:12 linux-17m9 kernel: [ 1.684754] usb 1-1: Product: HP LaserJet 1018
Jun 24 08:31:12 linux-17m9 kernel: [ 1.684757] usb 1-1: Manufacturer: Hewlett-Packard
Jun 24 08:31:12 linux-17m9 kernel: [ 1.684760] usb 1-1: SerialNumber: KP1SL0L

Jun 24 08:31:12 linux-17m9 kernel: [ 15.950630] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117

Jun 24 08:31:16 linux-17m9 udev-configure-printer: URI matches without serial number: usb://HP/LaserJet%201018
Jun 24 08:31:16 linux-17m9 udev-configure-printer: SERN field matches USB serial number
Jun 24 08:31:16 linux-17m9 udev-configure-printer: URI match: hp:/usb/HP_LaserJet_1018?serial=KP1SL0L
Jun 24 08:31:16 linux-17m9 udev-configure-printer: URI of detected printer: hp:/usb/HP_LaserJet_1018?serial=KP1SL0L, normalized: laserjet 1018 serial kp1sl0l
Jun 24 08:31:16 linux-17m9 udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_1018?serial=KP1SL0L, normalized: laserjet 1018 serial kp1sl0l
Jun 24 08:31:16 linux-17m9 udev-configure-printer: Queue ipp://localhost:631/printers/HP_LaserJet_1018_2 has matching device URI
Jun 24 08:31:16 linux-17m9 udev-configure-printer: URI of detected printer: usb://HP/LaserJet%201018, normalized: laserjet 1018
Jun 24 08:31:16 linux-17m9 udev-configure-printer: Queue ipp://localhost:631/printers/HP_LaserJet_1018_2 has matching device URI

Jun 24 08:31:33 linux-17m9 hp-config_usb_printer[645]: Device Plugin is already installed
Jun 24 08:31:41 linux-17m9 hp-config_usb_printer[645]: Traceback (most recent call last):
Jun 24 08:31:41 linux-17m9 hp-config_usb_printer[645]: File "/usr/bin/hp-config_usb_printer", line 260, in <module>
Jun 24 08:31:43 linux-17m9 hp-config_usb_printer[645]: fw_cmd = utlis.which('hp-firmware', True)
Jun 24 08:31:44 linux-17m9 hp-config_usb_printer[645]: NameError: name 'utlis' is not defined
Jun 24 08:31:33 linux-17m9 systemd[1]: hplip-printer@001:002.service: main process exited, code=exited, status=1/FAILURE
Jun 24 08:31:34 linux-17m9 systemd[1]: Unit hplip-printer@001:002.service entered failed state

Revision history for this message
Mindaugas B. (embar-super) wrote :

So I manually changed /usr/bin/hp-config_usb_printer:260 word "utlis" to "utils".
Now HP LaserJet 1018 printer automatically gets its firmware!

Changed in hplip:
status: New → Fix Committed
status: Fix Committed → Fix Released
Changed in hplip (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.