Skip to content
  1. Oct 07, 2016
  2. Sep 29, 2016
  3. Sep 27, 2016
    • Masaki Ota's avatar
      HID: alps: fix multitouch cursor issue · 9a54cf46
      Masaki Ota authored
      
      
      Issue reproduction procedure:
      
      1. three or more fingers put on Touchpad.
      2. release fingers from Touchpad.
      3. move the cursor by one finger.
      4. the cursor does not move.
      
      Cause:
      
      We do not notify multi fingers state correctly to input subsystem.  For
      example, when three fingers release from Touchpad, fingers state is 3 -> 0. It
      needs to notify first, second and third finger's releasing state.
      
      Fix this by not breaking out on z axis and move x,y,z input handling
      code to the correct place so that it's in fact per-finger.
      
      [jkosina@suse.cz: reword changelog]
      Signed-off-by: default avatarMasaki Ota <masaki.ota@jp.alps.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      9a54cf46
  4. Sep 26, 2016
  5. Sep 22, 2016
  6. Sep 19, 2016
  7. Aug 29, 2016
  8. Aug 17, 2016
  9. Aug 12, 2016
    • Jason Gerecke's avatar
      HID: wacom: Update last_slot_field during pre_report phase · 003f50ab
      Jason Gerecke authored
      
      
      If a touchscreen contains both multitouch and single-touch reports in its
      descriptor in that order, the driver may overwrite information it saved
      about the format of the multitouch report. This can cause the report
      processing code to get tripped up and send an incorrect event stream to
      userspace.
      
      In particular, this can cause last_slot_field to be overwritten with the
      result that the driver prematurely assumes it has finished processing a
      slot and sending the ABS_MT_SLOT event at the wrong point in time,
      associating events for the current contact with the following contact
      instead.
      
      To prevent this from occurring, we update the value of last_slot_field
      durring the pre_report phase to ensure that it is correct for the report
      that is to be processed.
      
      Signed-off-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
      Reviewed-by: default avatarPing Cheng <pingc@wacom.com>
      Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      003f50ab