Re: [GIT PULL] HID fixes

2021-04-15 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Apr 2021 15:51:04 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e7e3a53b30d6e6f54eef81400ddfe8b32224b77f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID fixes

2021-04-15 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID fixes. I wanted to send them earlier than for the last -rc, 
but then unfortunately many things interfered. The changes are all 
device/driver specific fixes.

=
- EV_KEY and EV_ABS regression fix for Wacom from Ping Cheng
- BIOS-specific quirk to fix some of the AMD_SFH-based systems, from Hans 
  de Goede
- other small error handling fixes and device ID additions
=

Thanks.


Douglas Gilbert (1):
  HID cp2112: fix support for multiple gpiochips

Hans de Goede (3):
  AMD_SFH: Removed unused activecontrolstatus member from the amd_mp2_dev 
struct
  AMD_SFH: Add sensor_mask module parameter
  AMD_SFH: Add DMI quirk table for BIOS-es which don't set the activestatus 
bits

Jia-Ju Bai (1):
  HID: alps: fix error return code in alps_input_configured()

Jiapeng Zhong (1):
  HID: wacom: Assign boolean values to a bool variable

Luke D Jones (1):
  HID: asus: Add support for 2021 ASUS N-Key keyboard

Ping Cheng (1):
  HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices

Shou-Chieh Hsu (1):
  HID: google: add don USB id

 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 40 +++---
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h |  1 -
 drivers/hid/hid-alps.c |  1 +
 drivers/hid/hid-asus.c |  3 +++
 drivers/hid/hid-cp2112.c   | 22 +--
 drivers/hid/hid-google-hammer.c|  2 ++
 drivers/hid/hid-ids.h  |  2 ++
 drivers/hid/wacom_wac.c|  8 +++
 8 files changed, 59 insertions(+), 20 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.12

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Feb 2021 11:53:51 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/69aea9d2843669387d100e353b5113d1adc9502f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID for 5.12

2021-02-23 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID susbsytem updates scheduled for 5.12. Highlights:

=
- support for "Unified Battery" feature on Logitech devices from Filipe 
  Laíns
- power management improvements for intel-ish driver from Zhang Lixu
- support for Goodix devices from Douglas Anderson
- improved handling of generic HID keyboard in order to make it easier for 
  userspace to figure out the details of the device, from Dmitry Torokhov
- Playstation DualSense support from Roderick Colenbrander
- other assorted small fixes and device ID additions.
=

You are going to get a trivial conflict in arch/arm64/configs/defconfig 
which is documented here:


https://lore.kernel.org/linux-next/20210119104536.50e08...@canb.auug.org.au/

Please let me know in case you'd like me to fix it and prepare merged 
branch for you.

Thanks.


Blaž Hrastnik (1):
  HID: multitouch: Set to high latency mode on suspend.

Colin Ian King (2):
  HID: lg-g15: make a const array static, makes object smaller
  HID: playstation: fix array size comparison (off-by-one)

Cristian Klein (1):
  HID: uclogic: Improve support for Trust Panora

Dmitry Torokhov (1):
  HID: hid-input: avoid splitting keyboard, system and consumer controls

Douglas Anderson (4):
  HID: i2c-hid: Reorganize so ACPI and OF are separate modules
  arm64: defconfig: Update config names for i2c-hid rejigger
  dt-bindings: input: HID: i2c-hid: Introduce bindings for the Goodix 
GT7375P
  HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core

Elia Devito (1):
  HID: Ignore battery for Elan touchscreen on HP Spectre X360 15-df0xxx

Filipe Laíns (3):
  HID: logitech-hidpp: add support for Unified Battery (1004) feature
  HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
  HID: logitech-dj: add support for the new lightspeed connection iteration

Hans de Goede (2):
  HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo 
Winpad A15
  HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E

Jason Gerecke (1):
  HID: wacom: Ignore attempts to overwrite the touch_max value from HID

Jian-Hong Pan (1):
  HID: chicony: Add Wireless Radio Control feature for Chicony devices

Jiapeng Chong (2):
  HID: wacom: convert sysfs sprintf/snprintf family to sysfs_emit
  HID: displays: convert sysfs sprintf/snprintf family to sysfs_emit

Nicolas Boichat (1):
  HID: google: Get HID report on probe to confirm tablet switch state

Randy Dunlap (11):
  Documentation: HID: hid-alps editing & corrections
  Documentation: HID: amd-sfh-hid editing & corrections
  Documentation: HID: hiddev editing & corrections
  Documentation: HID: intel-ish-hid editing & corrections
  Documentation: HID: hidraw editing & corrections
  Documentation: HID: hid-sensor editing & corrections
  Documentation: HID: hid-transport editing & corrections
  Documentation: HID: uhid editing & corrections
  HID: core: detect and skip invalid inputs to snto32()
  HID: correct kernel-doc notation in 
  HID: correct kernel-doc notation in hid-quirks.c

Roderick Colenbrander (13):
  HID: playstation: initial DualSense USB support.
  HID: playstation: use DualSense MAC address as unique identifier.
  HID: playstation: add DualSense battery support.
  HID: playstation: add DualSense touchpad support.
  HID: playstation: add DualSense accelerometer and gyroscope support.
  HID: playstation: track devices in list.
  HID: playstation: add DualSense Bluetooth support.
  HID: playstation: add DualSense classic rumble support.
  HID: playstation: report DualSense hardware and firmware version.
  HID: playstation: fix unused variable in ps_battery_get_property.
  HID: playstation: add initial DualSense lightbar support.
  HID: playstation: add microphone mute support for DualSense.
  HID: playstation: add DualSense player LED support.

Sanjay Govind (1):
  HID: sony: Add support for tilt on guitar hero guitars

Will McVicker (1):
  HID: make arrays usage and value to be the same

You-Sheng Yang (1):
  HID: intel-ish-hid: ipc: Add Tiger Lake H PCI device ID

Zhang Lixu (2):
  HID: intel-ish-hid: ipc: finish power flow for EHL OOB
  HID: intel-ish-hid: ipc: Address EHL Sx resume issues

 .../devicetree/bindings/input/goodix,gt7375p.yaml  |   65 +
 Documentation/hid/amd-sfh-hid.rst  |   22 +-
 Documentation/hid/hid-alps.rst |4 +-
 Documentation/hid/hid-sensor.rst   |   18 +-
 Documentation/hid/hid-transport.rst|   12 +-
 Documentation/hid/hiddev.rst   |   10 +-
 Documentation/hid/hidraw.rst   |5 +-
 Documentation/hid/intel-is

Re: [GIT PULL] HID fixes

2021-01-28 Thread pr-tracker-bot
The pull request you sent on Thu, 28 Jan 2021 09:38:19 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/25221c99c593bf888bd8faa67ca25b40f046e9f8

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID fixes

2021-01-28 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receve the following fixes for HID subsystem:

=
- NULL pointer dereference regression fix for Wacom driver (Jason Gerecke)
- functional regression fix for pam handling on some Elan and Synaptics  
  touchpads (Kai-Heng Feng)
=

Thanks.


Jason Gerecke (1):
  HID: wacom: Correct NULL dereference on AES pen proximity

Kai-Heng Feng (1):
  HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices

 drivers/hid/hid-multitouch.c | 3 ++-
 drivers/hid/wacom_sys.c  | 7 ---
 drivers/hid/wacom_wac.h  | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2021-01-14 Thread pr-tracker-bot
The pull request you sent on Thu, 14 Jan 2021 13:33:57 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2bbe17ae87938ca44756741ec77e3be76a4a0ea0

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID fixes

2021-01-14 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive fixes for HID subsystem;

=
- memory leak fix for Wacom driver (Ping Cheng)
- various trivial small fixes, cleanups and device ID additions
=

Thanks.


Arnd Bergmann (2):
  HID: sfh: fix address space confusion
  HID: sony: select CONFIG_CRC32

Filipe Laíns (1):
  HID: logitech-dj: add the G602 receiver

Kai-Heng Feng (1):
  HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad 
device

Nicholas Miell (1):
  HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth mode

Ping Cheng (1):
  HID: wacom: Fix memory leakage caused by kfifo_alloc

Seth Miller (1):
  HID: Ignore battery for Elan touchscreen on ASUS UX550

Tom Rix (2):
  HID: uclogic: remove h from printk format specifier
  HID: wiimote: remove h from printk format specifier

 drivers/hid/Kconfig  |  1 +
 drivers/hid/amd-sfh-hid/amd_sfh_client.c |  8 
 drivers/hid/amd-sfh-hid/amd_sfh_hid.h|  2 +-
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c   |  2 +-
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h   |  2 +-
 drivers/hid/hid-ids.h|  1 +
 drivers/hid/hid-input.c  |  2 ++
 drivers/hid/hid-logitech-dj.c|  4 
 drivers/hid/hid-logitech-hidpp.c |  2 ++
 drivers/hid/hid-multitouch.c |  4 
 drivers/hid/hid-uclogic-params.c |  2 +-
 drivers/hid/hid-wiimote-core.c   |  2 +-
 drivers/hid/wacom_sys.c  | 35 +---
 13 files changed, 55 insertions(+), 12 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.11

2020-12-16 Thread pr-tracker-bot
The pull request you sent on Wed, 16 Dec 2020 11:50:30 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/de925e2fbb44eed8a2a7ce166b485fed5eae01aa

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID for 5.11

2020-12-16 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive 5.11 HID subsystem queue. Highlights:

=
- AMD SFH (Sensor Fusion Hub) support, from Sandeep Singh
- increase of maximum HID report size to 16KB in order to support
  some of the modern devices, from Dean Camera
- control interface support for hidraw, from Dean Camera
- Sony DS4 power and firmware reporting fixes, from Roderick Colenbrander
- support for ghlive PS3/WII u dongles, from Pascal Giard
=

Thanks.


Coiby Xu (1):
  HID: i2c-hid: show the error when failing to fetch the HID descriptor

Colin Ian King (1):
  SFH: fix error return check for -ERESTARTSYS

Dean Camera (2):
  HID: Increase HID maximum report size to 16KB
  HID: hidraw: Add additional hidraw input/output report ioctls.

Ethan Warth (1):
  HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube 
Adapter

Gustavo A. R. Silva (2):
  HID: usbhid: Fix fall-through warnings for Clang
  HID: input: Fix fall-through warnings for Clang

Hans de Goede (2):
  HID: logitech-hidpp: Add hid_device_id for V470 bluetooth mouse
  HID: ite: Add support for Acer S1002 keyboard-dock

Jing Xiangfeng (1):
  HID: intel-ish-hid: Remove unnecessary assignment to variable rv

Jiri Kosina (2):
  HID: SFH: Add documentation
  HID: elecom: drop stray comment

Julian Sax (1):
  HID: i2c-hid: add Vero K147 to descriptor override

Luke D Jones (1):
  HID: asus: Add support for ASUS N-Key keyboard

Pascal Giard (1):
  HID: sony: support for ghlive ps3/wii u dongles

Rikard Falkeborn (1):
  HID: wacom: Constify attribute_groups

Roderick Colenbrander (3):
  HID: sony: Report more accurate DS4 power status.
  HID: sony: Don't use fw_version/hw_version for sysfs cleanup.
  HID: sony: Workaround for DS4 dongle hotplug kernel crash.

Sandeep Singh (5):
  SFH: Add maintainers and documentation for AMD SFH based on HID framework
  SFH: PCIe driver to add support of AMD sensor fusion hub
  SFH:Transport Driver to add support of AMD Sensor Fusion Hub (SFH)
  SFH: Create HID report to Enable support of AMD sensor fusion Hub (SFH)
  AMD_SFH: Fix for incorrect Sensor index

YOSHIOKA Takuma (2):
  HID: elecom: rewrite report based on model specific parameters
  HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse

dmitry.torok...@gmail.com (1):
  HID: hid-input: occasionally report stylus battery even if not changed

 Documentation/hid/amd-sfh-hid.rst  | 145 +
 Documentation/hid/hidraw.rst   |  45 +-
 Documentation/hid/index.rst|   1 +
 MAINTAINERS|   8 +
 drivers/hid/Kconfig|   3 +
 drivers/hid/Makefile   |   2 +
 drivers/hid/amd-sfh-hid/Kconfig|  18 +
 drivers/hid/amd-sfh-hid/Makefile   |  13 +
 drivers/hid/amd-sfh-hid/amd_sfh_client.c   | 246 
 drivers/hid/amd-sfh-hid/amd_sfh_hid.c  | 174 ++
 drivers/hid/amd-sfh-hid/amd_sfh_hid.h  |  67 +++
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 152 +
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h |  79 +++
 .../amd-sfh-hid/hid_descriptor/amd_sfh_hid_desc.c  | 224 +++
 .../amd-sfh-hid/hid_descriptor/amd_sfh_hid_desc.h  | 107 
 .../hid_descriptor/amd_sfh_hid_report_desc.h   | 645 +
 drivers/hid/hid-asus.c | 123 +++-
 drivers/hid/hid-elecom.c   |  51 +-
 drivers/hid/hid-ids.h  |   7 +
 drivers/hid/hid-input.c|   6 +-
 drivers/hid/hid-ite.c  |  13 +-
 drivers/hid/hid-logitech-hidpp.c   |   2 +
 drivers/hid/hid-mf.c   |   2 +
 drivers/hid/hid-quirks.c   |   3 +
 drivers/hid/hid-sony.c | 247 ++--
 drivers/hid/hidraw.c   |  24 +-
 drivers/hid/i2c-hid/i2c-hid-core.c |   5 +-
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c   |   8 +
 drivers/hid/intel-ish-hid/ishtp-hid.c  |   6 +-
 drivers/hid/usbhid/hid-core.c  |   2 +
 drivers/hid/wacom_sys.c|  16 +-
 include/linux/hid.h|   3 +-
 include/uapi/linux/hidraw.h|   6 +
 samples/hidraw/hid-example.c   |   2 +-
 34 files changed, 2360 insertions(+), 95 deletions(-)
 create mode 100644 Documentation/hid/amd-sfh-hid.rst
 create mode 100644 drivers/hid/amd-sfh-hid/Kconfig
 create mode 100644 drivers/hid/amd-sfh-hid/Makefile
 create mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_client.c
 create mode 100644 

Re: [GIT PULL] HID fixes

2020-11-22 Thread pr-tracker-bot
The pull request you sent on Sun, 22 Nov 2020 22:18:19 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d5530d82efc8631beff20480b1168b1c44294fe1

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID fixes

2020-11-22 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus


to receive HID subsystem fixes; namely:

=
- Various functionality / regression fixes for Logitech devices from Hans 
  de Goede
- Fix for (recently added) GPIO support in mcp2221 driver from Lars 
  Povlsen
- Power management handling fix/quirk in i2c-hid driver for certain BIOSes 
  that have strange aproach to power-cycle from Hans de Goede
- a few device ID additions and device-specific quirks
=

Thanks.


Chris Ye (1):
  HID: add HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE for Gamevice devices

Frank Yang (1):
  HID: cypress: Support Varmilo Keyboards' media hotkeys

Hans de Goede (7):
  HID: ite: Replace ABS_MISC 120/121 events with touchpad on/off keypresses
  HID: i2c-hid: Put ACPI enumerated devices in D3 on shutdown
  HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad
  HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo 
Edge
  HID: Add Logitech Dinovo Edge battery quirk
  HID: logitech-dj: Fix an error in mse_bluetooth_descriptor
  HID: logitech-dj: Fix Dinovo Mini when paired with a MX5x00 receiver

Harry Cutts (1):
  HID: logitech-hidpp: Add PID for MX Anywhere 2

Jiri Kosina (1):
  HID: add support for Sega Saturn

Lars Povlsen (1):
  HID: mcp2221: Fix GPIO output handling

Martijn van de Streek (1):
  HID: uclogic: Add ID for Trust Flex Design Tablet

Pablo Ceballos (1):
  HID: hid-sensor-hub: Fix issue with devices with no report ID

 drivers/hid/hid-cypress.c  | 44 +++
 drivers/hid/hid-ids.h  |  9 ++
 drivers/hid/hid-input.c|  3 ++
 drivers/hid/hid-ite.c  | 61 +-
 drivers/hid/hid-logitech-dj.c  | 22 +-
 drivers/hid/hid-logitech-hidpp.c   | 32 
 drivers/hid/hid-mcp2221.c  | 48 --
 drivers/hid/hid-quirks.c   |  5 
 drivers/hid/hid-sensor-hub.c   |  3 +-
 drivers/hid/hid-uclogic-core.c |  2 ++
 drivers/hid/hid-uclogic-params.c   |  2 ++
 drivers/hid/i2c-hid/i2c-hid-core.c |  9 ++
 12 files changed, 223 insertions(+), 17 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.10

2020-10-15 Thread pr-tracker-bot
The pull request you sent on Thu, 15 Oct 2020 20:52:36 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bf36c6b946c8895cf590f10dbd70b589b0dc101f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID for 5.10

2020-10-15 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem queue for 5.10. Highlights:

=
- Lenovo X1 Tablet support improvements from Mikael Wikström
- "heartbeat" report fix for several Wacom devices from Jason Gerecke
- bounds checking fix in hid-roccat from Dan Carpenter
- stylus battery reporting fix from Dmitry Torokhov
- i2c-hid support for wakeup from suspend-to-idle from Kai-Heng Feng
- new driver for Vivaldi devices from Sean O'Brien
- other assorted small fixes and device ID additions
=

Thanks.


BALATON Zoltan (1):
  HID: apple: Add support for Matias wireless keyboard

Colin Ian King (1):
  HID: alps: clean up indentation issue

Dan Carpenter (1):
  HID: roccat: add bounds checking in kone_sysfs_write_settings()

Dmitry Torokhov (1):
  HID: hid-input: fix stylus battery reporting

Douglas Anderson (1):
  HID: i2c-hid: Prefer asynchronous probe

Hans de Goede (1):
  HID: ite: Add USB id match for Acer One S1003 keyboard dock

Ian Abbott (2):
  HID: wiimote: make handlers[] const
  HID: wiimote: narrow spinlock range in wiimote_hid_event()

Jason Gerecke (1):
  HID: wacom: Avoid entering wacom_wac_pen_report for pad / battery

Kai-Heng Feng (1):
  HID: i2c-hid: Enable wakeup capability from Suspend-to-Idle

Laurent Gauthier (1):
  HID: hid-debug: fix nonblocking read semantics wrt EIO/ERESTARTSYS

Linus Walleij (1):
  HID: cp2112: Use irqchip template

Mikael Wikström (2):
  HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttons
  HID: multitouch: Lenovo X1 Tablet Gen2 trackpoint and buttons

Qinglang Miao (1):
  HID: intel-ish-hid: simplify the return expression of 
ishtp_bus_remove_device()

Sean O'Brien (1):
  HID: add vivaldi HID driver

Xiaofei Tan (2):
  HID: core: fix kerneldoc warnings in hid-core.c
  HID: i2c-hid: fix kerneldoc warnings in i2c-hid-core.c

 drivers/hid/Kconfig   |   9 +++
 drivers/hid/Makefile  |   1 +
 drivers/hid/hid-alps.c|   2 +-
 drivers/hid/hid-apple.c   |   2 +
 drivers/hid/hid-core.c|  15 +++-
 drivers/hid/hid-cp2112.c  |  19 ++---
 drivers/hid/hid-debug.c   |  10 +--
 drivers/hid/hid-ids.h |   3 +
 drivers/hid/hid-input.c   |   4 +-
 drivers/hid/hid-ite.c |   4 +
 drivers/hid/hid-multitouch.c  |  12 +++
 drivers/hid/hid-roccat-kone.c |  23 --
 drivers/hid/hid-vivaldi.c | 144 ++
 drivers/hid/hid-wiimote-core.c|  10 +--
 drivers/hid/i2c-hid/i2c-hid-core.c|  15 +++-
 drivers/hid/intel-ish-hid/ishtp/bus.c |   8 +-
 drivers/hid/wacom_wac.c   |   4 +-
 include/linux/hid.h   |   2 +
 18 files changed, 244 insertions(+), 43 deletions(-)
 create mode 100644 drivers/hid/hid-vivaldi.c

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2020-09-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Sep 2020 20:58:13 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fc3abb53250a90ba2150eebd182137c136f4d25a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID fixes

