[Foo2zjs-maintainer] Bug#517434: Bug#517434: foo2zjs: HP LasetJet 1018 won't print

Андрей Андрей
Wed Mar 4 06:59:24 UTC 2009


Hello!

I've just built the new version of foo2zjs from source and I confirm
that the bug is still present.
I get the following diagnostics in /var/log/syslog upon connecting the device:

Mar  4 09:50:15 neo kernel: [8168970.636534] usb 4-1: new high speed
USB device using ehci_hcd and address 60
Mar  4 09:50:15 neo kernel: [8168970.769283] usb 4-1: configuration #1
chosen from 1 choice
Mar  4 09:50:15 neo kernel: [8168970.774063] usblp0: USB Bidirectional
printer dev 60 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117
Mar  4 09:50:15 neo kernel: [8168970.774138] usb 4-1: New USB device
found, idVendor=03f0, idProduct=4117
Mar  4 09:50:15 neo kernel: [8168970.774142] usb 4-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Mar  4 09:50:15 neo kernel: [8168970.774146] usb 4-1: Product: HP LaserJet 1018
Mar  4 09:50:15 neo kernel: [8168970.774149] usb 4-1: Manufacturer:
Hewlett-Packard
Mar  4 09:50:15 neo kernel: [8168970.774151] usb 4-1: SerialNumber: KP3FK5P
Mar  4 09:50:15 neo logger: loading hp_laserjet_1018 firmware 004 060
Mar  4 09:50:15 neo logger: loading hp_laserjet_1018 firmware 4 60
Mar  4 09:50:15 neo /usr/sbin/hplj1018: foo2zjs: HP LaserJet 1018
firmware already loaded into /dev/usb/lp0
Mar  4 09:50:19 neo kernel: [8168974.489038] usblp0: removed
Mar  4 09:50:19 neo python: hp-firmware[23657]: error: Device busy:
hp:/usb/HP_LaserJet_1018?serial=KP3FK5P
Mar  4 09:50:19 neo python: hp-firmware[23657]: error: Error opening
device (Device not found). Exiting.

The following appears in syslog when I run hp-testpage:

Mar  4 09:54:58 neo python: hp-systray[23995]: warning: Qt/PyQt 4
initialization failed.
Mar  4 09:54:58 neo python: hp-systray[23995]: error: hp-systray
requires Qt4 GUI and DBus support. Exiting.
Mar  4 09:55:02 neo python: hp-testpage[23978]: warning: Unable to
connect to dbus. Is hp-systray running?
Mar  4 09:55:02 neo python: io/hpmud/musb.c 135: unable
get_string_descriptor -1: Operation not permitted
Mar  4 09:55:02 neo python: io/hpmud/musb.c 603: invalid product id
string ret=-1
Mar  4 09:55:02 neo python: io/hpmud/musb.c 1104: unable to open
hp:/usb/HP_LaserJet_1018?serial=KP3FK5P
Mar  4 09:55:02 neo python: hp-testpage[23978]: error: Unable to
communicate with device (code=12):
hp:/usb/HP_LaserJet_1018?serial=KP3FK5P
Mar  4 09:55:02 neo python: hp-testpage[23978]: error: Unable to print
to printer. Please check device and try again.

... and when I run sudo hp-testpage:

Mar  4 09:53:05 neo python: hp-testpage[23860]: warning: hp-testpage
should not be run as root/superuser.
Mar  4 09:53:07 neo HP_LaserJet_1018?serial=KP3FK5P: io/hpmud/musb.c
135: unable get_string_descriptor -1: Operation not permitted
Mar  4 09:53:07 neo HP_LaserJet_1018?serial=KP3FK5P: io/hpmud/musb.c
603: invalid product id string ret=-1
Mar  4 09:53:07 neo HP_LaserJet_1018?serial=KP3FK5P: io/hpmud/musb.c
1104: unable to open hp:/usb/HP_LaserJet_1018?serial=KP3FK5P
Mar  4 09:53:07 neo HP_LaserJet_1018?serial=KP3FK5P: prnt/backend/hp.c
676: INFO: open device failed stat=12; will retry in 30 seconds...
Mar  4 09:53:11 neo foo2zjs-wrapper: foo2zjs-wrapper -P -z1 -L0
-r1200x600 -p9 -s7 -m1 -n1

Some messages are repeating periodically:

Mar  4 09:56:38 neo HP_LaserJet_1018?serial=KP3FK5P: io/hpmud/musb.c
135: unable get_string_descriptor -1: Operation not permitted
Mar  4 09:56:38 neo HP_LaserJet_1018?serial=KP3FK5P: io/hpmud/musb.c
603: invalid product id string ret=-1
Mar  4 09:56:38 neo HP_LaserJet_1018?serial=KP3FK5P: io/hpmud/musb.c
1104: unable to open hp:/usb/HP_LaserJet_1018?serial=KP3FK5P
Mar  4 09:56:38 neo HP_LaserJet_1018?serial=KP3FK5P: prnt/backend/hp.c
676: INFO: open device failed stat=12; will retry in 30 seconds...

Hope it helps,
Andrey





More information about the Foo2zjs-maintainer mailing list