Page MenuHomeFreeBSD

hid: Add HQ_NO_READAHEAD quirk and implement it in usbhid(4)
ClosedPublic

Authored by wulf on Jul 28 2025, 9:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 8:15 AM
Unknown Object (File)
Sat, Oct 11, 8:15 AM
Unknown Object (File)
Sat, Oct 11, 8:15 AM
Unknown Object (File)
Sat, Oct 11, 12:54 AM
Unknown Object (File)
Sun, Oct 5, 1:06 PM
Unknown Object (File)
Thu, Sep 18, 7:24 PM
Unknown Object (File)
Thu, Sep 18, 2:02 PM
Unknown Object (File)
Thu, Sep 18, 6:16 AM
Subscribers

Details

Summary

It disables interrupt emulation on poll-driven buses like USB and
forces aquiring of only one USB frame per read(2) operation.
This avoids an FIDO/U2F issue where IN endpoint data received from
the device right before the file handle is closed, gets lost.

PR: 263995
MfC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable