1. 30 May, 2019 1 commit
  2. 09 May, 2019 1 commit
    • Tobias Auerochs's avatar
      HID: rmi: Use SET_REPORT request on control endpoint for Acer Switch 3 and 5 · 10235380
      Tobias Auerochs authored
      The touchpad on the cover keyboard for the Acer Switch 3 and 5 does not
      work as-is under Linux. Both devices have the same usb id for the cover
      keyboard.
      
      The kernel correctly assigns the hid-rmi driver to the device using usbhid
      for transport.
      Any attempts of hid-rmi to talk to the device using hid_hw_output_report
      fail however as usbhid does not have a working urbout due to the lack of
      any out endpoints.
      
      Looking through Wireshark usbmon recordings from the Windows Synaptics
      driver for this computer running inside of QEMU shows that it should be
      using SET_REPORT requests instead.
      
      This replaces the hid_hw_output_report in hid-rmi with a
      hid_hw_raw_request for this device, which is at least enough to enable
      the kernel to get working multi-touch input.
      Signed-off-by: default avatarTobias Auerochs <tobi291019@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      10235380
  3. 23 Apr, 2019 3 commits
  4. 11 Apr, 2019 1 commit
  5. 10 Apr, 2019 1 commit
  6. 03 Apr, 2019 1 commit
  7. 01 Apr, 2019 1 commit
    • Hui Wang's avatar
      HID: i2c-hid: Disable runtime PM on Synaptics touchpad · 74e7c6c8
      Hui Wang authored
      We have a new Dell laptop which has the synaptics I2C touchpad
      (06cb:7e7e) on it. After booting up the Linux, the touchpad doesn't
      work, there is no interrupt when touching the touchpad, after
      disable the runtime PM, everything works well.
      
      I also tried the quirk of I2C_HID_QUIRK_DELAY_AFTER_SLEEP, it is
      better after applied this quirk, there are interrupts but data it
      reports is invalid.
      Signed-off-by: default avatarHui Wang <hui.wang@canonical.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      74e7c6c8
  8. 21 Feb, 2019 8 commits
  9. 13 Feb, 2019 2 commits
  10. 07 Feb, 2019 1 commit
    • Hans de Goede's avatar
      HID: Add support for Toshiba WT10A tablet bluetooth keyboard · aa2d495f
      Hans de Goede authored
      The bluetooth-keyboard which comes with the Toshiba WT10A tablet uses
      a couple of usage codes in the vendor specific ffbc page.
      
      The keyboard has a vendor-id of 04f2 which maps to Chicony.
      
      Other then adding a few keymappings for the ffbc usages, no special
      handling is necessary. So rather then adding a new hid-toshiba driver,
      this commit adds the ID and 2 extra key-mappings to the hid-topseed
      driver. The hid-topseed driver already contains mapping for some
      ffbc usages (and does nothing else) and it already binds to another
      Chicony manufactured keyboard.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      aa2d495f
  11. 14 Jan, 2019 2 commits
  12. 17 Dec, 2018 1 commit
  13. 07 Dec, 2018 1 commit
  14. 30 Nov, 2018 2 commits
    • Hans de Goede's avatar
      HID: asus: Add support for the ASUS FX503VD laptop · 2340bad5
      Hans de Goede authored
      The ASUS FX503VD laptop uses an USB keyboard with several hotkeys
      which use the Asus Vendor specific UsagePage.
      
      This uses two usage-codes within the page which have not been seen
      before, 0x7c for its mic-mute hotkey and 0x99 for Fn+F5 which has
      a "fan" symbol as hotkey symbol on the keyb. we map this to KEY_PROG4
      (PROG1-PROG3 are already used).
      
      This commit adds the mappings for the 2 new usage codes and the USB-ids
      for this keyboard to the hid-asus driver.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      2340bad5
    • Hans de Goede's avatar
      HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk · 40502074
      Hans de Goede authored
      The 258a:6a88 keyboard-dock shipped with the Prowise PT301 tablet is
      likely another ITE based design. The controller die is directly bonded
      to the PCB with a blob of black glue on top so there are no markings and
      the 258a vendor-id used is unknown anywhere. But the keyboard has the
      exact same hotkeys mapped to Fn+F1 - F10 as the other ITE8595 keyboard
      I have *and* it has the same quirky behavior wrt the rfkill hotkey.
      
      Either way as said this keyboard has the same quirk for its rfkill /
      airplane mode hotkey as the ITE 8595 chip, it only sends a single release
      event when pressed and released, it never sends a press event.
      
      This commit adds the 258a:6a88 USB id to the hid-ite id-table, fixing
      the rfkill key not working on this keyboard.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      40502074
  15. 21 Nov, 2018 1 commit
  16. 20 Nov, 2018 1 commit
  17. 19 Nov, 2018 2 commits
    • Kai-Heng Feng's avatar
      HID: i2c-hid: Disable runtime PM for LG touchscreen · 86c31524
      Kai-Heng Feng authored
      LG touchscreen (1fd2:8001) stops working after reboot:
      [ 4.859153] i2c_hid i2c-SAPS2101:00: i2c_hid_get_input: incomplete report (64/66)
      [ 4.936070] i2c_hid i2c-SAPS2101:00: i2c_hid_get_input: incomplete report (64/66)
      [ 9.948224] i2c_hid i2c-SAPS2101:00: failed to reset device.
      
      The device in question stops working after receives SLEEP, ON, SLEEP
      commands in a short period. The scenario is like this:
      - Once the desktop session closes, it also closed the hid device, so the
      device gets runtime suspended and receives a SLEEP command.
      - Before calling shutdown callback, it gets runtime resumed and received
      an ON command.
      - In the shutdown callback, it receives another SLEEP command.
      
      I failed to find a reliable interval between ON/SLEEP commands that can
      make it work, so let's simply disable runtime PM for the device.
      Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      86c31524
    • Kai-Heng Feng's avatar
      HID: multitouch: Add pointstick support for Cirque Touchpad · 12d43aac
      Kai-Heng Feng authored
      Cirque Touchpad/Pointstick combo is similar to Alps devices, it requires
      MT_CLS_WIN_8_DUAL to expose its pointstick as a mouse.
      Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      12d43aac
  18. 12 Nov, 2018 1 commit
  19. 08 Nov, 2018 1 commit
  20. 26 Oct, 2018 1 commit
  21. 11 Oct, 2018 1 commit
  22. 03 Oct, 2018 1 commit
  23. 24 Sep, 2018 2 commits
    • Hanno Zulla's avatar
      HID: hid-bigbenff: driver for BigBen Interactive PS3OFMINIPAD gamepad · 256a90ed
      Hanno Zulla authored
      This is a driver to fix input mapping and add LED & force feedback
      support for the "BigBen Interactive Kid-friendly Wired Controller
      PS3OFMINIPAD SONY" gamepad with USB id 146b:0902. It was originally
      sold as a PS3 accessory and makes a very nice gamepad for Retropie.
      Signed-off-by: default avatarHanno Zulla <kontakt@hanno.de>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      256a90ed
    • Hans de Goede's avatar
      HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling · afbb1169
      Hans de Goede authored
      Commit 52cf93e6 ("HID: i2c-hid: Don't reset device upon system resume")
      removes the need for the RESEND_REPORT_DESCR quirk for Raydium devices, but
      kept it for the SIS device id 10FB touchscreens, as the author of that
      commit could not determine if the quirk is still necessary there.
      
      I've tested suspend/resume on a Toshiba Click Mini L9W-B which is the
      device for which this quirk was added in the first place and with the
      "Don't reset device upon system resume" fix the quirk is no longer
      necessary, so this commit removes it.
      
      Note even better I also had some other devices with SIS touchscreens which
      suspend/resume issues, where the RESEND_REPORT_DESCR quirk did not help.
      
      I've also tested these devices with the "Don't reset device upon system
      resume" fix and I'm happy to report that that fix also fixes touchscreen
      resume on the following devices:
      
      Asus T100HA
      Asus T200TA
      Peaq C1010
      
      Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
      Acked-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      afbb1169
  24. 06 Sep, 2018 1 commit
    • Kai-Heng Feng's avatar
      HID: i2c-hid: Don't reset device upon system resume · 52cf93e6
      Kai-Heng Feng authored
      Raydium touchscreen triggers interrupt storm after system-wide suspend:
      
      	[ 179.085033] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/65535)
      
      According to Raydium, Windows driver does not reset the device after system
      resume.
      
      The HID over I2C spec does specify a reset should be used at intialization, but
      it doesn't specify if reset is required for system suspend.
      
      Tested this patch on other i2c-hid touchpanels I have and those touchpanels do
      work after S3 without doing reset. If any regression happens to other
      touchpanel vendors, we can use quirk for Raydium devices.
      
      There's still one device uses I2C_HID_QUIRK_RESEND_REPORT_DESCR so keep it
      there.
      
      Cc: Aaron Ma <aaron.ma@canonical.com>
      Cc: AceLan Kao <acelan.kao@canonical.com>
      Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
      Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      52cf93e6
  25. 05 Sep, 2018 1 commit
  26. 30 Aug, 2018 1 commit