[PATCH 0/1] [SRU][B/OEM-B/OEM-OSP1/D/E/F] UBUNTU: SAUCE: Add LG I2C touchscreen multitouch support

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 0/1] [SRU][B/OEM-B/OEM-OSP1/D/E/F] UBUNTU: SAUCE: Add LG I2C touchscreen multitouch support

Aaron Ma
BugLink: https://bugs.launchpad.net/bugs/1857541

[Impact]
The current kernel didn't support multitouch for LG I2C touchscreen.

[Fix]
Add LG I2C id to hid-multitouch to support it.

[Test]
Verified on hardware with a positive result.

[Regression Potential]
Low.
Add new I2C id with positive verification.

This patch is backported from maintainer's tree.

Aaron Ma (1):
  UBUNTU: SAUCE: HID: multitouch: Add LG MELF0410 I2C touchscreen
    support

 drivers/hid/hid-ids.h        | 1 +
 drivers/hid/hid-multitouch.c | 3 +++
 2 files changed, 4 insertions(+)

--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/1] UBUNTU: SAUCE: HID: multitouch: Add LG MELF0410 I2C touchscreen support

Aaron Ma
BugLink: https://bugs.launchpad.net/bugs/1857541

Add multitouch support for LG MELF I2C touchscreen.
Apply the same workaround as LG USB touchscreen.

Signed-off-by: Aaron Ma <[hidden email]>
Signed-off-by: Jiri Kosina <[hidden email]>
(cherry picked from commit 348b80b273fbf4ce2a307f9e38eadecf37828cad
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git)
Signed-off-by: Aaron Ma <[hidden email]>
---
 drivers/hid/hid-ids.h        | 1 +
 drivers/hid/hid-multitouch.c | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index b349e6846201..28696fbda11e 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -702,6 +702,7 @@
 #define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
 #define USB_DEVICE_ID_LG_MELFAS_MT 0x6007
 #define I2C_DEVICE_ID_LG_8001 0x8001
+#define I2C_DEVICE_ID_LG_7010 0x7010
 
 #define USB_VENDOR_ID_LOGITECH 0x046d
 #define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 15687b45b33c..23948103b453 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1661,6 +1661,9 @@ static const struct hid_device_id mt_devices[] = {
  { .driver_data = MT_CLS_LG,
  HID_USB_DEVICE(USB_VENDOR_ID_LG,
  USB_DEVICE_ID_LG_MELFAS_MT) },
+ { .driver_data = MT_CLS_LG,
+ HID_DEVICE(BUS_I2C, HID_GROUP_GENERIC,
+ USB_VENDOR_ID_LG, I2C_DEVICE_ID_LG_7010) },
 
  /* MosArt panels */
  { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [PATCH 1/1] UBUNTU: SAUCE: HID: multitouch: Add LG MELF0410 I2C touchscreen support

Kleber Souza
On 2019-12-25 13:46, Aaron Ma wrote:

> BugLink: https://bugs.launchpad.net/bugs/1857541
>
> Add multitouch support for LG MELF I2C touchscreen.
> Apply the same workaround as LG USB touchscreen.
>
> Signed-off-by: Aaron Ma <[hidden email]>
> Signed-off-by: Jiri Kosina <[hidden email]>
> (cherry picked from commit 348b80b273fbf4ce2a307f9e38eadecf37828cad
> https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git)
> Signed-off-by: Aaron Ma <[hidden email]>

Acked-by: Kleber Sacilotto de Souza <[hidden email]>

> ---
>  drivers/hid/hid-ids.h        | 1 +
>  drivers/hid/hid-multitouch.c | 3 +++
>  2 files changed, 4 insertions(+)
>
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index b349e6846201..28696fbda11e 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -702,6 +702,7 @@
>  #define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
>  #define USB_DEVICE_ID_LG_MELFAS_MT 0x6007
>  #define I2C_DEVICE_ID_LG_8001 0x8001
> +#define I2C_DEVICE_ID_LG_7010 0x7010
>  
>  #define USB_VENDOR_ID_LOGITECH 0x046d
>  #define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e
> diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
> index 15687b45b33c..23948103b453 100644
> --- a/drivers/hid/hid-multitouch.c
> +++ b/drivers/hid/hid-multitouch.c
> @@ -1661,6 +1661,9 @@ static const struct hid_device_id mt_devices[] = {
>   { .driver_data = MT_CLS_LG,
>   HID_USB_DEVICE(USB_VENDOR_ID_LG,
>   USB_DEVICE_ID_LG_MELFAS_MT) },
> + { .driver_data = MT_CLS_LG,
> + HID_DEVICE(BUS_I2C, HID_GROUP_GENERIC,
> + USB_VENDOR_ID_LG, I2C_DEVICE_ID_LG_7010) },
>  
>   /* MosArt panels */
>   { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE,
>


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [PATCH 1/1] UBUNTU: SAUCE: HID: multitouch: Add LG MELF0410 I2C touchscreen support

Marcelo Henrique Cerri
In reply to this post by Aaron Ma
Acked-by: Marcelo Henrique Cerri <[hidden email]>

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (673 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

APPLIED[B/D/E]: [PATCH 0/1] [SRU][B/OEM-B/OEM-OSP1/D/E/F] UBUNTU: SAUCE: Add LG I2C touchscreen multitouch support

Kleber Souza
In reply to this post by Aaron Ma
On 2019-12-25 13:46, Aaron Ma wrote:

> BugLink: https://bugs.launchpad.net/bugs/1857541
>
> [Impact]
> The current kernel didn't support multitouch for LG I2C touchscreen.
>
> [Fix]
> Add LG I2C id to hid-multitouch to support it.
>
> [Test]
> Verified on hardware with a positive result.
>
> [Regression Potential]
> Low.
> Add new I2C id with positive verification.
>
> This patch is backported from maintainer's tree.
>
> Aaron Ma (1):
>   UBUNTU: SAUCE: HID: multitouch: Add LG MELF0410 I2C touchscreen
>     support
>
>  drivers/hid/hid-ids.h        | 1 +
>  drivers/hid/hid-multitouch.c | 3 +++
>  2 files changed, 4 insertions(+)
>

Applied to bionic/linux, disco/linux and eoan/linux.

Thanks,
Kleber

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

APPLIED[F/Unstable]: [PATCH 0/1] [SRU][B/OEM-B/OEM-OSP1/D/E/F] UBUNTU: SAUCE: Add LG I2C touchscreen multitouch support

Seth Forshee
In reply to this post by Aaron Ma
On Wed, Dec 25, 2019 at 08:46:07PM +0800, Aaron Ma wrote:

> BugLink: https://bugs.launchpad.net/bugs/1857541
>
> [Impact]
> The current kernel didn't support multitouch for LG I2C touchscreen.
>
> [Fix]
> Add LG I2C id to hid-multitouch to support it.
>
> [Test]
> Verified on hardware with a positive result.
>
> [Regression Potential]
> Low.
> Add new I2C id with positive verification.
>
> This patch is backported from maintainer's tree.

Applied to focal/master-next and unstable/master, thanks!

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team