Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 472be4d139b26c50949cf30eeb47640810e5ef2c https://github.com/tianocore/edk2/commit/472be4d139b26c50949cf30eeb47640810e5ef2c Author: John Schock <josch...@microsoft.com> Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths: M MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c Log Message: ----------- MdeModulePkg ConPlatform: Support IAD-style USB input devices. Some multi-function input devices (e.g. combo keyboard and mouse) present as IAD-style devices (https://www.usb.org/defined-class-codes, https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-interface-association-descriptor). Historically, multi-function devices would report a DeviceClass of 0, indicating that interface matching should be done on the interface descriptor rather than the global device descriptor. IAD-style devices us DeviceClass of 0xEF, so they don't match MatchUsbClass() for keyboard (DeviceClass=3, SubClass=1, Proto=1). If they are treated as if they had a DeviceClass of zero, which is more traditional for legacy multi-function devices, then the interface descriptors are used instead and these types of devices will "just work" without needing to add a custom USB device path to ConIn. Signed-off-by: Aaron Pop <aaron...@microsoft.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits