1. 09 5月, 2018 1 次提交
  2. 25 4月, 2018 1 次提交
  3. 12 4月, 2018 1 次提交
  4. 27 3月, 2018 1 次提交
  5. 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
  6. 16 2月, 2018 3 次提交
  7. 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
  8. 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
  9. 01 12月, 2017 1 次提交
  10. 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
  11. 17 10月, 2017 3 次提交
  12. 11 10月, 2017 1 次提交
  13. 02 10月, 2017 1 次提交
  14. 16 9月, 2017 1 次提交
  15. 06 9月, 2017 3 次提交
  16. 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
  17. 31 7月, 2017 1 次提交
  18. 24 7月, 2017 1 次提交
  19. 20 7月, 2017 1 次提交
  20. 22 6月, 2017 1 次提交
  21. 21 6月, 2017 2 次提交
  22. 08 6月, 2017 2 次提交
  23. 06 6月, 2017 1 次提交
  24. 22 5月, 2017 1 次提交
  25. 11 5月, 2017 2 次提交
    • D
      HID: elecom: extend to fix the descriptor for DEFT trackballs · 0bb7a37f
      Diego Elio Pettenò 提交于
      The ELECOM DEFT trackballs report only five buttons, when the device
      actually has 8. Change the descriptor so that the HID driver can see all of
      them.
      
      For completeness and future reference, I included a side-by-side diff of
      the part of the descriptor that is being edited.
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: Yuxuan Shui <yshuiv7@gmail.com>
      Signed-off-by: NDiego Elio Pettenò <flameeyes@flameeyes.eu>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      0bb7a37f
    • H
      HID: ite: Add hid-ite driver · f1918be1
      Hans de Goede 提交于
      The ITE8595 keyboard uses the HID_GD_RFKILL_BTN usage code
      from the Wireless Radio Controls Application Collection Microsoft
      has defined for Windows 8 and later.
      
      However it has a quirk, when the rfkill hotkey is pressed it does
      generate a report for the collection, but the reported value is
      always 0. Luckily it is the only button in this collection / report,
      and it sends a report on release only, so receiving a report means the
      button was pressed.
      
      This commit adds a hid-ite driver which watches for the Wireless Radio
      Controls Application Collection report and then reports a KEY_RFKILL event,
      ignoring the value, making the rfkill on this keyboard work.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f1918be1
  26. 26 4月, 2017 1 次提交
  27. 06 4月, 2017 1 次提交
  28. 30 3月, 2017 1 次提交
    • M
      HID: asus: fix and generalize ambiguous preprocessor macros · a93913e1
      Matjaz Hegedic 提交于
      Before commits a1cbda7a65a7a ("HID: asus: drop dependency
      on I2C_HID") and 64a403c6555fd ("HID: asus: support Republic
      Of Gamers special keys") hid-asus only pertained to a single
      I2C keyboard model found in ASUS X205TA, F205TA, & X200HA. The
      aforementioned commits expanded this support to other ASUS
      laptop keyboard models.
      
      In order to clarify that existing keyboard and touchpad quirks
      only apply to the I2C devices, and not ASUS keyboards in
      general, I2C HID IDs and their corresponding quirk sets have
      been renamed. In addition, the latter commit introduced
      special key handling, which also applies to the I2C keyboard,
      not just Republic of Gamers series. Therefore, the
      rog_map_key_clear() macro is renamed to asus_map_key_clear()
      for the sake of generality.
      Signed-off-by: NMatjaz Hegedic <matjaz.hegedic@gmail.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      a93913e1