RE: [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo laptop

From: Dave.Wang
Date: Sun Dec 01 2019 - 22:08:03 EST


Hi Dmitry,

List device with its corresponding hardware ID as below patch,
Please check , thanks!

Add more hardware ID for Lenovo laptop.

Signed-off-by: Dave Wang <dave.wang@xxxxxxxxxx>
---
include/linux/input/elan-i2c-ids.h | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/include/linux/input/elan-i2c-ids.h
b/include/linux/input/elan-i2c-ids.h
index 1ecb6b45812c..520858d12680 100644
--- a/include/linux/input/elan-i2c-ids.h
+++ b/include/linux/input/elan-i2c-ids.h
@@ -67,8 +67,15 @@ static const struct acpi_device_id elan_acpi_id[] = {
{ "ELAN062B", 0 },
{ "ELAN062C", 0 },
{ "ELAN062D", 0 },
+ { "ELAN062E", 0 }, /* Lenovo V340 Whiskey Lake U */
+ { "ELAN062F", 0 }, /* Lenovo V340 Comet Lake U */
{ "ELAN0631", 0 },
{ "ELAN0632", 0 },
+ { "ELAN0633", 0 }, /* Lenovo S145 */
+ { "ELAN0634", 0 }, /* Lenovo V340 Ice lake */
+ { "ELAN0635", 0 }, /* Lenovo V1415-IIL */
+ { "ELAN0636", 0 }, /* Lenovo V1415-Dali */
+ { "ELAN0637", 0 }, /* Lenovo V1415-IGLR */
{ "ELAN1000", 0 },
{ }
};
--
2.17.1

Best regards,
Dave

-----Original Message-----
From: Dmitry Torokhov [mailto:dmitry.torokhov@xxxxxxxxx]
Sent: Monday, December 2, 2019 9:03 AM
To: Dave.Wang <dave.wang@xxxxxxxxxx>
Cc: Linux-kernel@xxxxxxxxxxxxxxx; Linux-input@xxxxxxxxxxxxxxx;
jingle.wu@xxxxxxxxxx; Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
Subject: Re: [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo
laptop

Hi Dave,

On Mon, Nov 25, 2019 at 04:12:56PM +0800, Dave.Wang wrote:
> Add more hardware ID for Lenovo laptop.

Any chance you could also list what devices use which hardware ID?

Thanks!

>
> Signed-off-by: Dave Wang <dave.wang@xxxxxxxxxx>
> ---
> include/linux/input/elan-i2c-ids.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/include/linux/input/elan-i2c-ids.h
> b/include/linux/input/elan-i2c-ids.h
> index 1ecb6b45812c..247e3f75bae7 100644
> --- a/include/linux/input/elan-i2c-ids.h
> +++ b/include/linux/input/elan-i2c-ids.h
> @@ -67,8 +67,15 @@ static const struct acpi_device_id elan_acpi_id[] = {
> { "ELAN062B", 0 },
> { "ELAN062C", 0 },
> { "ELAN062D", 0 },
> + { "ELAN062E", 0 },
> + { "ELAN062F", 0 },
> { "ELAN0631", 0 },
> { "ELAN0632", 0 },
> + { "ELAN0633", 0 },
> + { "ELAN0634", 0 },
> + { "ELAN0635", 0 },
> + { "ELAN0636", 0 },
> + { "ELAN0637", 0 },
> { "ELAN1000", 0 },
> { }
> };
> --
> 2.17.1
>

--
Dmitry