APPLIED: [PATCH 0/4] [SRU][B/OEM-B] Fix multitouch support on some devices

Kleber Souza kleber.souza at canonical.com
Fri Feb 14 13:15:28 UTC 2020


On 10.02.20 04:46, Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/1862567
> 
> SRU justification:
> 
> [Impact]
> Some LG touchscreens reported themselves as generic touch devices,
> actually it is multitouch devices.
> Even after adding IDs in hid-multitouch, hid-generic will bind the
> device still.
> multitouch features are not supported.
> 
> [Fix]
> commit e04a0442 make hid-generic work nicely with other drivers like
> hid-multitouch.
> If other drivers match the devices, hid-generic will step back.
> This patch will benefit many devices to support their own drivers
> without adding IDs.
> 
> [Test]
> Verified on LG/ELAN/RAYDIUM touchscreens with positive results.
> 
> [Regression Potential]
> Medium.
> commit e04a0442 is included by 4.16 kernel, only bionic kernel should be
> applied.
> This commit is based on the other 3 patches, mostly changes are moving
> codes to hid-quirk.c.
> Backports are during to the other backports patches, these changes are
> moved to
> hid-quirk.c too.
> 
> 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[]
> 
>  drivers/hid/Makefile            |    2 +-
>  drivers/hid/hid-core.c          |  951 ++---------------------
>  drivers/hid/hid-generic.c       |   68 +-
>  drivers/hid/hid-quirks.c        | 1267 +++++++++++++++++++++++++++++++
>  drivers/hid/usbhid/Makefile     |    2 +-
>  drivers/hid/usbhid/hid-core.c   |   10 +-
>  drivers/hid/usbhid/hid-quirks.c |  405 ----------
>  include/linux/hid.h             |   21 +-
>  net/bluetooth/hidp/core.c       |    2 +-
>  9 files changed, 1414 insertions(+), 1314 deletions(-)
>  create mode 100644 drivers/hid/hid-quirks.c
>  delete mode 100644 drivers/hid/usbhid/hid-quirks.c
> 

Applied to bionic/linux.

Thanks,
Kleber



More information about the kernel-team mailing list