2020-09-02 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes. Most importantly:

=
- Data sanitization and validtion fixes for report descriptor parser from 
  Marc Zyngier
- memory leak fix for hid-elan driver from Dinghao Liu
- two device-specific quirks
=

Thanks.


Dinghao Liu (1):
  HID: elan: Fix memleak in elan_input_configured

Marc Zyngier (2):
  HID: core: Correctly handle ReportSize being zero
  HID: core: Sanitize event code and type when mapping input

Nicholas Miell (1):
  HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller

Nirenjan Krishnan (1):
  HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices

 drivers/hid/hid-core.c   | 15 +--
 drivers/hid/hid-elan.c   |  2 ++
 drivers/hid/hid-ids.h|  3 +++
 drivers/hid/hid-input.c  |  4 
 drivers/hid/hid-microsoft.c  |  2 ++
 drivers/hid/hid-multitouch.c |  2 ++
 drivers/hid/hid-quirks.c |  2 ++
 include/linux/hid.h  | 42 +-
 8 files changed, 57 insertions(+), 15 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2020-08-25 Thread pr-tracker-bot
The pull request you sent on Tue, 25 Aug 2020 10:14:56 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b9aa527ae38ba0ee998ced376b040fc92b0a2c03

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID fixes

2020-08-25 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes. Highlights:

=
- regression fix / revert of a commit that intended to reduce probing 
  delay by ~50ms, but introduced a race that causes quite a few devices
  not to enumerate, or get stuck on first IRQ
- buffer overflow fix in hiddev, from Peilin Ye
=

Thanks.


Hans de Goede (1):
  HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands

Jiri Kosina (1):
  Revert "HID: usbhid: do not sleep when opening device"

Peilin Ye (1):
  HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()

Rikard Falkeborn (2):
  HID: cougar: Constify cougar_id_table
  HID: macally: Constify macally_id_table

Sebastian Parschauer (1):
  HID: quirks: Always poll three more Lenovo PixArt mice

 drivers/hid/hid-cougar.c   |  2 +-
 drivers/hid/hid-ids.h  |  3 +++
 drivers/hid/hid-macally.c  |  2 +-
 drivers/hid/hid-quirks.c   |  3 +++
 drivers/hid/i2c-hid/i2c-hid-core.c | 22 +---
 drivers/hid/usbhid/hid-core.c  | 53 +-
 drivers/hid/usbhid/hiddev.c|  4 +++
 drivers/hid/usbhid/usbhid.h|  2 --
 8 files changed, 49 insertions(+), 42 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.9

2020-08-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 11:29:10 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b7b8e3689aa0b2def48b8c6eb1df060902eb2c0a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[GIT PULL] HID for 5.9

2020-08-10 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem updates for 5.9. Highlights:

=
- fix for some modern devices that return multi-byte battery report, 
  from Grant Likely
- fix for devices with Resolution Multiplier, from Peter Hutterer
- device probing speed increase, from Dmitry Torokhov
- ThinkPad 10 Ultrabook Keyboard support, from Hans de Goede
- other small assorted fixes and device ID additions
=

Thanks.


Alexander A. Klimov (3):
  HID: mcp2221: Replace HTTP links with HTTPS ones
  HID: udraw-ps3: Replace HTTP links with HTTPS ones
  HID: Replace HTTP links with HTTPS ones

Colin Ian King (1):
  HID: usbhid: remove redundant assignment to variable retval

Daniel G. Morse (1):
  HID: Wiimote: Treat the d-pad as an analogue stick

Dmitry Torokhov (1):
  HID: usbhid: do not sleep when opening device

Grant Likely (1):
  HID: input: Fix devices that return multiple bytes in battery report

Hans de Goede (6):
  HID: lenovo: Merge tpkbd and cptkbd data structures
  HID: lenovo: Factor out generic parts of the LED code
  HID: lenovo: Rename fn_lock sysfs attr handlers to make them generic
  HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard support
  HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard fn_lock support
  HID: lenovo: Fix spurious F23 key press report during resume from suspend

Ikjoon Jang (1):
  HID: quirks: add NOGET quirk for Logitech GROUP

Kai-Heng Feng (1):
  HID: intel-ish-hid: Replace PCI_DEV_FLAGS_NO_D3 with pci_save_state

Peter Hutterer (1):
  HID: input: do not run GET_REPORT unless there's a Resolution Multiplier

 drivers/hid/Kconfig |   2 +-
 drivers/hid/hid-cp2112.c|   2 +-
 drivers/hid/hid-ids.h   |   2 +
 drivers/hid/hid-input.c |  36 ++--
 drivers/hid/hid-lenovo.c| 360 +---
 drivers/hid/hid-mcp2221.c   |   2 +-
 drivers/hid/hid-quirks.c|   1 +
 drivers/hid/hid-udraw-ps3.c |   2 +-
 drivers/hid/hid-wiimote-core.c  |   5 +
 drivers/hid/hid-wiimote-modules.c   |  67 +++---
 drivers/hid/hid-wiimote.h   |   2 +
 drivers/hid/intel-ish-hid/ipc/pci-ish.c |  16 +-
 drivers/hid/usbhid/hid-core.c   |  55 ++---
 drivers/hid/usbhid/usbhid.h |   2 +
 14 files changed, 404 insertions(+), 150 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2020-07-17 Thread pr-tracker-bot
The pull request you sent on Fri, 17 Jul 2020 14:01:54 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/60541fb62438c6abd821874cfc3a24d280d1cbbf

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2020-07-17 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes.

=
- linked list race condition fix in hid-steam driver from Rodrigo Rivas 
  Costa
- assorted deviceID-specific quirks and other small cosmetic cleanups
=

Thanks.


Caiyuan Xie (1):
  HID: alps: support devices with report id 2

David Rheinsberg (1):
  MAINTAINERS: update uhid and hid-wiimote entry

Dmitry Torokhov (1):
  HID: magicmouse: do not set up autorepeat

Federico Ricchiuto (1):
  HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override

Hans de Goede (1):
  HID: apple: Disable Fn-key key-re-mapping on clone keyboards

James Hilliard (1):
  HID: quirks: Ignore Simply Automated UPB PIM

Maciej S. Szmigiero (1):
  HID: logitech-hidpp: avoid repeated "multiplier = " log messages

Mazin Rezk (1):
  HID: logitech: Use HIDPP_RECEIVER_INDEX instead of 0xff

Rodrigo Rivas Costa (1):
  HID: steam: fixes race in handling device list.

Sebastian Parschauer (1):
  HID: quirks: Always poll Obins Anne Pro 2 keyboard

 MAINTAINERS  |  4 ++--
 drivers/hid/hid-alps.c   |  2 ++
 drivers/hid/hid-apple.c  | 18 ++
 drivers/hid/hid-ids.h|  3 +++
 drivers/hid/hid-logitech-dj.c|  6 +++---
 drivers/hid/hid-logitech-hidpp.c |  2 +-
 drivers/hid/hid-magicmouse.c |  6 ++
 drivers/hid/hid-quirks.c |  2 ++
 drivers/hid/hid-steam.c  |  6 --
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c |  8 
 10 files changed, 49 insertions(+), 8 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.8

2020-06-04 Thread pr-tracker-bot
The pull request you sent on Wed, 3 Jun 2020 22:31:00 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a789d5f8a99a366778a6e42b3700a246244201a6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID for 5.8

2020-06-03 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem updates for 5.8. Highlights:

=
- hid-mcp2221 GPIO support, from Rishi Gupta
- MT_CLS_WIN_8_DUAL obsolete quirk removal from hid-multitouch, from 
  Kai-Heng Feng
- a bunch of new hardware support to hid-asus driver, from Hans de Goede
- other assorted small fixes, cleanups and device-specific quirks
=

Thanks.


Arnd Bergmann (1):
  HID: intel-ish-hid: avoid bogus uninitialized-variable warning

Benjamin Tissoires (1):
  HID: multitouch: enable multi-input as a quirk for some devices

Christophe JAILLET (1):
  HID: fix typo in Kconfig

Cristian Klein (1):
  HID: Add quirks for Trust Panora Graphic Tablet

Filipe Laíns (1):
  HID: logitech: drop outdated references to unifying receivers

Hans de Goede (7):
  HID: asus: Only set EV_REP if we are adding a mapping
  HID: asus: Simplify skipping of mappings for Asus T100CHI keyboard-dock
  HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check
  HID: asus: Add report_size to struct asus_touchpad_info
  HID: asus: Add support for multi-touch touchpad on Medion Akoya E1239T
  HID: asus: Fix mute and touchpad-toggle keys on Medion Akoya E1239T
  HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option

Julian Sax (1):
  HID: i2c-hid: add Schneider SCL142ALM to descriptor override

Kai-Heng Feng (1):
  HID: multitouch: Remove MT_CLS_WIN_8_DUAL

Rishi Gupta (1):
  HID: mcp2221: add GPIO functionality support

Scott Shumate (1):
  HID: sony: Fix for broken buttons on DS3 USB dongles

free5lot (1):
  HID: apple: Swap the Fn and Left Control keys on Apple keyboards

 drivers/hid/Kconfig |  11 +-
 drivers/hid/hid-apple.c |  30 -
 drivers/hid/hid-asus.c  | 122 
 drivers/hid/hid-ids.h   |  12 +-
 drivers/hid/hid-logitech-dj.c   |   4 +-
 drivers/hid/hid-logitech-hidpp.c|   2 +-
 drivers/hid/hid-mcp2221.c   | 169 
 drivers/hid/hid-multitouch.c|  60 --
 drivers/hid/hid-quirks.c|   1 +
 drivers/hid/hid-sony.c  |  17 +++
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c|   8 ++
 drivers/hid/intel-ish-hid/ishtp-fw-loader.c |   2 +
 12 files changed, 364 insertions(+), 74 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.7

2020-05-09 Thread Samuel Čavoj
On 03.04.2020 12:05, Jiri Kosina wrote:
> It would still be possible to access the report via hidraw, and maybe 
> that's analogy of what the Windows driver/special Glorious software :) 
> does, I don't know. It's hard to believe that Windows would be actually 
> willing to report any changes coming through HID_MAIN_ITEM_CONSTANT 
> reports, but who knows.

I did some research of what other HID implementations do in this
situation and would like to share it here.

Windows, as we already know, does not seem to mind the CONST flag and
accepts the reports just fine. Of course, whether this is the general
behaviour or only a special case, we can only speculate, short of
emulating devices with the descriptors incorrect in some way or another,
either in software or with some sort of microcontroller. I haven't yet
set out to do this, but I might eventually.

macOS (tested a 10.13 hackintosh) accepts the reports just fine. This
platform is an interesting case, because Apple's HID stack is
open-source. Assuming I understand the code correctly, the logic which
filters out padding is found in HIDIsButtonOrValue.c of the IOHIDFamily
component. The file can be found here[1]. The author(?) helpfully
provides a description in the changelog:

11/1/99BWS [2405720]
We need a better check for 'bit padding' items, 

  
rather than just is constant. We will check to make sure the
item is constant, and has no usage, or zero usage.

I am not particularly well-versed in HID, but this sounds like a
reasonable solution. Is there anything preventing this approach in
Linux? While doing the initial research when I was working on the
original patch, I noticed some code was purposefully setting the CONST
flag in order to get reports ignored. Food for thought, especially for
someone who knows what they are doing, unlike me :D

FreeBSD, to my limited knowledge, only includes a basic HID driver
in the kernel, capable of boot protocol mice and keyboards. There is a
userspace daemon, uhidd, which grabs the raw ugen device and submits
keycodes to a virtual keyboard (or mouse) with more comprehensive
support for consumer control and such. It ignores the reports as can be
seen on L318 of uhidd_cc.c [2].

I don't currently have access to other platforms, although I don't even
know of any with a comprehensive HID implementation. Maybe game consoles?

Of course, I am not sure this is worth the effort in the first place, I
was just curious. Also, not sure if I mentioned this before, I reached
out to the hardware manufacturer about this issue, they haven't
responded. Not a surprise.

Sam

[1]: 
https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-1446.61.2/IOHIDSystem/IOHIDDescriptorParser/
[2]: https://github.com/kaiwang27/uhidd/blob/master/uhidd/uhidd_cc.c#L318


Re: [GIT PULL] HID subsystem fixes

2020-05-04 Thread pr-tracker-bot
The pull request you sent on Tue, 5 May 2020 00:18:38 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/47cf1b422e6093aee2a3e55d5e162112a2c69870

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID subsystem fixes

2020-05-04 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsytem fixes.

=
- Wacom driver functional and regression fixes from Jason Gerecke
- race condition fix in usbhid, found by syzbot and fixed by Alan Stern
- a few device-specific quirks and ID additions
=

Thanks.


Alan Stern (1):
  HID: usbhid: Fix race between usbhid_close() and usbhid_stop()

Arnd Bergmann (1):
  HID: mcp2221: add gpiolib dependency

Artem Borisov (1):
  HID: alps: Add AUI1657 device ID

Daniel Playfair Cal (1):
  HID: i2c-hid: reset Synaptics SYNA2393 on resume

Fabian Schindlatz (1):
  HID: logitech: Add support for Logitech G11 extra keys

Hans de Goede (1):
  HID: quirks: Add HID_QUIRK_NO_INIT_REPORTS quirk for Dell K12A 
keyboard-dock

Jason Gerecke (3):
  HID: wacom: Read HID_DG_CONTACTMAX directly for non-generic devices
  Revert "HID: wacom: generic: read the number of expected touches on a per 
collection basis"
  HID: wacom: Report 2nd-gen Intuos Pro S center button status over BT

Jiri Kosina (1):
  HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead

Sebastian Reichel (1):
  HID: multitouch: add eGalaxTouch P80H84 support

 drivers/hid/Kconfig|  1 +
 drivers/hid/hid-alps.c |  1 +
 drivers/hid/hid-ids.h  |  8 +++-
 drivers/hid/hid-lg-g15.c   |  4 ++
 drivers/hid/hid-multitouch.c   |  3 ++
 drivers/hid/hid-quirks.c   |  1 +
 drivers/hid/i2c-hid/i2c-hid-core.c |  2 +
 drivers/hid/usbhid/hid-core.c  | 37 
 drivers/hid/usbhid/usbhid.h|  1 +
 drivers/hid/wacom_sys.c|  4 +-
 drivers/hid/wacom_wac.c| 88 ++
 11 files changed, 74 insertions(+), 76 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.4

2019-09-23 Thread pr-tracker-bot
The pull request you sent on Sun, 22 Sep 2019 22:49:57 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1ad0bc78948652edc3067b6b49ba31b1598faa4a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID for 5.4

2019-09-22 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive merge window updates for HID subsystem:

=
- syzbot memory corruption fixes for hidraw, Prodikeys, Logitech and Sony 
  drivers from Alan Stern and Roderick Colenbrander
- stuck 'fn' key fix for hid-apple from Joao Moreno
- proper propagation of EPOLLOUT from hiddev and hidraw, from
  Fabian Henneke
- fixes for handling power management for intel-ish devices with NO_D3 
  flag set, from Zhang Lixu
- extension of supported usage range for customer page, as some Logitech 
  devices are actually making use of it. From Olivier Gay.
- hid-multitouch is no longer filtering mice node creation, from Benjamin 
  Tissoires
- MobileStudio Pro 13 support, from Ping Cheng
- a few other device ID additions and assorted smaller fixes
=

Thanks.


Aaron Armstrong Skomra (1):
  HID: wacom: support named keys on older devices

Alan Stern (3):
  HID: hidraw: Fix invalid read in hidraw_ioctl
  HID: logitech: Fix general protection fault caused by Logitech driver
  HID: prodikeys: Fix general protection fault during probe

Bastien Nocera (1):
  HID: sb0540: add support for Creative SB0540 IR receivers

Benjamin Tissoires (5):
  HID: wacom: do not call hid_set_drvdata(hdev, NULL)
  HID: do not call hid_set_drvdata(hdev, NULL) in drivers
  HID: multitouch: do not filter mice nodes
  HID: multitouch: add support for the Smart Tech panel
  HID: logitech-dj: add support of the G700(s) receiver

Fabian Henneke (2):
  hidraw: Return EPOLLOUT from hidraw_poll
  hiddev: Return EPOLLOUT from hiddev_poll

Filipe Laíns (1):
  hid-logitech-dj: add the new Lightspeed receiver

Hans de Goede (1):
  HID: logitech-dj: Fix crash when initial 
logi_dj_recv_query_paired_devices fails

HungNien Chen (1):
  HID: i2c-hid: modify quirks for weida's devices

Jason Gerecke (1):
  HID: wacom: Fix several minor compiler warnings

Joao Moreno (1):
  HID: apple: Fix stuck function keys when using FN

Joshua Clayton (3):
  HID: core: reformat and reduce hid_printk macros
  HID: core: Add printk_once variants to hid_warn() etc
  HID: core: fix dmesg flooding if report field larger than 32bit

Olivier Gay (1):
  HID: logitech-dj: extend consumer usages range

Ping Cheng (1):
  HID: wacom: add new MobileStudio Pro 13 support

Roderick Colenbrander (1):
  HID: sony: Fix memory corruption issue on cleanup.

Sebastian Parschauer (1):
  HID: Add quirk for HP X500 PIXART OEM mouse

Zhang Lixu (3):
  HID: intel-ish-hid: ipc: set NO_D3 flag only when needed
  HID: intel-ish-hid: ipc: make ish suspend paths clear
  HID: intel-ish-hid: ipc: check the NO_D3 flag to distinguish resume paths

 MAINTAINERS |   6 +
 drivers/hid/Kconfig |   9 ++
 drivers/hid/Makefile|   1 +
 drivers/hid/hid-apple.c |  49 +++---
 drivers/hid/hid-core.c  |   4 +-
 drivers/hid/hid-cougar.c|   6 +-
 drivers/hid/hid-creative-sb0540.c   | 268 
 drivers/hid/hid-gfrm.c  |   7 -
 drivers/hid/hid-ids.h   |   5 +-
 drivers/hid/hid-lenovo.c|   2 -
 drivers/hid/hid-lg.c|  10 +-
 drivers/hid/hid-lg4ff.c |   1 -
 drivers/hid/hid-logitech-dj.c   |  32 ++--
 drivers/hid/hid-multitouch.c|  37 -
 drivers/hid/hid-picolcd_core.c  |   7 +-
 drivers/hid/hid-prodikeys.c |  12 +-
 drivers/hid/hid-quirks.c|   1 +
 drivers/hid/hid-sensor-hub.c|   1 -
 drivers/hid/hid-sony.c  |   2 +-
 drivers/hid/hidraw.c|   4 +-
 drivers/hid/i2c-hid/i2c-hid-core.c  |   4 +-
 drivers/hid/intel-ish-hid/ipc/hw-ish.h  |   1 +
 drivers/hid/intel-ish-hid/ipc/ipc.c |   2 +-
 drivers/hid/intel-ish-hid/ipc/pci-ish.c |  95 ++-
 drivers/hid/usbhid/hiddev.c |   2 +-
 drivers/hid/wacom_sys.c |  25 ++-
 drivers/hid/wacom_wac.c |  76 -
 include/linux/hid.h |  43 ++---
 28 files changed, 561 insertions(+), 151 deletions(-)
 create mode 100644 drivers/hid/hid-creative-sb0540.c

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2019-08-20 Thread pr-tracker-bot
The pull request you sent on Tue, 20 Aug 2019 14:53:48 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/15d90b242290f228166ea79ee1cc2db6b31a2143

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2019-08-20 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes:

=
- a few regression fixes for wacom driver (including fix for my earlier 
  mismerge) from Aaron Armstrong Skomra and Jason Gerecke
- revert of a few Logitech device ID additions which turn out to not work 
  perfectly with the hidpp driver at the moment; proper support is now 
  scheduled for 5.4. Fixes from Benjamin Tissoires
- scheduling-in-atomic fix for cp2112 driver, from Benjamin Tissoires
- new device ID to intel-ish, from Even Xu
=

Thanks.


Aaron Armstrong Skomra (2):
  HID: wacom: add back changes dropped in merge commit
  HID: wacom: correct misreported EKR ring values

Benjamin Tissoires (3):
  Revert "HID: logitech-hidpp: add USB PID for a few more supported mice"
  HID: logitech-hidpp: remove support for the G700 over USB
  HID: cp2112: prevent sleeping function called from invalid context

Even Xu (1):
  HID: intel-ish-hid: ipc: add EHL device id

Jason Gerecke (1):
  HID: wacom: Correct distance scale for 2nd-gen Intuos devices

 drivers/hid/hid-cp2112.c|  8 ++--
 drivers/hid/hid-logitech-hidpp.c| 22 --
 drivers/hid/intel-ish-hid/ipc/hw-ish.h  |  1 +
 drivers/hid/intel-ish-hid/ipc/pci-ish.c |  1 +
 drivers/hid/wacom_wac.c |  7 +--
 5 files changed, 13 insertions(+), 26 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2019-08-06 Thread pr-tracker-bot
The pull request you sent on Tue, 6 Aug 2019 12:59:39 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f4eb1423e43376bec578c5696635b074c8bd2035

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2019-08-06 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes:

=
- functional regression fix for some of the Logitech unifying devices, 
  from Hans de Goede
- race condition fix in hid-sony for bug severely affecting Valve/Android 
  deployments, from Roderick Colenbrander
- several fixes for issues found by syzbot/kasan, from Oliver Neukum and 
  Hillf Danton
- functional regression fix for Wacom Cintiq device, from Aaron Armstrong 
  Skomra
- a few other assorted device-specific quirks
=

Thanks.


Aaron Armstrong Skomra (1):
  HID: wacom: fix bit shift for Cintiq Companion 2

Filipe Laíns (3):
  HID: logitech-dj: rename "gaming" receiver to "lightspeed"
  HID: logitech-hidpp: add USB PID for a few more supported mice
  HID: logitech-dj: add the Powerplay receiver

Hans de Goede (1):
  HID: logitech-dj: Really fix return value of 
logi_dj_recv_query_hidpp_devices

Hillf Danton (2):
  HID: hiddev: avoid opening a disconnected device
  HID: hiddev: do cleanup in failure of opening a device

Ilya Trukhanov (1):
  HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT

István Váradi (1):
  HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52

Nicolas Saenz Julienne (1):
  HID: input: fix a4tech horizontal wheel custom usage

Oliver Neukum (1):
  HID: holtek: test for sanity of intfdata

Roderick Colenbrander (1):
  HID: sony: Fix race condition between rumble and device remove.

Sebastian Parschauer (1):
  HID: Add quirk for HP X1200 PIXART OEM mouse

 drivers/hid/hid-a4tech.c | 30 +++---
 drivers/hid/hid-holtek-kbd.c |  9 +++--
 drivers/hid/hid-ids.h|  5 -
 drivers/hid/hid-logitech-dj.c| 10 +++---
 drivers/hid/hid-logitech-hidpp.c | 32 +++-
 drivers/hid/hid-quirks.c |  2 ++
 drivers/hid/hid-sony.c   | 15 ---
 drivers/hid/hid-tmff.c   | 12 
 drivers/hid/usbhid/hiddev.c  | 12 
 drivers/hid/wacom_wac.c  | 12 ++--
 10 files changed, 120 insertions(+), 19 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.3

2019-07-11 Thread pr-tracker-bot
The pull request you sent on Wed, 10 Jul 2019 01:47:48 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4832a4dada1a2baefac76b70e4f3a78e71a7c35c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID for 5.3

2019-07-09 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive 5.3 merge window HID subsystem updates. Highlights:

=
- Documentation conversion to ReST, from Mauro Carvalho Chehab
- Wacom MobileStudio Pro support, from Ping Cheng
- Wacom 2nd Gen Intuos Pro Small support, from Aaron Armstrong Skomra
- assorted small fixes and device ID additions
=

Thanks.


Aaron Armstrong Skomra (8):
  HID: wacom: generic: only switch the mode on devices with LEDs
  HID: wacom: generic: Correct pad syncing
  HID: wacom: correct touch resolution x/y typo
  HID: wacom: Add 2nd gen Intuos Pro Small support
  HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
  HID: wacom: generic: support the 'report valid' usage for touch
  HID: wacom: generic: read the number of expected touches on a per 
collection basis
  HID: wacom: generic: add touchring adjustment for 2nd Gen Pro Small

Colin Ian King (2):
  HID: logitech-dj: make const array template static
  HID: logitech-hidpp: HID: make const array consumer_rdesc_start static

Hans de Goede (1):
  HID: logitech-dj: Add usb-id for the 27MHz MX3000 receiver

Mauro Carvalho Chehab (1):
  docs: hid: convert to ReST

Ping Cheng (1):
  HID: wacom: add new MobileStudio Pro support

Sebastian Parschauer (1):
  HID: Add another Primax PIXART OEM mouse quirk

Song Hongyan (1):
  HID: remove NO_D3 flag when remove driver

Wang Xuerui (1):
  HID: uclogic: Add support for Ugee Rainbow CV720

YueHaibing (1):
  HID: logitech-dj: fix return value of logi_dj_recv_query_hidpp_devices

 Documentation/hid/{hid-alps.txt => hid-alps.rst}   |  87 +++-
 .../hid/{hid-sensor.txt => hid-sensor.rst} | 194 +
 .../hid/{hid-transport.txt => hid-transport.rst}   |  82 +++-
 Documentation/hid/{hiddev.txt => hiddev.rst}   | 154 ---
 Documentation/hid/{hidraw.txt => hidraw.rst}   |  53 ++-
 Documentation/hid/index.rst|  18 +
 Documentation/hid/intel-ish-hid.rst| 485 +
 Documentation/hid/intel-ish-hid.txt| 454 ---
 Documentation/hid/{uhid.txt => uhid.rst}   |  46 +-
 Documentation/input/input.rst  |   2 +-
 MAINTAINERS|   2 +-
 drivers/hid/hid-ids.h  |   2 +
 drivers/hid/hid-lg.c   |   2 -
 drivers/hid/hid-logitech-dj.c  |  19 +-
 drivers/hid/hid-logitech-hidpp.c   |   2 +-
 drivers/hid/hid-quirks.c   |   1 +
 drivers/hid/hid-uclogic-core.c |   2 +
 drivers/hid/hid-uclogic-params.c   |   2 +
 drivers/hid/intel-ish-hid/ipc/pci-ish.c|   1 +
 drivers/hid/wacom_sys.c|  13 +-
 drivers/hid/wacom_wac.c| 152 +--
 drivers/hid/wacom_wac.h|   3 +
 22 files changed, 1049 insertions(+), 727 deletions(-)
 rename Documentation/hid/{hid-alps.txt => hid-alps.rst} (64%)
 rename Documentation/hid/{hid-sensor.txt => hid-sensor.rst} (61%)
 rename Documentation/hid/{hid-transport.txt => hid-transport.rst} (93%)
 rename Documentation/hid/{hiddev.txt => hiddev.rst} (77%)
 rename Documentation/hid/{hidraw.txt => hidraw.rst} (89%)
 create mode 100644 Documentation/hid/index.rst
 create mode 100644 Documentation/hid/intel-ish-hid.rst
 delete mode 100644 Documentation/hid/intel-ish-hid.txt
 rename Documentation/hid/{uhid.txt => uhid.rst} (94%)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2019-06-27 Thread pr-tracker-bot
The pull request you sent on Thu, 27 Jun 2019 11:37:47 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/763cf1f2d9bfc8349c5791689074c8c17edf660d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2019-06-27 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive the following fixes for HID subsystem:

=
- fix for one corner case in HID++ protocol with respect to handling very 
  long reports, from Hans de Goede
- power management fix in Intel-ISH driver, from Hyungwoo Yang
- use-after-free fix in Intel-ISH driver, from Dan Carpenter
- a couple of new device IDs/quirks from Kai-Heng Feng, Kyle Godbey and 
  Oleksandr Natalenko
=

Thanks.


Dan Carpenter (1):
  HID: intel-ish-hid: Fix a use after free in load_fw_from_host()

Hans de Goede (1):
  HID: logitech-dj: Fix forwarding of very long HID++ reports

Hyungwoo Yang (1):
  HID: intel-ish-hid: fix wrong driver_data usage

Kai-Heng Feng (1):
  HID: multitouch: Add pointstick support for ALPS Touchpad

Kyle Godbey (1):
  HID: uclogic: Add support for Huion HS64 tablet

Oleksandr Natalenko (1):
  HID: chicony: add another quirk for PixArt mouse

 drivers/hid/hid-ids.h|  3 +++
 drivers/hid/hid-logitech-dj.c|  4 +++-
 drivers/hid/hid-multitouch.c |  4 
 drivers/hid/hid-quirks.c |  1 +
 drivers/hid/hid-uclogic-core.c   |  2 ++
 drivers/hid/hid-uclogic-params.c |  2 ++
 drivers/hid/intel-ish-hid/ishtp-fw-loader.c  |  2 +-
 drivers/hid/intel-ish-hid/ishtp-hid-client.c |  4 ++--
 drivers/hid/intel-ish-hid/ishtp/bus.c| 15 ++-
 include/linux/intel-ish-client-if.h  |  1 +
 10 files changed, 33 insertions(+), 5 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes for 5.2-rc

2019-06-13 Thread pr-tracker-bot
The pull request you sent on Thu, 13 Jun 2019 16:37:20 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c11fb13a117e5a6736481c779cb971249ed96016

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes for 5.2-rc

2019-06-13 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive fixes for HID subsystem; highlights:

=
- regression fixes (reverts) for module loading changes that turned out to
  be incompatible with some userspace, from Benjamin Tissoires
- regression fix for special Logitech unifiying receiver 0xc52f, from Hans 
  de Goede
- a few device ID additions to logitech driver, from Hans de Goede
- fix for Bluetooth support on 2nd-gen Wacom Intuos Pro, from Jason 
  Gerecke
=

Thanks.


Benjamin Tissoires (4):
  HID: multitouch: handle faulty Elo touch device
  Revert "HID: Increase maximum report size allowed by hid_field_extract()"
  Revert "HID: core: Do not call request_module() in async context"
  Revert "HID: core: Call request_module before doing device_add"

Błażej Szczygieł (1):
  HID: a4tech: fix horizontal scrolling

Hans de Goede (4):
  HID: logitech-dj: add support for the Logitech MX5500's Bluetooth 
Mini-Receiver
  HID: logitech-hidpp: add support for the MX5500 keyboard
  HID: logitech-hidpp: Add support for the S510 remote control
  HID: logitech-dj: Fix 064d:c52f receiver support

Jason Gerecke (5):
  HID: wacom: Don't set tool type until we're in range
  HID: wacom: Don't report anything prior to the tool entering range
  HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact
  HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth
  HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary

Joseph Salisbury (1):
  HID: hyperv: Add a module description line

Kai-Heng Feng (1):
  HID: i2c-hid: add iBall Aer3 to descriptor override

Tobias Auerochs (1):
  HID: rmi: Use SET_REPORT request on control endpoint for Acer Switch 3 
and 5

 drivers/hid/hid-a4tech.c | 11 +++--
 drivers/hid/hid-core.c   | 16 ++-
 drivers/hid/hid-hyperv.c |  2 +
 drivers/hid/hid-ids.h|  1 +
 drivers/hid/hid-logitech-dj.c| 50 +++---
 drivers/hid/hid-logitech-hidpp.c |  9 
 drivers/hid/hid-multitouch.c |  7 
 drivers/hid/hid-rmi.c| 15 ++-
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c |  8 
 drivers/hid/wacom_wac.c  | 71 ++--
 10 files changed, 136 insertions(+), 54 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.2

2019-05-07 Thread pr-tracker-bot
The pull request you sent on Mon, 6 May 2019 16:03:43 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b4dd05dee0dbd16afdbba83b698a7110c687be2d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID for 5.2

2019-05-06 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive 5.2 merge window updates for HID subsystem. Highlights:

=
- support for U2F Zero device, from Andrej Shadura
- logitech-dj has historically been treating devices behind
  non-unifying receivers as generic devices, using the HID emulation
  in the receiver. That had several shortcomings (special keys handling,
  battery level monitoring, etc). The driver has been reworked to
  enumarate (and directly communicate with) the devices behind the
  receiver, to avoid the (too) generic HID implementation in the
  receiver itself. All the work done by Benjamin Tissoires and Hans de 
  Goede.
- restructuring of intel-ish driver in order to allow for multiple
  clients of the ISH implementation, from Srinivas Pandruvada
- several other smaller fixes and assorted device ID additions
=

Thanks.


Alex Henrie (1):
  HID: macally: Add support for Macally ikey keyboard

Andrej Shadura (1):
  HID: add driver for U2F Zero built-in LED and RNG

Andy Shevchenko (1):
  HID: picolcd: Convert to use sysfs_streq()

Benjamin Tissoires (14):
  HID: quirks: do not blacklist Logitech devices
  HID: logitech: Stop setting drvdata to NULL on probe failure and remove
  HID: logitech-dj: reshuffle logi_dj_recv_forward_*
  HID: logitech-dj: fix variable naming in logi_dj_hidpp_event
  HID: logitech-dj: use BIT() macro for RF Report types
  HID: logitech-dj: declare and use a few HID++ 1.0 constants
  HID: logitech-dj: remove USB dependency
  HID: logitech-dj: do not schedule the dj report itself
  HID: logitech-dj: add support for the gaming unifying receiver
  HID: logitech-hidpp: allow non HID++ devices to be handled by this module
  HID: logitech-hidpp: make .probe usbhid capable
  HID: logitech-dj: add usbhid dependency in Kconfig
  HID: input: make sure the wheel high resolution multiplier is set
  HID: input: fix assignment of .value

Colin Ian King (2):
  HID: intel-ish-hid: fix spelling mistake "multipe" -> "multiple"
  HID: logitech-dj: fix spelling in printk

Hans de Goede (31):
  HID: logitech-hidpp: simplify printing of HID++ version
  HID: logitech-hidpp: remove hidpp_is_connected()
  HID: logitech-hidpp: change low battery level threshold from 31 to 30 
percent
  HID: core: Call request_module before doing device_add
  HID: core: Do not call request_module() in async context
  HID: logitech-dj: remove unused querying_devices variable
  HID: logitech-dj: protect the paired_dj_devices access in add_djhid_dev 
with the lock
  HID: logitech-dj: rename dj_receiver_dev.hdev to dj_receiver_dev.hidpp
  HID: logitech-dj: support sharing struct dj_receiver_dev between 
USB-interfaces
  HID: logitech-dj: add logi_dj_recv_queue_unknown_work helper
  HID: logitech-dj: add support for non unifying receivers
  HID: logitech-dj: add support for 27 MHz receivers
  HID: logitech-dj: add support for 27 MHz mouse-only receivers
  HID: logitech-dj: replace dev_err calls with hid_err calls
  HID: logitech-dj: deal with some KVMs adding an extra interface to the 
usbdev
  HID: logitech-dj: pick a better name for non-unifying receivers
  HID: logitech-dj: remove false-positive error on double queueing of 
delayed-work
  HID: logitech-dj: make appending of the HID++ descriptors conditional
  HID: logitech-dj: add support for Logitech Bluetooth Mini-Receiver
  HID: logitech-hidpp: ignore very-short or empty names
  HID: logitech-hidpp: do not make failure to get the name fatal
  HID: logitech-hidpp: remove double assignment from __hidpp_send_report
  HID: logitech-hidpp: remove unused origin_is_hid_core function parameter
  HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
  HID: logitech-hidpp: handle devices attached to 27MHz wireless receivers
  HID: logitech-hidpp: do not hardcode very long report length
  HID: logitech-hidpp: add input_device ptr to struct hidpp_device
  HID: logitech-hidpp: make hidpp10_set_register_bit a bit more generic
  HID: logitech-hidpp: add support for HID++ 1.0 wheel reports
  HID: logitech-hidpp: add support for HID++ 1.0 extra mouse buttons reports
  HID: logitech-hidpp: add support for HID++ 1.0 consumer keys reports

Hong Liu (1):
  HID: intel-ish-hid: Add match callback to ishtp bus type

Hui Wang (1):
  Revert "HID: i2c-hid: Disable runtime PM on Synaptics touchpad"

Hyungwoo Yang (1):
  HID: intel-ish: enable raw interface to HID devices on ISH

Jiri Kosina (1):
  HID: u2fzero: fail probe if not using USB transport

Mao Wenan (1):
  HID: u2fzero: fix compiling error in u2fzero_probe()

Nicolas Saenz Julienne (1):
  HID: core: move Usage Page concatenation to Main item

Rushikesh S Kadam (1):
 

Re: [GIT PULL] HID fixes

2019-04-03 Thread pr-tracker-bot
The pull request you sent on Wed, 3 Apr 2019 15:39:18 +0200 (CEST):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8ed86627f715eacbd6db6862f9499d6d96ea4ad6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2019-04-03 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID fixes:

=
- build dependency fix for hid-asus from Arnd Bergmann
- addition of omitted mapping of _ASSISTANT key from Dmitry Torokhov
- race condition fix in hid-debug inftastructure from He, Bo
- fixed support for devices with big maximum report size from Kai-Heng 
  Feng
- deadlock fix in hid-steam from Rodrigo Rivas Costa
- quite a few device-specific quirks
=

Thanks.


Andy Shevchenko (1):
  HID: quirks: Drop misused kernel-doc annotation

Arnd Bergmann (1):
  HID: hid-asus: select CONFIG_POWER_SUPPLY

Colin Ian King (1):
  HID: uclogic: remove redudant duplicated null check on ver_ptr

Dmitry Torokhov (1):
  HID: input: add mapping for Assistant key

He, Bo (1):
  HID: debug: fix race condition with between rdesc_show() and device 
removal

Hui Wang (1):
  HID: i2c-hid: Disable runtime PM on Synaptics touchpad

Jeffrey Hugo (1):
  HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630

Kai-Heng Feng (1):
  HID: Increase maximum report size allowed by hid_field_extract()

Kangjie Lu (1):
  HID: logitech: check the return value of create_singlethread_workqueue

Louis Taylor (1):
  HID: quirks: use correct format chars in dbg_hid

Peter Hutterer (1):
  HID: logitech: Handle 0 scroll events for the m560

