02 May, 2017

2 commits


13 Apr, 2017

1 commit

  • 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: Carlo Caione
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Carlo Caione
     

30 Mar, 2017

2 commits


21 Mar, 2017

3 commits


06 Mar, 2017

2 commits

  • Add support for media keys on the keyboard that comes with the
    Asus V221ID and ZN241IC All In One computers.

    The keys to support here are WLAN, BRIGHTNESSDOWN and BRIGHTNESSUP.

    This device is not visibly branded as Chicony, and the USB Vendor ID
    suggests that it is a JESS device. However this seems like the right place
    to put it: the usage codes are identical to the currently supported
    devices, and this driver already supports the ASUS AIO keyboard AK1D.

    Signed-off-by: Daniel Drake
    Signed-off-by: Jiri Kosina

    Daniel Drake
     
  • These adapters allow pre-USB Sun keyboards to be connected to USB-only
    machines, but include the wrong maximum keycode in their report descriptor,
    making most of the keys present on Sun keyboards but not 101-key PC
    keyboards nonfunctional.

    This patch implements a quirk that overrides the maximum keycode in the
    report descriptor.

    Signed-off-by: Jonathan Tomer
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Jonathan Tomer
     

12 Jan, 2017

1 commit


14 Dec, 2016

1 commit


30 Nov, 2016

1 commit


29 Nov, 2016

1 commit

  • Update the hid-asus module to add multitouch support for the Asus i2c touchpad.

    This patch aims to resolve the issue raised here:
    https://bugzilla.kernel.org/show_bug.cgi?id=120181

    The issue is in relation to an Asus touchpad device which currently does not
    have multitouch support.

    The device currently falls through to the hid-generic driver which
    treats the device as a mouse.

    This patch aims to add the multitouch support.

    [jkosina@suse.cz: move most of the 'patch comment' into actual changelog]
    [jkosina@suse.cz: drop hunk that changes ->name of the driver]
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Brendan McGrath
    Signed-off-by: Victor Vlasenko
    Signed-off-by: Frederik Wenigwieser
    Signed-off-by: Jiri Kosina

    Brendan McGrath
     

15 Nov, 2016

1 commit

  • This adds support for the THQ uDraw tablet for the PS3, as
    4 separate device nodes, so that user-space can easily consume
    events coming from the hardware.

    Note that the touchpad two-finger support is fairly unreliable,
    and a right-click can only be achieved with a two-finger tap
    with the two fingers slightly apart (about 1cm should be enough).

    Tested-by: Bastien Nocera
    Signed-off-by: Bastien Nocera
    Signed-off-by: Jiri Kosina

    Bastien Nocera
     

04 Nov, 2016

1 commit


07 Oct, 2016

1 commit


26 Sep, 2016

1 commit


17 Aug, 2016

1 commit

  • The ISH transport layer (ishtp) is a bi-directional protocol implemented
    on the top of PCI based inter processor communication layer. This layer
    offers:
    - Connection management
    - Flow control with the firmware
    - Multiple client sessions
    - Client message transfer
    - Client message reception
    - DMA for RX and TX for fast data transfer

    Refer to Documentation/hid/intel-ish-hid.txt for
    overview of the functionality implemented in this layer.

    Original-author: Daniel Drubin
    Reviewed-and-tested-by: Ooi, Joyce
    Tested-by: Grant Likely
    Tested-by: Rann Bar-On
    Tested-by: Atri Bhattacharya
    Signed-off-by: Srinivas Pandruvada
    Signed-off-by: Jiri Kosina

    Srinivas Pandruvada
     

05 Aug, 2016

1 commit


28 Jul, 2016

1 commit


12 Jul, 2016

1 commit

  • 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: Arnd Bergmann
    Reviewed-by: Benjamin Tissoires
    Fixes: 5a2b190cddb9 ("HID: logitech-hidpp: add battery support for HID++ 2.0 devices")
    Signed-off-by: Jiri Kosina

    Arnd Bergmann
     

07 Jul, 2016

2 commits


23 Jun, 2016

2 commits


18 Jun, 2016

