1. 17 3月, 2020 1 次提交
  2. 12 2月, 2020 1 次提交
  3. 13 12月, 2019 1 次提交
  4. 18 11月, 2019 1 次提交
  5. 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
  6. 03 9月, 2019 1 次提交
  7. 05 8月, 2019 2 次提交
  8. 02 7月, 2019 1 次提交
  9. 30 6月, 2019 1 次提交
  10. 26 6月, 2019 1 次提交
  11. 31 5月, 2019 1 次提交
  12. 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
  13. 23 4月, 2019 1 次提交
  14. 27 3月, 2019 1 次提交
  15. 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
  16. 21 2月, 2019 5 次提交
  17. 14 2月, 2019 1 次提交
  18. 07 12月, 2018 1 次提交
  19. 20 11月, 2018 1 次提交
  20. 08 11月, 2018 1 次提交
  21. 26 10月, 2018 1 次提交
  22. 12 10月, 2018 1 次提交
  23. 30 5月, 2018 1 次提交
  24. 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
  25. 16 2月, 2018 3 次提交
  26. 23 1月, 2018 3 次提交
    • H
      HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working · edfc3722
      Hans de Goede 提交于
      The Toshiba Click Mini uses an i2c attached keyboard/touchpad combo
      (single i2c_hid device for both) which has a vid:pid of 04F3:0401,
      which is also used by a bunch of Elan touchpads which are handled by the
      drivers/input/mouse/elan_i2c driver, but that driver deals with pure
      touchpads and does not work for a combo device such as the one on the
      Toshiba Click Mini.
      
      The combo on the Mini has an ACPI id of ELAN0800, which is not claimed
      by the elan_i2c driver, so check for that and if it is found do not ignore
      the device. This fixes the keyboard/touchpad combo on the Mini not working
      (although with the touchpad in mouse emulation mode).
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      edfc3722
    • 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
  27. 07 12月, 2017 2 次提交
    • 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
    • C
      HID: quirks: make array hid_quirks static · 332347d4
      Colin Ian King 提交于
      Array hid_quirks is local to the source and does not need to be in
      global scope, so make it static.
      
      Cleans up sparse warning:
      drivers/hid/hid-quirks.c:29:28: warning: symbol 'hid_quirks' was not
      declared. Should it be static?
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      332347d4