linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Schmidt <yath@yath.de>
To: Aaron Ma <aaron.ma@canonical.com>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	dmitry.torokhov@gmail.com, linux-input@vger.kernel.org
Subject: Re: PROBLEM: Changing speed on ThinkPad X1 Carbon 5th trackpoint causes "failed to enable mouse"
Date: Sat, 30 Dec 2017 19:16:25 +0100	[thread overview]
Message-ID: <20171230181625.GA1687@marax.lan.yath.de> (raw)
In-Reply-To: <02082a9b-8fdd-0878-0daa-ead72743d5fd@canonical.com>

On Sun, Dec 31, 2017 at 01:37:15AM +0800, Aaron Ma wrote:
> I don't have X1C5 now, but give a quick test on: X1 Yoga 3rd with
> trackpoint (LEN009a), X1 yoga is pretty similar as X1 Carbon on
> trackpoint/touchpad.

Aha, now we’re getting somewhere. Mine actually is LEN0072 (as far as I
can tell from the ACPI DSDT), and the Windows update utility says:
| Pst Vendor : Elan
| [ERROR]: This TrackPoint is Elan (ID:03)

In [1], there are people mentioning that newer Trackpoints changed their
ID from LEN0073 to LEN0072, and a patch[2] for adding that to the RMI
whitelist has been proposed.

Either way, I don’t believe that trackpoint.c is the right driver for
this Trackpoint. Some values are indeed changeable in sysfs, however
without noticeable effect. Setting “thresh” causes the same error as
setting speed; I didn’t check the remaining properties.

> When trackpoint(without the commit) is recognized as "PS/2 Generic
> Mouse", scroll mode does *NOT* work.

I’m not making that up. It does work. And libinput also knows about scrolling.

% xinput list-props "PS/2 Generic Mouse"        
Device 'PS/2 Generic Mouse':
        Device Enabled (142):   1
        Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (315):       0
        libinput Natural Scrolling Enabled Default (316):       0
        libinput Left Handed Enabled (317):     0
        libinput Left Handed Enabled Default (318):     0
        libinput Accel Speed (319):     0.000000
        libinput Accel Speed Default (320):     0.000000
        libinput Accel Profiles Available (321):        1, 1
        libinput Accel Profile Enabled (322):   1, 0
        libinput Accel Profile Enabled Default (323):   1, 0
        libinput Scroll Methods Available (324):        0, 0, 1
        libinput Scroll Method Enabled (325):   0, 0, 1
        libinput Scroll Method Enabled Default (326):   0, 0, 1
        libinput Button Scrolling Button (327): 2
                 ^^^^^^^^^^^^^^^^^^^^^^^
        libinput Button Scrolling Button Default (328): 2
        libinput Middle Emulation Enabled (329):        0
        libinput Middle Emulation Enabled Default (330):        0
        libinput Send Events Modes Available (265):     1, 0
        libinput Send Events Mode Enabled (266):        0, 0
        libinput Send Events Mode Enabled Default (267):        0, 0
        Device Node (268):      "/dev/input/event2"
        Device Product ID (269):        2, 1
        libinput Drag Lock Buttons (331):       <no items>
        libinput Horizontal Scroll Enabled (332):       1
%

1: https://forums.lenovo.com/t5/forums/v3_1/forumtopicpage/board-id/Special_Interest_Linux/thread-id/9645/page/16
2: https://lkml.org/lkml/2017/8/18/861

  reply	other threads:[~2017-12-30 18:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28  9:11 PROBLEM: Changing speed on ThinkPad X1 Carbon 5th trackpoint causes "failed to enable mouse" Sebastian Schmidt
2017-12-28 10:56 ` Aaron Ma
2017-12-28 14:28   ` Sebastian Schmidt
2017-12-28 15:53     ` Aaron Ma
2017-12-29 19:05       ` Sebastian Schmidt
2017-12-30  6:43         ` Aaron Ma
2017-12-30  9:57           ` Sebastian Schmidt
2017-12-30 13:54             ` Aaron Ma
2017-12-30 14:11               ` Sebastian Schmidt
2017-12-30 14:17                 ` Aaron Ma
2017-12-30 14:40                   ` Sebastian Schmidt
2017-12-30 15:00                     ` Aaron Ma
2017-12-30 15:02                     ` Greg KH
2017-12-30 15:08                       ` Aaron Ma
2017-12-30 15:26                         ` Greg KH
2017-12-30 15:46                           ` Aaron Ma
2017-12-30 15:53                             ` Sebastian Schmidt
2017-12-30 17:37                               ` Aaron Ma
2017-12-30 18:16                                 ` Sebastian Schmidt [this message]
2017-12-30 18:54                                   ` Aaron Ma
2017-12-30 15:24                       ` Sebastian Schmidt

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=20171230181625.GA1687@marax.lan.yath.de \
    --to=yath@yath.de \
    --cc=aaron.ma@canonical.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --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;
as well as URLs for NNTP newsgroup(s).