Linux Input Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo laptop
@ 2019-11-25  8:12 Dave.Wang
  2019-12-02  1:02 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Dave.Wang @ 2019-11-25  8:12 UTC (permalink / raw)
  To: Linux-kernel, Linux-input, Dmitry.torokhov

Add more hardware ID for Lenovo laptop.

Signed-off-by: Dave Wang <dave.wang@emc.com.tw>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo laptop
  2019-11-25  8:12 [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo laptop Dave.Wang
@ 2019-12-02  1:02 ` Dmitry Torokhov
  2019-12-02  3:07   ` Dave.Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2019-12-02  1:02 UTC (permalink / raw)
  To: Dave.Wang; +Cc: Linux-kernel, Linux-input, jingle.wu, Benjamin Tissoires

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@emc.com.tw>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo laptop
  2019-12-02  1:02 ` Dmitry Torokhov
@ 2019-12-02  3:07   ` Dave.Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Dave.Wang @ 2019-12-02  3:07 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Linux-kernel, Linux-input, jingle.wu, Benjamin Tissoires

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@emc.com.tw>
---
 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@gmail.com] 
Sent: Monday, December 2, 2019 9:03 AM
To: Dave.Wang <dave.wang@emc.com.tw>
Cc: Linux-kernel@vger.kernel.org; Linux-input@vger.kernel.org;
jingle.wu@emc.com.tw; Benjamin Tissoires <benjamin.tissoires@redhat.com>
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@emc.com.tw>
> ---
>  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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25  8:12 [PATCH] Input: elan_i2c - Add more hardware ID for Lenovo laptop Dave.Wang
2019-12-02  1:02 ` Dmitry Torokhov
2019-12-02  3:07   ` Dave.Wang

Linux Input Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-input/0 linux-input/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-input linux-input/ https://lore.kernel.org/linux-input \
		linux-input@vger.kernel.org
	public-inbox-index linux-input

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-input


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git