public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Aaron Ma <aaron.ma@canonical.com>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	Sebastian Schmidt <yath@yath.de>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH] Revert "Input: trackpoint - add new trackpoint firmware ID"
Date: Thu, 4 Jan 2018 16:56:59 -0800	[thread overview]
Message-ID: <20180105005659.j2x56opkq74wm7v2@dtor-ws> (raw)
In-Reply-To: <ac087ae7-54d4-d038-daa7-048c87368d17@canonical.com>

Hi Aaron,

On Tue, Jan 02, 2018 at 09:57:55PM +0800, Aaron Ma wrote:
> No, it is not a regression of this commit.
> 
> ThinkPad X1 Yoga 2nd:
>    trackpoint (ID: 01)
> 
> ThinkPad X1 Yoga 3rd:
>    trackpoint (ID: 03)
> 
> Both laptop's trackpoints have the same behavior.
> Writing "speed" of sysfs is failed.
> 
> Override the ID and force loading drivers/input/mouse/elantech.c,
> it causes too many failure and trackpoint stops work.

Right, because it does not support Elantech *touchpad* protocol, that is
not a surprise.

> 
> The ID of "2.4.18 READ SECONDARY ID (x"E1")" in TrackPoint specification
> does not indicate any other vendors but only trackpoint.

Exactly. If ID does not match, it is not an IBM trackpoint device.

> Elantech uses 0x03e9.
> ALPS uses 0x00e6/0x00e7/0x00ec.
> 
> Maybe the windows tool's is wrong like Linux driver before.

I am not sure what you mean by that.

Anyway, I played with my Carbons a bit, and it seems that the patch
should indeed be reverted. I believe that neither the Elantech nor ALPS
trackpoints support the IBM trackpoint protocol; none of the extended
features (sensitivity, inertia, etc) work when we register them as
TTPS/2 devices. They should continue to be registered as "Generic PS/2"
as that's that they support.

I understand that you want scroll mode working with trackpoints, but
forcing them to pretend that they are TTPS/2 devices is not the proper
way of doing that. Write udev rules that would set
ID_INPUT_POINTINGSTICK property on all input devices connected to a
pass-through serio ports on LENOVO devices, and you should be set (just
make sure you cover both PS/2 pass-through and RMI pass-through
options).

Thanks.

-- 
Dmitry

  reply	other threads:[~2018-01-05  0:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-30 15:22 [PATCH] Revert "Input: trackpoint - add new trackpoint firmware ID" Sebastian Schmidt
2017-12-30 15:32 ` Greg KH
2017-12-30 15:41   ` Sebastian Schmidt
2017-12-31  4:37 ` Aaron Ma
2017-12-31  8:26   ` Greg KH
2017-12-31  8:51     ` Aaron Ma
2018-01-02  7:08       ` Dmitry Torokhov
2018-01-02 13:57         ` Aaron Ma
2018-01-05  0:56           ` Dmitry Torokhov [this message]
2018-01-05 13:29             ` Aaron Ma
2018-01-05 16:23               ` Dmitry Torokhov
2018-01-07  6:52                 ` Dmitry Torokhov
2018-01-08 15:11                   ` Sebastian Schmidt
2018-01-09  0:40                     ` Dmitry Torokhov
2018-01-09  1:35                       ` Peter Hutterer
2018-01-14 20:39                   ` ulrik.debie-os
2018-01-14 20:57                     ` ulrik.debie-os
2018-01-16 23:49                     ` Dmitry Torokhov
2018-01-21 20:37                       ` ulrik.debie-os
2018-01-21 21:08                         ` Dmitry Torokhov
2018-01-22 18:41                           ` 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=20180105005659.j2x56opkq74wm7v2@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=aaron.ma@canonical.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-input@vger.kernel.org \
    --cc=yath@yath.de \
    /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