1. 05 Sep, 2017 8 commits
  2. 15 Aug, 2017 3 commits
  3. 10 Aug, 2017 2 commits
  4. 09 Aug, 2017 1 commit
    • Srinivas Pandruvada's avatar
      HID: hid-sensor-hub: Force logical minimum to 1 for power and report state · b0f847e1
      Srinivas Pandruvada authored
      In the reference HID sensor hub firmware all Named array enums were
      0-based. There is no description of the default base of enums in HID
      sensor hub specification as logical minimum should have set this base
      value.
      
      Every sensor hub implemented enum as 1-based, without explicitly setting
      logical minimum to 1, because of the implementation by one of the major
      OS vendor. In Linux we used logical minimum to decide the enum base.
      
      Some sensor hub FWs already changed logical minimum from 0 to 1. We hoped
      that every other vendor will follow. But that didn't happen and we had to
      fix the report header for every sensor hub to change logical minimum to 1
      by using .report_fixup() callback. So for every new sensor hub we had to
      modify source code by adding this quirk based on the vendor and device id.
      This is becoming a maintenance burden.
      
      This patch hardcodes the logical minimum of power and report state
      attributes to 1. In this way we can remove the existing quirks and also
      we don't have to add more quirks.
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      b0f847e1
  5. 08 Aug, 2017 2 commits
    • Jason Gerecke's avatar
      HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage · 8d411cbf
      Jason Gerecke authored
      The WACOM_HID_WD_TOUCHRINGSTATUS usage is a single bit which tells us
      whether the touchring is currently in use or not. Because we need to
      reset the axis value to 0 when the finger is removed, we call
      'wacom_map_usage' to ensure that the required type/code values are
      associated with the usage. The 'wacom_map_usage' also sets up the axis
      range and resolution, however, which is not desired in this particular
      case.
      
      Although xf86-input-wacom doesn't do really do anything with the ring's
      range or resolution, the libinput driver (for Wayland environments)
      uses these values to provide proper angle indications to userspace.
      
      Fixes: 60a22186 ("HID: wacom: generic: add support for touchring")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      8d411cbf
    • Hans de Goede's avatar
      HID: asus: Add T100CHI bluetooth keyboard dock touchpad support · 73c75d39
      Hans de Goede authored
      Put the touchpad in native (absolute coordinate mode) and export it to
      userspace as a touchpad rather then as a mouse.
      
      Note this requires HID_QUIRK_MULTI_INPUT as the T100CHI keyboard dock
      has all functionality on a single HID interface and userspace expects
      touchpads to be on a separate input_dev. Without MULTI_INPUT userspace
      will ignore the keyboard part of the keyboard/touchpad combo.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      73c75d39
  6. 03 Aug, 2017 7 commits
  7. 02 Aug, 2017 2 commits
  8. 01 Aug, 2017 1 commit
  9. 31 Jul, 2017 1 commit
  10. 25 Jul, 2017 2 commits
  11. 24 Jul, 2017 1 commit
  12. 23 Jul, 2017 8 commits
  13. 22 Jul, 2017 2 commits