Skip to content
Snippets Groups Projects
  1. Jul 08, 2022
  2. Jul 07, 2022
  3. Jul 06, 2022
  4. Jun 28, 2022
  5. Jun 27, 2022
    • GitBot's avatar
      Integrate meta-seconorth-machine/fix_sis_touch-release_events · db25ebfb
      GitBot authored
      --
      
      Commit: seco-ne/yocto/layers/meta-seconorth-machine@0326de4b
      
      SIS: Fix touch-up issue
      
      Sometimes we get no touchup signal in Qt.
      This was seen with the QML drag-and-drop example.
      
      Looking at the output of evtest of the sis input device, you see
      different behavior for a working and a missing touch-up.
      
      Failed:
      <pre>
      ...
      Event: time 1587646331.383580, type 3 (EV_ABS), code 0 (ABS_X), value 2365
      Event: time 1587646331.383580, type 3 (EV_ABS), code 1 (ABS_Y), value 2894
      Event: time 1587646331.383580, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 2365
      Event: time 1587646331.383580, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 2894
      Event: time 1587646331.383580, -------------- SYN_REPORT ------------
      Event: time 1587646331.402073, type 3 (EV_ABS), code 0 (ABS_X), value 2367
      Event: time 1587646331.402073, type 3 (EV_ABS), code 1 (ABS_Y), value 2887
      Event: time 1587646331.402073, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
      Event: time 1587646331.402073, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 0
      Event: time 1587646331.402073, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 2367
      Event: time 1587646331.402073, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 2887
      Event: time 1587646331.402073, -------------- SYN_REPORT ------------
      </pre>
      
      Good
      <pre>
      Event: time 1587646407.907930, -------------- SYN_REPORT ------------
      Event: time 1587646407.922769, type 3 (EV_ABS), code 0 (ABS_X), value 790
      Event: time 1587646407.922769, type 3 (EV_ABS), code 1 (ABS_Y), value 1747
      Event: time 1587646407.922769, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 790
      Event: time 1587646407.922769, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 1747
      Event: time 1587646407.922769, -------------- SYN_REPORT ------------
      Event: time 1587646407.945577, type 3 (EV_ABS), code 0 (ABS_X), value 840
      Event: time 1587646407.945577, type 3 (EV_ABS), code 1 (ABS_Y), value 1918
      Event: time 1587646407.945577, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 840
      Event: time 1587646407.945577, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 1918
      Event: time 1587646407.945577, -------------- SYN_REPORT ------------
      Event: time 1587646407.968810, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
      Event: time 1587646407.968810, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 0
      Event: time 1587646407.968810, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
      Event: time 1587646407.968810, -------------- SYN_REPORT ------------
      </pre>
      
      It seems that the @ABS_MT_TRACKING_ID value -1@ is missing somehow.
      
      This might be the case when the driver sends a valid coodinate but also
      states that the pressure is 0.
      
      Fix this by sending a touch-up (all ABS_PRESSUE, ABS_MT_PRESSURE, and
      ABS_BUTTON 0 and ABS_MT_TRACKING_ID -1) when pressure is 0.
      
      BCS 746-000871
      db25ebfb
  6. Jun 22, 2022
  7. Jun 21, 2022
  8. Jun 20, 2022
  9. Jun 17, 2022
  10. Jun 16, 2022
  11. Jun 13, 2022
  12. Jun 10, 2022
  13. Jun 09, 2022
  14. Jun 08, 2022
  15. Jun 03, 2022
Loading