Public bug reported:

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://bugzilla.redhat.com/show_bug.cgi?id=1047135

`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_device_name=None
(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-Packard-HP_LaserJet_1020
Mar 22 12:09:28 ares python: io/hpmud/musb.c 150: unable get_string_descriptor 
-7: Resource temporarily unavailable
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_descriptor 
-7: Resource temporarily unavailable
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_descriptor 
-7: Resource temporarily unavailable
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_descriptor 
-7: Resource temporarily unavailable
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_descriptor 
-7: Resource temporarily unavailable
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)
     Importance: Undecided
         Status: New

** Attachment added: "Output from strace of hpmudext command"
   
https://bugs.launchpad.net/bugs/1296085/+attachment/4037785/+files/strace-output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1296085

Title:
  HP LaserJet 1020 io/hpmud/musb.c 150: unable get_string_descriptor -7:
  Resource temporarily unavailable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1296085/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to