openbsd-ports/print/hplip/patches/patch-io_hpmud_musb_c
ajacoutot f8bddf7e5a Major update to hplip-3.9.6b.
Refer to the project homepage for the complete changelog.

This port now comes into 5 subpackages (ala Fedora):
- main: complete hplip functionnalities
- hpijs: deprecated hpijs printer driver
- hpcups: new-gen printer driver
- libs: libraries and helpers used by other subpackages
- gui: graphical tools (systray applet...)

It seems this version works a least as good as the previous one we had
in-tree. I could use some feedbacks for the fancier stuffs that hplip
provides (besides regular printing using hpcups and/or hpijs), like
printer communication, ink levels... because I have no hp equipment, but
at least, there was no regression reported.
(some features are Linux-only and are expected not to work)

Tested by several, thanks!
2009-07-13 08:14:28 +00:00

20 lines
840 B
Plaintext

$OpenBSD: patch-io_hpmud_musb_c,v 1.1 2009/07/13 08:14:28 ajacoutot Exp $
Fix probing HP PS 8250 printer, from FreeBSD.
--- io/hpmud/musb.c.orig Thu Jun 25 21:05:49 2009
+++ io/hpmud/musb.c Thu Jul 2 14:46:21 2009
@@ -124,8 +124,10 @@ static int get_string_descriptor(usb_dev_handle *dev,
0x409, tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT);
if (ret==0)
{
- /* This retry is necessary for lj1000 and lj1005. des 12/12/07 */
- BUG("get_string_descriptor zero result, retrying...");
+ /* This retry is necessary for lj1000 and lj1005. des 12/12/07
+ Also HP Photosmart 42xx seems to suffer transient errors with serial id */
+ BUG("get_string_descriptor error result %d, retrying in 2 secs...", ret);
+ sleep(2);
continue;
}
break;