Comment 6 for bug 1315408

Revision history for this message
Arie Skliarouk (skliarie) wrote :

Here are lines from /var/log/syslog when the printer is connected to USB:

Jul 4 10:16:56 cmdesk09 logger: loading HP Device 002 022
Jul 4 10:16:56 cmdesk09 logger: loading hp_laserjet_1018 firmware 002 022
Jul 4 10:17:07 cmdesk09 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
Jul 4 10:17:07 cmdesk09 python: io/hpmud/musb.c 2211: invalid product id string ret=-7
Jul 4 10:17:12 cmdesk09 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
Jul 4 10:17:12 cmdesk09 python: io/hpmud/musb.c 2216: invalid serial id string ret=-7
Jul 4 10:17:17 cmdesk09 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
Jul 4 10:17:17 cmdesk09 python: io/hpmud/musb.c 2080: invalid product id string ret=-7
Jul 4 10:17:22 cmdesk09 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
Jul 4 10:17:22 cmdesk09 python: io/hpmud/musb.c 2085: invalid serial id string ret=-7
Jul 4 10:17:27 cmdesk09 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
Jul 4 10:17:27 cmdesk09 python: io/hpmud/musb.c 2090: invalid manufacturer string ret=-7
Jul 4 10:17:27 cmdesk09 hp-firmware: hp-firmware[18175]: error: Invalid USB Device ID or USB bus ID. No device found.

Same result happens if hp-firmware is ran manually (instead by udev on printer's being connected to USB):
root@cmdesk09:~# lsusb | grep 1018
Bus 002 Device 022: ID 03f0:4117 Hewlett-Packard LaserJet 1018
root@cmdesk09:~# /usr/share/hplip/firmware.py -y0 -s002:022

It appears that some kind of firmware is indeed loaded, as the printer does produces some noise when connected to USB for the first time.

running hp-firmware manually yields following error (in syslog):
Jul 4 10:22:08 cmdesk09 hp-firmware: hp-firmware[18498]: error: No devices that support firmware download found.

WORKAROUND: use hplip from ubuntu 13.10 (use "sudo su -")

1) Remove hplip of 14.04 (for some reason apt-get won't do that automatically)
apt-get remove hplip

2) Add repo strings for 13.10
cat > /etc/apt/sources.list.d/saucy.list <<EOF
deb http://il.archive.ubuntu.com/ubuntu/ saucy main restricted
deb http://il.archive.ubuntu.com/ubuntu/ saucy universe
deb http://il.archive.ubuntu.com/ubuntu/ saucy multiverse
EOF

3) apt-get update

4) install hplip of 13.10
apt-get install hplip=3.13.9-1 libhpmud0=3.13.9-1 libsane-hpaio=3.13.9-1 hplip-data=3.13.9-1 printer-driver-hpcups=3.13.9-1