linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] input: synaptics add manual min/max quirk for ThinkPad X240
@ 2014-03-08 11:35 Hans de Goede
  2014-03-08 11:35 ` [PATCH] " Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2014-03-08 11:35 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Benjamin Tissoires, Christopher Heiny, Andrew Duggan, linux-input,
	Peter Hutterer, Stephen Chandler Paul

Hi All,

Here is a follow up patch to Benjamin's quirk patch, which adds the
necessary min/max overrides for the ThinkPad X240

As such this patch depends on Benjamin's patch going in first.

Regards,

Hans

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

* [PATCH] input: synaptics add manual min/max quirk for ThinkPad X240
  2014-03-08 11:35 [PATCH 0/1] input: synaptics add manual min/max quirk for ThinkPad X240 Hans de Goede
@ 2014-03-08 11:35 ` Hans de Goede
  2014-03-28  8:29   ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2014-03-08 11:35 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Benjamin Tissoires, Christopher Heiny, Andrew Duggan, linux-input,
	Peter Hutterer, Stephen Chandler Paul, Hans de Goede, stable

This extends Benjamin Tissoires manual min/max quirk table with support for
the ThinkPad X240.

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/input/mouse/synaptics.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index ff6a4cf..b522bdc 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1505,6 +1505,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
 		.driver_data = (int []){1024, 5052, 2258, 4832},
 	},
 	{
+		/* Lenovo ThinkPad X240 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X240"),
+		},
+		.driver_data = (int []){1232, 5710, 1156, 4696},
+	},
+	{
 		/* Lenovo ThinkPad T440s */
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-- 
1.8.4.2

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

* Re: [PATCH] input: synaptics add manual min/max quirk for ThinkPad X240
  2014-03-08 11:35 ` [PATCH] " Hans de Goede
@ 2014-03-28  8:29   ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2014-03-28  8:29 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Benjamin Tissoires, Christopher Heiny, Andrew Duggan, linux-input,
	Peter Hutterer, Stephen Chandler Paul, stable

On Sat, Mar 08, 2014 at 12:35:21PM +0100, Hans de Goede wrote:
> This extends Benjamin Tissoires manual min/max quirk table with support for
> the ThinkPad X240.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>


Applied, thank you.

> ---
>  drivers/input/mouse/synaptics.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
> index ff6a4cf..b522bdc 100644
> --- a/drivers/input/mouse/synaptics.c
> +++ b/drivers/input/mouse/synaptics.c
> @@ -1505,6 +1505,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
>  		.driver_data = (int []){1024, 5052, 2258, 4832},
>  	},
>  	{
> +		/* Lenovo ThinkPad X240 */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X240"),
> +		},
> +		.driver_data = (int []){1232, 5710, 1156, 4696},
> +	},
> +	{
>  		/* Lenovo ThinkPad T440s */
>  		.matches = {
>  			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> -- 
> 1.8.4.2
> 

-- 
Dmitry

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

end of thread, other threads:[~2014-03-28  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-08 11:35 [PATCH 0/1] input: synaptics add manual min/max quirk for ThinkPad X240 Hans de Goede
2014-03-08 11:35 ` [PATCH] " Hans de Goede
2014-03-28  8:29   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).