Input: byd - fix issue where generic PS/2 mice are detected as BYD touchpad
From: Richard Pospesel <hidden>
Date: 2016-06-26 02:25:47
From: Richard Pospesel <hidden>
Date: 2016-06-26 02:25:47
The secret handshake used was not sufficient to determine whether the connected device was actually a BYD touchpad. Added some restrictions on what the first byte returned may be (based off of experiments with BYD touchapd) and added a subsequent call to byd_reset which attemtps to configure the BYD touchpad using BYD-specific commands. Fixes bug 1201781. Tested on laptop with BYD touchpad hardware. Applied against commit fcd6eb50eadd83f857eac55f99316f1789707cdb Signed-off-by: Richard Pospesel <redacted>