1. 01 12月, 2011 1 次提交
    • H
      Input: add generic GPIO-tilt driver · 3bfd5c5b
      Heiko Stübner 提交于
      There exist tilt switches that simply report their tilt-state via
      some gpios. The number and orientation of their axes can vary
      depending on the switch used and the build of the device. Also two
      or more one-axis switches could be combined to provide multi-dimensional
      orientation.
      
      One example of a device using such a switch is the family of Qisda
      ebook readers, where the switch provides information about the
      landscape / portrait orientation of the device. The example in
      Documentation/input/gpio-tilt.txt documents exactly this one-axis
      device.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      3bfd5c5b
  2. 29 11月, 2011 3 次提交
  3. 21 11月, 2011 2 次提交
  4. 16 11月, 2011 4 次提交
  5. 10 11月, 2011 5 次提交
    • D
      400bf299
    • D
      Input: synaptics - add support for Relative mode · 7968a5dd
      Daniel Drake 提交于
      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: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      7968a5dd
    • J
      Input: convert obsolete strict_strtox to kstrtox · 76496e7a
      JJ Ding 提交于
      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: NJJ Ding <dgdunix@gmail.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      76496e7a
    • A
      Input: ams_delta_serio - include linux/module.h · 77f6ca5a
      Aaro Koskinen 提交于
      Fix the following compilation failure with v3.2-rc1 by including module.h:
      
        CC      drivers/input/serio/ams_delta_serio.o
      drivers/input/serio/ams_delta_serio.c:33:15: error: expected declaration specifiers or '...' before string constant
      drivers/input/serio/ams_delta_serio.c:34:20: error: expected declaration specifiers or '...' before string constant
      drivers/input/serio/ams_delta_serio.c:35:16: error: expected declaration specifiers or '...' before string constant
      drivers/input/serio/ams_delta_serio.c: In function 'ams_delta_serio_init':
      drivers/input/serio/ams_delta_serio.c:155:2: error: 'THIS_MODULE' undeclared (first use in this function)
      drivers/input/serio/ams_delta_serio.c:155:2: note: each undeclared identifier is reported only once for each function it appears in
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      77f6ca5a
    • J
      Input: elantech - adjust hw_version detection logic · 3940d618
      JJ Ding 提交于
      This patch fixes some v3 hardware (fw_version: 0x150500) wrongly detected
      as v2 hardware.
      Reported-by: NMarc Dietrich <marvin24@gmx.de>
      Signed-off-by: NJJ Ding <jj_ding@emc.com.tw>
      Tested-By: NMarc Dietrich <marvin24@gmx.de>
      Acked-by: NÉric Piel <eric.piel@tremplin-utc.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      3940d618
  6. 08 11月, 2011 6 次提交
  7. 05 11月, 2011 3 次提交
  8. 02 11月, 2011 1 次提交
  9. 01 11月, 2011 2 次提交
  10. 30 10月, 2011 1 次提交
  11. 27 10月, 2011 6 次提交
  12. 24 10月, 2011 2 次提交
  13. 19 10月, 2011 1 次提交
    • M
      Input: adp5589-keys - add support for the ADP5585 derivatives · 3f48e735
      Michael Hennerich 提交于
      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: NMichael Hennerich <michael.hennerich@analog.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      3f48e735
  14. 13 10月, 2011 2 次提交
  15. 12 10月, 2011 1 次提交