Rodrigo Rivas Costa (1):
  HID: steam: fix deadlock with input devices.

 drivers/hid/Kconfig|  1 +
 drivers/hid/hid-core.c |  6 +++---
 drivers/hid/hid-debug.c|  5 +
 drivers/hid/hid-ids.h  |  1 +
 drivers/hid/hid-input.c|  1 +
 drivers/hid/hid-logitech-hidpp.c   | 13 ++---
 drivers/hid/hid-quirks.c   | 11 +++
 drivers/hid/hid-steam.c| 26 +++---
 drivers/hid/hid-uclogic-params.c   |  4 
 drivers/hid/i2c-hid/i2c-hid-core.c |  2 ++
 10 files changed, 49 insertions(+), 21 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 5.1

2019-03-08 Thread pr-tracker-bot
The pull request you sent on Tue, 5 Mar 2019 16:09:11 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c6400e5cef5eafc259e649ceedc4c7eecc9069d8

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID for 5.1

2019-03-05 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem updates for 5.1 merge window:

=
- support for Pro Pen slim, from Jason Gerecke
- power management improvements to Intel-ISH driver, from Song Hongyan
- UCLogic driver revamp in order to be able to support wider range of
  Huion tablets, from Nikolai Kondrashov
- Asus Transbook support, from NOGUCHI Hiroshi
- other assorted small bugfixes / cleanups and device ID additions
=

Thanks.


Andy Shevchenko (1):
  HID: intel-ish-hid: Switch to use new generic UUID API

Colin Ian King (1):
  HID: elan: Make array buf static, shrinks object size

Gustavo A. R. Silva (2):
  HID: wacom: Mark expected switch fall-through
  HID: roccat: Mark expected switch fall-through

Hans de Goede (1):
  HID: Add support for Toshiba WT10A tablet bluetooth keyboard

Hong Liu (4):
  HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
  HID: intel-ish-hid: Optimize writing ipc message from queue
  HID: intel-ish-hid: move doorbell writing before flush
  HID: intel-ish-hid: remove data[128] usage on stack when sending HBM 
request

Hongye Yuan (2):
  HID: sony: Transform one-time SHANWAN check into quirk
  HID: sony: Fix SHANWAN PS3 GamePad rumble and led settings support

Jarrad Whitaker (1):
  HID: fix Logitech WingMan Formula GP joined axes

Jason Gerecke (2):
  HID: wacom: Move HID fix for AES serial number into wacom_hid_usage_quirk
  HID: wacom: Add support for Pro Pen slim

Kai-Heng Feng (1):
  HID: i2c-hid: Ignore input report if there's no data present on Elan 
touchpanels

Mikael Wikström (1):
  HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttons

NOGUCHI Hiroshi (3):
  HID: hid-asus: Add Transbook T90CHI support
  HID: Add ASUS T100CHI keyboard dock battery quirks
  HID: hid-asus: Add BT keyboard dock battery monitoring support

Nikolai Kondrashov (23):
  HID: kye: Add support for EasyPen M406XE
  HID: viewsonic: Support PD1011 signature pad
  HID: Clarify vendor ID reuse by Ugee tablets
  HID: uclogic: Extract report descriptors to a module
  HID: uclogic: Extract tablet parameter discovery into a module
  HID: uclogic: Re-initialize tablets on resume
  HID: uclogic: Designate current protocol v1
  HID: uclogic: Support in-range reporting emulation
  HID: uclogic: Support fragmented high-res reports
  HID: uclogic: Support v2 protocol
  HID: uclogic: Add support for Ugee 2150
  HID: uclogic: Add support for Ugee M540
  HID: uclogic: Add support for Ugee EX07S frame controls
  HID: uclogic: Add support for XP-Pen Star G540
  HID: uclogic: Add support for XP-Pen Star G640
  HID: uclogic: Add support for XP-Pen Deco 01
  HID: uclogic: Support faking Wacom pad device ID
  HID: uclogic: Support Gray-coded rotary encoders
  HID: uclogic: Add support for Ugee G5
  HID: uclogic: Do not initialize non-USB devices
  HID: Remove hid-uclogic entries from hid_have_special_driver
  HID: Remove KYE tablets from hid_have_special_driver
  HID: Remove Waltop tablets from hid_have_special_driver

Rodrigo Rivas Costa (1):
  HID: steam: fix boot loop with bluetooth firmware

Song Hongyan (1):
  HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR 
busy_clear bit

Srinivas Pandruvada (1):
  HID: intel-ish-hid: Use VID/PID from ISH

William Whistler (1):
  Support for Maltron L90 keyboard media keys

 drivers/hid/Kconfig|   13 +
 drivers/hid/Makefile   |5 +
 drivers/hid/hid-asus.c |  247 -
 drivers/hid/hid-elan.c |2 +-
 drivers/hid/hid-ids.h  |   20 +-
 drivers/hid/hid-input.c|3 +
 drivers/hid/hid-kye.c  |   83 ++
 drivers/hid/hid-lg.c   |   60 ++
 drivers/hid/hid-lg4ff.c|6 +
 drivers/hid/hid-maltron.c  |  165 +++
 drivers/hid/hid-multitouch.c   |6 +
 drivers/hid/hid-quirks.c   |   33 +-
 drivers/hid/hid-roccat-kone.c  |1 +
 drivers/hid/hid-sony.c |   31 +-
 drivers/hid/hid-steam.c|   34 +-
 drivers/hid/hid-topseed.c  |3 +
 drivers/hid/hid-uclogic-core.c |  418 
 drivers/hid/hid-uclogic-params.c   | 1122 
 drivers/hid/hid-uclogic-params.h   |  207 
 drivers/hid/{hid-uclogic.c => hid-uclogic-rdesc.c} |  822 ++
 drivers/hid/hid-uclogic-rdesc.h|  155 +++
 drivers/hid/hid-viewsonic.c   

Re: [GIT PULL] HID fix

2019-02-07 Thread pr-tracker-bot
The pull request you sent on Thu, 7 Feb 2019 11:09:31 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d47e3da1759230e394096fd742aad423c291ba48

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fix

2019-02-07 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive fix for a bug in hid-debug that can lock up the kernel in 
infinite loop (CVE-2019-3819), from Vladis Dronov.

Thanks.


Vladis Dronov (1):
  HID: debug: fix the ring buffer implementation

 drivers/hid/hid-debug.c   | 120 ++
 include/linux/hid-debug.h |   9 ++--
 2 files changed, 51 insertions(+), 78 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2019-01-22 Thread pr-tracker-bot
The pull request you sent on Tue, 22 Jan 2019 10:46:24 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/787a3b4322763284a594a5dd3680508c0bfb20b0

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2019-01-22 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID fixes:

=
- descriptor parsing regression fix for devices that have more than 16 
  collections, from Peter Hutterer (and followup cleanup from Philipp 
  Zabel)
- quirk for Goodix touchpad
=

Thanks.


Kai-Heng Feng (1):
  HID: i2c-hid: Disable runtime PM on Goodix touchpad

Peter Hutterer (1):
  HID: core: replace the collection tree pointers with indices

Philipp Zabel (1):
  HID: core: simplify active collection tracking

 drivers/hid/hid-core.c | 23 ---
 drivers/hid/hid-ids.h  |  3 +++
 drivers/hid/i2c-hid/i2c-hid-core.c |  2 ++
 include/linux/hid.h|  3 +--
 4 files changed, 18 insertions(+), 13 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 4.21

2019-01-03 Thread Jiri Kosina
On Thu, 3 Jan 2019, Jiri Kosina wrote:

> Linus,
> 
> please pull from
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus
> 
> to receive HID merge window updates.
> 
> =
> This round is particularly tiny. Some highlights:
> 
> - MSI IRQ support for intel-ish driver, from Song Hongyan
> - support for new hardware (Cougar 700K, Odys Winbook 13) from
>   Daniel M. Lambea and Hans de Goede
> - other small assorted fixups
> =

Linus, please scratch this pull request, I by mistake dropped the 
highres-wheel branch (thanks Benjamin for noticing my brainfart). I'll 
resend shortly. Sorry,

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID for 4.21

2019-01-03 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID merge window updates.

=
This round is particularly tiny. Some highlights:

- MSI IRQ support for intel-ish driver, from Song Hongyan
- support for new hardware (Cougar 700K, Odys Winbook 13) from
  Daniel M. Lambea and Hans de Goede
- other small assorted fixups
=

Thanks.


Aditya Pakki (1):
  HID: lenovo: Add checks to fix of_led_classdev_register

Daniel M. Lambea (1):
  HID: cougar: Add support for Cougar 700K Gaming Keyboard

Hans de Goede (1):
  HID: i2c-hid: Add Odys Winbook 13 to descriptor override

Jiri Kosina (1):
  HID: hidraw: enforce minors_lock locking via lockdep

Jonathan Davies (1):
  HID: samples/hidraw: fix typo in printed message

Pan Bian (1):
  HID: intel-ish-hid: fixes incorrect error handling

Peter Hutterer (1):
  HID: doc: fix wrong data structure reference for UHID_OUTPUT

Song Hongyan (1):
  HID: intel-ish-hid: add MSI interrupt support

Yangtao Li (1):
  HID: debug: Change to use DEFINE_SHOW_ATTRIBUTE macro

 Documentation/hid/uhid.txt   |  2 +-
 drivers/hid/hid-cougar.c |  2 ++
 drivers/hid/hid-debug.c  | 12 +---
 drivers/hid/hid-ids.h|  1 +
 drivers/hid/hid-lenovo.c | 10 --
 drivers/hid/hidraw.c |  8 
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c |  8 
 drivers/hid/intel-ish-hid/ipc/pci-ish.c  |  7 ++-
 drivers/hid/intel-ish-hid/ishtp-hid.c|  2 +-
 samples/hidraw/hid-example.c |  2 +-
 10 files changed, 33 insertions(+), 21 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2018-12-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Dec 2018 17:05:06 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f5d582777bcb1c7ff19a5a2343f66ea01de401c6

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2018-12-10 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes:

=
- two device-specific quirks from Hans de Goede and Nic Soudée
- reintroduction of (mistakenly remocved) ABS_RESERVED from Peter Hutterer
=

Thanks.


Hans de Goede (1):
  HID: ite: Add USB id match for another ITE based keyboard rfkill key quirk

Nic Soudée (1):
  HID: quirks: fix RetroUSB.com devices

Peter Hutterer (1):
  Input: restore EV_ABS ABS_RESERVED

 drivers/hid/hid-ids.h  | 7 +++
 drivers/hid/hid-ite.c  | 1 +
 drivers/hid/hid-quirks.c   | 2 ++
 include/uapi/linux/input-event-codes.h | 9 +
 4 files changed, 19 insertions(+)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2018-11-24 Thread pr-tracker-bot
The pull request you sent on Sat, 24 Nov 2018 21:19:35 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e195ca6cb6f21633e56322d5aa11ed59cdb22fb2

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker


[GIT PULL] HID fixes

2018-11-24 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsystem fixes

=
- revert of the high-resolution scrolling feature, as it breaks certain 
  hardware due to incompatibilities between Logitech and Microsoft worlds.
  Peter Hutterer is working on a fixed implementation. Until that is
  finished, revert by Benjamin Tissoires.

- revert of incorrect strncpy->strlcpy conversion in uhid, from David 
  Herrmann

- fix for buggy sendfile() implementation on uhid device node, from Eric 
  Biggers

- a few assorted device-ID specific quirks
=

Thanks.


Benjamin Tissoires (7):
  Revert "HID: input: simplify/fix high-res scroll event handling"
  Revert "HID: logitech: fix a used uninitialized GCC warning"
  Revert "HID: logitech: Use LDJ_DEVICE macro for existing Logitech mice"
  Revert "HID: logitech: Enable high-resolution scrolling on Logitech mice"
  Revert "HID: logitech: Add function to enable HID++ 1.0 "scrolling 
acceleration""
  Revert "HID: input: Create a utility class for counting scroll events"
  Revert "Input: Add the `REL_WHEEL_HI_RES` event code"

Benson Leung (1):
  HID: input: Ignore battery reported by Symbol DS4308

David Herrmann (1):
  Revert "HID: uhid: use strlcpy() instead of strncpy()"

Eric Biggers (1):
  HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges

Kai-Heng Feng (2):
  HID: multitouch: Add pointstick support for Cirque Touchpad
  HID: i2c-hid: Disable runtime PM for LG touchscreen

Rodrigo Rivas Costa (1):
  HID: steam: remove input device when a hid client is running.

Sebastian Parschauer (2):
  HID: Add quirk for Microsoft PIXART OEM mouse
  HID: Add quirk for Primax PIXART OEM mice

 Documentation/input/event-codes.rst|  11 +-
 drivers/hid/hid-ids.h  |   8 +
 drivers/hid/hid-input.c|  47 +
 drivers/hid/hid-logitech-hidpp.c   | 309 +++--
 drivers/hid/hid-multitouch.c   |   6 +
 drivers/hid/hid-quirks.c   |   3 +
 drivers/hid/hid-steam.c| 154 +---
 drivers/hid/i2c-hid/i2c-hid-core.c |   2 +
 drivers/hid/uhid.c |  25 ++-
 include/linux/hid.h|  28 ---
 include/uapi/linux/input-event-codes.h |  10 --
 11 files changed, 159 insertions(+), 444 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2018-11-07 Thread Linus Torvalds
On Wed, Nov 7, 2018 at 2:31 AM Jiri Kosina  wrote:
>
> HID subsytem fixes

Pulled,

   Linus


[GIT PULL] HID fixes

2018-11-07 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID subsytem fixes

=
- hid.git is moving towards group maintainership (where group is myself 
  and Benjamin Tissoires), therefore this pull request updates MAINTAINERS
  accordingly
- fix for hid-asus config dependency from Arnd Bergmann
- two device-specific quirks for i2c-hid from Julian Sax and Kai-Heng Feng
- other few small assorted fixes
=

Thanks.


Arnd Bergmann (1):
  HID: asus: fix build warning wiht CONFIG_ASUS_WMI disabled

Benjamin Tissoires (2):
  Revert "HID: add NOGET quirk for Eaton Ellipse MAX UPS"
  HID: alps: allow incoming reports when only the trackstick is opened

Breno Leitao (1):
  HID: hiddev: fix potential Spectre v1

Jiri Kosina (1):
  HID: moving to group maintainership model

Julian Sax (1):
  HID: i2c-hid: add Direkt-Tek DTLAPY133-1 to descriptor override

Kai-Heng Feng (1):
  HID: i2c-hid: Add a small delay after sleep command for Raydium touchpanel

Linus Walleij (1):
  HID: fix up .raw_event() documentation

 MAINTAINERS  |  8 
 drivers/hid/hid-alps.c   | 18 ++
 drivers/hid/hid-asus.c   |  3 +++
 drivers/hid/hid-ids.h|  3 +++
 drivers/hid/hid-quirks.c |  1 -
 drivers/hid/i2c-hid/i2c-hid-core.c   | 19 +++
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c |  8 
 drivers/hid/usbhid/hiddev.c  | 18 ++
 include/linux/hid.h  |  4 ++--
 9 files changed, 71 insertions(+), 11 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 4.20

2018-10-25 Thread Linus Torvalds
On Tue, Oct 23, 2018 at 4:43 AM Jiri Kosina  wrote:
>
> - rumble support for Xbox One S, from Andrey Smirnov
> - high-resolution support for Logitech mice, from Harry Cutts
> - support for recent devices requiring the HID parse to be
>   able to cope with tag report sizes > 256

Pulled,

Linus


[GIT PULL] HID for 4.20

2018-10-23 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive merge window updates for HID subsystem. Highlights:

=
- rumble support for Xbox One S, from Andrey Smirnov
- high-resolution support for Logitech mice, from Harry Cutts
- support for recent devices requiring the HID parse to be
  able to cope with tag report sizes > 256
=


Andrey Smirnov (2):
  HID: microsoft: Convert private data to be a proper struct
  HID: microsoft: Add rumble support for Xbox One S controller

Benjamin Tissoires (3):
  HID: input: do not append a suffix if the name already has it
  HID: multitouch: simplify the application retrieval
  Input: reserve 2 events code because of HID

Colin Ian King (1):
  HID: elan: fix spelling mistake "registred" -> "registered"

Daniel M. Lambea (2):
  HID: cougar: Make parameter 'g6_is_space' dinamically settable
  HID: cougar: Stop processing vendor events on hid-core

Dmitry Torokhov (3):
  mfd: cros: add "base attached" MKBP switch definition
  HID: google: add support tablet mode switch for Whiskers
  HID: google: add dependency on Cros EC for Hammer

Even Xu (6):
  HID: intel-ish-hid: ishtp: add helper function for driver data get/set
  HID: intel-ish-hid: use helper function for private driver data set/get
  HID: intel-ish-hid: ishtp: add helper functions for client buffer 
operation
  HID: intel-ish-hid: use helper function to access client buffer
  HID: intel-ish-hid: ishtp: add helper function for client search
  HID: intel-ish-hid: use helper function to search client id

Hanno Zulla (1):
  HID: hid-bigbenff: driver for BigBen Interactive PS3OFMINIPAD gamepad

Harry Cutts (5):
  Input: Add the `REL_WHEEL_HI_RES` event code
  HID: input: Create a utility class for counting scroll events
  HID: logitech: Add function to enable HID++ 1.0 "scrolling acceleration"
  HID: logitech: Enable high-resolution scrolling on Logitech mice
  HID: logitech: Use LDJ_DEVICE macro for existing Logitech mice

Hong Liu (2):
  HID: intel-ish-hid: use resource-managed api
  HID: intel-ish-hid: using list_head for ipc write queue

Jason Gerecke (1):
  HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452

Jiri Kosina (2):
  HID: microsoft: the driver now neeed MEMLESS_FF infrastructure
  HID: google: drop superfluous const before SIMPLE_DEV_PM_OPS()

Julian Sax (1):
  HID: i2c-hid: override HID descriptors for certain devices

Kai-Heng Feng (1):
  HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2

Sean O'Brien (1):
  HID: magicmouse: add support for Apple Magic Trackpad 2

Song, Hongyan (1):
  HID: increase maximum global item tag report size to 256

Srinivas Pandruvada (1):
  HID: intel_ish-hid: Enhance API to get ring buffer sizes

Tatsunosuke Tobita (1):
  HID: input: Set INPUT_PROP_-property for HID_UP_DIGITIZERS

zhong jiang (1):
  HID: logitech: fix a used uninitialized GCC warning

 Documentation/input/event-codes.rst   |  11 +-
 drivers/hid/Kconfig   |  16 +-
 drivers/hid/Makefile  |   1 +
 drivers/hid/hid-bigbenff.c| 414 ++
 drivers/hid/hid-core.c|   2 +-
 drivers/hid/hid-cougar.c  |  66 +++-
 drivers/hid/hid-elan.c|   2 +-
 drivers/hid/hid-google-hammer.c   | 413 -
 drivers/hid/hid-ids.h |   6 +
 drivers/hid/hid-input.c   |  64 +++-
 drivers/hid/hid-logitech-hidpp.c  | 309 ++--
 drivers/hid/hid-magicmouse.c  | 142 +++-
 drivers/hid/hid-microsoft.c   | 141 +++-
 drivers/hid/hid-multitouch.c  |  72 ++--
 drivers/hid/hid-quirks.c  |   1 +
 drivers/hid/i2c-hid/Makefile  |   3 +
 drivers/hid/i2c-hid/{i2c-hid.c => i2c-hid-core.c} |  60 ++--
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c  | 376 
 drivers/hid/i2c-hid/i2c-hid.h |  20 ++
 drivers/hid/intel-ish-hid/ipc/ipc.c   |  32 +-
 drivers/hid/intel-ish-hid/ipc/pci-ish.c   |  75 ++--
 drivers/hid/intel-ish-hid/ishtp-hid-client.c  |  41 +--
 drivers/hid/intel-ish-hid/ishtp/bus.c |  52 +++
 drivers/hid/intel-ish-hid/ishtp/bus.h |   5 +
 drivers/hid/intel-ish-hid/ishtp/client-buffers.c  |  49 +++
 drivers/hid/intel-ish-hid/ishtp/client.c  |  24 ++
 drivers/hid/intel-ish-hid/ishtp/client.h  |   5 +
 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h   |   2 +-
 drivers/hid/wacom_wac.c   |  19 +
 include/linux/hid.h   

