atmel_mxt - Add atmel MXT touchscreen driver (Acer c720p)
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Aug 2014 01:52:07 +0000 (18:52 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Aug 2014 01:52:07 +0000 (18:52 -0700)
commit45be1c61ffc4ced70f698da62c2f88fe6792f339
tree2df127f3c4855303676c3c2507449ac0a7124f74
parente376ce734d18d27bf7fb5526c8a011f56b4cd1d8
atmel_mxt - Add atmel MXT touchscreen driver (Acer c720p)

* Implements the communications infrastructure on the hardware backend and
  emulates an elographics tablet on the frontend.

* X Configuration is:

    Section "InputDevice"
    Identifier  "TouchScreen0"
    Driver      "elographics"
    Option      "Device" "/dev/atmel1-4a"
    #       Option      "ZAxisMapping" "4 5 6 7"
    EndSection

* System configuration is (in /boot/loader.conf):

    ig4_load="YES"
    atmel_mxt_load="YES"

* Currently only tested and only likely to work with the Acer c720p.
  Can do basic touchscreen operations... hold-move-and-release for
  button-1.  Can move or resize windows (you may want to make your resize
  widgets bigger).  Can hit buttons and hotlinks in browsers.  Cannot
  scroll a browser window on its own.

* Noise issues.  I've noticed that both my chromebooks have a lot of mouse
  pointer jitter with both the trackpad and the touchscreen, more than
  I can actually fix.  I've noticed some complaints on the linux forums too
  so it aint just us.

  The jitter is reduced if you put the laptop on your lap, and appears to
  go away entirely if the laptop is on your lap AND the power is disconnected
  (i.e. running on battery).
sys/dev/smbus/Makefile
sys/dev/smbus/atmel_mxt/Makefile [new file with mode: 0644]
sys/dev/smbus/atmel_mxt/atmel_mxt.c [new file with mode: 0644]
sys/dev/smbus/atmel_mxt/atmel_mxt.h [new file with mode: 0644]
sys/dev/smbus/atmel_mxt/obp-utils.c [new file with mode: 0644]
sys/dev/smbus/atmel_mxt/obp-utils.h [new file with mode: 0644]
sys/dev/smbus/atmel_mxt/test_atmel.c [new file with mode: 0644]