1. 10 10月, 2018 1 次提交
  2. 24 9月, 2018 1 次提交
  3. 05 9月, 2018 1 次提交
  4. 23 7月, 2018 1 次提交
  5. 30 5月, 2018 1 次提交
    • A
      HID: steam: select CONFIG_POWER_SUPPLY · 4b64487f
      Arnd Bergmann 提交于
      Using the power supply APIs requires selecting the appropriate
      Kconfig symbol, otherwise we get this build failure:
      
      drivers/hid/hid-steam.o: In function `steam_unregister':
      hid-steam.c:(.text+0x1cc): undefined reference to `power_supply_unregister'
      drivers/hid/hid-steam.o: In function `steam_battery_get_property':
      hid-steam.c:(.text+0x2d2): undefined reference to `power_supply_get_drvdata'
      drivers/hid/hid-steam.o: In function `steam_raw_event':
      hid-steam.c:(.text+0xcba): undefined reference to `power_supply_changed'
      drivers/hid/hid-steam.o: In function `steam_register':
      hid-steam.c:(.text+0x13e3): undefined reference to `power_supply_register'
      hid-steam.c:(.text+0x13fe): undefined reference to `power_supply_powers'
      
      Fixes: f8271979 ("HID: steam: add battery device.")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      4b64487f
  6. 15 5月, 2018 1 次提交
    • R
      HID: add driver for Valve Steam Controller · c164d6ab
      Rodrigo Rivas Costa 提交于
      There are two ways to connect the Steam Controller: directly to the USB
      or with the USB wireless adapter.  Both methods are similar, but the
      wireless adapter can connect up to 4 devices at the same time.
      
      The wired device will appear as 3 interfaces: a virtual mouse, a virtual
      keyboard and a custom HID device.
      
      The wireless device will appear as 5 interfaces: a virtual keyboard and
      4 custom HID devices, that will remain silent until a device is actually
      connected.
      
      The custom HID device has a report descriptor with all vendor specific
      usages, so the hid-generic is not very useful. In a PC/SteamBox Valve
      Steam Client provices a software translation by using hidraw and a
      creates a uinput virtual gamepad and XTest keyboard/mouse.
      
      This driver intercepts the hidraw usage, so it can get out of the way
      when the Steam Client is in use.
      Signed-off-by: NRodrigo Rivas Costa <rodrigorivascosta@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      c164d6ab
  7. 25 4月, 2018 1 次提交
  8. 17 4月, 2018 1 次提交
  9. 27 3月, 2018 1 次提交
  10. 06 3月, 2018 1 次提交
    • 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
  11. 16 2月, 2018 1 次提交
    • A
      HID: Add driver for USB ELAN Touchpad · 9a6a4193
      Alexandrov Stansilav 提交于
      This is driver for usb touchpad found on HP Pavilion x2 10-p0xx laptop. On this
      device keyboard and touchpad connected as a single usb device with two
      interfaces: keyboard, which exposes ordinary keys and second interface is
      touchpad which also contains FlightMode button and audio mute led (which
      physically placed on keyboard for some reason).
      
      Initially, this touchpad works in mouse emulation mode, this driver will switch
      it to touchpad mode, which can track 5 fingers and can report coordinates for
      two of them.
      Signed-off-by: NAlexandrov Stansilav <neko@nya.ai>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      9a6a4193
  12. 23 1月, 2018 1 次提交
    • 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
  13. 21 11月, 2017 1 次提交
  14. 09 11月, 2017 1 次提交
  15. 11 10月, 2017 1 次提交
  16. 02 10月, 2017 1 次提交
  17. 01 8月, 2017 1 次提交
  18. 22 6月, 2017 1 次提交
  19. 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
  20. 13 4月, 2017 1 次提交
    • C
      HID: asus: support backlight on USB keyboards · af22a610
      Carlo Caione 提交于
      The latest USB keyboards shipped on several ASUS laptop models
      (including ROG laptop models such as GL702VMK) have the keyboards
      backlight controlled by the keyboard firmware.
      
      The firmware implements at least 3 different commands:
      - Init command (to use when the system starts)
      - Configuration command (to get keyboard status/information)
      - Backlight level control (to change the level of the keyboard light)
      
      With this patch we create the usual 'asus::kbd_backlight' led class
      entry to control the keyboard backlight.
      
      [jkosina@suse.cz: remove pointless cancel_work_sync() call while
       handling an error in asus_kbd_register_leds(), as spotted by
       Benjamin]
      Signed-off-by: NCarlo Caione <carlo@endlessm.com>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      af22a610
  21. 30 3月, 2017 2 次提交
  22. 21 3月, 2017 3 次提交
  23. 06 3月, 2017 2 次提交
  24. 12 1月, 2017 1 次提交
  25. 30 11月, 2016 1 次提交
  26. 29 11月, 2016 1 次提交
  27. 15 11月, 2016 1 次提交
  28. 04 11月, 2016 1 次提交
  29. 26 9月, 2016 1 次提交
  30. 17 8月, 2016 1 次提交
  31. 05 8月, 2016 1 次提交
  32. 12 7月, 2016 1 次提交
    • A
      HID: logitech-hidpp: select CONFIG_POWER_SUPPLY · 351744aa
      Arnd Bergmann 提交于
      A recent commit added barry support to this driver, but that causes
      a link failure when CONFIG_POWER_SUPPLY is not set:
      
      drivers/hid/built-in.o: In function `hidpp_battery_get_property':
      :(.text+0x1a834): undefined reference to `power_supply_get_drvdata'
      drivers/hid/built-in.o: In function `hidpp_raw_event':
      :(.text+0x1b10c): undefined reference to `power_supply_changed'
      drivers/hid/built-in.o: In function `hidpp_connect_event':
      :(.text+0x1bd88): undefined reference to `devm_power_supply_register'
      :(.text+0x1be30): undefined reference to `power_supply_powers'
      
      This adds a dependency, identically to the other HID drivers that need this.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Fixes: 5a2b190c ("HID: logitech-hidpp: add battery support for HID++ 2.0 devices")
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      351744aa
  33. 07 7月, 2016 2 次提交
  34. 23 6月, 2016 1 次提交