Re: [GIT PULL] HID fixes

2018-10-03 Thread Greg Kroah-Hartman
On Wed, Oct 03, 2018 at 10:55:19AM +0200, Jiri Kosina wrote:
> Greg,
> 
> please pull from
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus
> 
> to receive HID subsystem fixes


Now pulled, thanks.

greg k-h



[GIT PULL] HID fixes

2018-10-03 Thread Jiri Kosina
Greg,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem fixes

=
- hantick touchpad fix from Anisse Astier
- device ID addition for Ice Lake mobile from Srinivas Pandruvada
- touchscreen resume fix for certain i2c-hid driven devices from Hans de 
  Goede
=

Thanks.


Anisse Astier (1):
  HID: i2c-hid: disable runtime PM operations on hantick touchpad

Hans de Goede (1):
  HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling

Srinivas Pandruvada (1):
  HID: intel-ish-hid: Enable Ice Lake mobile

 drivers/hid/hid-ids.h   |  1 -
 drivers/hid/i2c-hid/i2c-hid.c   | 27 ++-
 drivers/hid/intel-ish-hid/ipc/hw-ish.h  |  1 +
 drivers/hid/intel-ish-hid/ipc/pci-ish.c |  1 +
 4 files changed, 12 insertions(+), 18 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes

2018-09-11 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive fixes for HID subsystem; highlights:

=
- functional regression fix for sensor-hub driver from Hans de Goede
- stop doing device reset for i2c-hid devices, which unbreaks some of them 
  (and is in line with the specification), from Kai-Heng Feng
- error handling fix for hid-core from Gustavo A. R. Silva
- functional regression fix for some Elan panels from Benjamin Tissoires
- a few new device ID additions and misc small fixes
=

Thanks.


AceLan Kao (1):
  HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen

Andreas Bosch (1):
  HID: intel-ish-hid: Enable Sunrise Point-H ish driver

Benjamin Tissoires (2):
  HID: multitouch: fix Elan panels with 2 input modes declaration
  HID: core: fix grouping by application

Gustavo A. R. Silva (1):
  HID: core: fix NULL pointer dereference

Hans de Goede (1):
  HID: sensor-hub: Restore fixup for Lenovo ThinkPad Helix 2 sensor hub 
report

Harry Mallon (1):
  HID: hid-saitek: Add device ID for RAT 7 Contagion

Kai-Heng Feng (1):
  HID: i2c-hid: Don't reset device upon system resume

Sean O'Brien (1):
  HID: add support for Apple Magic Keyboards

Stefan Agner (2):
  HID: input: fix leaking custom input node name
  HID: core: fix memory leak on probe

 drivers/hid/hid-apple.c |  9 -
 drivers/hid/hid-core.c  |  5 -
 drivers/hid/hid-ids.h   |  6 +++---
 drivers/hid/hid-input.c |  5 +++--
 drivers/hid/hid-multitouch.c| 19 +--
 drivers/hid/hid-saitek.c|  2 ++
 drivers/hid/hid-sensor-hub.c| 23 +++
 drivers/hid/i2c-hid/i2c-hid.c   | 11 +++
 drivers/hid/intel-ish-hid/ipc/hw-ish.h  |  1 +
 drivers/hid/intel-ish-hid/ipc/pci-ish.c |  1 +
 include/linux/hid.h |  1 +
 11 files changed, 70 insertions(+), 13 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID

2018-08-20 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem updates:

=
- touch_max detection improvements and quirk handling fixes in wacom
  driver from Jason Gerecke and Ping Cheng
- Palm rejection from Dmitry Torokhov and _dial support from Benjamin  
  Tissoires for hid-multitouch driver
- Low voltage support for i2c-hid driver from Stephen Boyd
- Guitar-Hero support from Nicolas Adenis-Lamarre
- other assorted small fixes and device ID additions
=

Thanks.


Anton Vasilyev (1):
  HID: intel_ish-hid: tx_buf memory leak on probe/remove

Benjamin Tissoires (9):
  input: add MT_TOOL_DIAL
  HID: multitouch: make sure the static list of class is not changed
  HID: multitouch: Store per collection multitouch data
  HID: multitouch: store a per application quirks value
  HID: multitouch: ditch mt_report_id
  HID: multitouch: remove one copy of values
  HID: input: enable Totem on the Dell Canvas 27
  HID: core: do not upper bound the collection stack
  HID: microsoft: support the Surface Dial

Colin Ian King (1):
  HID: intel-ish-hid: remove redundant variable num_frags

Daniel M. Lambea (2):
  HID: cougar: make compare_device_paths reusable
  HID: cougar: Add support for the Cougar 500k Gaming Keyboard

Dmitry Torokhov (3):
  HID: multitouch: report MT_TOOL_PALM for non-confident touches
  HID: multitouch: touchscreens also use confidence reports
  HID: multitouch: handle palm for touchscreens

Hanno Zulla (5):
  HID: hid-sony.c: Use devm_ api to simplify sony_register_touchpad()
  HID: hid-sony.c: Use devm_ api to simplify sony_register_sensors()
  HID: hid-sony.c: Use devm_ api to simplify sony_leds_init()
  HID: hid-sony.c: Use devm_ api to simplify sony_battery_probe()
  HID: hid-sony.c: Use devm_ api to simplify sc->output_report_dmabuf

Hans de Goede (9):
  HID: elan: Remove unused max_area_x and max_area_y vatiables
  HID: elan: Stop claiming we have TOUCH_MAJOR and then never reporting it
  HID: elan: Correctly report MT_PRESSURE instead of TOOL_WIDTH
  HID: elan: Hardcode finger-count and usb-interface
  HID: elan: Query device max_x and max_y value from touchpad
  HID: elan: Query resolution from the touchpad
  HID: elan: Add a flag for selecting if the touchpad has a LED
  HID: elan: Add USB-id for HP x2 10-n000nd touchpad
  HID: elan: Add support for touchpad on the Toshiba Click Mini L9W

Jason Gerecke (2):
  HID: wacom: Replace touch_max fixup code with static touch_max definitions
  HID: wacom: Move handling of HID quirks into a dedicated function

Nicolas Adenis-Lamarre (1):
  HID: wiimote: add support for Guitar-Hero devices

Ping Cheng (1):
  HID: wacom: convert Wacom custom usages to standard HID usages

Robert Munteanu (1):
  HID: redragon: fix num lock and caps lock LEDs

Sebastian Andrzej Siewior (1):
  HID: usbhid: use irqsave() in USB's complete callback

Srinivas Pandruvada (1):
  HID: intel-ish-hid: Prevent loading of driver on Mehlow

Stephen Boyd (2):
  HID: i2c-hid: Use devm to allocate i2c_hid struct
  HID: i2c-hid: Add vddl regulator control

Zhouyang Jia (1):
  HID: hid-ntrig: add error handling for sysfs_create_group

 .../devicetree/bindings/input/hid-over-i2c.txt |   3 +-
 Documentation/input/multi-touch-protocol.rst   |  12 +-
 drivers/hid/Kconfig|  10 +
 drivers/hid/Makefile   |   1 +
 drivers/hid/hid-core.c |  40 +-
 drivers/hid/hid-cougar.c   | 312 +++
 drivers/hid/hid-elan.c | 235 +++--
 drivers/hid/hid-ids.h  |   5 +
 drivers/hid/hid-input.c|   3 +
 drivers/hid/hid-microsoft.c|  49 +-
 drivers/hid/hid-multitouch.c   | 989 +
 drivers/hid/hid-ntrig.c|   2 +
 drivers/hid/hid-redragon.c |  26 +-
 drivers/hid/hid-sony.c | 164 +---
 drivers/hid/hid-wiimote-core.c |  14 +
 drivers/hid/hid-wiimote-modules.c  | 440 +
 drivers/hid/hid-wiimote.h  |   3 +
 drivers/hid/i2c-hid/i2c-hid.c  |  57 +-
 drivers/hid/intel-ish-hid/ipc/ipc.c|   9 +-
 drivers/hid/intel-ish-hid/ipc/pci-ish.c|  13 +-
 drivers/hid/intel-ish-hid/ishtp/hbm.c  |   2 -
 drivers/hid/usbhid/hid-core.c  |   7 +-
 drivers/hid/wacom_sys.c| 123 ++-
 drivers/hid/wacom_wac.c|  20 +-
 include/linux/hid.h|  17 +-
 include/linux/platform_data/i2c-hid.h 

[GIT PULL] HID fixes

2018-07-09 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem fixes:

=
- spectrev1 pattern fix in hiddev from Gustavo A. R. Silva
- Bounds check fix for hid-debug from Daniel Rosenberg
- Regression fix for HID autobinding from Benjamin Tissoires
- Removal of excessive logging from i2c-hid driver from Jason Andryuk
- fix specific to 2nd generation of Wacom Intuos devices from Jason 
  Gerecke
=

Thanks.


Benjamin Tissoires (1):
  HID: core: allow concurrent registration of drivers

Daniel Rosenberg (1):
  HID: debug: check length before copy_to_user()

Gustavo A. R. Silva (1):
  HID: hiddev: fix potential Spectre v1

Jason Andryuk (1):
  HID: i2c-hid: Fix "incomplete report" noise

Jason Gerecke (1):
  HID: wacom: Correct touch maximum XY of 2nd-gen Intuos

 drivers/hid/hid-core.c|  5 -
 drivers/hid/hid-debug.c   |  8 +++-
 drivers/hid/i2c-hid/i2c-hid.c |  2 +-
 drivers/hid/usbhid/hiddev.c   | 11 +++
 drivers/hid/wacom_wac.c   | 10 --
 include/linux/hid.h   |  3 ++-
 6 files changed, 33 insertions(+), 6 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2018-06-20 Thread Jiri Kosina
On Wed, 20 Jun 2018, Linus Torvalds wrote:

> But what is the *source* of this binary crud?
> 
> Because no way in hell do we take binary crud from random places, and
> then add it to the kernel.
> 
> NOT EVEN IF IT WENT THROUGH SOME "hidrd-convert" PHASE!
> 
> And yes, now that I google for that hidrd-convert pattern, I see that
> we already have other broken chunks like this.
> 
> Not ok. At least some of them seem to mention where the data comes from, 
> eg
> 
>"This is the original report descriptor as reported by lsusb -vd 046d:c294"
> 
> but this one has no such information.
> 
> So guys, you need to think about where things come from, and document
> how some random garbage came to be. Not just add it to the kernel.

Well, at least for the ones I've done myself in the past, those are 
hand-written from scratch.

It's not really a firmware / code, it's just a description of the data in 
the reports, so that HID parser can interpret it properly.

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2018-06-20 Thread Benjamin Tissoires
On Wed, Jun 20, 2018 at 9:15 AM, Jiri Kosina  wrote:
> On Wed, 20 Jun 2018, Linus Torvalds wrote:
>
>> But what is the *source* of this binary crud?
>>
>> Because no way in hell do we take binary crud from random places, and
>> then add it to the kernel.
>>
>> NOT EVEN IF IT WENT THROUGH SOME "hidrd-convert" PHASE!
>>
>> And yes, now that I google for that hidrd-convert pattern, I see that
>> we already have other broken chunks like this.
>>
>> Not ok. At least some of them seem to mention where the data comes from,
>> eg
>>
>>"This is the original report descriptor as reported by lsusb -vd 
>> 046d:c294"
>>
>> but this one has no such information.
>>
>> So guys, you need to think about where things come from, and document
>> how some random garbage came to be. Not just add it to the kernel.
>
> Well, at least for the ones I've done myself in the past, those are
> hand-written from scratch.
>
> It's not really a firmware / code, it's just a description of the data in
> the reports, so that HID parser can interpret it properly.
>

In case it matters, I have an open-source python script that parses
those blobs and output the same level of human description here:
https://gitlab.freedesktop.org/libevdev/hid-tools/ (the script
parse_rdesc.py).

As Jiri said, this is all standardized and documented in the HID
protocol[1], and this 'just' describes the data that will be sent over
the transport layer.

In this particular case, the descriptors were extracted from the
Windows driver, not by looking at the binaries, but by looking at the
data that was transmitted from the "device". The thing is the data is
not stored on the device chip itself but on a third party driver from
the vendor. However, from a windows point of view, the third party
driver intercepts the I2C commands and supply the information when
needed. So it is as if the device answered. Blame the vendor here that
decided to reduce the costs and save a few KB on the chip :/

Cheers,
Benjamin

[1] http://www.usb.org/developers/hidpage/HID1_11.pdf


Re: [GIT PULL] HID fixes

2018-06-20 Thread Hans de Goede

Hi all,

On 20-06-18 06:19, Jiri Kosina wrote:

On Wed, 20 Jun 2018, Linus Torvalds wrote:


What is that odd binary blob i2c_hid_desc_override, and where does the
data come from? Not explained anywhere.


Fair enough; it's a pretty standard HID descriptor override, but you're
right that we're usually replacing it in a bit more verbose way. Julian,
could you please run that descriptor through something like HID descriptor
tool, and send me a patch that reformats it? (for the way we usually do
this, look for example in hid-sony.c).


Julian let me know if you need any help with this,
to format the HID descriptor take a file with
the raw descriptor in binary format and do:

cat descriptor.bin | hidrd-convert -o code

I've just done that to make sure my instructions are
right, so to save you having to redo this I've
attached the result.

Regards,

Hans


0x05, 0x01, /*  Usage Page (Desktop),   */
0x09, 0x02, /*  Usage (Mouse),  */
0xA1, 0x01, /*  Collection (Application),   */
0x85, 0x01, /*  Report ID (1),  */
0x09, 0x01, /*  Usage (Pointer),*/
0xA1, 0x00, /*  Collection (Physical),  */
0x05, 0x09, /*  Usage Page (Button),*/
0x19, 0x01, /*  Usage Minimum (01h),*/
0x29, 0x02, /*  Usage Maximum (02h),*/
0x25, 0x01, /*  Logical Maximum (1),*/
0x75, 0x01, /*  Report Size (1),*/
0x95, 0x02, /*  Report Count (2),   */
0x81, 0x02, /*  Input (Variable),   */
0x95, 0x06, /*  Report Count (6),   */
0x81, 0x01, /*  Input (Constant),   */
0x05, 0x01, /*  Usage Page (Desktop),   */
0x09, 0x30, /*  Usage (X),  */
0x09, 0x31, /*  Usage (Y),  */
0x15, 0x81, /*  Logical Minimum (-127), */
0x25, 0x7F, /*  Logical Maximum (127),  */
0x75, 0x08, /*  Report Size (8),*/
0x95, 0x02, /*  Report Count (2),   */
0x81, 0x06, /*  Input (Variable, Relative), */
0xC0,   /*  End Collection, */
0xC0,   /*  End Collection, */
0x05, 0x0D, /*  Usage Page (Digitizer), */
0x09, 0x05, /*  Usage (Touchpad),   */
0xA1, 0x01, /*  Collection (Application),   */
0x85, 0x04, /*  Report ID (4),  */
0x05, 0x0D, /*  Usage Page (Digitizer), */
0x09, 0x22, /*  Usage (Finger), */
0xA1, 0x02, /*  Collection (Logical),   */
0x15, 0x00, /*  Logical Minimum (0),*/
0x25, 0x01, /*  Logical Maximum (1),*/
0x09, 0x47, /*  Usage (Touch Valid),*/
0x09, 0x42, /*  Usage (Tip Switch), */
0x95, 0x02, /*  Report Count (2),   */
0x75, 0x01, /*  Report Size (1),*/
0x81, 0x02, /*  Input (Variable),   */
0x95, 0x01, /*  Report Count (1),   */
0x75, 0x03, /*  Report Size (3),*/
0x25, 0x05, /*  Logical Maximum (5),*/
0x09, 0x51, /*  Usage (Contact Identifier), */
0x81, 0x02, /*  Input (Variable),   */
0x75, 0x01, /*  Report Size (1),*/
0x95, 0x03, /*  Report Count (3),   */
0x81, 0x03, /*  Input (Constant, Variable), */
0x05, 0x01, /*  Usage Page (Desktop),   */
0x26, 0x44, 0x0A,   /*  Logical Maximum (2628), */
0x75, 0x10, /*  Report Size (16),   */
0x55, 0x0E, /*  Unit Exponent (14), */
0x65, 0x11, /*  Unit (Centimeter),  */
0x09, 0x30,   

Re: [GIT PULL] HID fixes

2018-06-20 Thread Linus Torvalds
On Wed, Jun 20, 2018 at 4:06 PM Hans de Goede  wrote:
>
>
> Julian let me know if you need any help with this,
> to format the HID descriptor take a file with
> the raw descriptor in binary format and do:
>
> cat descriptor.bin | hidrd-convert -o code

But what is the *source* of this binary crud?

Because no way in hell do we take binary crud from random places, and
then add it to the kernel.

NOT EVEN IF IT WENT THROUGH SOME "hidrd-convert" PHASE!

And yes, now that I google for that hidrd-convert pattern, I see that
we already have other broken chunks like this.

Not ok. At least some of them seem to mention where the data comes from, eg

   "This is the original report descriptor as reported by lsusb -vd 046d:c294"

but this one has no such information.

So guys, you need to think about where things come from, and document
how some random garbage came to be. Not just add it to the kernel.

 Linus


Re: [GIT PULL] HID fixes

2018-06-19 Thread Jiri Kosina
On Wed, 20 Jun 2018, Linus Torvalds wrote:

> What is that odd binary blob i2c_hid_desc_override, and where does the
> data come from? Not explained anywhere.

Fair enough; it's a pretty standard HID descriptor override, but you're 
right that we're usually replacing it in a bit more verbose way. Julian, 
could you please run that descriptor through something like HID descriptor 
tool, and send me a patch that reformats it? (for the way we usually do 
this, look for example in hid-sony.c).

I'll drop this commit and resend the pull request (as namely the steam fix 
really should go in).

The plan eventually is to offload all this crazy rdesc replacing to 
userspace, but that is still WIP.

Thanks,

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID fixes

2018-06-19 Thread Linus Torvalds
On Tue, Jun 19, 2018 at 9:00 PM Jiri Kosina  wrote:
>
> - i2c-hid fix for devices (such as SIPODEV SP1064) that fail to provide
>   their report descriptor, from Julian Sax

I'm not taking this crazy stuff after the merge window.

Even *during* the merge window this would probably have made me go
"WTF? Eww!" if I  had noticed.

What is that odd binary blob i2c_hid_desc_override, and where does the
data come from? Not explained anywhere.

We don't just add random binary data without explaining it.

  Linus


[GIT PULL] HID fixes

2018-06-19 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive -rc HID fixes:

