Page MenuHomeFreeBSD

iichid(4): Read wMaxInputLength bytes over I2C even if we discards data
ClosedPublic

Authored by wulf on Feb 12 2025, 7:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 2, 12:52 AM
Unknown Object (File)
Fri, Oct 31, 3:58 AM
Unknown Object (File)
Mon, Oct 27, 11:37 PM
Unknown Object (File)
Mon, Oct 27, 5:58 PM
Unknown Object (File)
Mon, Oct 27, 5:58 PM
Unknown Object (File)
Mon, Oct 27, 5:01 PM
Unknown Object (File)
Mon, Oct 27, 12:32 PM
Unknown Object (File)
Sun, Oct 12, 9:46 PM
Subscribers

Details

Summary

For some devices e.g. ITE5570 it is not enough to read HID-over-I2C
input length header of RESET command response to acknowledge interrupt.
Do a full-size read to avoid interrupt storm.

Sponsored by: Future Crew LLC
MFC after: 2 month

Diff Detail

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