1. 13 12月, 2018 1 次提交
  2. 27 11月, 2018 3 次提交
  3. 24 9月, 2018 1 次提交
    • H
      HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling · afbb1169
      Hans de Goede 提交于
      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: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      afbb1169
  4. 06 9月, 2018 1 次提交
    • K
      HID: i2c-hid: Don't reset device upon system resume · 52cf93e6
      Kai-Heng Feng 提交于
      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: NKai-Heng Feng <kai.heng.feng@canonical.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      52cf93e6
  5. 30 8月, 2018 1 次提交
  6. 28 8月, 2018 2 次提交
  7. 23 7月, 2018 1 次提交
  8. 17 7月, 2018 2 次提交
  9. 11 6月, 2018 1 次提交
  10. 15 5月, 2018 1 次提交
    • R
      HID: add driver for Valve Steam Controller · c164d6ab
      Rodrigo Rivas Costa 提交于
      There are two ways to connect the Steam Controller: directly to the USB
      or with the USB wireless adapter.  Both methods are similar, but the
      wireless adapter can connect up to 4 devices at the same time.
      
      The wired device will appear as 3 interfaces: a virtual mouse, a virtual
      keyboard and a custom HID device.
      
      The wireless device will appear as 5 interfaces: a virtual keyboard and
      4 custom HID devices, that will remain silent until a device is actually
      connected.
      
      The custom HID device has a report descriptor with all vendor specific
      usages, so the hid-generic is not very useful. In a PC/SteamBox Valve
      Steam Client provices a software translation by using hidraw and a
      creates a uinput virtual gamepad and XTest keyboard/mouse.
      
      This driver intercepts the hidraw usage, so it can get out of the way
      when the Steam Client is in use.
      Signed-off-by: NRodrigo Rivas Costa <rodrigorivascosta@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      c164d6ab
  11. 09 5月, 2018 1 次提交
  12. 25 4月, 2018 1 次提交
  13. 17 4月, 2018 1 次提交
  14. 12 4月, 2018 1 次提交
  15. 27 3月, 2018 1 次提交
  16. 06 3月, 2018 3 次提交
    • T
      HID: sony: Add touchpad support for NSG-MR5U and NSG-MR7U remotes · b7289cb1
      Todd Kelner 提交于
      Sony's NSG-MR5U and NSG-MR7U remote controls have a full keyboard and a
      touchpad.  The keyboard is already supported by the existing Linux
      kernel and drivers but the touchpad is not recognized.  This patch adds
      the coded needed to bring full functionality to the touchpad.
      
      Note that these remotes use the vendor code for SMK even though they are
      Sony branded.
      
      Known limitations
      - The built-in accelerometers are not supported by these changes
      - When the Drag (Fn) key is used as a mouse button, the button is
      automatically released when the key begins repeating.  There are two
        workarounds for this 1) Use the button behind the touchpad instead of
        the Drag (Fn) key or 2) Disable the key repeat functionality or
        increase the key repeat delay.
      Signed-off-by: NTodd Kelner <tsopdump@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      b7289cb1
    • T
      HID: elecom: add support for EX-G M-XT4DRBK trackball · fbb77e88
      Tomasz Kramkowski 提交于
      This patch enables the 6th button on the ELECOM EX-G M-XT4DRBK
      trackball mouse.
      
      This is a left handed EX-G variant which only comes in a wireless (D)
      model. It has a total of 6 buttons but one of these is not available
      because of how the HID descriptor is configured.
      Signed-off-by: NTomasz Kramkowski <tk@the-tk.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      fbb77e88
    • T
      HID: elecom: refer to trackballs by model name instead of series · 79837ede
      Tomasz Kramkowski 提交于
      This patch changes all references to ELECOM trackballs using their
      series name to refer to them by their model name.
      
      ELECOM provides multiple series of mice such as EX-G, HUGE, and DEFT.
      Although it has not caused conflicts in the driver, there can be more
      than one iteration of mice in each series. For example, there are 7
      variants of EX-G trackballs but only three (M-XT3URBK, M-XT3DRBK, and
      M-XT4DRBK) need a driver to work correctly.
      
      There are also 4 DEFT series trackballs but two of them have the same
      VID:PID as the other two. I picked the earlier model for the naming of
      the PID macros.
      Signed-off-by: NTomasz Kramkowski <tk@the-tk.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      79837ede
  17. 16 2月, 2018 3 次提交
  18. 23 1月, 2018 2 次提交
    • T
      HID: elecom: rewrite report fixup for EX-G and future mice · ac58eec2
      Tomasz Kramkowski 提交于
      This patch rewrites the mouse report fixup used for the DEFT and HUGE
      elecom trackballs in order to make it generic enough to fix other
      elecom mice with similar issues. This patch also uses this new report
      fixup function to fix the Elecom EX-G trackball which has 6 physical
      buttons and a similar issue to the other two mice.
      
      Elecom's track record has so far shown that they like to re-use the
      same report descriptor for multiple different mice regardless of the
      number of buttons the mouse has. This means that the missing buttons
      on multiple mice can be fixed in one function without introducing
      phantom buttons which would in turn cause the number of mouse buttons
      to be misreported to userspace.
      
      This patch drops the very verbose report descriptor "diff" comment for
      a more abridged yet hopefully just as informative generic version.
      Signed-off-by: NTomasz Kramkowski <tk@the-tk.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ac58eec2
    • A
      HID: rmi: Support the Fujitsu R726 Pad dock using hid-rmi · c5293409
      Andrew Duggan 提交于
      The Fujitsu R726 Pad has an optional USB keyboard dock which contains
      a Synaptics touchpad. The dock identifies itself as a
      Primax Rezel Tablet Keyboard.
      Signed-off-by: NAndrew Duggan <aduggan@synaptics.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      c5293409
  19. 07 12月, 2017 1 次提交
    • D
      HID: add quirk for another PIXART OEM mouse used by HP · 01cffe9d
      Dave Young 提交于
      This mouse keep disconnecting in runleve 3 like below, add it needs the
      quirk to mute the anoying messages.
      
      [  111.230555] usb 2-2: USB disconnect, device number 6
      [  112.718156] usb 2-2: new low-speed USB device number 7 using xhci_hcd
      [  112.941594] usb 2-2: New USB device found, idVendor=03f0, idProduct=094a
      [  112.984866] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      [  113.027731] usb 2-2: Product: HP USB Optical Mouse
      [  113.069977] usb 2-2: Manufacturer: PixArt
      [  113.113500] input: PixArt HP USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/0003:03F0:094A.0002/input/input14
      [  113.156787] hid-generic 0003:03F0:094A.0002: input: USB HID v1.11 Mouse [PixArt HP USB Optical Mouse] on usb-0000:00:14.0-2/input0
      [  173.262642] usb 2-2: USB disconnect, device number 7
      [  174.750244] usb 2-2: new low-speed USB device number 8 using xhci_hcd
      [  174.935740] usb 2-2: New USB device found, idVendor=03f0, idProduct=094a
      [  174.990435] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      [  175.014984] usb 2-2: Product: HP USB Optical Mouse
      [  175.037886] usb 2-2: Manufacturer: PixArt
      [  175.061794] input: PixArt HP USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/0003:03F0:094A.0003/input/input15
      [  175.084946] hid-generic 0003:03F0:094A.0003: input: USB HID v1.11 Mouse [PixArt HP USB Optical Mouse] on usb-0000:00:14.0-2/input0
      Signed-off-by: NDave Young <dyoung@redhat.com>
      Cc: stable@vger.kernel.org
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      01cffe9d
  20. 01 12月, 2017 1 次提交
  21. 09 11月, 2017 1 次提交
    • H
      HID: i2c-hid: Add no-irq-after-reset quirk for 0911:5288 device · 402946a8
      Hans de Goede 提交于
      Several cheap Apollo Lake based laptops / 2-in-1s use an i2c-hid mt
      touchpad which is advertised by the DSDT with an ACPI HID of "SYNA3602",
      this touchpad can be found on e.g. the Cube Thinker and the EZBook 3 Pro.
      
      On my "T-bao Tbook air" the i2c-hid driver fails to bind to this touchpad:
      "i2c_hid i2c-SYNA3602:00: failed to reset device.".
      
      After some debuging this it seems that this touchpad simply never sends
      an interrupt after a reset as expected by the i2c hid driver. This commit
      adds a quirk for this device, making i2c_hid_command sleep 100ms after
      a reset instead of waiting for an irq, fixing i2c-hid failing to bind to
      this touchpad.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      402946a8
  22. 17 10月, 2017 3 次提交
  23. 11 10月, 2017 1 次提交
  24. 02 10月, 2017 1 次提交
  25. 16 9月, 2017 1 次提交
  26. 06 9月, 2017 3 次提交
  27. 03 8月, 2017 1 次提交
    • J
      HID: multitouch: Support Asus T304UA media keys · 957b8dff
      João Paulo Rechi Vita 提交于
      The Asus T304UA convertible sports a magnetic detachable keyboard with
      touchpad, which is connected over USB. Most of the keyboard hotkeys are
      exposed through the same USB interface as the touchpad, defined in the
      report descriptor as follows:
      
      0x06, 0x31, 0xFF,  // Usage Page (Vendor Defined 0xFF31)
      0x09, 0x76,        // Usage (0x76)
      0xA1, 0x01,        // Collection (Application)
      0x05, 0xFF,        //   Usage Page (Reserved 0xFF)
      0x85, 0x5A,        //   Report ID (90)
      0x19, 0x00,        //   Usage Minimum (0x00)
      0x2A, 0xFF, 0x00,  //   Usage Maximum (0xFF)
      0x15, 0x00,        //   Logical Minimum (0)
      0x26, 0xFF, 0x00,  //   Logical Maximum (255)
      0x75, 0x08,        //   Report Size (8)
      0x95, 0x0F,        //   Report Count (15)
      0xB1, 0x02,        //   Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
      0x05, 0xFF,        //   Usage Page (Reserved 0xFF)
      0x85, 0x5A,        //   Report ID (90)
      0x19, 0x00,        //   Usage Minimum (0x00)
      0x2A, 0xFF, 0x00,  //   Usage Maximum (0xFF)
      0x15, 0x00,        //   Logical Minimum (0)
      0x26, 0xFF, 0x00,  //   Logical Maximum (255)
      0x75, 0x08,        //   Report Size (8)
      0x95, 0x02,        //   Report Count (2)
      0x81, 0x02,        //   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
      0xC0,              // End Collection
      
      This UsagePage is declared as a variable, but we need to treat it as an
      array to be able to map each Usage we care about to its corresponding
      input key.
      Signed-off-by: NJoão Paulo Rechi Vita <jprvita@endlessm.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      957b8dff