=
- Wacom 2nd-gen Intuos Pro large Y axis handling fix from Jason Gerecke
- Fix for hibernation in Intel ISH driver, from Even Xu
- Crash fix for hid-steam driver, from Rodrigo Rivas Costa
- i2c-hid fix for devices (such as SIPODEV SP1064) that fail to provide
  their report descriptor, from Julian Sax
- new device ID addition to google-hammer driver
=

Thanks.


Even Xu (1):
  HID: intel_ish-hid: ipc: register more pm callbacks to support hibernation

Jason Gerecke (1):
  HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large

Julian Sax (1):
  HID: i2c-hid: override HID descriptors for certain devices

Nicolas Boichat (1):
  HID: google: Add support for whiskers

Rodrigo Rivas Costa (1):
  HID: steam: use hid_device.driver_data instead of hid_set_drvdata()

 drivers/hid/hid-google-hammer.c   |   2 +
 drivers/hid/hid-ids.h |   1 +
 drivers/hid/hid-steam.c   |  10 +-
 drivers/hid/i2c-hid/Makefile  |   3 +
 drivers/hid/i2c-hid/{i2c-hid.c => i2c-hid-core.c} |  58 ++---
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c  | 149 ++
 drivers/hid/i2c-hid/i2c-hid.h |  17 +++
 drivers/hid/intel-ish-hid/ipc/pci-ish.c   |  22 +---
 drivers/hid/wacom_sys.c   |   8 ++
 9 files changed, 230 insertions(+), 40 deletions(-)
 rename drivers/hid/i2c-hid/{i2c-hid.c => i2c-hid-core.c} (96%)
 create mode 100644 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
 create mode 100644 drivers/hid/i2c-hid/i2c-hid.h

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID

2018-06-08 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive merge window updates for HID subsystem:

=
- Valve Steam Controller support from Rodrigo Rivas Costa
- Redragon Asura support from Robert Munteanu
- improvement of duplicate usage handling in generic hid-input from 
  Benjamin Tissoires
- Win 8.1 precisioun touchpad spec implementation from Benjamin Tissoires
- Support for "In Range" flag for Wacom Intuos/Bamboo devices from Jason 
  Gerecke
- other various assorted smaller fixes and improvements
=

Thanks.


Arnd Bergmann (1):
  HID: steam: select CONFIG_POWER_SUPPLY

Ben Chan (1):
  HID: multitouch: fix calculation of last slot field in multi-touch reports

Benjamin Tissoires (8):
  HID: input: do not increment usages when a duplicate is found
  HID: store the full list of reports in the hidinput
  HID: generic: create one input report per application type
  HID: input: append a suffix matching the application
  HID: multitouch: make use of HID_QUIRK_INPUT_PER_APP
  HID: multitouch: simplify the settings of the various features
  HID: multitouch: implement precision touchpad latency and switches
  HID: rmi: use HID_QUIRK_NO_INPUT_SYNC

Christophe JAILLET (4):
  HID: alps: Report an error if we receive invalid data in 
't4_read_write_register()'
  HID: alps: Save a memory allocation in 't4_read_write_register()' when 
writing data
  HID: alps: Check errors returned by 't4_read_write_register()'
  HID: alps: Fix some style in 't4_read_write_register()'

Dmitry Torokhov (1):
  HID: i2c-hid: check if device is there before really probing

Hans de Goede (2):
  HID: i2c-hid: Move i2c_hid_acpi_pdata error reporting to inside the 
function
  HID: i2c-hid: Silently fail probe for CHPN0001 touchscreen

Heiner Kallweit (1):
  HID: quirks: remove Delcom Visual Signal Indicator from 
hid_have_special_driver[]

Hisao Tanabe (1):
  HID: core: fix hid_hw_open() comment

Jason Gerecke (1):
  HID: wacom: Support "in range" for Intuos/Bamboo tablets where possible

Jiri Kosina (2):
  HID: steam: add missing fields in client initialization
  HID: multitouch: fix types returned from mt_need_to_apply_feature()

Robert Munteanu (1):
  HID: redragon: Fix modifier keys for Redragon Asura Keyboard

Rodrigo Rivas Costa (2):
  HID: add driver for Valve Steam Controller
  HID: steam: add battery device.

Sebastian Andrzej Siewior (1):
  HID: i2c-hid: remove i2c_hid_open_mut

Terry Junge (1):
  HID: hid-plantronics: Re-resend Update to map button for PTT products

 drivers/hid/Kconfig   |   16 +
 drivers/hid/Makefile  |2 +
 drivers/hid/hid-alps.c|   30 +-
 drivers/hid/hid-core.c|   21 +-
 drivers/hid/hid-generic.c |   15 +
 drivers/hid/hid-gfrm.c|2 +-
 drivers/hid/hid-ids.h |5 +
 drivers/hid/hid-input.c   |  123 -
 drivers/hid/hid-magicmouse.c  |6 +-
 drivers/hid/hid-multitouch.c  |  232 +
 drivers/hid/hid-plantronics.c |6 +-
 drivers/hid/hid-quirks.c  |1 -
 drivers/hid/hid-redragon.c|   86 
 drivers/hid/hid-rmi.c |   20 +
 drivers/hid/hid-steam.c   | 1115 +
 drivers/hid/i2c-hid/i2c-hid.c |   33 +-
 drivers/hid/wacom_wac.c   |   74 +--
 include/linux/hid.h   |   19 +-
 18 files changed, 1621 insertions(+), 185 deletions(-)
 create mode 100644 drivers/hid/hid-redragon.c
 create mode 100644 drivers/hid/hid-steam.c

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes for 4.17

2018-05-09 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive -rc fixes for 4.17 for HID subsystem:

=
- quirk for Toshiba Click Mini L9W-B, from Hans de Goede
- intel-ish-hid and wacom error handling (device freeing) path fixes from 
  Arvind Yadav
- memory corruption fix in intel-ish-hid driver from Hans de Goede
- a few new device ID additions to hid-lenovo from Peter Ganzhorn
=

Thanks.


Arvind Yadav (2):
  HID: wacom: Release device resource data obtained by devres_alloc()
  HID: intel-ish-hid: use put_device() instead of kfree()

Hans de Goede (3):
  HID: intel_ish-hid: Move header size check to inside the loop
  HID: intel_ish-hid: Stop using a static local buffer in get_report()
  HID: i2c-hid: Add RESEND_REPORT_DESCR quirk for Toshiba Click Mini L9W-B

Peter Ganzhorn (1):
  HID: lenovo: Add support for IBM/Lenovo Scrollpoint mice

 drivers/hid/Kconfig  |  7 +++---
 drivers/hid/hid-ids.h|  9 +++
 drivers/hid/hid-lenovo.c | 36 
 drivers/hid/i2c-hid/i2c-hid.c|  2 ++
 drivers/hid/intel-ish-hid/ishtp-hid-client.c | 36 +---
 drivers/hid/intel-ish-hid/ishtp/bus.c|  2 +-
 drivers/hid/wacom_sys.c  |  4 +++-
 7 files changed, 71 insertions(+), 25 deletions(-)

-- 
Jiri Kosina
SUSE Labs


[GIT PULL] HID fixes

2018-04-19 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive fixes for HID subsystem:

=
- suspend/resume handling fix for Raydium I2C-connected touchscreen from 
  Aaron Ma
- protocol fixup for certain BT-connected Wacoms from Aaron Armstrong 
  Skomra 
- battery level reporting fix on BT-connected mice from Dmitry Torokhov
- hidraw race condition fix from Rodrigo Rivas Costa
=

Thanks.


Aaron Armstrong Skomra (1):
  HID: wacom: bluetooth: send exit report for recent Bluetooth devices

Aaron Ma (1):
  HID: i2c-hid: Fix resume issue on Raydium touchscreen device

Dmitry Torokhov (1):
  HID: input: fix battery level reporting on BT mice

Jiri Kosina (1):
  HID: i2c-hid: fix inverted return value from i2c_hid_command()

Rodrigo Rivas Costa (1):
  HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device

 drivers/hid/hid-ids.h |  3 ++
 drivers/hid/hid-input.c   | 24 ++
 drivers/hid/hidraw.c  |  5 +++
 drivers/hid/i2c-hid/i2c-hid.c | 13 
 drivers/hid/wacom_wac.c   | 76 ++-
 include/linux/hid.h   |  9 -
 6 files changed, 92 insertions(+), 38 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID for 4.17

2018-04-05 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID updates for 4.17 merge window

=
- 3rd generation Wacom Intuos BT device support from Aaron Armstrong 
  Skomra
- Support for support for NSG-MR5U and NSG-MR7U devices from Todd Kelner
- Multitouch Razer Blade Stealth support from Benjamin Tissoires
- Elantech toucpad support from Alexandrov Stansilav
- a few other scattered-around fixes and cleanups to drivers and
  generic code
=

Thanks.


Aaron Armstrong Skomra (3):
  HID: wacom: Add support for 3rd generation Intuos BT
  HID: wacom: generic: Support multiple tools per report
  HID: wacom: generic: add the "Report Valid" usage

Aaron Bottegal (1):
  HID: corsair: Add K70 Vengeance and K70 RAPIDFIRE to

Aaron Ma (3):
  HID: i2c-hid: fix size check and type usage
  HID: core: Fix size as type u32
  HID: Fix hid_report_len usage

Aishwarya Pant (2):
  HID: logitech-hidpp: document sysfs interface
  HID: ntrig: document sysfs interface

Alexandrov Stansilav (1):
  HID: Add driver for USB ELAN Touchpad

Andy Shevchenko (1):
  HID: i2c-hid: Use ACPI_COMPANION() directly

Benjamin Tissoires (8):
  HID: core: rewrite the hid-generic automatic unbind
  HID: multitouch: export a quirk for the button handling of touchpads
  HID: multitouch: remove dead zones of Razer Blade Stealth
  HID: use BIT macro instead of plain integers for flags
  HID: use BIT() macro for quirks too
  HID: core: remove the need for HID_QUIRK_NO_EMPTY_INPUT
  HID: multitouch: do not set HID_QUIRK_NO_INIT_REPORTS
  HID: core: reset the quirks before calling probe again

Colin Ian King (1):
  HID: asus: make array 'buf' static const

Filip Alac (1):
  HID: usbhid: extend the polling interval configuration to keyboards

Gustavo A. R. Silva (2):
  HID: hid-ntrig: use true and false for boolean values
  HID: hid-multitouch: Use true and false for boolean values

Guus Sliepen (1):
  HID: corsair: Add support for the GLAIVE RGB gaming mouse

Haridhar Kalvala (1):
  HID: google: Enable PM Full On mode when adjusting backlight

Jiri Kosina (1):
  HID: wacom: wacom_wac_collection() is local to wacom_wac.c

Todd Kelner (1):
  HID: sony: Add touchpad support for NSG-MR5U and NSG-MR7U remotes

Tomasz Kramkowski (2):
  HID: elecom: refer to trackballs by model name instead of series
  HID: elecom: add support for EX-G M-XT4DRBK trackball

Wei-Ning Huang (1):
  HID: google: add google hammer HID driver

Xiongfeng Wang (1):
  HID: uhid: use strlcpy() instead of strncpy()

 .../ABI/testing/sysfs-driver-hid-logitech-hidpp|  19 +
 Documentation/ABI/testing/sysfs-driver-hid-ntrig   |  70 
 Documentation/admin-guide/kernel-parameters.txt|   3 +
 drivers/hid/Kconfig|  20 +-
 drivers/hid/Makefile   |   2 +
 drivers/hid/hid-asus.c |   7 +-
 drivers/hid/hid-core.c |  47 ++-
 drivers/hid/hid-corsair.c  |  24 +-
 drivers/hid/hid-elan.c | 421 +
 drivers/hid/hid-elecom.c   |  32 +-
 drivers/hid/hid-generic.c  |  33 --
 drivers/hid/hid-google-hammer.c| 138 +++
 drivers/hid/hid-ids.h  |  21 +-
 drivers/hid/hid-input.c|  13 +-
 drivers/hid/hid-multitouch.c   |  68 ++--
 drivers/hid/hid-ntrig.c|  12 +-
 drivers/hid/hid-quirks.c   |  20 +-
 drivers/hid/hid-rmi.c  |   4 +-
 drivers/hid/hid-sony.c | 131 ++-
 drivers/hid/hid-uclogic.c  |   1 -
 drivers/hid/i2c-hid/i2c-hid.c  |  17 +-
 drivers/hid/uhid.c |  12 +-
 drivers/hid/usbhid/hid-core.c  |  12 +-
 drivers/hid/wacom_sys.c|   4 +-
 drivers/hid/wacom_wac.c| 223 ---
 drivers/hid/wacom_wac.h|   4 +-
 include/linux/hid.h|  75 ++--
 27 files changed, 1180 insertions(+), 253 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-hid-logitech-hidpp
 create mode 100644 Documentation/ABI/testing/sysfs-driver-hid-ntrig
 create mode 100644 drivers/hid/hid-elan.c
 create mode 100644 drivers/hid/hid-google-hammer.c

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID

2018-01-31 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID updates queued for 4.16 merge window:

=
- Removal of hid_have_special_driver[] entry hard requirement for any 
  newly supported VID/PID by a specific non-core hid driver, and general 
  related cleanup of HID matching core, from Benjamin Tissoires

- Support for new Wacom devices and a few small fixups for already 
  supported ones in Wacom driver, from Aaron Armstrong Skomra and Jason 
  Gerecke

- sysfs interface fix for roccat driver from Dan Carpenter

- Support for new Asus HW (T100TAF, T100HA, T200TA) from Hans de Goede

- improved support for Jabra devices, from Niels Skou Olsen

- other assorted small fixes and new device IDs
=

Thanks.


Aaron Armstrong Skomra (1):
  HID: wacom: EKR: ensure devres groups at higher indexes are released

Andrew Duggan (1):
  HID: rmi: Support the Fujitsu R726 Pad dock using hid-rmi

Andy Shevchenko (1):
  HID: sony: Print reversed MAC address via %pMR

Benjamin Tissoires (4):
  HID: core: move the dynamic quirks handling in core
  HID: quirks: move the list of special devices into a quirk
  HID: core: move the list of ignored devices in hid-quirks.c
  HID: core: remove the absolute need of hid_have_special_driver[]

Colin Ian King (1):
  HID: quirks: make array hid_quirks static

Dan Carpenter (1):
  HID: roccat: prevent an out of bounds read in kovaplus_profile_activated()

Dave Young (1):
  HID: add quirk for another PIXART OEM mouse used by HP

Hans de Goede (8):
  HID: multitouch: Fix alphabetic sorting of mt_devices table.
  HID: multitouch: Properly deal with Win8 PTP reports with 0 touches
  HID: multitouch: Only look at non touch fields in first packet of a frame
  HID: multitouch: Combine all left-button events in a frame
  HID: asus: Add product-id for the T100TAF and T100HA keyboard docks
  HID: asus: Add touchpad max x/y and resolution info for the T200TA
  HID: asus: Fix special function keys on T200TA
  HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working

Jason Gerecke (4):
  HID: wacom: Properly handle AES serial number and tool type
  HID: wacom: Queue events with missing type/serial data for later 
processing
  HID: wacom: Fix reporting of touch toggle (WACOM_HID_WD_MUTE_DEVICE) 
events
  HID: wacom: Add support for One by Wacom (CTL-472 / CTL-672)

Jiri Kosina (1):
  HID: elo: clear BTN_LEFT mapping

Niels Skou Olsen (2):
  HID: Ignore Jabra HID interface based on firmware version
  HID: Add special driver for Jabra devices

Rajat Jain (1):
  HID: i2c-hid: Allow ACPI systems to specify "post-power-on-delay-ms"

Roderick Colenbrander (1):
  HID: sony: Report DS4 version info through sysfs

Srinivas Pandruvada (1):
  HID: intel-ish-hid: Enable Cannon Lake and Coffee Lake laptop/desktop

Tomasz Kramkowski (1):
  HID: elecom: rewrite report fixup for EX-G and future mice

Wei-Ning Huang (1):
  HID: hid-multitouch: support fine-grain orientation reporting

 .../devicetree/bindings/input/hid-over-i2c.txt |2 +-
 Documentation/input/multi-touch-protocol.rst   |9 +-
 drivers/hid/Kconfig|   12 +
 drivers/hid/Makefile   |3 +-
 drivers/hid/hid-asus.c |   41 +-
 drivers/hid/hid-core.c |  932 +-
 drivers/hid/hid-elecom.c   |   78 +-
 drivers/hid/hid-elo.c  |6 +
 drivers/hid/hid-generic.c  |   68 +-
 drivers/hid/hid-ids.h  |7 +-
 drivers/hid/hid-jabra.c|   58 +
 drivers/hid/hid-multitouch.c   |  137 ++-
 drivers/hid/hid-quirks.c   | 1276 
 drivers/hid/hid-rmi.c  |1 +
 drivers/hid/hid-roccat-kovaplus.c  |2 +
 drivers/hid/hid-sony.c |   93 +-
 drivers/hid/i2c-hid/i2c-hid.c  |   18 +-
 drivers/hid/intel-ish-hid/ipc/hw-ish.h |1 +
 drivers/hid/intel-ish-hid/ipc/pci-ish.c|1 +
 drivers/hid/usbhid/Makefile|2 +-
 drivers/hid/usbhid/hid-core.c  |   11 +-
 drivers/hid/usbhid/hid-quirks.c|  402 --
 drivers/hid/wacom_sys.c|  134 +-
 drivers/hid/wacom_wac.c|   67 +-
 drivers/hid/wacom_wac.h|6 +
 include/linux/hid.h|   22 +-
 net/bluetooth/hidp/core.c  |2 +-
 27 files changed, 1995 insertions(+), 1396 deletions(-)
 create mode 100644 drivers/hid/hid-jabra.c
 create m

[GIT PULL] HID

2017-12-30 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive 

=
- two cosmetic fixes from Daniel Axtens and Hans de Goede
- fix for I2C command mismatch fix for cp2112 driver from Eudean Sun
=

Thanks.


Daniel Axtens (1):
  HID: holtekff: move MODULE_* parameters out of #ifdef block

Eudean Sun (1):
  HID: cp2112: Fix I2C_BLOCK_DATA transactions

Hans de Goede (1):
  HID: core: lower log level for unknown main item tags to warnings

 drivers/hid/hid-core.c |  2 +-
 drivers/hid/hid-cp2112.c   | 15 +--
 drivers/hid/hid-holtekff.c |  8 
 3 files changed, 18 insertions(+), 7 deletions(-)

-- 
Jiri Kosina
SUSE Labs


[GIT PULL] HID for 4.15

2017-11-15 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem updates for 4.15:

=
- High resolution mode for Dell canvas support, from Benjamin Tissoires
- Pen handling fixes for the Wacom driver, from Jason Gerecke
- i2c-hid: Apollo-Lake based laptops improvements, from Hans de Goede
- Input/Core: eraser tool support, from Ping Cheng
- New ALPS touchpad (T4, found currently on HP EliteBook 1000, Zbook  
  Stduio and HP Elite book x360) supportm from Masaki Ota
- other smaller assorted fixes
=

Thanks.


Andrew Duggan (1):
  HID: rmi: Check that a device is a RMI device before calling RMI functions

Arvind Yadav (1):
  HID: hyperv: pr_err() strings should end with newlines

Bastien Nocera (1):
  HID: sony: Fix SHANWAN pad rumbling on USB

Benjamin Tissoires (1):
  HID: Wacom: switch Dell canvas into highres mode

Bhumika Goyal (1):
  HID: make device_attribute const

Colin Ian King (2):
  HID: hid-lg: make array cbuf static const to shink object code size
  HID: hid-logitech: remove redundant assignment to pointer value

