1. 27 3月, 2018 1 次提交
  2. 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
  3. 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
  4. 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
  5. 21 11月, 2017 1 次提交
  6. 09 11月, 2017 1 次提交
  7. 11 10月, 2017 1 次提交
  8. 02 10月, 2017 1 次提交
  9. 01 8月, 2017 1 次提交
  10. 22 6月, 2017 1 次提交
  11. 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
  12. 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
  13. 30 3月, 2017 2 次提交
  14. 21 3月, 2017 3 次提交
  15. 06 3月, 2017 2 次提交
  16. 12 1月, 2017 1 次提交
  17. 30 11月, 2016 1 次提交
  18. 29 11月, 2016 1 次提交
  19. 15 11月, 2016 1 次提交
  20. 04 11月, 2016 1 次提交
  21. 26 9月, 2016 1 次提交
  22. 17 8月, 2016 1 次提交
  23. 05 8月, 2016 1 次提交
  24. 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
  25. 07 7月, 2016 2 次提交
  26. 23 6月, 2016 2 次提交
  27. 18 6月, 2016 3 次提交
  28. 04 4月, 2016 1 次提交
  29. 01 4月, 2016 1 次提交
    • Y
      HID: Asus X205TA keyboard driver · eeb01a57
      Yusuke Fujimaki 提交于
      Asus X205TA built-in keyboard contains wrong
      logical maximum value in report descriptor.
      
      0x05, 0x01,  // Usage Page (Generic Desktop)
      0x09, 0x06,  // Usage (Keyboard)
      0xa1, 0x01,  // Collection (Application)
      0x85, 0x01,  // Report ID (1)
      0x05, 0x07,  // Usage Page (Keyboard/Keypad)
      0x19, 0xe0,  // Usage Minimum (224)
      0x29, 0xe7,  // Usage Maximum (231)
      0x15, 0x00,  // Logical Minimum (0)
      0x25, 0x01,  // Logical Maximum (1)
      0x75, 0x01,  // Report Size (1)
      0x95, 0x08,  // Report Count (8)
      0x81, 0x02,  // Input (Data,Array,Abs)
      0x95, 0x01,  // Report Count (1)
      0x75, 0x08,  // Report Size (8)
      0x81, 0x03,  // Input (Const,Var,Abs)
      0x95, 0x05,  // Report Count (5)
      0x75, 0x01,  // Report Size (1)
      0x05, 0x08,  // Usage (LED)
      0x19, 0x01,  // Usage Minimum (1)
      0x29, 0x05,  // Usage Maximum (5)
      0x91, 0x02,  // Output (Data,Var,Abs)
      0x95, 0x01,  // Report Count (1)
      0x75, 0x03,  // Report Size (3)
      0x91, 0x03,  // Output (Const,Var,Abs)
      0x95, 0x06,  // Report Count (6)
      0x75, 0x08,  // Report Size (8)
      0x15, 0x00,  // Logical Minimum (0)
      0x25, 0x65,  // Logical Maximum (101)  * too small *
      0x05, 0x07,  // Usage Page (Keyboard/Keypad)
      0x19, 0x00,  // Usage Minimum (0)
      0x29, 0xdd,  // Usage Maximum (221)
      0x81, 0x00,  // Input(Data,Array,Abs)
      
      In Asus X205TA japanese keyboard model,there are language
      specific keys over usage id 101.
      This patch correct wrong logical maximum in report
      descriptor.
      Signed-off-by: NYusuke Fujimaki <usk.fujimaki@gmail.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      eeb01a57
  30. 02 3月, 2016 1 次提交
  31. 26 10月, 2015 1 次提交