3 commits

  • Add support Alps I2C HID Touchpad and Stick device.

    Signed-off-by: Masaki Ota
    Signed-off-by: Jiri Kosina

    Masaki Ota
     
  • The driver port was done carefully not to depend on USB at all, in favor of
    being generic HID driver instead. Therefore there is no need to explicitly
    talk about USB only in the config.

    Signed-off-by: Jiri Kosina

    Jiri Kosina
     
  • This patch migrates the USB LED driver to the HID subsystem.
    Supported are Dream Cheeky Webmail Notifier / Friends Alert
    and Riso Kagaku Webmail Notifier.

    Benefits:
    - Avoid using USB low-level calls and use the HID subsystem instead
    (as this device provides a USB HID interface)
    - Use standard LED subsystem instead of proprietary sysfs entries,
    this allows e.g. to use the device with features like triggers

    Successfully tested with a Dream Cheeky Webmail Notifier and a
    Riso Kagaku Webmail Notifier compatible device.

    Signed-off-by: Heiner Kallweit
    Signed-off-by: Jiri Kosina

    Heiner Kallweit
     

04 Apr, 2016

1 commit


01 Apr, 2016

1 commit

  • 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: Yusuke Fujimaki
    Signed-off-by: Jiri Kosina

    Yusuke Fujimaki
     

02 Mar, 2016

1 commit

  • The C-Media CM6533 is a USB audio chip featuring it's jack detection
    capability.The device originates an interrupt transfer via HID interface each
    time when a jack event occurs. The purpose of this patch is to handle hid raw
    events to keep the operating system informed of user interactions.

    Signed-off-by: Ben Chen
    Signed-off-by: Jiri Kosina

    Ben Chen
     

08 Nov, 2015

1 commit

  • Pull HID updates from Jiri Kosina:
    "Highlights:

    - Intel Skylake Win8 precision touchpads support fixes/improvements
    from Mika Westerberg

    - Lenovo Yoga 2 quirk from Ritesh Raj Sarraf

    - potential uninitialized buffer access fix in HID core from Richard
    Purdie

    - Wacom Intuos and Wacom Cintiq 2 support improvements from Jason
    Gerecke and Ping Cheng

    - initiation of sysfs deprecation process for most of the roccat
    drivers, from the roccat support maintiner Stefan Achatz

    - quite a few device ID / quirk additions and small fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (30 commits)
    HID: logitech: Add support for G29
    HID: logitech: Simplify wheel detection scheme
    HID: wacom: Call 'wacom_query_tablet_data' only after 'hid_hw_start'
    HID: wacom: Fix ABS_MISC reporting for Cintiq Companion 2
    HID: wacom: Remove useless conditions from 'wacom_query_tablet_data'
    HID: wacom: fix Intuos wireless report id issue
    HID: fix some indenting issues
    HID: wacom: Expect 'touch_max' touches if HID_DG_CONTACTCOUNT not present
    HID: wacom: Tie cached HID_DG_CONTACTCOUNT indices to report ID
    HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes
    HID: wacom: Report full pressure range for Intuos, Cintiq 13HD Touch
    HID: wacom: Add support for Cintiq Companion 2
    HID: multitouch: Fetch feature reports on demand for Win8 devices
    HID: sensor-hub: Add quirk for Lenovo Yoga 2 with ITE Chips
    HID: usbhid: Fix for the WiiU adapter from Mayflash
    HID: corsair: boolify struct k90_led.removed
    HID: corsair: Add Corsair Vengeance K90 driver
    HID: hid-input: allow input_configured callback return errors
    HID: multitouch: Add suffix for HID_DG_TOUCHPAD
    HID: i2c-hid: Fill in physical device providing HID functionality
    ...

    Linus Torvalds
     

07 Nov, 2015

1 commit


26 Oct, 2015

1 commit


01 Oct, 2015

1 commit

  • This patch implements a HID driver for the Corsair Vengeance K90 keyboard.

    It fixes the behaviour of the keys using incorrect HID usage codes and exposes
    the macro playback mode and current profile to the user space through sysfs
    attributes. It also adds two LED class devices controlling the "record" LED and
    the backlight.

    Signed-off-by: Clément Vuchener
    Signed-off-by: Jiri Kosina

    Clément Vuchener
     

04 Sep, 2015

1 commit


01 Sep, 2015

1 commit


18 Aug, 2015

1 commit

  • This gamepad advertise 5 absolute axis while 4 are actually used.
    The second Z axis shows some garbage, so it has to be ignored by HID.
    The first Z axis and the Rz one are actually Rx and Ry. Remap them.

    We could also just remap and ignore the axis in .input_mapping(). I
    went ahead with .report_fixup() first, so here it is.

    Reported-by: Orivej Desh
    Tested-by: Orivej Desh
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

24 Jul, 2015

1 commit