HomeFreeBSD

iichid: The IICHID spec defines the response to the RESET command as two bytes…

Description

iichid: The IICHID spec defines the response to the RESET command as two bytes of zeros.

Our recent changes to iichid.c has caused us to attempt to read a
full REPORT instead, and at least one keyboard hangs solid when we
do that.

This patch changes us to be spec-compliant.

Approved by: re (cperciva)
Differential Revision: https://reviews.freebsd.org/D53803
MFC after: 1 day
Approved by: re(ccperciva)

(cherry picked from commit 5d53462af1d0e892da77b52b701b337119b2f5d7)
(cherry picked from commit d61be9d994702ffb8443c686f3ae2a5c702df3c7)

Details

Provenance
phkAuthored on Tue, Nov 18, 7:22 PM
cpercivaCommitted on Wed, Nov 19, 9:36 PM
Differential Revision
D53803: IICHID: Reset responses are only two bytes
Parents
rG476aca498559: UPDATING: Document FreeBSD-base pkg .conf shuffle
Branches
Unknown
Tags
Unknown