Florian Mueller (1):
  HID: add multi-input quirk for GamepadBlock

Hans de Goede (1):
  HID: i2c-hid: Add no-irq-after-reset quirk for 0911:5288 device

Jaejoong Kim (1):
  HID: add comment for power callback in struct hid_ll_driver

Jason Gerecke (7):
  HID: wacom: generic: Use generic codepath terminology in 
wacom_wac_pen_report
  HID: wacom: generic: Leave tool in prox until it completely leaves sense
  HID: wacom: generic: Send BTN_TOOL_PEN in prox once the pen enters range
  HID: wacom: generic: Reset events back to zero when pen leaves
  Revert "HID: wacom: generic: Send BTN_TOOL_PEN in prox once the pen 
enters range"
  HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen 
collection
  HID: wacom: generic: Send BTN_STYLUS3 when both barrel switches are set

Kees Cook (1):
  HID: usbhid: Convert timers to use timer_setup()

Masaki Ota (6):
  HID: alps: delete unnecessary struct u1_dev devInfo
  HID: alps: Separate U1 device code
  HID: alps: properly handle max_fingers and minimum on X and Y axis
  HID: alps: remove variables local to u1_init() from the device struct
  HID: alps: add support for Alps T4 Touchpad device
  HID: alps: add new U1 device ID

Maxime Bellengé (1):
  HID: asus: Add support for Fn keys on Asus ROG G752

Mustafa Kuscu (1):
  HID: add backlight level quirk for Asus ROG laptops

Nicolas Boichat (1):
  HID: hid-multitouch: forward MSC_TIMESTAMP

Ping Cheng (1):
  HID: hid-input: Add eraser usage to hidinput_configure_usage

Randy Dunlap (1):
  HID: retrode: tell what a Retrode is and drop a blank line

Sébastien Szymanski (3):
  HID: cp2112: add HIDRAW dependency
  HID: cp2112: fix interface specification URL
  HID: cp2112: fix broken gpio_direction_input callback

Viktor Chapliev (1):
  HID: Add ID 044f:b605 ThrustMaster, Inc. force feedback Racing Wheel

 drivers/hid/Kconfig|   5 +-
 drivers/hid/hid-alps.c | 520 ++---
 drivers/hid/hid-asus.c |  31 +-
 drivers/hid/hid-core.c |   8 +-
 drivers/hid/hid-cp2112.c   |  10 +-
 drivers/hid/hid-hyperv.c   |   2 +-
 drivers/hid/hid-ids.h  |  10 +
 drivers/hid/hid-input.c|   9 +
 drivers/hid/hid-lg.c   |   4 +-
 drivers/hid/hid-lg4ff.c|   4 +-
 drivers/hid/hid-multitouch.c   |  52 +++-
 drivers/hid/hid-rmi.c  |  13 +-
 drivers/hid/hid-sony.c |  14 +-
 drivers/hid/hid-tmff.c |   2 +
 drivers/hid/i2c-hid/i2c-hid.c  |   7 +-
 drivers/hid/usbhid/hid-core.c  |   8 +-
 drivers/hid/usbhid/hid-quirks.c|   1 +
 drivers/hid/wacom_sys.c|   7 +
 drivers/hid/wacom_wac.c|  44 ++-
 drivers/hid/wacom_wac.h|   3 +
 include/linux/hid.h|   2 +
 include/uapi/linux/input-event-codes.h |   1 +
 22 files changed, 608 insertions(+), 149 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes

2017-10-12 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive

=
- fix for potential out-of-bounds memory access (found by fuzzing, likely 
  requires specially crafted device to trigger) by Jaejoong Kim
- two new device IDs for elecom driver from Alex Manoussakis
=

Thank you.


Alex Manoussakis (1):
  HID: hid-elecom: extend to fix descriptor for HUGE trackball

Jaejoong Kim (1):
  HID: usbhid: fix out-of-bounds bug

 drivers/hid/Kconfig   |  1 +
 drivers/hid/hid-core.c|  2 ++
 drivers/hid/hid-elecom.c  | 13 +
 drivers/hid/hid-ids.h |  2 ++
 drivers/hid/usbhid/hid-core.c | 12 +++-
 5 files changed, 25 insertions(+), 5 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes

2017-10-05 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem fixes

=
- buffer management size fix for i2c-hid driver, from Adrian Salido
- tool ID regression fixes for Wacom driver from Jason Gerecke
- a few small assorted fixes and a few device ID additions
=

Thanks.


Aaron Armstrong Skomra (1):
  HID: wacom: leds: Don't try to control the EKR's read-only LEDs

Adrian Salido (1):
  HID: i2c-hid: allocate hid buffers for real worst case

Dmitry Torokhov (1):
  HID: hidraw: fix power sequence when closing device

Hans de Goede (1):
  HID: multitouch: Fix system-control buttons not working

Jason Gerecke (5):
  HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth
  HID: wacom: Correct coordinate system of touchring and pen twist
  HID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox
  HID: wacom: generic: Clear ABS_MISC when tool leaves proximity
  HID: wacom: Always increment hdev refcount within wacom_get_hdev_data

Kai-Heng Feng (1):
  Revert "HID: multitouch: Support ALPS PTP stick with pid 0x120A"

Lyude (1):
  HID: rmi: Make sure the HID device is opened on resume

Nicholas Bishop (1):
  HID: add multi-input quirk for IDC6680 touchscreen

Pavel Tatashin (1):
  HID: multitouch: support buttons and trackpoint on Lenovo X1 Tab Gen2

Ping Cheng (1):
  HID: wacom: bits shifted too much for 9th and 10th buttons

Shrirang Bagul (1):
  HID: multitouch: Support ALPS PTP stick with pid 0x120A

 drivers/hid/hid-ids.h   |   2 +
 drivers/hid/hid-multitouch.c|   7 +++
 drivers/hid/hid-rmi.c   |  13 +++--
 drivers/hid/hidraw.c|   2 +-
 drivers/hid/i2c-hid/i2c-hid.c   |   3 +-
 drivers/hid/usbhid/hid-quirks.c |   1 +
 drivers/hid/wacom_sys.c |   7 ++-
 drivers/hid/wacom_wac.c | 110 
 8 files changed, 118 insertions(+), 27 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID for 4.14 merge window

2017-09-05 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem updates queued for 4.14 merge window.

=
- Wacom driver fixes/updates (device name generation improvements,
  touch ring status support) from Jason Gerecke
- T100 touchpad support from Hans de Goede
- support for batteries driven by HID input reports, from Dmitry Torokhov
- Arnd pointed out that driver_lock semaphore is superfluous, as
  driver core already provides all the necessary concurency protection.
  Removal patch from Binoy Jayan
- logical minimum numbering improvements in sensor-hub driver, from 
  Srinivas Pandruvada
- support for Microsoft Win8 Wireless Radio Controls extensions
  from João Paulo Rechi Vita
- assorted small fixes and device ID additions
=

Thanks.



Arnd Bergmann (1):
  HID: wacom: add USB_HID dependency

Arvind Yadav (7):
  HID: multitouch: constify attribute_group structures.
  HID: sensor: constify attribute_group structures.
  HID: logitech-hidpp: constify attribute_group structures.
  HID: ntrig: constify attribute_group structures.
  HID: usbkbd: constify usb_device_id and fix space before '[' error.
  HID: usbmouse: constify usb_device_id and fix space before '[' error
  HID: sensor: constify platform_device_id

Binoy Jayan (1):
  HID: Remove the semaphore driver_lock

Christos Gkekas (1):
  HID: wacom: Remove comparison of u8 mode with zero and simplify.

Dmitry Torokhov (3):
  HID: input: map digitizer battery usage
  HID: input: optionally use device id in battery name
  HID: input: throttle battery uevents

Hans de Goede (6):
  HID: asus: Add support for T100 touchpad
  HID: asus: Parameterize the touchpad code
  HID: asus: Fix T100TA touchpad y dimensions
  HID: asus: Add T100TA touchpad resolution info
  HID: asus: Add T100CHI bluetooth keyboard dock special keys mapping
  HID: asus: Add T100CHI bluetooth keyboard dock touchpad support

Jason Gerecke (3):
  HID: introduce hid_is_using_ll_driver
  HID: wacom: Improve generic name generation
  HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage

Jiri Kosina (1):
  HID: multitouch: use proper symbolic constant for 0xff310076 application

João Paulo Rechi Vita (2):
  HID: multitouch: Support HID_GD_WIRELESS_RADIO_CTLS
  HID: multitouch: Support Asus T304UA media keys

Julia Lawall (1):
  HID: prodikeys: constify snd_rawmidi_ops structures

Kyle Roarty (1):
  HID: add ALWAYS_POLL quirk for Logitech 0xc077

Srinivas Pandruvada (1):
  HID: hid-sensor-hub: Force logical minimum to 1 for power and report state

 drivers/hid/Kconfig|   2 +-
 drivers/hid/hid-asus.c | 218 -
 drivers/hid/hid-core.c |  16 +-
 drivers/hid/hid-ids.h  |   5 +-
 drivers/hid/hid-input.c| 196 --
 drivers/hid/hid-logitech-hidpp.c   |   2 +-
 drivers/hid/hid-multitouch.c   |  50 -
 drivers/hid/hid-ntrig.c|   2 +-
 drivers/hid/hid-prodikeys.c|   2 +-
 drivers/hid/hid-sensor-custom.c|   4 +-
 drivers/hid/hid-sensor-hub.c   |  94 -
 drivers/hid/i2c-hid/i2c-hid.c  |   3 +-
 drivers/hid/uhid.c |   3 +-
 drivers/hid/usbhid/hid-core.c  |   3 +-
 drivers/hid/usbhid/hid-quirks.c|   1 +
 drivers/hid/usbhid/usbkbd.c|   2 +-
 drivers/hid/usbhid/usbmouse.c  |   2 +-
 drivers/hid/wacom_sys.c|  63 +++---
 drivers/hid/wacom_wac.c|   8 +-
 .../iio/common/hid-sensors/hid-sensor-attributes.c |   3 +
 include/linux/hid.h|  18 +-
 net/bluetooth/hidp/core.c  |   3 +-
 22 files changed, 436 insertions(+), 264 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID regression fix

2017-07-25 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive

=
- regression fix (missing IRQs) for devices that require 'always poll' 
  quirk, from Dmitry Torokhov
- new device ID addition to Ortek driver, from Benjamin Tissoires
=

Thanks.


Benjamin Tissoires (1):
  HID: ortek: add one more buggy device

Dmitry Torokhov (1):
  HID: usbhid: fix "always poll" quirk

 drivers/hid/hid-core.c|  1 +
 drivers/hid/hid-ids.h |  1 +
 drivers/hid/hid-ortek.c   |  6 --
 drivers/hid/usbhid/hid-core.c | 16 ++--
 4 files changed, 16 insertions(+), 8 deletions(-)

-- 
Jiri Kosina
SUSE Labs


[GIT PULL] HID regression fix

2017-07-20 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive

=
- HID multitouch 4.12 regression fix from Dmitry Torokhov
- error handling fix for HID++ driver from Gustavo A. R. Silva
=

Thanks.


Dmitry Torokhov (1):
  HID: multitouch: do not blindly set EV_KEY or EV_ABS bits

Gustavo A. R. Silva (1):
  HID: hid-logitech-hidpp: add NULL check on devm_kmemdup() return value

 drivers/hid/hid-logitech-hidpp.c |  3 +++
 drivers/hid/hid-multitouch.c | 16 
 2 files changed, 7 insertions(+), 12 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 4.13

2017-07-10 Thread Jiri Kosina
On Mon, 10 Jul 2017, Linus Torvalds wrote:

> >   git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus
> 
> I've pulled this, but looking at the thing, I absolutely _hate_ your
> merge commits.
> 
> They have no commit messages! They look like this:
> 
> Merge branches 'for-4.13/ish' and 'for-4.13/ite' into for-linus
> 
> Conflicts:
> drivers/hid/hid-core.c
> 
> which doesn't tell anybody anything.
> 
> Please. If you can't make a message for a merge, don't do the merge.
> Send me the separate branches instead.
> 
> Or just write useful merge messages.
> 
> It's possible that you're running some truly ancient git version that
> didn't start an editor by default for merges. If so, upgrade your git
> install.
> 
> Either way, it's not ok to do merges without explanations. We have
> higher standards for kernel history than that.

Yeah, point taken. I usually have a lot of small-to-tiny topic branches, 
where I myself consider even the name of the branch often descriptive 
enough; but I agree that this might not be the case for someone else 
reviewing the merge.

Will continue with my current workflow and I'll increase the verbosity of 
the merge logs.

Thanks,

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 4.13

2017-07-10 Thread Linus Torvalds
On Mon, Jul 10, 2017 at 2:24 AM, Jiri Kosina  wrote:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

I've pulled this, but looking at the thing, I absolutely _hate_ your
merge commits.

They have no commit messages! They look like this:

Merge branches 'for-4.13/ish' and 'for-4.13/ite' into for-linus

Conflicts:
drivers/hid/hid-core.c

which doesn't tell anybody anything.

Please. If you can't make a message for a merge, don't do the merge.
Send me the separate branches instead.

Or just write useful merge messages.

It's possible that you're running some truly ancient git version that
didn't start an editor by default for merges. If so, upgrade your git
install.

Either way, it's not ok to do merges without explanations. We have
higher standards for kernel history than that.

  Linus


[GIT PULL] HID for 4.13

2017-07-10 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID updates for 4.13 merge window:

=
- open/close tracking improvements from Dmitry Torokhov
- battery support improvements in Wacom driver from Jason Gerecke
- Win8 support fixes from Benjamin Tissories and Hans de Geode
- misc fixes to Intel-ISH driver from Arnd Bergmann
- support for quite a few new devices and small assorted fixes here and 
  there
=

Thanks.


Alex Henrie (1):
  HID: apple: Use country code to detect ISO keyboards

Andy Shevchenko (1):
  HID: core: don't use negative operands when shift

Arnd Bergmann (5):
  HID: intel_ish-hid: fix potential uninitialized data usage
  HID: intel_ish-hid: clarify locking in client code
  HID: intel_ish-hid: convert timespec to ktime_t
  HID: intel_ish-hid: fix format string for size_t
  HID: intel_ish-hid: enable compile testing

Bastien Nocera (1):
  HID: Add driver for Retrode2 joypad adapter

Benjamin Tissoires (3):
  HID: multitouch: use BIT macro
  HID: multitouch: fix rare Win 8 cases when the touch up event gets missing
  HID: multitouch: optimize the sticky fingers timer

Colin Ian King (1):
  HID: wacom: fix mistake in printk

Daniel Drake (2):
  HID: move Asus keyboard support from hid-chicony to hid-asus
  HID: asus: Add support for Zen AiO MD-5110 keyboard

Dmitry Torokhov (8):
  HID: hiddev: use hid_hw_open/close instead of usbhid_open/close
  HID: hiddev: use hid_hw_power instead of usbhid_get/put_power
  HID: usbhid: do not rely on hid->open when deciding to do IO
  HID: serialize hid_hw_open and hid_hw_close
  HID: i2c-hid: remove custom locking from i2c_hid_open/close
  HID: usbhid: remove custom locking from usbhid_open/close
  greybus: hid: remove custom locking from gb_hid_open/close
  HID: remove no longer used hid->open field

Hans de Goede (3):
  HID: Add mapping for Microsoft Win8 Wireless Radio Controls extensions
  HID: ite: Add hid-ite driver
  HID: Microsoft Win8 Wireless Radio Controls cleanup

Jason Gerecke (5):
  HID: wacom: generic: Scale battery capacity measurements to percentages
  HID: wacom: generic: Ignore HID_DG_BATTERYSTRENTH == 0
  HID: wacom: generic: Report AES battery information
  HID: wacom: Add ability to provide explicit battery status info
  HID: wacom: generic: Refactor generic battery handling

Masaki Ota (1):
  HID: multitouch: Support PTP Stick and Touchpad device

Song Hongyan (2):
  HID: intel-ish-hid: Enable Cannon Lake ish driver
  HID: intel-ish-hid: Enable Gemini Lake ish driver

Wei-Ning Huang (1):
  HID: multitouch: Add support for Google Rose Touchpad

Wolfram Sang (1):
  HID: i2c-hid: move header file out of I2C realm

 drivers/hid/Kconfig|  15 ++
 drivers/hid/Makefile   |   2 +
 drivers/hid/hid-apple.c|  59 
 drivers/hid/hid-asus.c |  30 
 drivers/hid/hid-chicony.c  |   2 -
 drivers/hid/hid-core.c | 102 -
 drivers/hid/hid-ids.h  |  14 +-
 drivers/hid/hid-input.c|   9 ++
 drivers/hid/hid-ite.c  |  56 +++
 drivers/hid/hid-multitouch.c   | 184 ++-
 drivers/hid/hid-retrode.c  | 100 +
 drivers/hid/i2c-hid/i2c-hid.c  |  34 ++---
 drivers/hid/intel-ish-hid/Kconfig  |   2 +-
 drivers/hid/intel-ish-hid/ipc/hw-ish.h |   2 +
 drivers/hid/intel-ish-hid/ipc/ipc.c|  15 +-
 drivers/hid/intel-ish-hid/ipc/pci-ish.c|   2 +
 drivers/hid/intel-ish-hid/ishtp-hid-client.c   |   5 +-
 drivers/hid/intel-ish-hid/ishtp/client.c   |  49 +++---
 drivers/hid/intel-ish-hid/ishtp/client.h   |   6 +-
 drivers/hid/intel-ish-hid/ishtp/hbm.c  |  11 +-
 drivers/hid/usbhid/hid-core.c  | 150 +--
 drivers/hid/usbhid/hiddev.c|  24 +--
 drivers/hid/usbhid/usbhid.h|  15 +-
 drivers/hid/wacom.h|   1 +
 drivers/hid/wacom_sys.c|   4 +-
 drivers/hid/wacom_wac.c| 200 +++--
 drivers/hid/wacom_wac.h|   7 +
 drivers/staging/greybus/hid.c  |  43 ++
 include/linux/hid.h|  82 +++---
 include/linux/{i2c => platform_data}/i2c-hid.h |   0
 30 files changed, 798 insertions(+), 427 deletions(-)
 create mode 100644 drivers/hid/hid-ite.c
 create mode 100644 drivers/hid/hid-retrode.c
 rename include/linux/{i2c => platform_data}/i2c-hid.h (100%)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes

2017-06-20 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive two small HID subsystem fixes

=
- revert of a commit to magicmouse driver that regressess certain devices, 
  from Daniel Stone
- quirk for a specific Dell mouse, from Sebastian Parschauer
=

Thanks.


Daniel Stone (1):
  Revert "HID: magicmouse: Set multi-touch keybits for Magic Mouse"

Sebastian Parschauer (1):
  HID: Add quirk for Dell PIXART OEM mouse

 drivers/hid/hid-ids.h   |  3 +++
 drivers/hid/hid-magicmouse.c| 15 +++
 drivers/hid/usbhid/hid-quirks.c |  1 +
 3 files changed, 11 insertions(+), 8 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fix

2017-06-14 Thread Jiri Kosina
Linus,

please consider pulling from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git 
for-4.12/driver-matching-fix

to receive

- ifdef-based bandaid for a long-standing issue with HID driver matching, 
  avoiding regressions in cases where specific driver is not enabled in 
  kernel .config, from Jiri Kosina


Jiri Kosina (1):
  HID: let generic driver yield control iff specific driver has been enabled

 drivers/hid/hid-core.c | 282 ++---
 1 file changed, 221 insertions(+), 61 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes for 4.12

