1. 16 2月, 2018 1 次提交
  2. 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
  3. 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
  4. 01 12月, 2017 1 次提交
  5. 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
  6. 17 10月, 2017 3 次提交
  7. 11 10月, 2017 1 次提交
  8. 02 10月, 2017 1 次提交
  9. 16 9月, 2017 1 次提交
  10. 06 9月, 2017 3 次提交
  11. 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
  12. 31 7月, 2017 1 次提交
  13. 24 7月, 2017 1 次提交
  14. 20 7月, 2017 1 次提交
  15. 22 6月, 2017 1 次提交
  16. 21 6月, 2017 2 次提交
  17. 08 6月, 2017 2 次提交
  18. 06 6月, 2017 1 次提交
  19. 22 5月, 2017 1 次提交
  20. 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
  21. 26 4月, 2017 1 次提交
  22. 06 4月, 2017 1 次提交
  23. 30 3月, 2017 2 次提交
  24. 24 3月, 2017 1 次提交
  25. 21 3月, 2017 2 次提交
  26. 06 3月, 2017 3 次提交
  27. 03 2月, 2017 1 次提交
  28. 27 1月, 2017 1 次提交
    • C
      HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL · ed9ab428
      Colin Ian King 提交于
      Quirking the following AMI USB device with ALWAYS_POLL fixes an AMI
      virtual keyboard and mouse from not responding and timing out when
      it is attached to a ppc64el Power 8 system and when we have some
      rapid open/closes on the mouse device.
      
       usb 1-3: new high-speed USB device number 2 using xhci_hcd
       usb 1-3: New USB device found, idVendor=046b, idProduct=ff01
       usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
       usb 1-3: Product: Virtual Hub
       usb 1-3: Manufacturer: American Megatrends Inc.
       usb 1-3: SerialNumber: serial
       usb 1-3.3: new high-speed USB device number 3 using xhci_hcd
       usb 1-3.3: New USB device found, idVendor=046b, idProduct=ff31
       usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
       usb 1-3.3: Product: Virtual HardDisk Device
       usb 1-3.3: Manufacturer: American Megatrends Inc.
       usb 1-3.4: new low-speed USB device number 4 using xhci_hcd
       usb 1-3.4: New USB device found, idVendor=046b, idProduct=ff10
       usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
       usb 1-3.4: Product: Virtual Keyboard and Mouse
       usb 1-3.4: Manufacturer: American Megatrends Inc.
      
      With the quirk I have not been able to trigger the issue with
      half an hour of saturation soak testing.
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ed9ab428