public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Herkt <9@cirno.systems>
To: linux-input@vger.kernel.org
Subject: elantech: Support for ElanTech touchpad, fw 0x480f0a
Date: Fri, 13 Feb 2015 22:19:08 +0100	[thread overview]
Message-ID: <3635013.z7hF9RsVDZ@sakuya> (raw)

Hello. First time posting to a Linux ML, new to drivers in general.

So I got an ASUS PU551LD laptop and quickly found out Linux 3.18.3 wasn't 
detecting the touchpad correctly. After some digging, I figured out that it is 
an ElanTech touchpad which reports firmware version 0x480f0a, then poked 
around in drivers/input/mouse/elantech.c and tried changing 
'elantech_is_signature_valid' to always return true. This made the device work 
properly with all the expected features, and it shows up in dmesg like this:

psmouse serio4: elantech: assuming hardware version 4 (with firmware version 
0x480f0a)
psmouse serio4: elantech: Synaptics capabilities query result 0x40, 0x17, 
0x0c.
input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio4/input/input8

Now of course I want to help getting support for this particular model into 
the kernel, but I would feel bad about posting a patch that just adds more 
magic numbers to the function in question. Any suggestions?

                 reply	other threads:[~2015-02-13 21:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3635013.z7hF9RsVDZ@sakuya \
    --to=9@cirno.systems \
    --cc=linux-input@vger.kernel.org \
    /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