[v2][PATCH 0/5][SRU][B/OEM-B/OEM-OSP1/D] Enable new Elan touchpads which are not in current whitelist

Aaron Ma aaron.ma at canonical.com
Thu Nov 21 06:40:08 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1853246

[Impact]
New touchpads are ignored by hid driver because of IDs are missed in the
whitelist.

[Fix]
Only 2 Elan touchpad IDs are allowed to be loaded in hid driver.
Change to the blacklist of elan touchpads supported by elan_i2c, so
others can be enabled by hid.

[Test]
Verified on hardware. Tests results are good.

[Regression Potential]
Low.
keep current IDs of elan_i2c, loads those touchpads ID those weren't
supported.

Those patches are already in 5.3+ kernel,
only bionic and disco kernel need them.

backports are due to the filename and minor content changes.

v2 changes:
Since commit 0c043d70d04 which is included by 5.3 is already
in bionic and disco kernel, so backport this commit change
in filename changes.


Jeffrey Hugo (3):
  HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630
  Input: elan_i2c - export the device id whitelist
  HID: quirks: Refactor ELAN 400 and 401 handling

 drivers/hid/hid-core.c              | 19 +++++---
 drivers/input/mouse/elan_i2c_core.c | 50 +------------------
 include/linux/input/elan-i2c-ids.h  | 76 +++++++++++++++++++++++++++++
 3 files changed, 88 insertions(+), 57 deletions(-)
 create mode 100644 include/linux/input/elan-i2c-ids.h

-- 
2.24.0




More information about the kernel-team mailing list