1. 04 Sep, 2018 2 commits
  2. 31 Aug, 2018 2 commits
    • Peter Hutterer's avatar
      touchpad: add timestamp-based jump detection · 1f5c0119
      Peter Hutterer authored
      On Dell i2c touchpads, the controller appears to go to sleep after about 1s of
      inactivity on the touchpad. The wakeup takes a while so on the next touch, we
      may see a pointer jump, specifially on the third event (i.e. touch down,
      event, event+jump). The MSC_TIMESTAMP value carries a hint for what's
      happening here, the event sequence for a touchpad with scanout intervals
      7300µs is:
      
      	...
      	MSC_TIMESTAMP 0
      	SYN_REPORT
      	...
      	MSC_TIMESTAMP 7300
      	SYN_REPORT +2ms
      	...
      	MSC_TIMESTAMP 123456
      	SYN_REPORT +7ms
      	...
      	MSC_TIMESTAMP 123456+7300
      	SYN_REPORT +8ms
      
      Note how the SYN_REPORT timestamps don't reflect the MSC_TIMESTAMPS.
      
      This patch adds a quirk activate MSC_TIMESTAMP watching. When we do so, we
      monitor for a 0 MSC_TIMESTAMP. Let's assume that the first event after that is
      the interval, then check the third event. If that third event's timestamp is too
      large rewrite the touches' motion history to reflect the correct timestamps,
      i.e. instead of the SYN_REPORT timestamps the motion history now uses
      "third-event SYN_REPORT timestamps minus MSC_TIMESTAMP values".
      
      The pointer accel filter code uses absolute timestamps (#123) so we have to
      restart the pointer acceleration filter when we detect this jump. This allows
      us to reset the 0 time for the filter to the previous event's MSC_TIMESTAMP
      time, so that our new large delta has the correct time delta too. This
      calculates the acceleration correctly for that window.
      
      The result is that the pointer is still delayed by the wake-up window (not
      fixable in libinput) but at least it ends up where it should've.
      
      There are a few side-effects: thumb, gesture, and hysteresis all still use the
      unmodified SYN_REPORT time. There is a potential for false detection of either
      of these now, but we'll have to fix those as they come up.
      
      Fixes #36Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      1f5c0119
    • Peter Hutterer's avatar
      quirks: add a quirk to monitor MSC_TIMESTAMP for pointer jumps · 0e2f1bab
      Peter Hutterer authored
      Currently enabled on all Dell i2c touchpads, these seem to be the ones that
      needed it.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      0e2f1bab
  3. 30 Aug, 2018 2 commits
  4. 29 Aug, 2018 5 commits
  5. 28 Aug, 2018 8 commits
  6. 27 Aug, 2018 7 commits
  7. 26 Aug, 2018 2 commits
  8. 22 Aug, 2018 2 commits
  9. 21 Aug, 2018 4 commits
    • Peter Hutterer's avatar
      gitlab CI: increase the artifacts expiry to 6h · 621e224d
      Peter Hutterer authored
      20 min for the "this docker image is ok" marker should be enough but not when
      we're hit with random stuck containers in the next stage. By the time those
      time out the artefacts have been removed and we now get a dependency error,
      forcing us to re-run the whole pipeline.
      
      Since the marker is only a few bytes, we can keep this for a bit longer
      without risking running out of space.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      621e224d
    • Carlos Garnacho's avatar
      quirks: Add quirks for Acer Switch Alpha 12 · a52f0db3
      Carlos Garnacho authored
      This is a 2-in-1 laptop with detachable keyboard. The AT keyboard
      device is used for tablet-integrated keys (volume, leftmeta) and
      should not get disabled with tablet-mode enabled.
      
      The touchpad integrated in the detachable keyboard is already
      handled through the "Acer Hawaii Keyboard" chicony rule.
      
      Related: #115Signed-off-by: Carlos Garnacho's avatarCarlos Garnacho <carlosg@gnome.org>
      a52f0db3
    • Atri Bhattacharya's avatar
      Lenovo MIIX 720 quirk: MatchBus should be usb. · 8371a0d7
      Atri Bhattacharya authored
      Fixes commit 0d62c8fb.
      8371a0d7
    • Atri Bhattacharya's avatar
      Add quirks for Lenovo MIIX 720. · 0d62c8fb
      Atri Bhattacharya authored
      * Lenovo MIIX 720 is a tablet with a detachable keyboard. To keep
        the volume rockers on the tablet enabled even when the keyboard
        is detached, add `ModelTabletModeNoSuspend=1` to the internal
        keyboard.
      * The external keyboard is a keyboard-touchpad combo. Assign
        `AttrTPKComboLayout=below` to the touchpad to allow features
        like disable-while-typing and palm-detection.
      0d62c8fb
  10. 20 Aug, 2018 3 commits
  11. 19 Aug, 2018 1 commit
  12. 16 Aug, 2018 2 commits