https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248926

--- Comment #12 from Hans Petter Selasky <[email protected]> ---
Can you try this patch:

Index: sys/dev/usb/usb_request.c
===================================================================
--- sys/dev/usb/usb_request.c   (revision 364423)
+++ sys/dev/usb/usb_request.c   (working copy)
@@ -1010,7 +1010,7 @@
                USETW(req.wLength, min_len);

                err = usbd_do_request_flags(udev, mtx, &req,
-                   desc, 0, NULL, 500 /* ms */);
+                   desc, 0, NULL, 1000 /* ms */);

                if (err != 0 && err != USB_ERR_TIMEOUT &&
                    min_len != max_len) {
@@ -1021,7 +1021,7 @@
                        USETW(req.wLength, max_len);

                        err = usbd_do_request_flags(udev, mtx, &req,
-                           desc, USB_SHORT_XFER_OK, NULL, 500 /* ms */);
+                           desc, USB_SHORT_XFER_OK, NULL, 1000 /* ms */);

                        if (err == 0) {
                                /* verify length */


I think the problem is the device is responding a bit too slow!

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to