From d7576cf9b64190f0aa29e9eacc956eb582c284eb Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 5 Oct 2009 17:59:53 +0000 Subject: MdeModulePkg-UsbBusDxe: Add work around for slower USB hubs/devices Increase the value of USB_GENERAL_DEVICE_REQUEST_TIMEOUT from 50 milliseconds to 100 milliseconds. This provides a work around for slower USB hubs and devices. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9330 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe') diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h index 8b6babb08e..638be9988b 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h @@ -109,10 +109,13 @@ typedef enum { USB_SET_ROOT_PORT_ENABLE_STALL = 20 * USB_BUS_1_MILLISECOND, // - // Send general device request timeout, refers to - // specification[USB20-11.24.1] + // Send general device request timeout. + // + // The USB Specification 2.0, section 11.24.1 recommends a value of + // 50 milliseconds. We use a value of 100 milliseconds to work + // around slower hubs and devices. // - USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 50, + USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 100, // // Send clear feature request timeout, set by experience -- cgit v1.2.3