atmel_mxt - Issue RESET in Acer C720P touch-screen driver
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 9 Aug 2015 01:44:25 +0000 (18:44 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 9 Aug 2015 01:44:25 +0000 (18:44 -0700)
commit085476612a07754b8438b2c12f80a7ee1e2a4cc7
tree1270734679cb62fb4f019034ed6b8b48b53eb8ef
parent6c455f217ffe428181a839ff6bedcbfc3589215c
atmel_mxt - Issue RESET in Acer C720P touch-screen driver

* Sometimes the hardware appears to lose it, resulting in non-deterministic
  reporting of phantom fixed coordinate presses and movement which messes
  up X's pointer position.  This problem can survive a reboot.

* Issue a RESET command to the chipset on attach.  This will clear up
  any issues that would otherwise survive reboot.

* Add a sysctl, setting debug.atmel_mxt_reset=1 will cause the chipset
  to be reset.  If the chipset goes nuts on a live system, issuing this
  sysctl should clear it up.

  Detection of the situation not yet in place, so for now this sysctl must
  be issued manually if the problem occurs.
sys/dev/smbus/atmel_mxt/atmel_mxt.c