linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Patrick Scheuring <patrick.scheuring.dev@gmail.com>
Cc: aurelien@francillon.net, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Input: i8042 - add XMG C504 to keyboard reset table
Date: Wed, 19 Oct 2016 12:05:21 -0700	[thread overview]
Message-ID: <20161019190521.GA7365@dtor-ws> (raw)
In-Reply-To: <20160908214435.15972-1-patrick.scheuring.dev@gmail.com>

On Thu, Sep 08, 2016 at 11:44:35PM +0200, Patrick Scheuring wrote:
> From: Patrick Scheuring <patrick.scheuring.dev@gmail.com>
> 
> The Schenker XMG C504 is a rebranded Gigabyte P35 v2 laptop.
> Therefore it also needs a keyboard reset to detect the Elantech touchpad.
> Otherwise the touchpad appears to be dead.
> 
> With this patch the touchpad is detected:
> 
> $ dmesg | grep -E "(i8042|Elantech|elantech)"
> 
> [    2.675399] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
> [    2.680372] i8042: Attempting to reset device connected to KBD port
> [    2.789037] serio: i8042 KBD port at 0x60,0x64 irq 1
> [    2.791586] serio: i8042 AUX port at 0x60,0x64 irq 12
> [    2.813840] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
> [    3.811431] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f0e)
> [    3.825424] psmouse serio1: elantech: Synaptics capabilities query result 0x00, 0x15, 0x0f.
> [    3.839424] psmouse serio1: elantech: Elan sample query result 03, 58, 74
> [    3.911349] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input6
> 
> Signed-off-by: Patrick Scheuring <patrick.scheuring.dev@gmail.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 68f5f4a..4187019 100644
> --- a/drivers/input/serio/i8042-x86ia64io.h
> +++ b/drivers/input/serio/i8042-x86ia64io.h
> @@ -793,6 +793,13 @@ static const struct dmi_system_id __initconst i8042_dmi_kbdreset_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "P34"),
>  		},
>  	},
> +	{
> +		/* Schenker XMG C504 - Elantech touchpad */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "XMG"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "C504"),
> +		},
> +	},
>  	{ }
>  };
>  
> -- 
> 2.9.3
> 

-- 
Dmitry

      reply	other threads:[~2016-10-19 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08 21:44 [PATCH] Input: i8042 - add XMG C504 to keyboard reset table Patrick Scheuring
2016-10-19 19:05 ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161019190521.GA7365@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=aurelien@francillon.net \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrick.scheuring.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).