1. 03 Feb, 2023 2 commits
  2. 02 Feb, 2023 24 commits
  3. 22 Jan, 2023 1 commit
  4. 24 Nov, 2022 1 commit
  5. 22 Nov, 2022 1 commit
  6. 17 Nov, 2022 1 commit
  7. 15 Nov, 2022 1 commit
  8. 29 Oct, 2022 1 commit
  9. 11 Oct, 2022 1 commit
  10. 05 Oct, 2022 1 commit
  11. 02 Sep, 2022 1 commit
  12. 18 Aug, 2022 1 commit
  13. 11 Aug, 2022 4 commits
    • Jason Gerecke's avatar
      tests: wacom: Implement test for partial/empty pad syncs · 4c9ded2b
      Jason Gerecke authored and Benjamin Tissoires's avatar Benjamin Tissoires committed
      
      
      The PTH-460 has its HID descriptor implemented slightly differently
      to its siblings the 660 and 860. Specifically, each of the functions
      of the pad are encapsulated in their own physical collections. This
      causes a little bit of trouble for the current Wacom driver which
      typically treats multiple collections of the same tool as multiple
      snapshots of a single tool's state (mainly to support BT devices
      that send e.g. 5 pen updates in a single packet).
      
      We check to make sure that we don't get partial/empty pad syncs
      when they shouldn't exist. The easiest way to trigger this behavior
      is to simultaneously use the touchring and expresskeys since they
      are in different collections.
      
      This behavior was fixed in the upstream Linux kernel by commit
      d4b8efeb46d9 ("HID: wacom: generic: Correct pad syncing").
      
      Signed-off-by: Jason Gerecke's avatarJason Gerecke <jason.gerecke@wacom.com>
      4c9ded2b
    • Jason Gerecke's avatar
      BaseDevice: Make 'match_evdev_rule' more lenient · 3f3711f6
      Jason Gerecke authored and Benjamin Tissoires's avatar Benjamin Tissoires committed
      
      
      At the moment the function offers no middle-ground between
      returning "true" and associating an evdev device with a specific
      type, or returning "false" and associating it with *no* types.
      
      The Wacom tests require us to have access to both e.g. Pen and
      Pad devices, but we need to be careful to ensure that the pen
      evdev device is actually associated with the "Pen" type, and
      pad device with the "Pad" type. The "udev_input_event" function
      does a pretty good job with this normally, but because all pad
      devices are also pen devices, things go a little off the rails.
      
      This commit allows the caller to return 'false' for only the
      specific combinations of device and application that don't
      make sense, but still return 'true' in other situations.
      
      Signed-off-by: Jason Gerecke's avatarJason Gerecke <jason.gerecke@wacom.com>
      3f3711f6
    • Jason Gerecke's avatar
      tests: wacom: Check PTH tablets for spurious event bug · 318af2e6
      Jason Gerecke authored and Benjamin Tissoires's avatar Benjamin Tissoires committed
      
      
      Commit d4b8efeb46d9 introduced an issue which causes a BTN_TOUCH=0
      event to be sent out whenever a heartbeat report is received. We
      have a fix for this bug, but lets make sure it does not come back.
      
      Signed-off-by: Jason Gerecke's avatarJason Gerecke <jason.gerecke@wacom.com>
      318af2e6
    • Jason Gerecke's avatar
      tests: wacom: Add tests for 2nd-gen Intuos Pro · 709732d0
      Jason Gerecke authored and Benjamin Tissoires's avatar Benjamin Tissoires committed
      
      
      Adds descriptors for the PTH-660, PTH-860, and PTH-460, as well as
      the necessary device / test definitions to exercise them. Updates
      `test_descriptor_physicals()` to better handle these tablets (new
      usages listed among the required, filtering of mouse collection).
      Also notes errata with the descriptors that cause the physicals
      test to fail.
      
      Signed-off-by: Jason Gerecke's avatarJason Gerecke <jason.gerecke@wacom.com>
      709732d0