usb: increase USB control timeout value
PATCH 1/1 usb: increase USB control timeout value
Increase USB control timeout value to 5000 milliseconds, matching the value used in Linux kernel. This improves communication stability with some USB devices.
In the concrete case a Apacer AP8GAH322B gets not deteced in a silent console configuration.
Signed-off-by Christian Gmeiner <[email protected]>
--- include/usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/usb.h +1 -1
@@ -38,7 +38,7 @@#define USB_MAXCHILDREN 8/* This is arbitrary */ #define USB_MAX_HUB 16 -#define USB_CNTL_TIMEOUT 100/* 100ms timeout */ +#define USB_CNTL_TIMEOUT 5000/* 5000ms timeout */ /* * This is the timeout to allow for submitting an urb in ms. We allow more
Signature · 1 line
2.23.0