1. 14 4月, 2020 3 次提交
  2. 18 3月, 2020 1 次提交
    • S
      HID: Add driver fixing Glorious PC Gaming Race mouse report descriptor · 77a36a3a
      Samuel Čavoj 提交于
      The Glorious Model O mice (and also at least the Model O-, which is
      driver-wise the same mouse) have a bug in the descriptor of HID
      Report with ID 2. This report is used for Consumer Control buttons,
      which can be mapped using the provided Windows only software.
      
      Here is an excerpt from the original descriptor:
      
        INPUT(2)[INPUT]
          Field(0)
            Flags( Constant Variable Absolute )
          Field(1)
            Flags( Constant Variable Absolute )
          Field(2)
            Flags( Constant Variable Absolute )
      
      The issue is the Constant flag specified on all 3 fields, which
      causes the hid driver to ignore changes in these fields and
      essentialy causes the buttons to not work at all. The submitted driver
      patches the descriptor to end up with the following:
      
        INPUT(2)[INPUT]
          Field(0)
            Flags( Variable Relative )
          Field(1)
            Flags( Variable Relative )
          Field(2)
            Flags( Variable Relative )
      
      The Constant bit is reset and the Relative bit has been set in
      order to prevent repeat events when holding down the button.
      
      Additionally, the device name is changed from the hardware-reported
      "SINOWEALTH Wired Gaming Mouse" to "Glorious Model O" or "Glorious
      Model D".
      Signed-off-by: NSamuel Čavoj <sammko@sammserver.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      77a36a3a
  3. 17 3月, 2020 1 次提交
  4. 16 3月, 2020 1 次提交
  5. 10 3月, 2020 1 次提交
  6. 13 12月, 2019 2 次提交
    • P
      HID: Add quirk for incorrect input length on Lenovo Y720 · fd091376
      Pavel Balan 提交于
      Apply it to the Lenovo Y720 gaming laptop I2C peripheral then.
      
      This fixes dmesg being flooded with errors visible on un-suspend
      in Linux Mint 19 Cinnamon.
      
      Example of error log:
      
      <...>
      [    4.326588] i2c_hid i2c-ITE33D1:00: i2c_hid_get_input: incomplete report (2/4)
      [    4.326845] i2c_hid i2c-ITE33D1:00: i2c_hid_get_input: incomplete report (2/4)
      [    4.327095] i2c_hid i2c-ITE33D1:00: i2c_hid_get_input: incomplete report (2/4)
      [    4.327341] i2c_hid i2c-ITE33D1:00: i2c_hid_get_input: incomplete report (2/4)
      [    4.327609] i2c_hid i2c-ITE33D1:00: i2c_hid_get_input: incomplete report (2/4)
      <...>
      
      Example of fixed log (debug on)
      
      <...>
      [ 3731.333183] i2c_hid i2c-ITE33D1:00: input: 02 00
      [ 3731.333581] i2c_hid i2c-ITE33D1:00: input: 02 00
      [ 3731.333842] i2c_hid i2c-ITE33D1:00: input: 02 00
      [ 3731.334107] i2c_hid i2c-ITE33D1:00: input: 02 00
      [ 3731.334367] i2c_hid i2c-ITE33D1:00: input: 02 00
      <...>
      
      [jkosina@suse.cz: rebase onto more recent codebase]
      Signed-off-by: NPavel Balan <admin@kryma.net>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      fd091376
    • H
      HID: ite: Add USB id match for Acer SW5-012 keyboard dock · 8f18eca9
      Hans de Goede 提交于
      The Acer SW5-012 2-in-1 keyboard dock uses a Synaptics S91028 touchpad
      which is connected to an ITE 8595 USB keyboard controller chip.
      
      This keyboard has the same quirk for its rfkill / airplane mode hotkey as
      other keyboards with the ITE 8595 chip, it only sends a single release
      event when pressed and released, it never sends a press event.
      
      This commit adds this keyboards USB id to the hid-ite id-table, fixing
      the rfkill key not working on this keyboard.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      8f18eca9
  7. 09 12月, 2019 1 次提交
  8. 15 11月, 2019 1 次提交
  9. 14 11月, 2019 1 次提交
    • J
      HID: quirks: Add quirk for HP MSU1465 PIXART OEM mouse · f1a0094c
      Jinke Fan 提交于
      The PixArt OEM mouse disconnets/reconnects every minute on
      Linux. All contents of dmesg are repetitive:
      
      [ 1465.810014] usb 1-2.2: USB disconnect, device number 20
      [ 1467.431509] usb 1-2.2: new low-speed USB device number 21 using xhci_hcd
      [ 1467.654982] usb 1-2.2: New USB device found, idVendor=03f0,idProduct=1f4a, bcdDevice= 1.00
      [ 1467.654985] usb 1-2.2: New USB device strings: Mfr=1, Product=2,SerialNumber=0
      [ 1467.654987] usb 1-2.2: Product: HP USB Optical Mouse
      [ 1467.654988] usb 1-2.2: Manufacturer: PixArt
      [ 1467.699722] input: PixArt HP USB Optical Mouse as /devices/pci0000:00/0000:00:07.1/0000:05:00.3/usb1/1-2/1-2.2/1-2.2:1.0/0003:03F0:1F4A.0012/input/input19
      [ 1467.700124] hid-generic 0003:03F0:1F4A.0012: input,hidraw0: USB HID v1.11 Mouse [PixArt HP USB Optical Mouse] on usb-0000:05:00.3-2.2/input0
      
      So add HID_QUIRK_ALWAYS_POLL for this one as well.
      Test the patch, the mouse is no longer disconnected and there are no
      duplicate logs in dmesg.
      
      Reference:
      https://github.com/sriemer/fix-linux-mouseSigned-off-by: NJinke Fan <fanjinke@hygon.cn>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      f1a0094c
  10. 11 10月, 2019 1 次提交
  11. 04 10月, 2019 2 次提交
    • H
      HID: lg-g15: Add support for the G510 keyboards' gaming keys · ad4203f5
      Hans de Goede 提交于
      Add support for the gaming and LCD menu keys on the G510 keyboard.
      
      Note this commit does not add support for the keyboard and LCD backlight
      and the status LEDs, this is done in a follow up commit.
      
      Note the G510 generates 4 different input reports on its second
      (Consumer Keys) interface:
      
      -input report 1 is standard bootclass keyboard input report, mirroring
       normal keyboard interface
      -input report 2 is consumer page keys
      -input report 3 is gkeys, etc.
      -input report 4 is LED status, single byte, bits:
       bit 2: kbd and LCD backlight is *off* when set, toggled by the light key
       bit 3: headphone mute LED
       bit 4: mic mute LED
      
      Input-report 1 we ignore since this is a duplicate report from the first
      interface, report 2 is handled by the regular hid-input code. In this
      commit we add handling for input report 3.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ad4203f5
    • H
      HID: Add driver for Logitech gaming keyboards (G15, G15 v2) · 3a027538
      Hans de Goede 提交于
      Add a driver to stop the extra "G" keys from sending F1 - F12 instead
      making them send KEY_GKEY# and also make the non-functional M1 - M3 and MR
      keys and the non-functional buttons below the LCD panel properly generated
      key events.
      
      Note the connect_mask and gkeys_settings_output_report variables may seem
      unnecessary since they are always set to the same value, these are there in
      preparation of adding support for the G, M and LCD keys on the G510 kbd.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      3a027538
  12. 03 9月, 2019 2 次提交
  13. 23 8月, 2019 1 次提交
  14. 05 8月, 2019 2 次提交
  15. 17 7月, 2019 2 次提交
  16. 02 7月, 2019 1 次提交
  17. 26 6月, 2019 3 次提交
  18. 11 6月, 2019 1 次提交
  19. 31 5月, 2019 1 次提交
  20. 10 5月, 2019 1 次提交
    • T
      HID: rmi: Use SET_REPORT request on control endpoint for Acer Switch 3 and 5 · 10235380
      Tobias Auerochs 提交于
      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: NTobias Auerochs <tobi291019@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      10235380
  21. 24 4月, 2019 3 次提交
  22. 11 4月, 2019 1 次提交
  23. 10 4月, 2019 1 次提交
  24. 03 4月, 2019 1 次提交
  25. 01 4月, 2019 1 次提交
  26. 21 2月, 2019 4 次提交