diff options
author | Matt DeVillier <matt.devillier@puri.sm> | 2020-09-11 12:54:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-09-25 11:59:42 -0400 |
commit | 41289b83ed3847dc45e7af3f1b7cb3cec6b6e7a5 (patch) | |
tree | e68d8236c23f87de08e4bc6b10f33fc0b5e713f2 /src/hw/usb-xhci.c | |
parent | 4ea6aa9471f79cc81f957d6c0e2bb238d24675e5 (diff) | |
download | seabios-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