diff mbox

Input: i8042: add Lenovo ThinkPad L460 to i8042 reset list

Message ID 3063cecf-a893-6c0e-06cd-dfe325c45e2f@secunet.com (mailing list archive)
State Accepted
Headers show

Commit Message

Dennis Wassenberg March 8, 2018, 4:35 p.m. UTC
Reset i8042 before probing because of insufficient
BIOS initialisation of the i8042 serial controller.
This makes synaptics touchpad detection possible.
Without resetting the synaptics touchpad is not detected
because there are always NACK messages from AUX port.

Signed-off-by: Dennis Wassenberg <dennis.wassenberg@secunet.com>
---
 drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Dmitry Torokhov March 8, 2018, 11:33 p.m. UTC | #1
On Thu, Mar 08, 2018 at 05:35:14PM +0100, Dennis Wassenberg wrote:
> Reset i8042 before probing because of insufficient
> BIOS initialisation of the i8042 serial controller.
> This makes synaptics touchpad detection possible.
> Without resetting the synaptics touchpad is not detected
> because there are always NACK messages from AUX port.
> 
> Signed-off-by: Dennis Wassenberg <dennis.wassenberg@secunet.com>

Applied, thank you.

> ---
>  drivers/input/serio/i8042-x86ia64io.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
> index 6cbbdc6..7755134 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -627,6 +627,13 @@ static inline void i8042_write_command(int val)
>  			DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
>  		},
>  	},
> +	{
> +		/* Lenovo ThinkPad L460 */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L460"),
> +		},
> +	},
>  	{ }
>  };
>  
> -- 
> 1.9.1
> 
>
diff mbox

Patch

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 6cbbdc6..7755134 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -627,6 +627,13 @@  static inline void i8042_write_command(int val)
 			DMI_MATCH(DMI_PRODUCT_NAME, "P65xRP"),
 		},
 	},
+	{
+		/* Lenovo ThinkPad L460 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L460"),
+		},
+	},
 	{ }
 };