From: Hans de Goede <hdegoede@redhat.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Peter Hutterer <peter.hutterer@redhat.com>,
Benjamin Tissoires <btissoir@redhat.com>,
linux-input@vger.kernel.org
Subject: Re: [PATCH 3/3] psmouse: Add support for detecting FocalTech PS/2 touchpads
Date: Thu, 11 Sep 2014 19:31:13 +0200 [thread overview]
Message-ID: <5411DC61.2050003@redhat.com> (raw)
In-Reply-To: <20140911172619.GD13083@core.coreip.homeip.net>
Hi,
On 09/11/2014 07:26 PM, Dmitry Torokhov wrote:
> Hi Hans,
>
> On Thu, Sep 11, 2014 at 10:50:47AM +0200, Hans de Goede wrote:
>> @@ -722,6 +723,13 @@ static int psmouse_extensions(struct psmouse *psmouse,
>> {
>> bool synaptics_hardware = false;
>>
>> +/* Always check for focaltech, this is safe as it uses pnp-id matching */
>> + if (psmouse_do_detect(focaltech_detect, psmouse, set_properties) == 0) {
>> + /* Not supported yet, use bare protocol */
>> + psmouse_max_proto = max_proto = PSMOUSE_PS2;
>> + goto reset_to_defaults;
>
> Why do we need to jump to a new label instead of simply saying
Once we had figured out that psmouse.proto=bare at least made this
touchpad work in mouse emulation mode, that is the first thing I did, but it
is not enough. We also need to set psmouse_max_proto to short-circuit
psmouse_initialize and do the reset.
I'm trying to get access to one of the affected laptops to see if we can
do better.
Regards,
Hans
next prev parent reply other threads:[~2014-09-11 17:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 8:50 [PATCH 1/3] i8042: Also store the aux firmware id in multi-plexed aux ports Hans de Goede
2014-09-11 8:50 ` [PATCH 2/3] psmouse: Add psmouse_matches_pnp_id helper function Hans de Goede
2014-09-11 8:50 ` [PATCH 3/3] psmouse: Add support for detecting FocalTech PS/2 touchpads Hans de Goede
2014-09-11 17:26 ` Dmitry Torokhov
2014-09-11 17:31 ` Hans de Goede [this message]
2014-09-12 6:14 ` Dmitry Torokhov
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=5411DC61.2050003@redhat.com \
--to=hdegoede@redhat.com \
--cc=btissoir@redhat.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=peter.hutterer@redhat.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 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.