Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 23ebccb46c5c9e594fe777fef9ede4de2e4b584d
      
https://github.com/tianocore/edk2/commit/23ebccb46c5c9e594fe777fef9ede4de2e4b584d
  Author: Jared Pan <[email protected]>
  Date:   2026-06-30 (Tue, 30 Jun 2026)

  Changed paths:
    M MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
    M MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c
    M MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c

  Log Message:
  -----------
  MdeModulePkg/UsbBusDxe: Improve USB enumerating process

The patch enhances the USB enumeration process in EDK2 to improve compatibility 
with non-standards-compliant devices that may fail during standard enumeration 
sequences.
The suggested solution is based on USB specifications and references 
implementations from both Linux and Windows environments.

[Suggested solution]
- Integrated a retry mechanism to sequentially execute enumeration scripts, 
inspired by the enumeration flows of Windows, Linux, and EDK2. This improves 
robustness when handling corner-case devices.
- Do sanity check while the device report the device descriptor.
- AMD XHCI might need to wait for more time while sending the CLEAR_FEATURE 
reuqest.

Signed-off-by: Marlboro Chuang <[email protected]>
Signed-off-by: Jared Pan <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to