1. 09 Nov, 2014 1 commit
    • Pali Rohár's avatar
      Input: alps - ignore potential bare packets when device is out of sync · 4ab8f7f3
      Pali Rohár authored
      5th and 6th byte of ALPS trackstick V3 protocol match condition for first
      byte of PS/2 3 bytes packet. When driver enters out of sync state and ALPS
      trackstick is sending data then driver match 5th, 6th and next 1st bytes as
      PS/2.
      
      It basically means if user is using trackstick when driver is in out of
      sync state driver will never resync. Processing these bytes as 3 bytes PS/2
      data cause total mess (random cursor movements, random clicks) and make
      trackstick unusable until psmouse driver decide to do full device reset.
      
      Lot of users reported problems with ALPS devices on Dell Latitude E6440,
      E6540 and E7440 laptops. ALPS device or Dell EC for unknown reason send
      some invalid ALPS PS/2 bytes which cause driver out of sync. It looks like
      that i8042 and psmouse/alps driver always receive group of 6 bytes packets
      so there are no missing bytes and no bytes were inserted between valid
      ones.
      
      This patch does not fix root of problem with ALPS devices found in Dell
      Latitude laptops but it does not allow to process some (invalid)
      subsequence of 6 bytes ALPS packets as 3 bytes PS/2 when driver is out of
      sync.
      
      So with this patch trackstick input device does not report bogus data when
      also driver is out of sync, so trackstick should be usable on those
      machines.
      Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
      Tested-by: default avatarPali Rohár <pali.rohar@gmail.com>
      Cc: stable@vger.kernel.org
      Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      4ab8f7f3
  2. 08 Nov, 2014 3 commits
  3. 06 Nov, 2014 1 commit
  4. 31 Oct, 2014 4 commits
  5. 28 Oct, 2014 4 commits
  6. 25 Oct, 2014 1 commit
  7. 24 Oct, 2014 3 commits
  8. 16 Oct, 2014 4 commits
  9. 15 Oct, 2014 1 commit
  10. 11 Oct, 2014 5 commits
  11. 09 Oct, 2014 4 commits
  12. 08 Oct, 2014 1 commit
  13. 07 Oct, 2014 3 commits
  14. 05 Oct, 2014 2 commits
  15. 04 Oct, 2014 1 commit
  16. 03 Oct, 2014 2 commits