Bug 552088 - HP P1006 printing problems
Summary: HP P1006 printing problems
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-04 00:18 UTC by markm
Modified: 2010-02-23 17:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-23 17:11:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
After enabling manually printer remains in “Processing” mode and nothing gets printed. (628.48 KB, image/png)
2010-01-05 22:25 UTC, markm
no flags Details
troubleshoot.txt (82.87 KB, text/plain)
2010-02-15 23:00 UTC, markm
no flags Details

Description markm 2010-01-04 00:18:39 UTC
Description of problem:

I have a HP LaserJet P1006 USB printer which is usually switched off (to save energy and trees), so when I need it, I switch on the printer, but because I started my laptop with printer not connected, printer is not enabled in “System-config-printer”.

Version-Release number of selected component (if applicable):

rpm -qa | grep system-config-printer
system-config-printer-udev-1.1.16-2.fc12.i686
system-config-printer-1.1.16-2.fc12.i686
system-config-printer-libs-1.1.16-2.fc12.i686

How reproducible:

always

Steps to Reproduce:
1. switch off printer
2. (Re)start your computer & log in
3. switch on printer
  
Actual results:

printer remains in pause mode and requires manual action

Expected results:

printer gets enabled and user can use it

Comment 1 Tim Waugh 2010-01-05 15:58:00 UTC
What does 'lpstat -t' say?

Comment 2 markm 2010-01-05 22:22:29 UTC
[marek@d620 Desktop]$ lpstat -t
scheduler is running
system default destination: Hewlett-Packard-HP-LaserJet-P1006
device for Generic-CUPS-PDF-Printer: cups-pdf:/
device for Hewlett-Packard-HP-LaserJet-P1006: hp:/usb/HP_LaserJet_P1006?serial=AC22Y69
Generic-CUPS-PDF-Printer accepting requests since Sun 03 Jan 2010 20:59:53 GMT
Hewlett-Packard-HP-LaserJet-P1006 accepting requests since Tue 05 Jan 2010 00:47:58 GMT
printer Generic-CUPS-PDF-Printer is idle.  enabled since Sun 03 Jan 2010 20:59:53 GMT
printer Hewlett-Packard-HP-LaserJet-P1006 disabled since Tue 05 Jan 2010 00:47:58 GMT -
	Unplugged or turned off
Hewlett-Packard-HP-LaserJet-P1006-22 marek           851968   Tue 05 Jan 2010 22:21:38 GMT
[marek@d620 Desktop]$

and when I manually enable it:

[marek@d620 Desktop]$ lpstat -t
scheduler is running
system default destination: Hewlett-Packard-HP-LaserJet-P1006
device for Generic-CUPS-PDF-Printer: cups-pdf:/
device for Hewlett-Packard-HP-LaserJet-P1006: hp:/usb/HP_LaserJet_P1006?serial=AC22Y69
Generic-CUPS-PDF-Printer accepting requests since Sun 03 Jan 2010 20:59:53 GMT
Hewlett-Packard-HP-LaserJet-P1006 accepting requests since Tue 05 Jan 2010 22:22:51 GMT
printer Generic-CUPS-PDF-Printer is idle.  enabled since Sun 03 Jan 2010 20:59:53 GMT
printer Hewlett-Packard-HP-LaserJet-P1006 now printing Hewlett-Packard-HP-LaserJet-P1006-0.  enabled since Tue 05 Jan 2010 22:22:51 GMT
Hewlett-Packard-HP-LaserJet-P1006-22 marek           851968   Tue 05 Jan 2010 22:21:38 GMT
[marek@d620 Desktop]$ 

yet nothing gets printed... see screenshot.

Comment 3 markm 2010-01-05 22:25:50 UTC
Created attachment 381863 [details]
After enabling manually printer remains in “Processing” mode and nothing gets printed.

After enabling manually printer remains in “Processing” mode and nothing gets printed.

I would need to spent another hour or two trying to reinstall printer and / or printing related stuff in order to actually print anything. It worked fine in Fedora 11, I have this problem since I've installed Fedora 12.

Comment 4 Tim Waugh 2010-01-06 16:06:37 UTC
First, it's worth noting that this printer requires proprietary software in order to work with HPLIP.

Please run the printing troubleshooter: Help->Troubleshoot from the printer configuration window.

Comment 5 markm 2010-01-06 16:17:08 UTC
(In reply to comment #4)
> First, it's worth noting that this printer requires proprietary software in
> order to work with HPLIP.

Yes, it requires a plugin - there is no information how / where to get the plugin and I could not find the information about that. Secondly, I have downloaded hplip from HP website and installed it - as I understood, it should install a proprietary plugin but the printer still does not work and I have software which does nothing. The only driver which works with my printer is driver downloaded from http://foo2xqx.rkkda.com/ - this driver works, but I have to reinstall it every time I want to print something. In Fedora 11 this driver worked fine and I could print whenever I wanted.

> Please run the printing troubleshooter: Help->Troubleshoot from the printer
> configuration window.  

Will do when I get home.

Comment 6 markm 2010-02-15 22:50:29 UTC
Hello again,

I've been investing this issue with help from the maintainer of foo2xqx driver (see http://foo2zjs.rkkda.com/forum/list.php?43 for details) - although the resolution suggest broken cable, I am not so convinced.

I have just bought a brand new usb printer cable (Belkin PRO) which apparently didn't solve the issue. What happens is when I connect my printer to the computer I get this:

usb 1-5: new high speed USB device using ehci_hcd and address 20
usb 1-5: New USB device found, idVendor=03f0, idProduct=3e17
usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-5: Product: HP LaserJet P1006
usb 1-5: Manufacturer: Hewlett-Packard
usb 1-5: SerialNumber: AC22Y69
usb 1-5: configuration #1 chosen from 1 choice
usblp0: USB Bidirectional printer dev 19 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3E17


hence usb (or udev) has detected a printer correctly, but then I get either (this happens when I restart my printer):

usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
usb 1-5: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110

appearing while red light on the printer is flashing (suggest communication issues) or this straight away (this happens when I replug usb cable):

usblp0: nonzero write bulk status received: -108
usblp0: removed

in both scenarios printer is not printing.

If I keep trying to restart printer or re-plug usb cable or change usb cable or change usb port - then suddenly printer will get recognized and I will be able to print. Tested with two different laptops, three different usb cables.

Printer used to work fine with Fedora 11.

Comment 7 markm 2010-02-15 23:00:45 UTC
Created attachment 394421 [details]
troubleshoot.txt

please note same happens regardless of the driver used.

Comment 8 markm 2010-02-15 23:09:17 UTC
also output form /log/var/messages when I do a printer restart, I get this:

Feb 15 23:10:20 localhost kernel: usb 1-5: USB disconnect, address 10
Feb 15 23:10:20 localhost kernel: usblp0: nonzero write bulk status received: -108
Feb 15 23:10:20 localhost kernel: usblp0: removed
Feb 15 23:10:20 localhost /etc/hotplug/usb/hpljP1006: foo2zjs: ... download failed.
Feb 15 23:10:23 localhost kernel: usb 1-5: new high speed USB device using ehci_hcd and address 11
Feb 15 23:10:24 localhost kernel: usb 1-5: New USB device found, idVendor=03f0, idProduct=3e17
Feb 15 23:10:24 localhost kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 15 23:10:24 localhost kernel: usb 1-5: Product: HP LaserJet P1006
Feb 15 23:10:24 localhost kernel: usb 1-5: Manufacturer: Hewlett-Packard
Feb 15 23:10:24 localhost kernel: usb 1-5: SerialNumber: AC22Y69
Feb 15 23:10:24 localhost kernel: usb 1-5: configuration #1 chosen from 1 choice
Feb 15 23:10:24 localhost kernel: usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3E17
Feb 15 23:10:24 localhost logger: loading hp_laserjet_p1006 firmware 001 011
Feb 15 23:10:24 localhost /etc/hotplug/usb/hpljP1006: foo2zjs: loading HP LaserJet P1006 firmware /usr/share/foo2xqx/firmware/sihpP1006.dl to /dev/usb/lp0 ...
Feb 15 23:10:29 localhost python: io/hpmud/musb.c 136: unable get_string_descriptor -110: Connection timed out
Feb 15 23:10:29 localhost python: io/hpmud/musb.c 2091: invalid product id string ret=-110
Feb 15 23:10:34 localhost python: io/hpmud/musb.c 136: unable get_string_descriptor -110: Connection timed out
Feb 15 23:10:34 localhost python: io/hpmud/musb.c 2096: invalid serial id string ret=-110
Feb 15 23:10:39 localhost python: io/hpmud/musb.c 136: unable get_string_descriptor -110: Connection timed out
Feb 15 23:10:39 localhost python: io/hpmud/musb.c 1997: invalid product id string ret=-110
Feb 15 23:10:44 localhost python: io/hpmud/musb.c 136: unable get_string_descriptor -110: Connection timed out
Feb 15 23:10:44 localhost python: io/hpmud/musb.c 2002: invalid serial id string ret=-110
Feb 15 23:10:49 localhost python: io/hpmud/musb.c 136: unable get_string_descriptor -110: Connection timed out
Feb 15 23:10:49 localhost python: io/hpmud/musb.c 2007: invalid manufacturer string ret=-110
Feb 15 23:10:49 localhost python: hp-firmware[3034]: error: Invalid USB Device ID or USB bus ID. No device found.

Comment 9 Tim Waugh 2010-02-23 17:11:38 UTC
If you remove the foo2xqx package altogether do you still see this?  It looks like both it and hplip are trying to download firmware to it.


Note You need to log in before you can comment on or make changes to this bug.