aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/usb-xhci.c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2020-09-11 12:54:21 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-09-25 11:59:42 -0400
commit41289b83ed3847dc45e7af3f1b7cb3cec6b6e7a5 (patch)
treee68d8236c23f87de08e4bc6b10f33fc0b5e713f2 /src/hw/usb-xhci.c
parent4ea6aa9471f79cc81f957d6c0e2bb238d24675e5 (diff)
downloadseabios-41289b83ed3847dc45e7af3f1b7cb3cec6b6e7a5.tar.gz
usb.c: Fix devices using non-primary interface descriptor
A fair number of USB devices (keyboards in particular) use an interface descriptor other than the first available, making them non-functional currently. To correct this, iterate through all available interface descriptors until one with the correct class/subclass is found, then proceed to set the configuration and setup the driver. Tested on an ultimate hacking keyboard (UHK 60) Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Diffstat (limited to 'src/hw/usb-xhci.c')
0 files changed, 0 insertions, 0 deletions