diff mbox

[5/6] Input: synaptics - Add PnP id for X1 Carbon 1nd

Message ID 1421945201-1528-6-git-send-email-daniel.martin@secunet.com (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Martin Jan. 22, 2015, 4:46 p.m. UTC
From: Daniel Martin <consume.noise@gmail.com>

This adds the PnP id (LEN0030) for the X1 Carbon 1nd (2013/07) to the
list of known PnP ids.

The firmware exposes the correct dimensions:
    x [1264..5678], y [1124..4732].

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
---
 drivers/input/mouse/synaptics.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Martin Jan. 23, 2015, 8:42 a.m. UTC | #1
On 22 January 2015 at 17:46, Daniel Martin <daniel.martin@secunet.com> wrote:
> From: Daniel Martin <consume.noise@gmail.com>
>
> This adds the PnP id (LEN0030) for the X1 Carbon 1nd (2013/07) to the
> list of known PnP ids.
>
> The firmware exposes the correct dimensions:
>     x [1264..5678], y [1124..4732].
>
> Signed-off-by: Daniel Martin <consume.noise@gmail.com>
> ---

Ups, forgotten to mention that I _think_ that this is the 1nd generation.

>  drivers/input/mouse/synaptics.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
> index 7f6e004..70480c0 100644
> --- a/drivers/input/mouse/synaptics.c
> +++ b/drivers/input/mouse/synaptics.c
> @@ -161,6 +161,7 @@ static const char * const topbuttonpad_pnp_ids[] = {
>         "LEN002C",
>         "LEN002D",
>         "LEN002E",
> +       "LEN0030", /* X1 Carbon 1nd */
>         "LEN0033", /* Helix */
>         "LEN0034", /* T431s, L440, L540, T540, W540, X1 Carbon 2nd */
>         "LEN0035", /* X240 */
> --
> 2.2.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Daniel Martin Jan. 23, 2015, 1:40 p.m. UTC | #2
Withdrawn!

On 22 January 2015 at 17:46, Daniel Martin <daniel.martin@secunet.com> wrote:
> From: Daniel Martin <consume.noise@gmail.com>
>
> This adds the PnP id (LEN0030) for the X1 Carbon 1nd (2013/07) to the
> list of known PnP ids.
>
> The firmware exposes the correct dimensions:
>     x [1264..5678], y [1124..4732].
>
> Signed-off-by: Daniel Martin <consume.noise@gmail.com>
> ---
>  drivers/input/mouse/synaptics.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
> index 7f6e004..70480c0 100644
> --- a/drivers/input/mouse/synaptics.c
> +++ b/drivers/input/mouse/synaptics.c
> @@ -161,6 +161,7 @@ static const char * const topbuttonpad_pnp_ids[] = {
>         "LEN002C",
>         "LEN002D",
>         "LEN002E",
> +       "LEN0030", /* X1 Carbon 1nd */
>         "LEN0033", /* Helix */
>         "LEN0034", /* T431s, L440, L540, T540, W540, X1 Carbon 2nd */
>         "LEN0035", /* X240 */

The list is clearly named topbuttonpad_pnp_ids and therefore this
model shouldn't be listed there. But, I did it. *facepalm*
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 7f6e004..70480c0 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -161,6 +161,7 @@  static const char * const topbuttonpad_pnp_ids[] = {
 	"LEN002C",
 	"LEN002D",
 	"LEN002E",
+	"LEN0030", /* X1 Carbon 1nd */
 	"LEN0033", /* Helix */
 	"LEN0034", /* T431s, L440, L540, T540, W540, X1 Carbon 2nd */
 	"LEN0035", /* X240 */