1. 05 Apr, 2015 1 commit
  2. 31 Mar, 2015 2 commits
  3. 23 Mar, 2015 2 commits
  4. 20 Mar, 2015 1 commit
    • Charlie Mooney's avatar
      Input: add MT_TOOL_PALM · a736775d
      Charlie Mooney authored
      Currently there are only two "tools" that can be specified by a multi-touch
      driver: MT_TOOL_FINGER and MT_TOOL_PEN. In working with Elan (The touch
      vendor) and discussing their next-gen devices it seems that it will be
      useful to have more tools so that their devices can give the upper layers
      of the stack hints as to what is touching the sensor.
      
      In particular they have new experimental firmware that can better
      differentiate between palms vs fingertips and would like to plumb a patch
      so that we can use their hints in higher-level gesture soft- ware.  The
      firmware on the device can reasonably do a better job of palm detection
      because it has access to all of the raw sensor readings as opposed to just
      the width/pressure/etc that are exposed by the driver.  As such, the
      firmware can characterize what a palm looks like in much finer-grained
      detail and this change would allow such a device to share its findings with
      the kernel.
      Signed-off-by: default avatarCharlie Mooney <charliemooney@chromium.org>
      Acked-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      a736775d
  5. 16 Mar, 2015 2 commits
    • Dmitry Torokhov's avatar
      Revert "Input: synaptics - use dmax in input_mt_assign_slots" · 09d042a2
      Dmitry Torokhov authored
      This reverts commit 6ab17a84 since it,
      according to Benjamin, causes issues with slot assignment:
      
      E: 15.669119 0000 0000 0000     # ------------ SYN_REPORT (0) ----------
      E: 15.954242 0003 002f 0000     # EV_ABS / ABS_MT_SLOT          0
      E: 15.954242 0003 0039 0505     # EV_ABS / ABS_MT_TRACKING_ID   505
      E: 15.954242 0003 0035 3851     # EV_ABS / ABS_MT_POSITION_X    3851
      E: 15.954242 0003 0036 4076     # EV_ABS / ABS_MT_POSITION_Y    4076
      E: 15.954242 0003 003a 0034     # EV_ABS / ABS_MT_PRESSURE      34
      E: 15.954242 0001 014a 0001     # EV_KEY / BTN_TOUCH            1
      E: 15.954242 0003 0000 3851     # EV_ABS / ABS_X                3851
      E: 15.954242 0003 0001 4076     # EV_ABS / ABS_Y                4076
      E: 15.954242 0003 0018 0034     # EV_ABS / ABS_PRESSURE         34
      E: 15.954242 0001 0145 0001     # EV_KEY / BTN_TOOL_FINGER      1
      E: 15.954242 0000 0000 0000     # ------------ SYN_REPORT (0) ----------
      ... (bunch of regular events)...
      E: 16.020614 0000 0000 0000     # ------------ SYN_REPORT (0) ----------
      E: 16.043601 0003 0035 3873     # EV_ABS / ABS_MT_POSITION_X    3873
      E: 16.043601 0003 0036 3903     # EV_ABS / ABS_MT_POSITION_Y    3903
      E: 16.043601 0003 003a 0050     # EV_ABS / ABS_MT_PRESSURE      50
      E: 16.043601 0003 0035 3032     # EV_ABS / ABS_MT_POSITION_X    3032
      E: 16.043601 0003 0036 3832     # EV_ABS / ABS_MT_POSITION_Y    3832
      E: 16.043601 0003 003a 0044     # EV_ABS / ABS_MT_PRESSURE      44
      E: 16.043601 0003 0000 3032     # EV_ABS / ABS_X                3032
      E: 16.043601 0003 0001 3832     # EV_ABS / ABS_Y                3832
      E: 16.043601 0003 0018 0044     # EV_ABS / ABS_PRESSURE         44
      E: 16.043601 0001 0145 0000     # EV_KEY / BTN_TOOL_FINGER      0
      E: 16.043601 0001 014d 0001     # EV_KEY / BTN_TOOL_DOUBLETAP   1
      E: 16.043601 0000 0000 0000     # ------------ SYN_REPORT (0) ----------
      E: 16.068837 0003 002f 0001     # EV_ABS / ABS_MT_SLOT          1
      E: 16.068837 0003 0039 0506     # EV_ABS / ABS_MT_TRACKING_ID   506
      E: 16.068837 0003 0035 3912     # EV_ABS / ABS_MT_POSITION_X    3912
      E: 16.068837 0003 0036 3743     # EV_ABS / ABS_MT_POSITION_Y    3743
      E: 16.068837 0003 003a 0056     # EV_ABS / ABS_MT_PRESSURE      56
      E: 16.068837 0003 002f 0000     # EV_ABS / ABS_MT_SLOT          0
      E: 16.068837 0003 0035 3026     # EV_ABS / ABS_MT_POSITION_X    3026
      E: 16.068837 0003 0036 3708     # EV_ABS / ABS_MT_POSITION_Y    3708
      E: 16.068837 0003 003a 0052     # EV_ABS / ABS_MT_PRESSURE      52
      E: 16.068837 0003 0000 3026     # EV_ABS / ABS_X                3026
      E: 16.068837 0003 0001 3708     # EV_ABS / ABS_Y                3708
      E: 16.068837 0003 0018 0052     # EV_ABS / ABS_PRESSURE         52
      E: 16.068837 0000 0000 0000     # ------------ SYN_REPORT (0) ----------
      
      Slot 0 and 1 gets inverted in the second report above, which
      introduces a cursor jump. The problem is that this cursor jump is
      often enough to leave the current widget, and X sends the
      scrolling events to whoever is now under the cursor.
      Reported-by: default avatarBenjamin Tissoires <btissoir@redhat.com>
      Reported-by: default avatarHans de Goede <hdegoede@redhat.com>
      09d042a2
    • Dmitry Torokhov's avatar
      Merge branch 'synaptics' into for-linus · 6067fe5e
      Dmitry Torokhov authored
      Bring in changes needed to properly handle Lenovo 2015 lineup.
      6067fe5e
  6. 09 Mar, 2015 14 commits
  7. 07 Mar, 2015 4 commits
  8. 04 Mar, 2015 2 commits
  9. 02 Mar, 2015 3 commits
    • Arnd Bergmann's avatar
      Input: sun4i-ts - add thermal driver dependency · 4a6155a4
      Arnd Bergmann authored
      The sun4i-ts driver has had a dependency on the thermal code
      with the addition of the thermal zone sensor support, but this
      is not currently enforced in Kconfig, so with TOUCHSCREEN_SUN4I=y,
      THERMAL=m and THERMAL_OF=y we get
      
      drivers/built-in.o: In function `sun4i_ts_remove':
      :(.text+0x2376f4): undefined reference to `thermal_zone_of_sensor_unregister'
      drivers/built-in.o: In function `sun4i_ts_probe':
      :(.text+0x237a94): undefined reference to `thermal_zone_of_sensor_register'
      :(.text+0x237c00): undefined reference to `thermal_zone_of_sensor_unregister'
      
      We need the dependency on THERMAL in order to ensure that this
      driver becomes a loadable module if the thermal support itself
      is modular, while the dependency on THERMAL_OF is a runtime
      dependency and the driver will still build if it is missing.
      It is entirely possible to build sun4i-ts without THERMAL_OF
      just to use the hwmon sensors and/or touchscreen.
      
      Fixes: 22369710 ("Input: sun4i-ts - add thermal zone sensor support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      [wens@csie.org: Fix description and Kconfig dependencies]
      Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      4a6155a4
    • Geert Uytterhoeven's avatar
      Input: cyapa - remove superfluous type check in cyapa_gen5_read_idac_data() · 2523caab
      Geert Uytterhoeven authored
      drivers/input/mouse/cyapa_gen5.c: In function ‘cyapa_gen5_read_idac_data’:
      drivers/input/mouse/cyapa_gen5.c:1876: warning: ‘max_element_cnt’ may be used uninitialized in this function
      drivers/input/mouse/cyapa_gen5.c:1873: warning: ‘offset’ may be used uninitialized in this function
      
      If *data_size is non-zero, and idac_data_type contains an unknown type,
      max_element_cnt and offset will be uninitialized, and the loop will
      process non-existing data.
      
      However, this cannot happen (for now), as there's a test for unknown
      types at the top of cyapa_gen5_read_idac_data().
      
      As no "if ... else if ..." is used in other places, remove the
      superfluous "if" to silence the compiler warning.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: default avatarDudley Du <dudl@cypress.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      2523caab
    • Dudley Du's avatar
      Input: cyapa - fix unaligned functions redefinition error · 17a28055
      Dudley Du authored
      Use asm/unaligned.h instead of linux/unaligned/access_ok.h header file to
      fix compiling issues such as following while doing cross platform
      compiling:
      
      "include/linux/unaligned/access_ok.h:7:19: error: redefinition of
       'get_unaligned_le16'
      ...
      include/linux/unaligned/le_struct.h:6:19: note: previous definition of
       'get_unaligned_le16' was here".
      Reported-by: default avatarkbuild test robot <kbuild-all@01.org>
      Signed-off-by: default avatarDudley Du <dudl@cypress.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      17a28055
  10. 26 Feb, 2015 1 commit
  11. 20 Feb, 2015 1 commit
  12. 16 Feb, 2015 7 commits