Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304523 - HPLIP 3.9.12-r1 / usblp0 removed / musb.c unable to write data
Summary: HPLIP 3.9.12-r1 / usblp0 removed / musb.c unable to write data
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 09:50 UTC by Eric F. GARIOUD
Modified: 2010-04-11 17:21 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric F. GARIOUD 2010-02-11 09:50:18 UTC
Printer : HP PhotoSmart 7260
 OS : Gentoo 2.6.31
 hplip : 3.9.12-R1 USE=(gtk hpcups qt4 -doc -fax -hpijs -libnotify -minimal -new-hpcups -parport -policykit -scanner -snmp -static-ppds -udev-acl)
 cups : 1.3.11-r1
 -------------
 When I launch a print job, nothing get printed.
Here are the associated syslog messages :
 -------------
 2010-02-10 08:51:40 [kernel] [ 1312.764784] usblp0 removed
 2010-02-10 08:52:25 [hp] io/hpmud/musb.c 1390 unable to write data hp:/usb/photosmart_7200_series?serial=CN38C2B29KI5: 45 second io timeout_
 2010-02-10 08:52:30 [hp] io/hpmud/musb.c 739 invalid deviceid ret=-110: Connection timed out_
 2010-02-10 08:52:30 [hp] prnt/backend/hp.c 625 ERROR: 5021 device communication error!_
 2010-02-10 08:52:30 [hp] io/hpmud/musb.c 548 aborting outstanding 7/1/2 write_
 -------------
 Following the associated kernel log message :
 -------------
 2010-02-10 08:52:30 usb 7-1 usbfs: USBDEVFS_CONTROL failed cmd hp rqt 161 rq 0 len 1024 ret -110
 -------------
 Following the kernel log at boot time associated with the device :
 -------------
 2010-02-10 08:29:49 usb 7-1 new full speed USB device using uhci_hcd and address 2
 2010-02-10 08:29:49 usb 7-1 New USB device found, idVendor=03f0, idProduct=b002
 2010-02-10 08:29:49 usb 7-1 New USB device strings: Mfr=1, Product=2, SerialNumber=3
 2010-02-10 08:29:49 usb 7-1 Product: photosmart 7200 series
 2010-02-10 08:29:49 usb 7-1 Manufacturer: hp
 2010-02-10 08:29:49 usb 7-1 SerialNumber: CN38C2B29KI5
 2010-02-10 08:29:49 usb 7-1 configuration #1 chosen from 1 choice
 2010-02-10 08:29:49 usblp0 USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0xB002
 -------------
- hp-setup did the configuration apparently troublefree
- hp-toolbox works correctly... as long as no print job in the queue
- hp-check only complains about missing libnetsnmp-devel required dependency.

I upgraded to 3.9.12.r1 from 2.8.6 b which was printing correctly.
Comment 1 Eric F. GARIOUD 2010-02-16 11:36:32 UTC
1/ Taking into account hp-check complaint about the missing snmp required dependency and despite I do not use network printing, I rebuilt hplip +snmp
2/ I no longer tried to setup the printer as advised. (i.e. running hp-setup as root => hp-setup -i on the console) nor via http://localhost:631/ but as user (lpadmin && lp groups member) via the hp-toolbox. 
3/ As I had read some similar issue on some ubuntu list that had been solved via some /etc/udev/rules.d/55-hpmud.rules I did the suggested correcting action (despite it was associated with a much older hplip version.

The problem no longer occurs.

I apologize for not being able to at least state which action has been decisive and for not having means to produce more valuable debugging information about this issue.
Members of the Printing Team, please, feel free to close / invalid it.

Regards
Comment 2 Daniel Pielmeier gentoo-dev 2010-02-28 21:18:28 UTC
Hm, why are maintainers not on CC?
Comment 3 Daniel Pielmeier gentoo-dev 2010-03-06 12:29:47 UTC
Okay I am closing this now as invalid. If the problem appears again feel free to re-open the bug.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2010-04-11 17:21:36 UTC
Funny. I had similar problems after installing the printer via localhost:631:
On the first try, the printer printed a few lines and stopped with the log message:
hp[4062]: io/hpmud/musb.c 601: invalid usb_open: Permission denied
kernel: usblp0: removed

When re-starting the printer, the page was ejected and the job started again, this time it worked.

Now I re-installed the printer via hp-setup and it seems to work.(hplip-3.10.2-r4)