1. 20 6月, 2009 2 次提交
  2. 11 6月, 2009 1 次提交
  3. 03 6月, 2009 1 次提交
    • J
      Input: appletouch - improve finger detection · 05e882f8
      Jeremy Huddleston 提交于
      The appletouch driver is prone to reporting multiple fingers when only
      one is pressing.  The appletouch driver queries an array of pressure
      sensors and counts local maxima in pressure to determine the number of
      fingers.  It just does this on the raw values, so a data stream like:
      
      0 100 250 300 299 300 250 100 0
      
      actually registers as 2 fingers.
      
      This patch updates the logic to ignore small dips in pressure that are
      less than the threshold.
      Signed-off-by: NJeremy Huddleston <jeremyhu@freedesktop.org>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      05e882f8
  4. 16 5月, 2009 1 次提交
  5. 09 5月, 2009 2 次提交
  6. 29 4月, 2009 5 次提交
  7. 27 4月, 2009 1 次提交
    • A
      maple: input: fix up maple mouse driver · 6b348085
      Adrian McMenamin 提交于
      The maple mouse driver currently in mainline is broken:
      
      bash-3.1# modprobe maplemouse
      [   56.886378] input: Dreamcast Mouse as /devices/virtual/input/input3
      [   56.918379] Unable to handle kernel NULL pointer dereference at virtual address 00000004
      [   56.930543] pc = c003304e
      [   56.934973] *pde = 00000000
      [   56.944948] Oops: 0000 [#1]
      [   56.947867] Modules linked in: maplemouse(+)
      [   56.952353]
      [   56.953921] Pid : 1157, Comm: \0x09\0x09modprobe
      [   56.958021] CPU : 0        \0x09\0x09Not tainted  (2.6.30-rc2-00130-g3e98f9f1 #1)
      [   56.958052]
      [   56.966567] PC is at dc_mouse_open+0xe/0x40 [maplemouse]
      [   56.972125] PR is at input_open_device+0x8a/0xc0
      [   56.976944] PC  : c003304e SP  : 8c88bdcc SR  : 40008100 TEA : c0033834
      [   56.983854] R0  : 000006c4 R1  : 00000000 R2  : 40008101 R3  : 00000000
      [   56.990744] R4  : 8c8db800 R5  : c0033080 R6  : 00000005 R7  : 00000200
      [   56.997635] R8  : 8c8db800 R9  : 8c8dbe3c R10 : 00000000 R11 : 8c98881c
      [   57.004525] R12 : 8c8dbe64 R13 : 8ca50140 R14 : 8c88bdd4
      [   57.010063] MACH: 00000497 MACL: 00000348 GBR : 29674440 PR  : 8c1b4d0a
      [   57.016939]
      ...
      
      Here is a fix for this, keeping an open and close, so reducing
      the load on the system when the mouse is not in use, and also properly
      referencing the maple device buffer following the recent update.
      Signed-off-by: NAdrian McMenamin <adrian@mcmen.demon.co.uk>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      6b348085
  8. 25 4月, 2009 1 次提交
  9. 24 4月, 2009 1 次提交
  10. 19 4月, 2009 2 次提交
    • A
      Input: elantech - make sure touchpad is really in absolute mode · b2546df6
      Arjan Opmeer 提交于
      There exist laptops with Elantech touchpads where switching to absolute mode
      does not happen, although writing the configuration register succeeds
      without error. Reading back the register afterwards reveils that the
      absolute mode bit is not set as if masked out by the touchpad firmware.
      
      Always read back register 0x10, make sure that for hardware version 1 the
      absolute mode bit is actually set and fail otherwise. This prevents the case
      where the touchpad is claimed by the Elantech driver but is nonetheless not
      working.
      Signed-off-by: NArjan Opmeer <arjan@opmeer.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      b2546df6
    • A
      Input: elantech - provide a workaround for jumpy cursor on firmware 2.34 · 3f8c0df4
      Arjan Opmeer 提交于
      It seems that Elantech touchpad firmware version 2.34 on the Hercules eCAFÉ
      suffers from a problem where bogus coordinates get reported at the beginning
      of a touch action. This causes the mouse cursor or the scrolled page to
      jump.
      
      Included patch provides a workaround that discards mouse packets that are
      likely to contain bogus coordinates. The workaround is activated when we
      detect touchpad with fimware version 2.34.
      Signed-off-by: NArjan Opmeer <arjan@opmeer.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      3f8c0df4
  11. 16 4月, 2009 1 次提交
  12. 03 4月, 2009 1 次提交
  13. 30 3月, 2009 1 次提交
  14. 25 3月, 2009 1 次提交
  15. 01 3月, 2009 3 次提交
  16. 02 2月, 2009 1 次提交
  17. 30 1月, 2009 3 次提交
  18. 11 1月, 2009 1 次提交
  19. 09 1月, 2009 1 次提交
  20. 30 12月, 2008 1 次提交
  21. 29 12月, 2008 1 次提交
  22. 21 12月, 2008 1 次提交
  23. 20 12月, 2008 1 次提交
  24. 21 11月, 2008 1 次提交
  25. 12 11月, 2008 1 次提交
  26. 29 10月, 2008 1 次提交
    • S
      Input: appletouch - driver refactoring · 09779678
      Stelian Pop 提交于
      The appletouch driver has grown up from supporting only a couple of
      touchpads into supporting many touchpads, which can have different
      number of sensors, different aspect ratios etc.
      
      This patch cleans up the current driver code and makes it easy to
      support the features of each different touchpad.
      
      As a side effect, this patch also modifies the 'Y' multiplication factor
      of the 'geyser3' and 'geyser4' touchpads (found on Core Duo and Core2
      Duo MacBook and MacBook Pro laptops) in order to make the touchpad
      output match the aspect ratio of the touchpad (Y factor changed from 43
      to 64).
      
      [dtor@mail.ru: make atp_info constant]
      Signed-off-by: NStelian Pop <stelian@popies.net>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      09779678
  27. 17 10月, 2008 1 次提交
  28. 22 9月, 2008 2 次提交