1. 09 9月, 2020 1 次提交
    • H
      HID: ite: Add USB id match for Acer One S1003 keyboard dock · 5bf2f2f3
      Hans de Goede 提交于
      The Acer One S1003 2-in-1 keyboard dock uses a Synaptics S910xx touchpad
      which is connected to an ITE 8910 USB keyboard controller chip.
      
      This keyboard has the same quirk for its rfkill / airplane mode hotkey as
      other keyboards with ITE keyboard chips, 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. Note that like for the
      Acer Aspire Switch 10 (SW5-012) the id-table entry matches on the
      HID_GROUP_GENERIC generic group so that hid-ite only binds to the
      keyboard interface and the mouse/touchpad interface is left untouched
      so that hid-multitouch can bind to it.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      5bf2f2f3
  2. 31 8月, 2020 2 次提交
  3. 17 8月, 2020 1 次提交
  4. 21 7月, 2020 1 次提交
  5. 07 7月, 2020 1 次提交
  6. 24 6月, 2020 1 次提交
  7. 16 6月, 2020 1 次提交
  8. 27 5月, 2020 1 次提交
  9. 16 5月, 2020 1 次提交
    • C
      HID: Add quirks for Trust Panora Graphic Tablet · fb68ada8
      Cristian Klein 提交于
      The Trust Panora Graphic Tablet has two interfaces. Interface zero reports pen
      movement, pen pressure and pen buttons. Interface one reports tablet buttons
      and tablet scroll. Both use the mouse protocol.
      
      Without these quirks, libinput gets confused about what device it talks to.
      
      For completeness, here is the usbhid-dump:
      
      ```
      $ sudo usbhid-dump -d 145f:0212
      003:013:001:DESCRIPTOR         1588949402.559961
       05 0D 09 01 A1 01 85 07 A1 02 09 00 75 08 95 07
       81 02 C0 C0 09 0E A1 01 85 05 09 23 A1 02 09 52
       09 53 25 0A 75 08 95 02 B1 02 C0 C0 05 0C 09 36
       A1 00 85 06 05 09 19 01 29 20 15 00 25 01 95 20
       75 01 81 02 C0
      
      003:013:000:DESCRIPTOR         1588949402.563942
       05 01 09 02 A1 01 85 08 09 01 A1 00 05 09 19 01
       29 03 15 00 25 01 95 03 75 01 81 02 95 05 81 01
       05 01 09 30 09 31 09 38 09 00 15 81 25 7F 75 08
       95 04 81 06 C0 C0 05 01 09 02 A1 01 85 09 09 01
       A1 00 05 09 19 01 29 03 15 00 25 01 95 03 75 01
       81 02 95 05 81 01 05 01 09 30 09 31 26 FF 7F 95
       02 75 10 81 02 05 0D 09 30 26 FF 03 95 01 75 10
       81 02 C0 C0 05 01 09 00 A1 01 85 04 A1 00 26 FF
       00 09 00 75 08 95 07 B1 02 C0 C0
      ```
      Signed-off-by: NCristian Klein <cristian.klein@elastisys.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      fb68ada8
  10. 06 5月, 2020 1 次提交
  11. 04 5月, 2020 1 次提交
  12. 30 4月, 2020 1 次提交
  13. 15 4月, 2020 1 次提交
  14. 14 4月, 2020 3 次提交
  15. 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
  16. 17 3月, 2020 1 次提交
  17. 16 3月, 2020 1 次提交
  18. 10 3月, 2020 1 次提交
  19. 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
  20. 09 12月, 2019 1 次提交
  21. 15 11月, 2019 1 次提交
  22. 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
  23. 11 10月, 2019 1 次提交
  24. 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
  25. 03 9月, 2019 2 次提交
  26. 23 8月, 2019 1 次提交
  27. 05 8月, 2019 2 次提交
  28. 17 7月, 2019 2 次提交
  29. 02 7月, 2019 1 次提交
  30. 26 6月, 2019 3 次提交