2017-06-02 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID bugfixes for 4.12

=
- corner-case oops fixes for Asus and Wacom drivers from Carlo Caione and 
  Jason Gerecke
- power management fix (reported on SIS0817 touchscreen) for i2c-hid 
  devices from Hans de Goede
- device-id-specific fixes and quirks from Hans de Goede, Diego Elio 
  Pettenò and Che-Liang Chiou
=

Thanks!


Carlo Caione (1):
  HID: asus: Stop underlying hardware on remove

Che-Liang Chiou (1):
  HID: magicmouse: Set multi-touch keybits for Magic Mouse

Diego Elio Pettenò (1):
  HID: elecom: extend to fix the descriptor for DEFT trackballs

Hans de Goede (2):
  HID: asus: Add support for T100 keyboard
  HID: i2c: Call acpi_device_fix_up_power for ACPI-enumerated devices

Jason Gerecke (1):
  HID: wacom: Have wacom_tpc_irq guard against possible NULL dereference

 drivers/hid/Kconfig   |  6 +++--
 drivers/hid/hid-asus.c| 12 +
 drivers/hid/hid-core.c|  3 +++
 drivers/hid/hid-elecom.c  | 62 ---
 drivers/hid/hid-ids.h |  3 +++
 drivers/hid/hid-magicmouse.c  | 15 ++-
 drivers/hid/i2c-hid/i2c-hid.c | 13 +
 drivers/hid/wacom_wac.c   | 45 ---
 8 files changed, 119 insertions(+), 40 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID for 4.12

2017-05-02 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive HID subsystem updates for 4.12

Thanks.

=
- the need for HID_QUIRK_NO_INIT_REPORTS per-device quirk has been growing 
  dramatically during past years, so the time has come to switch over the
  default, and perform the pro-active reading only in cases where it's
  really needed (multitouch, wacom). The only place where this behavior
  is (in some form) preserved is hiddev so that we don't introduce 
  userspace-visible change of behavior. From Benjamin Tissoires

- HID++ support for power_supply / baterry reporting, from Benjamin 
  Tissoires and Bastien Nocera

- vast improvements / rework of DS3 and DS4 in Sony driver, from Roderick 
  Colenbrander

- improving (in terms of getting closer to the Microsoft's interpretation 
  of slightly ambiguous specification) of logical range interpretation
  in case null-state is set in the rdesc. From Valtteri Heikkilä and 
  Tomasz Kramkowski

- a lot of newly supported device IDs and small assorted fixes
=


Aaron Armstrong Skomra (1):
  HID: wacom: Bamboo One Medium does not have touch

Arnd Bergmann (1):
  HID: logitech-hidpp: select CONFIG_POWER_SUPPLY

Bartosz Golaszewski (1):
  HID: cp2112: select GPIOLIB_IRQCHIP instead of depending on it

Bastien Nocera (1):
  HID: logitech-hidpp: Add scope to battery

Benjamin Tissoires (21):
  HID: logitech-hidpp: remove HIDPP_QUIRK_CONNECT_EVENTS
  HID: wacom: generic: add mode change touch key
  HID: remove initial reading of reports at connect
  HID: logitech-dj: allow devices to request full pairing information
  HID: logitech-hidpp: make sure we only register one battery per device
  HID: logitech-hidpp: do not query the name through HID++ for 1.0 devices
  HID: logitech-hidpp: create a capabilities bits field
  HID: logitech-hidpp: rework probe path for unifying devices
  HID: logitech-hidpp: retrieve the HID++ device name when available
  HID: logitech-hidpp: rework hidpp_connect_event()
  HID: logitech-hidpp: handle battery events in hidpp_raw_hidpp_event()
  HID: logitech-hidpp: forward device info in power_supply
  HID: logitech-hidpp: create the battery for all types of HID++ devices
  HID: logitech-hidpp: return an error if the queried feature is not present
  HID: logitech-hidpp: notify battery on connect
  HID: logitech-hidpp: battery: provide ONLINE property
  HID: logitech-hidpp: rename battery level into capacity
  HID: logitech-hidpp: battery: provide CAPACITY_LEVEL
  HID: logitech-hidpp: add support for battery status for the K750
  HID: logitech-hidpp: enable HID++ 1.0 battery reporting
  HID: logitech-hidpp: add a sysfs file to tell we support power_supply

Brian Norris (1):
  HID: i2c-hid: support regulator power on/off

Caesar Wang (1):
  devicetree: i2c-hid: Add regulator support

Carlo Caione (1):
  HID: asus: support backlight on USB keyboards

Chris Chiu (1):
  HID: asus: support Republic of Gamers special keys

Christophe JAILLET (1):
  HID: i2c-hid: Fix error handling

Colin Ian King (1):
  HID: sony: remove redundant check for -ve err

Daniel Drake (1):
  HID: asus: drop dependency on I2C_HID

Frank Praznik (1):
  HID: sony: Use LED_CORE_SUSPENDRESUME

HungNien Chen (1):
  HID: multitouch: change for touch height/width

Jaejoong Kim (2):
  HID: cp2112: use proper hidraw name with minor number
  HID: hiddev: reallocate hiddev's minor number

Jason Gerecke (1):
  HID: wacom: Move wacom_remote_irq and wacom_remote_status_irq

Joe Perches (1):
  HID: usbhid: Use pr_ and remove unnecessary OOM messages

Jonathan Tomer (1):
  HID: Add quirk driver for NTI USB-SUN adapter

Martyn Welch (1):
  HID: Accutouch: Add driver for ELO Accutouch 2216 USB Touchscreens

Matjaz Hegedic (3):
  HID: asus: fix and generalize ambiguous preprocessor macros
  HID: asus: ignore declared dummy usages
  HID: asus: change mapping from KEY_WLAN to KEY_RFKILL

Peter Hutterer (1):
  HID: logitech-hidpp: add battery support for HID++ 2.0 devices

Ping Cheng (3):
  HID: wacom: generic: add 3 tablet touch keys
  HID: wacom: generic: support touch on/off softkey
  HID: wacom: generic: sync pad events only for actual packets

Roderick Colenbrander (18):
  HID: sony: Report DS4 motion sensors through a separate device
  HID: sony: Calibrate DS4 motion sensors
  HID: sony: Report hardware timestamp for DS4 sensor values
  HID: sony: Remove report descriptor fixup for DS4
  HID: sony: Treat the ds4 dongle as a separate device
  HID: sony: Make work handling more generic
  HID: sony: Support motion sensor calibration on dongle
  HID: sony: Mark DS4 touchpad device as a pointer
  HID: sony: DS3 comply to Linux gamepad spec
  HID: s

[GIT PULL] HID regression fix

2017-04-20 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive two last-minute regression fixes for Wacom driver from Jason 
Gerecke

Thanks.


Jason Gerecke (2):
  HID: wacom: Treat HID_DG_TOOLSERIALNUMBER as unsigned
  HID: wacom: Override incorrect logical maximum contact identifier

 drivers/hid/wacom_wac.c | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID subsystem regression fix

2017-04-11 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive 

=

- revert of a commit that switched all Synaptics touchpads over 
  to be driven by hid-rmi. It turns out that this caused several 
  user-visible regressions, and therefore we revert back to the original 
  state before all the reported issues have been fixed. 

- a new uclogic device ID addition, from Xiaolei Yu.

=

Thanks.


Jiri Kosina (1):
  Revert "HID: rmi: Handle all Synaptics touchpads using hid-rmi"

Xiaolei Yu (1):
  HID: uclogic: add support for Ugee Tablet EX07S

 drivers/hid/hid-core.c| 4 ++--
 drivers/hid/hid-ids.h | 3 +++
 drivers/hid/hid-uclogic.c | 2 ++
 3 files changed, 7 insertions(+), 2 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes

2017-03-31 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to get HID fixes:

- Wacom regression fixes, from Aaron Armstrong Skomra
- new device ID addition by Peter Stein

Thanks.


Aaron Armstrong Skomra (2):
  HID: wacom: Don't add ghost interface as shared data
  HID: wacom: call _query_tablet_data() for BAMBOO_TOUCH

Peter Stein (1):
  HID: xinmo: fix for out of range for THT 2P arcade controller.

 drivers/hid/hid-core.c  |  1 +
 drivers/hid/hid-ids.h   |  1 +
 drivers/hid/hid-xinmo.c |  1 +
 drivers/hid/wacom_sys.c | 18 ++
 4 files changed, 13 insertions(+), 8 deletions(-)

-- 
Jiri Kosina
SUSE Labs



[GIT PULL] HID fixes for 4.11

2017-03-21 Thread Jiri Kosina
Linus,

please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus

to receive fixes for HID subsystem:

- regression fixes for Wacom devices, from Aaron Armstrong Skomra and Ping 
  Cheng

- memory leak in hid-sony driver from Roderick Colenbrander

- new device IDs support from Oscar Campos and Daniel Drake


Aaron Armstrong Skomra (2):
  HID: wacom: Correct Intuos Pro 2 resolution
  HID: wacom: don't manually release resources for the EKR

Daniel Drake (1):
  HID: chicony: Add support for another ASUS Zen AiO keyboard

Oscar Campos (2):
  HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
  HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support 
to hid-corsair

Ping Cheng (1):
  HID: wacom: generic: Wacom mouse is only provided for opaque tablets

Roderick Colenbrander (1):
  HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT

 drivers/hid/Kconfig |  5 +++--
 drivers/hid/hid-chicony.c   |  1 +
 drivers/hid/hid-core.c  |  2 ++
 drivers/hid/hid-corsair.c   | 47 +
 drivers/hid/hid-ids.h   |  4 
 drivers/hid/hid-sony.c  |  2 ++
 drivers/hid/usbhid/hid-quirks.c |  3 +++
 drivers/hid/wacom_sys.c |  4 +++-
 drivers/hid/wacom_wac.c | 10 +
 9 files changed, 71 insertions(+), 7 deletions(-)

-- 
Jiri Kosina
SUSE Labs



Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Linus Torvalds
On Wed, Mar 1, 2017 at 9:58 AM, Dmitry Torokhov
 wrote:
>
> Given that it does work for you just apply it. The objections I raised
> was more of a bikeshedding.

Ok. Patch applied directly and in my tree now,

  Linus


Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Linus Torvalds
On Wed, Mar 1, 2017 at 1:03 AM, Benjamin Tissoires
 wrote:
>
> As Peter mentioned in the bug, there is a missing property on the kernel
> node (INPUT_PROP_BUTTONPAD).
>
> The thing is this property is solely driven in the current driver by the
> provided platform_data, so there is no way we ever set it through
> hid-rmi. I wonder how we missed that.
>
> Anyway, the good news is that the evemu record shows only one exportted
> button, so we can infer the property quite easily in the module. Would
> something like that work for you?
>
> From: Benjamin Tissoires 
> Date: Wed, 1 Mar 2017 09:57:00 +0100
> Subject: [PATCH] Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the 
> button count

Yes, this fixes the problem for me. My click-and-drag works again, so
you can add a

  Reported-and-tested-by: Linus Torvalds 

I see that Dmitry doesn't love the patch, but I'm assuming I'll get
that or something equivalent soon. In the meantime, I'll just keep it
on my laptop as a workaround.

Thanks,

   Linus


Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Dmitry Torokhov
Hi Benjamin,

On Wed, Mar 01, 2017 at 10:06:35AM +0100, Benjamin Tissoires wrote:
> [I forgot to add Dmitry in the loop, sorry for the noise.]
> 
> On Mar 01 2017 or thereabouts, Benjamin Tissoires wrote:
> > On Feb 28 2017 or thereabouts, Linus Torvalds wrote:
> > > On Tue, Feb 28, 2017 at 7:24 PM, Peter Hutterer
> > >  wrote:
> > > >
> > > > I suspect you're just triggering a bug that wasn't triggered by the ps/2
> > > > emulation. you can run linput-debug-events --verbose and have a look at 
> > > > the
> > > > various state debugging information, that may hint at what's going on 
> > > > (e.g.
> > > > a finger mistaken as palm touch, or something). Or record one such
> > > > interaction with evemu-record and send it to me (preferrably here [1], 
> > > > if
> > > > you're using libinput). Also, what version of libinput/synaptics are 
> > > > you on?
> > > 
> > > bug reported (it's bug 100014).
> > > 
> > 
> > Thanks for the report.
> > 
> > As Peter mentioned in the bug, there is a missing property on the kernel
> > node (INPUT_PROP_BUTTONPAD). 
> > 
> > The thing is this property is solely driven in the current driver by the
> > provided platform_data, so there is no way we ever set it through
> > hid-rmi. I wonder how we missed that.
> > 
> > Anyway, the good news is that the evemu record shows only one exportted
> > button, so we can infer the property quite easily in the module. Would
> > something like that work for you?
> > 
> > From 5f28af88f2c67d1c533500765c5190cdd3006539 Mon Sep 17 00:00:00 2001
> > From: Benjamin Tissoires 
> > Date: Wed, 1 Mar 2017 09:57:00 +0100
> > Subject: [PATCH] Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the
> >  button count
> > 
> > INPUT_PROP_BUTTONPAD is currently only set through the platform data.
> > The RMI4 header doc says that this property is there to force the
> > buttonpad property, so we also need to detect it by looking at
> > the exported buttons count.
> > 
> > Signed-off-by: Benjamin Tissoires 
> > ---
> >  drivers/input/rmi4/rmi_f30.c | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/input/rmi4/rmi_f30.c b/drivers/input/rmi4/rmi_f30.c
> > index 3422464..1986786 100644
> > --- a/drivers/input/rmi4/rmi_f30.c
> > +++ b/drivers/input/rmi4/rmi_f30.c
> > @@ -258,9 +258,10 @@ static int rmi_f30_map_gpios(struct rmi_function *fn,
> >  
> > /*
> >  * Buttonpad could be also inferred from f30->has_mech_mouse_btns,
> > -* but I am not sure, so use only the pdata info.
> > +* but I am not sure, so use only the pdata info and the number of
> > +* mapped buttons.
> >  */
> > -   if (pdata->f30_data.buttonpad)
> > +   if (pdata->f30_data.buttonpad || (button - BTN_LEFT == 1))
> > __set_bit(INPUT_PROP_BUTTONPAD, input->propbit);

Would prefer if we changed button_mapped to n_buttons_mapped counter and
used that, instead of doing calculations on event code.

Thanks.

-- 
Dmitry


Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Dmitry Torokhov
On Wed, Mar 01, 2017 at 09:54:07AM -0800, Linus Torvalds wrote:
> On Wed, Mar 1, 2017 at 1:03 AM, Benjamin Tissoires
>  wrote:
> >
> > As Peter mentioned in the bug, there is a missing property on the kernel
> > node (INPUT_PROP_BUTTONPAD).
> >
> > The thing is this property is solely driven in the current driver by the
> > provided platform_data, so there is no way we ever set it through
> > hid-rmi. I wonder how we missed that.
> >
> > Anyway, the good news is that the evemu record shows only one exportted
> > button, so we can infer the property quite easily in the module. Would
> > something like that work for you?
> >
> > From: Benjamin Tissoires 
> > Date: Wed, 1 Mar 2017 09:57:00 +0100
> > Subject: [PATCH] Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the 
> > button count
> 
> Yes, this fixes the problem for me. My click-and-drag works again, so
> you can add a
> 
>   Reported-and-tested-by: Linus Torvalds 
> 
> I see that Dmitry doesn't love the patch, but I'm assuming I'll get
> that or something equivalent soon. In the meantime, I'll just keep it
> on my laptop as a workaround.

Given that it does work for you just apply it. The objections I raised
was more of a bikeshedding.

Thanks.

-- 
Dmitry


Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Andrew Duggan


On 02/28/2017 09:05 PM, Linus Torvalds wrote:

On Tue, Feb 28, 2017 at 7:24 PM, Peter Hutterer
 wrote:

I suspect you're just triggering a bug that wasn't triggered by the ps/2
emulation. you can run linput-debug-events --verbose and have a look at the
various state debugging information, that may hint at what's going on (e.g.
a finger mistaken as palm touch, or something). Or record one such
interaction with evemu-record and send it to me (preferrably here [1], if
you're using libinput). Also, what version of libinput/synaptics are you on?

bug reported (it's bug 100014).

This is libinput-1.5.4 on Fedora 24. I attached both the
libinput-debug-events output as well as evemu-report output, which
hopefully fills in all the details.

  Linus


Actually, it looks like this is a regression which was introduced by 
bf3e8502eefd ("Input: synaptics-rmi4 - clean up F30 implementation"). 
From the bug report I noticed that the INPUT_PROP_BUTTONPAD property 
was not set for the touchpad. The previous behavior was to set 
INPUT_PROP_BUTTONPAD if F30 detected only one valid button (or if there 
was a flag in the platform data). But, now INPUT_PROP_BUTTONPAD is not 
being set and libinput does not know that the touchpad is a clickpad. 
After updating I was able to reproduce the issue with bf3e8502eefd applied.


Andrew


Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Benjamin Tissoires
On Feb 28 2017 or thereabouts, Linus Torvalds wrote:
> On Tue, Feb 28, 2017 at 7:24 PM, Peter Hutterer
>  wrote:
> >
> > I suspect you're just triggering a bug that wasn't triggered by the ps/2
> > emulation. you can run linput-debug-events --verbose and have a look at the
> > various state debugging information, that may hint at what's going on (e.g.
> > a finger mistaken as palm touch, or something). Or record one such
> > interaction with evemu-record and send it to me (preferrably here [1], if
> > you're using libinput). Also, what version of libinput/synaptics are you on?
> 
> bug reported (it's bug 100014).
> 

Thanks for the report.

As Peter mentioned in the bug, there is a missing property on the kernel
node (INPUT_PROP_BUTTONPAD). 

The thing is this property is solely driven in the current driver by the
provided platform_data, so there is no way we ever set it through
hid-rmi. I wonder how we missed that.

Anyway, the good news is that the evemu record shows only one exportted
button, so we can infer the property quite easily in the module. Would
something like that work for you?

>From 5f28af88f2c67d1c533500765c5190cdd3006539 Mon Sep 17 00:00:00 2001
From: Benjamin Tissoires 
Date: Wed, 1 Mar 2017 09:57:00 +0100
Subject: [PATCH] Input: rmi4 - f30: detect INPUT_PROP_BUTTONPAD from the
 button count

INPUT_PROP_BUTTONPAD is currently only set through the platform data.
The RMI4 header doc says that this property is there to force the
buttonpad property, so we also need to detect it by looking at
the exported buttons count.

Signed-off-by: Benjamin Tissoires 
---
 drivers/input/rmi4/rmi_f30.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/input/rmi4/rmi_f30.c b/drivers/input/rmi4/rmi_f30.c
index 3422464..1986786 100644
--- a/drivers/input/rmi4/rmi_f30.c
+++ b/drivers/input/rmi4/rmi_f30.c
@@ -258,9 +258,10 @@ static int rmi_f30_map_gpios(struct rmi_function *fn,
 
/*
 * Buttonpad could be also inferred from f30->has_mech_mouse_btns,
-* but I am not sure, so use only the pdata info.
+* but I am not sure, so use only the pdata info and the number of
+* mapped buttons.
 */
-   if (pdata->f30_data.buttonpad)
+   if (pdata->f30_data.buttonpad || (button - BTN_LEFT == 1))
__set_bit(INPUT_PROP_BUTTONPAD, input->propbit);
 
return 0;
-- 
2.9.3

Dmitry, Andrew, would this work for you too?

Cheers,
Benjamin


  1   2   >