1. 29 11月, 2021 1 次提交
  2. 19 10月, 2021 2 次提交
  3. 20 8月, 2021 1 次提交
  4. 05 5月, 2021 4 次提交
    • S
      HID: quirks: Add quirk for Lenovo optical mouse · 3b252007
      Saeed Mirzamohammadi 提交于
      The Lenovo optical mouse with vendor id of 0x17ef and product id of
      0x600e experiences disconnecting issues every 55 seconds:
      
      [38565.706242] usb 1-1.4: Product: Lenovo Optical Mouse
      [38565.728603] input: Lenovo Optical Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:17EF:600E.029A/input/input665
      [38565.755949] hid-generic 0003:17EF:600E.029A: input,hidraw1: USB HID v1.11 Mouse [Lenovo Optical Mouse] on usb-0000:01:00.0-1.4/input0
      [38619.360692] usb 1-1.4: USB disconnect, device number 48
      [38620.864990] usb 1-1.4: new low-speed USB device number 49 using xhci_hcd
      [38620.984011] usb 1-1.4: New USB device found, idVendor=17ef,idProduct=600e, bcdDevice= 1.00
      [38620.998117] usb 1-1.4: New USB device strings: Mfr=0, Product=2,SerialNumber=0
      
      This adds HID_QUIRK_ALWAYS_POLL for this device in order to work properly.
      Signed-off-by: NSaeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      3b252007
    • M
      HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95 · 9858c74c
      Mateusz Jończyk 提交于
      This mouse has a horizontal wheel that requires special handling.
      Without this patch, the horizontal wheel acts like a vertical wheel.
      
      In the output of `hidrd-convert` for this mouse, there is a
      `Usage (B8h)` field. It corresponds to a byte in packets sent by the
      device that specifies which wheel generated an input event.
      
      The name "A4TECH" is spelled in all capitals on the company website.
      Signed-off-by: NMateusz Jończyk <mat.jonczyk@o2.pl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      9858c74c
    • H
      HID: quirks: Add HID_QUIRK_NO_INIT_REPORTS quirk for Dell K15A keyboard-dock · ed80bdc4
      Hans de Goede 提交于
      Just like the K12A the Dell K15A keyboard-dock has problems with
      get_feature requests. This sometimes leads to several
      "failed to fetch feature 8" messages getting logged, after which the
      touchpad may or may not work.
      
      Just like the K15A these errors are triggered by undocking and docking
      the tablet.
      
      There also seem to be other problems when undocking and then docking again
      in quick succession. It seems that in this case the keyboard-controller
      still retains some power from capacitors and does not go through a
      power-on-reset leaving it in a confuses state, symptoms of this are:
      
      1. The USB-ids changing to 048d:8910
      2. Failure to read the HID descriptors on the second (mouse) USB intf.
      3. The touchpad freezing after a while
      
      These problems can all be cleared by undocking the keyboard and waiting
      a full minute before redocking it. Unfortunately there is nothing we can
      do about this in the kernel.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      ed80bdc4
    • N
      HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65 · 25bdbfbb
      Nirenjan Krishnan 提交于
      The Saitek X65 joystick has a pair of axes that were used as mouse
      pointer controls by the Windows driver. The corresponding usage page is
      the Game Controls page, which is not recognized by the generic HID
      driver, and therefore, both axes get mapped to ABS_MISC. The quirk makes
      the second axis get mapped to ABS_MISC+1, and therefore made available
      separately.
      Signed-off-by: NNirenjan Krishnan <nirenjan@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      25bdbfbb
  5. 19 3月, 2021 1 次提交
  6. 08 3月, 2021 1 次提交
    • H
      HID: logitech-dj: Handle newer quad/bt2.0 receivers in HID proxy mode · 434f7709
      Hans de Goede 提交于
      The Dinovo Edge and Dinovo Mini keyboards with builtin touchpad come with
      a different version of the quad/bt2.0 combo receivers shipped with the
      MX5000 and MX5500 keyboards. These receivers are compatible with one
      another, e.g. the Dinovo Edge keyboard can be paired with the MX5000
      receiver.
      
      Like the MX5x00 receivers in HID proxy mode these receivers present
      themselves as a hub with multiple USB-HID devices, one for the keyboard
      and one for the mouse.
      
      Where they differ is that the mouse USB-device has 2 input reports for
      reporting mice events. It has the exact same INPUT(2) report as the
      MX5x00 receivers, but it also has a second INPUT(5) mouse report which
      is different; and when the Dinovo receivers are paired with the Dinovo
      keyboards the second INPUT(5) mouse report is actually used for events
      on the builtin touchpad.
      
      Add support for handling the Dinovo quad/bluetooth-2.0 combo receivers
      in HID proxy mode to logitech-dj, like we already do for the similar
      MX5000 and MX5500 receivers.
      
      This adds battery monitoring functionality (through logitech-hidpp) and
      fixes the Phone (Fn + F1) and "[A]" - "[D]" (Fn + F9 - F12) hotkeys not
      working on the Dinovo Edge.
      
      Note these receivers present themselves as a hub with 2 separate USB
      devices for the keyboard and mouse; and the logitech-dj code needs to
      bind to both devices (just as with the MX5x00 receivers).
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      434f7709
  7. 26 1月, 2021 1 次提交
  8. 08 1月, 2021 1 次提交
  9. 25 11月, 2020 2 次提交
  10. 09 11月, 2020 1 次提交
  11. 24 10月, 2020 1 次提交
  12. 31 8月, 2020 1 次提交
  13. 17 8月, 2020 1 次提交
  14. 21 7月, 2020 1 次提交
  15. 24 6月, 2020 1 次提交
  16. 16 6月, 2020 1 次提交
  17. 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
  18. 04 5月, 2020 1 次提交
  19. 17 3月, 2020 1 次提交
  20. 12 2月, 2020 1 次提交
  21. 13 12月, 2019 1 次提交
  22. 18 11月, 2019 1 次提交
  23. 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
  24. 03 9月, 2019 1 次提交
  25. 05 8月, 2019 2 次提交
  26. 02 7月, 2019 1 次提交
  27. 30 6月, 2019 1 次提交
  28. 26 6月, 2019 1 次提交
  29. 31 5月, 2019 1 次提交
  30. 24 4月, 2019 1 次提交
    • H
      HID: logitech-dj: add support for 27 MHz receivers · c9121cf6
      Hans de Goede 提交于
      Most Logitech wireless keyboard and mice using the 27 MHz are hidpp10
      devices, add support to logitech-dj for their receivers.
      
      Doing so leads to 2 improvements:
      
      1) All these devices share the same USB product-id for their receiver,
      making it impossible to properly map some special keys / buttons
      which differ from device to device. Adding support to logitech-dj to
      see these as hidpp10 devices allows us to get the actual device-id
      from the keyboard / mouse.
      
      2) It enables battery-monitoring of these devices
      
      This patch uses a new HID group for 27Mhz devices, since the logitech-hidpp
      code needs to be able to differentiate them from other devices instantiated
      by the logitech-dj code.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      c9121cf6
  31. 23 4月, 2019 1 次提交
  32. 27 3月, 2019 1 次提交
  33. 11 3月, 2019 2 次提交
    • A
      HID: quirks: Drop misused kernel-doc annotation · 78b92f5f
      Andy Shevchenko 提交于
      The kernel-doc annotation is misused for hid_mouse_ignore_list. The script
      complains about it:
      
      drivers/hid/hid-quirks.c:894: warning: cannot understand function prototype: 'const struct hid_device_id hid_mouse_ignore_list[] = '
      
      Drop the annotation to make script happy.
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      78b92f5f
    • L
      HID: quirks: use correct format chars in dbg_hid · 7d01427a
      Louis Taylor 提交于
      When building with -Wformat, clang warns:
      
      drivers/hid/hid-quirks.c:1075:27: warning: format specifies type
      'unsigned short' but the argument has type '__u32' (aka 'unsigned int')
      [-Wformat]
      		  bl_entry->driver_data, bl_entry->vendor,
      					 ^~~~~~~~~~~~~~~~
      ./include/linux/hid.h:1170:48: note: expanded from macro 'dbg_hid'
      	  printk(KERN_DEBUG "%s: " format, __FILE__, ##arg);      \
      				   ~~~~~~              ^~~
      drivers/hid/hid-quirks.c:1076:4: warning: format specifies type
      'unsigned short' but the argument has type '__u32' (aka 'unsigned int')
      [-Wformat]
      		  bl_entry->product);
      		  ^~~~~~~~~~~~~~~~~
      ./include/linux/hid.h:1170:48: note: expanded from macro 'dbg_hid'
      	  printk(KERN_DEBUG "%s: " format, __FILE__, ##arg);      \
      				   ~~~~~~              ^~~
      drivers/hid/hid-quirks.c:1242:12: warning: format specifies type
      'unsigned short' but the argument has type '__u32' (aka 'unsigned int')
      [-Wformat]
      		  quirks, hdev->vendor, hdev->product);
      			  ^~~~~~~~~~~~
      ./include/linux/hid.h:1170:48: note: expanded from macro 'dbg_hid'
      	  printk(KERN_DEBUG "%s: " format, __FILE__, ##arg);      \
      				   ~~~~~~              ^~~
      drivers/hid/hid-quirks.c:1242:26: warning: format specifies type
      'unsigned short' but the argument has type '__u32' (aka 'unsigned int')
      [-Wformat]
      		  quirks, hdev->vendor, hdev->product);
      					^~~~~~~~~~~~~
      ./include/linux/hid.h:1170:48: note: expanded from macro 'dbg_hid'
      	  printk(KERN_DEBUG "%s: " format, __FILE__, ##arg);      \
      				   ~~~~~~              ^~~
      4 warnings generated.
      
      This patch fixes the format strings to use the correct format type for unsigned
      ints.
      
      Link: https://github.com/ClangBuiltLinux/linux/issues/378Signed-off-by: NLouis Taylor <louis@kragniz.eu>
      Reviewed-by: NNick Desaulniers <ndesaulniers@google.com>
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      7d01427a