git: atmel_mxt - Add atmel MXT touchscreen driver (Acer c720p)

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 14 18:56:44 PDT 2014


commit 45be1c61ffc4ced70f698da62c2f88fe6792f339
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 14 18:52:07 2014 -0700

    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).

Summary of changes:
 sys/dev/smbus/Makefile               |    2 +-
 sys/dev/smbus/atmel_mxt/Makefile     |   10 +
 sys/dev/smbus/atmel_mxt/atmel_mxt.c  | 1090 ++++++++++++++++++++++++++++++++++
 sys/dev/smbus/atmel_mxt/atmel_mxt.h  |   35 ++
 sys/dev/smbus/atmel_mxt/obp-utils.c  |  122 ++++
 sys/dev/smbus/atmel_mxt/obp-utils.h  |  495 +++++++++++++++
 sys/dev/smbus/atmel_mxt/test_atmel.c |  242 ++++++++
 7 files changed, 1995 insertions(+), 1 deletion(-)
 create mode 100644 sys/dev/smbus/atmel_mxt/Makefile
 create mode 100644 sys/dev/smbus/atmel_mxt/atmel_mxt.c
 create mode 100644 sys/dev/smbus/atmel_mxt/atmel_mxt.h
 create mode 100644 sys/dev/smbus/atmel_mxt/obp-utils.c
 create mode 100644 sys/dev/smbus/atmel_mxt/obp-utils.h
 create mode 100644 sys/dev/smbus/atmel_mxt/test_atmel.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/45be1c61ffc4ced70f698da62c2f88fe6792f339


-- 
DragonFly BSD source repository



More information about the Commits mailing list