Running openSuse 11.3 32 bit clean default install with a HP 2575xi connected via USB. Sometimes, printing fails halfway through the last page. The following shows in the CUPS error log file:
D [03/Sep/2010:17:15:15 -0400] [Job 30] Process 21943 ending: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=2..."
D [03/Sep/2010:17:15:15 -0400] [Job 30] prnt/backend/hp.c 625: ERROR: 5021 device communication error!
D [03/Sep/2010:17:15:15 -0400] [Job 30] KID3 finished with 13
D [03/Sep/2010:17:15:15 -0400] [Job 30] KID3 exited with status 4
D [03/Sep/2010:17:15:15 -0400] [Job 30] Renderer exit stat: 4
D [03/Sep/2010:17:15:15 -0400] [Job 30] Renderer process finished
D [03/Sep/2010:17:15:15 -0400] [Job 30] Process dying with "Error closing renderer", exit stat: 4
D [03/Sep/2010:17:15:15 -0400] [Job 30] error: (0)
/var/log/messages shows this:
Sep 3 17:15:08 linux-uj7w hp[21936]: io/hpmud/musb.c 601: invalid usb_open: Permission denied
Sep 3 17:15:10 linux-uj7w kernel: [92562.102018] usb 2-5: reset high speed USB device using ehci_hcd and address 3
Sep 3 17:15:10 linux-uj7w hp[21936]: io/hpmud/musb.c 1039: bulk_write failed buf=0xbffc27c4 size=8192 len=-34: Success
Sep 3 17:15:10 linux-uj7w hp[21936]: io/hpmud/musb.c 1406: unable to write data hp:/usb/Photosmart_2570_series?serial=MY62B2100104B8: Success
Sep 3 17:15:10 linux-uj7w hp[21936]: io/hpmud/musb.c 746: invalid deviceid ret=-5: Input/output error
Sep 3 17:15:10 linux-uj7w hp[21936]: prnt/backend/hp.c 625: ERROR: 5021 device communication error!
Sep 3 17:15:10 linux-uj7w kernel: [92562.217709] usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4E11
Sep 3 17:15:10 linux-uj7w kernel: [92562.217807] usb 2-5: usbfs: process 21936 (hp) did not claim interface 1 before use
Sep 3 17:15:10 linux-uj7w udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.1/usb/lp0
Sep 3 17:15:10 linux-uj7w udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1d.7/usb2/2-5
Take a two paged PDF. Print it and half way through the second page, this error occurs. Unplug the USB cable and plug it back in and part of the job continues. Print again, same thing happens. Restart CUPS and print again, same thing happens. Reboot PC, same thing happens. Reboot again, same thing happens. Give up! Come back the next day and it prints without fail. Repeatedly! It prints everything without fail.
Weird. Must have been me(user error). Print this. Print that. Everything is fine. Although the /var/log/messages file shows the following errors every time I print, even with successful jobs.
Sep 3 17:57:14 linux-uj7w hpijs[22478]: io/hpmud/musb.c 601: invalid usb_open: Permission denied
Sep 3 17:57:14 linux-uj7w hpijs[22478]: io/hpmud/musb.c 601: invalid usb_open: Permission denied
Sep 3 17:57:14 linux-uj7w hp[22469]: io/hpmud/musb.c 601: invalid usb_open: Permission denied
Sep 3 17:57:14 linux-uj7w hp[22469]: io/hpmud/musb.c 601: invalid usb_open: Permission denied
Two days later, I’m print numerous envelopes from OpenOffice Writer and suddenly, it stops printing half way through the envelope with the same above error. Repeated attempt to print this envelope produces the same results. It prints half the envelope and then errors out. Unplug and replug the USB cable and it starts again.
No, there is nothing wrong with the printer. Other PCs are fully capable of printing to it without any issue via USB or network.
Has anyone seen this before? Is there a fix?