Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

trackpoint left click acts as a left + middle click

Linux on ThinkPads
Post Reply
Message
Author
mircodz
Posts: 2
Joined: Mon Jul 22, 2019 5:50 pm
Location: Forli, Italy

trackpoint left click acts as a left + middle click

#1 Post by mircodz » Mon Jul 22, 2019 6:21 pm

For the couple of months I've been having a really annoying problem:

all of the following diagnostics were obtained thanks to:

Code: Select all

xinput test 10
clicking the left button:

Code: Select all

button press 1 
button press 1 
button release 2 
button release 2 
holding the left button and releasing it after about a second:

Code: Select all

button press 1 
button release 1 
clicking the middle button:

Code: Select all

button press 1 
button press 1 
button release 2 
button release 2 
Additionally to this, while the left click is pressed the cursor locks up and doesn't want to move.

Apparently I'm not the only have that has had this problem, I found this post on the Gentoo forum: https://forums.gentoo.org/viewtopic-t-1 ... art-0.html

What I've tried:
  • switching between libinput/evdev drivers
  • completely uninstalling evdev
  • resetting bios settings to default ones
  • booting into a Ubuntu live
  • opening up the laptop and cleaning cleaned the contacts
  • installing arch Linux from zero
What I haven't tried:
  • tests on windows
  • flashing the bios
  • contact the Gentoo poster for info
Where I'm at:
  1. my 20-trackponti.conf:

    Code: Select all

    Section "InputDevice"
        Identifier "TPPS/2 IBM TrackPoint"
        Driver     "libinupt"
        Option     "Device" "..."
        Option     "GrabDevice" "False"
        Option     "EmulateWheel" "true"
        Option     "EmulateWheelButton" "2" 
        Option     "XAxisMapping" "6 7"
        Option     "YAxisMapping" "4 5"
    EndSection
    
  2. running the following command will disable the middle button

    Code: Select all

    xinput set-button-map 1 0 3 4 5 6 7
    
  3. running the following command on boot will "fix" the cursor lock problem

    Code: Select all

    xinput set-prop "device" "libinput Button Scrolling Button" 3
    
After these fixes I can drag my mouse around while the left button is pressed and this left click press sends the correct signal, but because of how the TrackPoint is mapped, the right click becomes the middle one.

P.S. this is my first post on this forum so if I'm missing something please let me know.

dr_st
Moderator
Moderator
Posts: 8512
Joined: Sat Oct 29, 2005 6:20 am
Location: Israel

Re: trackpoint left click acts as a left + middle click

#2 Post by dr_st » Tue Jul 23, 2019 3:39 am

Welcome to the forum. :)
mircodz wrote:
Mon Jul 22, 2019 6:21 pm
What I haven't tried:
tests on windows
So test in Windows (just booting a Windows installation image / Preinstallation Environment) should be enough to determine if it's a hardware or software problem.

Most likely your trackpoint buttons are defective in some way. These things should just work out of the box.
Thinkpad 25 (20K7), T490 (20N3), Yoga 14 (20FY), T430s (IPS FHD + Classic Keyboard), X220 4291-4BG
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad, A21m 2628-GXU

mircodz
Posts: 2
Joined: Mon Jul 22, 2019 5:50 pm
Location: Forli, Italy

Re: trackpoint left click acts as a left + middle click

#3 Post by mircodz » Sun Jul 28, 2019 3:30 pm

I'm sorry for the late reply but I was quite busy and had no spare time. I just booted my x220 for the first time in 5 days. Booted into X and the cursor worked flawlessly! After some time I suspended the laptop and woke it up and the issue returned. Tried restarting and rebooting it but the issue persisted. Any ideas of what it could be?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 10 guests