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, Oct 29, 8:36 AM
Unknown Object (File)
Wed, Oct 29, 8:16 AM
Unknown Object (File)
Tue, Oct 28, 12:04 PM
Unknown Object (File)
Fri, Oct 24, 8:31 PM
Unknown Object (File)
Thu, Oct 23, 1:05 PM
Unknown Object (File)
Mon, Oct 13, 5:46 AM
Unknown Object (File)
Sat, Oct 11, 8:15 AM
Unknown Object (File)
Sat, Oct 11, 8:15 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