[I posted this also on
https://bugzilla.redhat.com/show_bug.cgi?id=1047135 ]

I also have the LaserJet 1020 and did the following test: I connected
the printer to a running Ubuntu 14.04 system. The system recognized the
printer and a wizard for downloading the firmware (HPLIP plugin) popped
up. I was able to successfully install the firmware package and the
printer made the usual noise of receiving its firmware file. After that
I could set up the printer with both hp-setup and system-config-printer
and both print queues allowed me to print (I simply printed the Ubuntu
test page).

As I could not reproduce the bug I tried a system update (14.04 is still
under development, so there are tons of updates every day). The updated
consisted of hundreds of packages including the kernel. I rebooted (the
printer all the time connected and turned on) to get the system using
the new kernel. At the time when the login screen appeared the printer
made the firmware loading noise.

Right after logging in I started hp-setup, to see whether it is able to
create a queue for this printer and then I got the bug reproduced. hp-
setup needed longer time to search for USB printers and in the end no
printer was found, so it did not see my printer. "lsusb" lists my
printer though.

Now I power-cycled the printer. It made noise once for its startup and a
second time for receiving its firmware from the computer. After that it
was again listed by "lsusb" but this time hp-setup could find it. I also
could print.

So the problem seems booting with the printer turned on. It works if
turning it on after boot or power-cycling it after a boot with the
printer already turned on.

Please everyone with this problem test whether this is also the case for
you.


** Bug watch added: Red Hat Bugzilla #1047135
   https://bugzilla.redhat.com/show_bug.cgi?id=1047135

** Also affects: hplip (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=1047135
   Importance: Unknown
       Status: Unknown

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

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

Status in HP Linux Imaging and Printing:
  New
Status in “hplip” package in Ubuntu:
  New
Status in “hplip” package in Fedora:
  Unknown

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://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.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to