1. 08 6月, 2014 1 次提交
    • H
      Input: elantech - deal with clickpads reporting right button events · cd9e83e2
      Hans de Goede 提交于
      At least the Dell Vostro 5470 elantech *clickpad* reports right button
      clicks when clicked in the right bottom area:
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1103528
      
      This is different from how (elantech) clickpads normally operate, normally
      no matter where the user clicks on the pad the pad always reports a left
      button event, since there is only 1 hardware button beneath the path.
      
      It looks like Dell has put 2 buttons under the pad, one under each bottom
      corner, causing this.
      
      Since this however still clearly is a real clickpad hardware-wise, we still
      want to report it as such to userspace, so that things like finger movement
      in the bottom area can be properly ignored as it should be on clickpads.
      
      So deal with this weirdness by simply mapping a right click to a left click
      on elantech clickpads. As an added advantage this is something which we can
      simply do on all elantech clickpads, so no need to add special quirks for
      this weird model.
      Reported-and-tested-by: NElder Marco <eldermarco@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      cd9e83e2
  2. 15 5月, 2014 1 次提交
  3. 06 5月, 2014 1 次提交
  4. 24 4月, 2014 1 次提交
  5. 23 4月, 2014 1 次提交
  6. 20 4月, 2014 2 次提交
  7. 31 3月, 2014 2 次提交
  8. 29 3月, 2014 2 次提交
  9. 28 3月, 2014 1 次提交
  10. 27 3月, 2014 1 次提交
  11. 13 1月, 2014 1 次提交
  12. 07 1月, 2014 1 次提交
  13. 27 12月, 2013 1 次提交
  14. 19 12月, 2013 1 次提交
  15. 06 12月, 2013 3 次提交
  16. 15 11月, 2013 1 次提交
  17. 31 10月, 2013 3 次提交
  18. 23 10月, 2013 1 次提交
  19. 18 9月, 2013 1 次提交
  20. 04 9月, 2013 1 次提交
  21. 25 8月, 2013 1 次提交
  22. 13 8月, 2013 2 次提交
  23. 07 7月, 2013 1 次提交
    • M
      Input: elantech - fix for newer hardware versions (v7) · 9eebed7d
      Matteo Delfino 提交于
      * Fix version recognition in elantech_set_properties
      
        The new hardware reports itself as v7 but the packets'
        structure is unaltered.
      
      * Fix packet type recognition in elantech_packet_check_v4
      
        The bitmask used for v6 is too wide, only the last three bits of
        the third byte in a packet (packet[3] & 0x03) are actually used to
        distinguish between packet types.
        Starting from v7, additional information (to be interpreted) is
        stored in the remaining bits (packets[3] & 0x1c).
        In addition, the value stored in (packet[0] & 0x0c) is no longer
        a constant but contains additional information yet to be deciphered.
        This change should be backwards compatible with v6 hardware.
      
      Additional-author: Giovanni Frigione <gio.frigione@gmail.com>
      Signed-off-by: NMatteo Delfino <kendatsuba@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      9eebed7d
  24. 03 7月, 2013 1 次提交
  25. 05 6月, 2013 1 次提交
    • E
      Input: synaptics - fix sync lost after resume on some laptops · eeb06558
      Eric Miao 提交于
      In summary, the symptom is intermittent key events lost after resume
      on some machines with synaptics touchpad (seems this is synaptics _only_),
      and key events loss is due to serio port reconnect after psmouse sync lost.
      Removing psmouse and inserting it back during the suspend/resume process
      is able to work around the issue, so the difference between psmouse_connect()
      and psmouse_reconnect() is the key to the root cause of this problem.
      
      After comparing the two different paths, synaptics driver has its own
      implementation of synaptics_reconnect(), and the missing psmouse_probe()
      seems significant, the patch below added psmouse_probe() to the reconnect
      process, and has been verified many times that the issue could not be reliably
      reproduced.
      
      There are two PS/2 commands in psmouse_probe():
      
        1. PSMOUSE_CMD_GETID
        2. PSMOUSE_CMD_RESET_DIS
      
      Only the PSMOUSE_CMD_GETID seems to be significant. The
      PSMOUSE_CMD_RESET_DIS is irrelevant to this issue after trying
      several times.  So we have only implemented this patch to issue
      the PSMOUSE_CMD_GETID so far.
      Tested-by: NDaniel Manrique <daniel.manrique@canonical.com>
      Signed-off-by: NJames M Leddy <james.leddy@canonical.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      eeb06558
  26. 24 5月, 2013 1 次提交
  27. 06 5月, 2013 2 次提交
  28. 20 4月, 2013 1 次提交
  29. 16 4月, 2013 2 次提交
  30. 18 3月, 2013 1 次提交