aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-01-17 12:00:24 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-02-02 16:50:28 -0800
commit29acc42e8e10a4721757af9ed8aec569d30ce39b (patch)
treeec5af27e25a76eae0f376029f93755032f253711 /README
parentInput: libps2 - support retransmission of command data (diff)
downloadlinux-dev-29acc42e8e10a4721757af9ed8aec569d30ce39b.tar.xz
linux-dev-29acc42e8e10a4721757af9ed8aec569d30ce39b.zip
Input: libps2 - relax command byte ACK handling
When we probe PS/2 devices we first issue "Get ID" command and only if we receive what we consider a valid keyboard or mouse ID we disable the device and continue with protocol detection. That means that the device may be transmitting motion or keystroke data, while we expect ACK response. Instead of signaling failure if we see anything but ACK/NAK let's ignore "garbage" response until we see ACK for the command byte (first byte). The checks for subsequent ACKs of command parameters will continue be strict. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions