All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: i8042: add Lenovo ThinkPad L460 to i8042 reset list
@ 2018-03-08 16:35 ` Dennis Wassenberg
  0 siblings, 0 replies; 3+ messages in thread
From: Dennis Wassenberg @ 2018-03-08 16:35 UTC (permalink / raw)
  To: Dmitry Torokhov, Arvind Yadav, Marcos Paulo de Souza,
	Daniel Drake, Kai-Heng Feng
  Cc: linux-input, linux-kernel

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(+)

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

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

* [PATCH] Input: i8042: add Lenovo ThinkPad L460 to i8042 reset list
@ 2018-03-08 16:35 ` Dennis Wassenberg
  0 siblings, 0 replies; 3+ messages in thread
From: Dennis Wassenberg @ 2018-03-08 16:35 UTC (permalink / raw)
  To: Dmitry Torokhov, Arvind Yadav, Marcos Paulo de Souza,
	Daniel Drake, Kai-Heng Feng
  Cc: linux-input, linux-kernel

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(+)

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

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

* Re: [PATCH] Input: i8042: add Lenovo ThinkPad L460 to i8042 reset list
  2018-03-08 16:35 ` Dennis Wassenberg
  (?)
@ 2018-03-08 23:33 ` Dmitry Torokhov
  -1 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2018-03-08 23:33 UTC (permalink / raw)
  To: Dennis Wassenberg
  Cc: Arvind Yadav, Marcos Paulo de Souza, Daniel Drake, Kai-Heng Feng,
	linux-input, linux-kernel

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
> 
> 

-- 
Dmitry

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

end of thread, other threads:[~2018-03-08 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 16:35 [PATCH] Input: i8042: add Lenovo ThinkPad L460 to i8042 reset list Dennis Wassenberg
2018-03-08 16:35 ` Dennis Wassenberg
2018-03-08 23:33 ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.