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)
Wed, Dec 17, 12:23 AM
Unknown Object (File)
Thu, Dec 11, 4:01 PM
Unknown Object (File)
Nov 24 2025, 3:10 AM
Unknown Object (File)
Nov 19 2025, 3:21 AM
Unknown Object (File)
Nov 19 2025, 12:53 AM
Unknown Object (File)
Nov 8 2025, 4:23 PM
Unknown Object (File)
Oct 29 2025, 8:36 AM
Unknown Object (File)
Oct 29 2025, 8: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