1. 15 Nov, 2011 2 commits
    • Daniel Drake's avatar
      Input: synaptics - update OLPC XO exclusion · 83551c01
      Daniel Drake authored
      We have determined that the jumpiness previously seen when using
      the synaptics kernel mouse driver on OLPC XO was due to not using
      the synaptics X11 userspace driver - the xf86-input-evdev driver was
      interpreting 'finger near pad' signals as movements. Newer versions
      of xf86-input-evdev fix this issue.
      
      Additionally, the synaptics kernel driver is now usable on this
      platform, but only when run in relative mode.
      
      Update the comment and refine the check to allow the synaptics driver
      to run on OLPC XO in relative mode.
      
      We will continue investigating the EC issue as time becomes available.
      Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      83551c01
    • Dmitry Torokhov's avatar
      Input: samsung-keypad - enable compiling on other platforms · 8d964a28
      Dmitry Torokhov authored
      There is nothing in keypad platform definitions that requires
      the driver be complied on Samsung platform only, so let's move them
      out of the platform subdirectory and relax the dependencies.
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      8d964a28
  2. 10 Nov, 2011 3 commits
    • Dmitry Torokhov's avatar
    • Daniel Drake's avatar
      Input: synaptics - add support for Relative mode · 7968a5dd
      Daniel Drake authored
      Currently, the synaptics driver puts the device into Absolute mode.
      As explained in the synaptics documentation section 3.2, in this mode,
      the device sends a continuous stream of packets at the maximum rate
      to the host when the user's fingers are near or on the pad or
      pressing buttons, and continues streaming for 1 second afterwards.
      These packets are even sent when there is no new information to report,
      even when they are duplicates of the previous packet.
      
      For embedded systems this is a bit much - it results in a huge
      and uninterrupted stream of interrupts at high rate.
      
      This patch adds support for Relative mode, which can be selected as
      a new psmouse protocol. In this mode, the device does not send duplicate
      packets and acts like a standard PS/2 mouse. However, synaptics-specific
      functionality is still available, such as the ability to set the packet
      rate, and rather than disabling gestures and taps at the hardware level
      unconditionally, a 'synaptics_disable_gesture' sysfs attribute has
      been added to allow control of this functionality.
      
      This solves a long standing OLPC issue: synaptics hardware enables
      tap to click by default (even in the default relative mode), but we
      have found this to be inappropriate for young children and first
      time computer users. Enabling the synaptics driver disables tap-to-click,
      but we have previously been unable to use this because it also enables
      Absolute mode, which is too "spammy" for our desires and actually
      overloads our EC with its continuous stream of packets. Now we can enable
      the synaptics driver, disabling tap to click while retaining the less
      noisy Relative mode.
      Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      7968a5dd
    • JJ Ding's avatar
      Input: convert obsolete strict_strtox to kstrtox · 76496e7a
      JJ Ding authored
      With commit 67d0a075 we mark strict_strtox
      as obsolete. Convert all remaining such uses in drivers/input/.
      
      Also change long to appropriate types, and return error conditions
      from kstrtox separately, as Dmitry sugguests.
      Signed-off-by: default avatarJJ Ding <dgdunix@gmail.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      76496e7a
  3. 08 Nov, 2011 7 commits
  4. 05 Nov, 2011 2 commits
  5. 29 Oct, 2011 1 commit
  6. 27 Oct, 2011 6 commits
  7. 19 Oct, 2011 1 commit
    • Michael Hennerich's avatar
      Input: adp5589-keys - add support for the ADP5585 derivatives · 3f48e735
      Michael Hennerich authored
      The ADP5585 family keypad decoder and IO expander is similar to the ADP5589,
      however it features less IO pins, and lacks hardware assisted key-lock
      functionality. Unfortunately the register addresses are different, as well as
      the event codes and bit organization within the port related registers.
      
      Move ADP5589 Register defines from the header file into the main source file.
      Add new defines while making sure we don't break existing platform_data.
      Add register address translation, and turn device specific defines into variables.
      Introduce some helper functions and disable functions that doesn't
      exist on the added devices.
      Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      3f48e735
  8. 13 Oct, 2011 2 commits
  9. 12 Oct, 2011 1 commit
  10. 11 Oct, 2011 10 commits
  11. 10 Oct, 2011 3 commits
  12. 07 Oct, 2011 2 commits