1. 31 8月, 2020 1 次提交
  2. 17 8月, 2020 1 次提交
  3. 21 7月, 2020 1 次提交
  4. 24 6月, 2020 1 次提交
  5. 16 6月, 2020 1 次提交
  6. 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
  7. 04 5月, 2020 1 次提交
  8. 17 3月, 2020 1 次提交
  9. 12 2月, 2020 1 次提交
  10. 13 12月, 2019 1 次提交
  11. 18 11月, 2019 1 次提交
  12. 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
  13. 03 9月, 2019 1 次提交
  14. 05 8月, 2019 2 次提交
  15. 02 7月, 2019 1 次提交
  16. 30 6月, 2019 1 次提交
  17. 26 6月, 2019 1 次提交
  18. 31 5月, 2019 1 次提交
  19. 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
  20. 23 4月, 2019 1 次提交
  21. 27 3月, 2019 1 次提交
  22. 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
  23. 21 2月, 2019 5 次提交
  24. 14 2月, 2019 1 次提交
  25. 07 12月, 2018 1 次提交
  26. 20 11月, 2018 1 次提交
  27. 08 11月, 2018 1 次提交
  28. 26 10月, 2018 1 次提交
  29. 12 10月, 2018 1 次提交
  30. 30 5月, 2018 1 次提交
  31. 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
  32. 16 2月, 2018 1 次提交