[Bug]: Improve HID Descriptor Parsing Compatibility #338
Labels
state:needs-triage
Needs to triaged to determine next steps
type:bug
Something isn't working
urgency:low
Little to no impact
Is there an existing issue for this?
Current Behavior
Recently support was added in HidPkg for a Rust-based HID stack in #324.
It's been observed that a USB stall error is encountered with HID devices in some cases. We suspect those devices do not implement the full set of descriptor reads from the HID specification.
An example of such a problem on the QEMU emulated platform:
That QEMU Q35 platform can be used to verify changes.
Expected Behavior
A USB stall error should not be encountered as frequently trying to read HID descriptors from HID class devices.
At least in the case of QEMU, we found that (hw/usb/dev-hid.c) all descriptor type requests from the HID 1.1 specification are not supported.
Steps To Reproduce
--FlashRom
commandBuild/BUILDLOG_QemuQ35Pkg_Run.txt
(boots to EFI shell by default)Build Environment
Version Information
Urgency
Low
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
The text was updated successfully, but these errors were encountered: