--- /home/itz/hplip-2.8.2/io/hpmud/musb.c 2008-03-30 06:44:01.000000000 -0400 +++ work/hplip-2.8.2/io/hpmud/musb.c 2008-01-22 19:27:15.000000000 -0500 @@ -121,12 +121,10 @@ { ret = usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, (USB_DT_STRING << 8) + index, 0x409, tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT); - if (ret <=0 ) + if (ret==0) { - /* 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); + /* This retry is necessary for lj1000 and lj1005. des 12/12/07 */ + BUG("get_string_descriptor zero result, retrying..."); continue; } break;