HP LaserJet 1020 io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Triaged
|
Undecided
|
Ani Balakrishnan | ||
hplip (Fedora) |
Won't Fix
|
High
|
|||
hplip (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading to Ubuntu 14.04 unstable, I can no longer print to my HP LaserJet 1020.
This is identical to Fedora bug 1047135: https:/
`uname -a`: Linux ares 3.13.0-18-generic #38-Ubuntu SMP Mon Mar 17 21:40:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
When I plug in my printer, `tail dmesg` looks like this:
[ 4269.639715] usb 2-1.6: new high-speed USB device number 43 using ehci-pci
[ 4269.751434] usb 2-1.6: New USB device found, idVendor=03f0, idProduct=2b17
[ 4269.751439] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4269.751442] usb 2-1.6: Product: HP LaserJet 1020
[ 4269.751445] usb 2-1.6: Manufacturer: Hewlett-Packard
[ 4269.751448] usb 2-1.6: SerialNumber: JL0Z6XM
[ 4269.754716] usblp 2-1.6:1.0: usblp2: USB Bidirectional printer dev 43 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
[ 4272.980952] usblp2: removed
`lsusb` shows the printer:
Bus 002 Device 043: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
But then when I run `hp-setup`, it's not found:
12:07:44 adam@ares:~$ hp-setup -g -i '002:043'
HP Linux Imaging and Printing System (ver. 3.14.3)
Printer/Fax Setup Utility ver. 9.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-setup[8280]: debug: param=002:043
hp-setup[8280]: debug: selected_
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
hp-setup[8280]: debug: Trying USB with bus=002 dev=043...
hp-setup[8280]: debug: Not found.
...
I do see some error messages in syslog:
Mar 22 12:07:26 ares kernel: [ 4269.754716] usblp 2-1.6:1.0: usblp2: USB Bidirectional printer dev 43 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Mar 22 12:07:26 ares logger: loading HP Device 002 043
Mar 22 12:07:29 ares kernel: [ 4272.980952] usblp2: removed
Mar 22 12:07:32 ares colord: Device added: sysfs-Hewlett-
Mar 22 12:09:28 ares python: io/hpmud/musb.c 150: unable get_string_
Mar 22 12:09:28 ares python: io/hpmud/musb.c 2206: invalid product id string ret=-7
Mar 22 12:09:33 ares python: io/hpmud/musb.c 150: unable get_string_
Mar 22 12:09:33 ares python: io/hpmud/musb.c 2211: invalid serial id string ret=-7
Mar 22 12:09:38 ares python: io/hpmud/musb.c 150: unable get_string_
Mar 22 12:09:38 ares python: io/hpmud/musb.c 2078: invalid product id string ret=-7
Mar 22 12:09:43 ares python: io/hpmud/musb.c 150: unable get_string_
Mar 22 12:09:43 ares python: io/hpmud/musb.c 2083: invalid serial id string ret=-7
Mar 22 12:09:48 ares python: io/hpmud/musb.c 150: unable get_string_
Mar 22 12:09:48 ares python: io/hpmud/musb.c 2088: invalid manufacturer string ret=-7
And finally, I can strace an hpmud command to see that it fails. (Attached.)
This behavior is consistent with the Fedora bug. It appears like a broken USB connection, but I've tried two working cables on USB ports at the back and front of my computer.
affects: | cups (Ubuntu) → hplip (Ubuntu) |
Changed in hplip: | |
assignee: | nobody → Sarbeswar Meher (sarbeswar-meher) |
status: | New → Triaged |
Changed in hplip: | |
assignee: | Sarbeswar Meher (sarbeswar-meher) → nobody |
assignee: | nobody → Ani Balakrishnan (anib) |
Changed in hplip (Fedora): | |
importance: | Unknown → High |
status: | Unknown → Won't Fix |
Description of problem:
After upgrade to Fedora 20 printer HP 1020 stopped to print. Usually in such case I just run hp-setup and re-install the driver. But after upgrade to Fedora 20 hp-setup cannot find the printer. Now I see the following:
% hp-setup
HP Linux Imaging and Printing System (ver. 3.13.11)
Printer/Fax Setup Utility ver. 9.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.
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Version-Release number of selected component (if applicable):
hplip.x86_64 3.13.11-4.fc20
hplip-common.x86_64 3.13.11-4.fc20
hplip-gui.x86_64 3.13.11-4.fc20
hplip-libs.x86_64 3.13.11-4.fc20
How reproducible:
every time
Steps to Reproduce:
1. connect HP 1020 to workstation with USB cable
2. run hp-setup
3. Chose 'Universal Serial Bus (USB)' as Connection Type.
4. Click Next
Actual results:
No devices found.
Expected results:
Utility found the printer.
Additional info:
On other hand lsusb shows the printer:
% lsusb
Bus 002 Device 004: ID 03f0:2b17 Hewlett-Packard LaserJet 1020
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 09da:024f A4 Tech Co., Ltd RF Receiver and G6-20D Wireless Optical Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub