ArchLabs Linux

Left button click on trackpad working intermittently

I have a Lenovo Yoga 720, dual boot to Archlabs and Windows 10 that I use basically never. Everything has been running really well. For the past week or so, the left click on my trackpad only works sometimes. It works fine if I boot into Windows, and seems to work better right after reboot. I haven’t manually updated any trackpad settings. How do I start troubleshooting?

xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ MSFT0001:01 06CB:7F8F Touchpad id=10 [slave pointer (2)]
⎜ ↳ Wacom HID 50F1 Finger id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ EasyCamera: EasyCamera id=9 [slave keyboard (3)]
↳ Wacom HID 50F1 Pen id=11 [slave keyboard (3)]
↳ Ideapad extra buttons id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]`

xinput list-props 10
Device ‘MSFT0001:01 06CB:7F8F Touchpad’:
Device Enabled (166): 1
Coordinate Transformation Matrix (168): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (294): 1
Device Accel Constant Deceleration (295): 2.500000
Device Accel Adaptive Deceleration (296): 1.000000
Device Accel Velocity Scaling (297): 12.500000
Synaptics Edges (298): 48, 1171, 43, 756
Synaptics Finger (299): 25, 30, 0
Synaptics Tap Time (300): 180
Synaptics Tap Move (301): 64
Synaptics Tap Durations (302): 180, 180, 100
Synaptics ClickPad (303): 1
Synaptics Middle Button Timeout (304): 0
Synaptics Two-Finger Pressure (305): 282
Synaptics Two-Finger Width (306): 7
Synaptics Scrolling Distance (307): 29, 29
Synaptics Edge Scrolling (308): 0, 0, 0
Synaptics Two-Finger Scrolling (309): 1, 0
Synaptics Move Speed (310): 1.000000, 1.750000, 0.137268, 0.000000
Synaptics Off (311): 0
Synaptics Locked Drags (312): 0
Synaptics Locked Drags Timeout (313): 5000
Synaptics Tap Action (314): 0, 0, 0, 0, 0, 0, 0
Synaptics Click Action (315): 1, 3, 2
Synaptics Circular Scrolling (316): 0
Synaptics Circular Scrolling Distance (317): 0.100000
Synaptics Circular Scrolling Trigger (318): 0
Synaptics Circular Pad (319): 0
Synaptics Palm Detection (320): 0
Synaptics Palm Dimensions (321): 10, 200
Synaptics Coasting Speed (322): 20.000000, 50.000000
Synaptics Pressure Motion (323): 30, 160
Synaptics Pressure Motion Factor (324): 1.000000, 1.000000
Synaptics Grab Event Device (325): 0
Synaptics Gestures (326): 1
Synaptics Capabilities (327): 1, 0, 0, 1, 1, 0, 0
Synaptics Pad Resolution (328): 12, 12
Synaptics Area (329): 0, 0, 0, 0
Synaptics Soft Button Areas (330): 609, 0, 655, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (331): 7, 7
Device Product ID (290): 1739, 32655
Device Node (289): “/dev/input/event7”
`

This reply is more of a welcome. I have never used a trackpad with AL.

Check on the ArchWiki - there are entries for the driver itself (libinput?), as well as, several entries specific to laptops by model.

I’ve used the ArchWiki a couple times in the past for my HP and Toshiba trackpads.

The OP seems to be using synaptics at the moment so perhaps changing to libinput will help.

An intermittent failure does suggest a hardware problem to me though.

I was thinking hardware too but it seems to be fine if I switch over to Windows.

You’re right about the driver:
sudo grep -e “Using input driver” /var/log/Xorg.0.log
[ 3.765] (II) Using input driver ‘libinput’ for ‘Power Button’
[ 3.798] (II) Using input driver ‘libinput’ for ‘Video Bus’
[ 3.839] (II) Using input driver ‘libinput’ for ‘Power Button’
[ 3.859] (II) Using input driver ‘libinput’ for ‘EasyCamera: EasyCamera’
[ 3.918] (II) Using input driver ‘synaptics’ for ‘MSFT0001:01 06CB:7F8F Touchpad’
[ 4.032] (II) Using input driver ‘libinput’ for ‘Wacom HID 50F1 Pen’
[ 4.077] (II) Using input driver ‘libinput’ for ‘Wacom HID 50F1 Finger’
[ 4.136] (II) Using input driver ‘libinput’ for ‘Ideapad extra buttons’
[ 4.188] (II) Using input driver ‘libinput’ for ‘AT Translated Set 2 keyboard’

I think copying the touchpad stanza in /usr/share/X11/xorg.conf.d/40-libinput.conf to it’s own configuration file under /etc/X11/xorg.conf.d/ will force the libinput driver for the toughpad.

1 Like

Archwiki suggests symlinking it, which I did, and so far that seems to be working. Maybe it WAS the driver.

This is the command on my system:
sudo ln -s /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf

I’ll be back if the problem returns. Thanks for the help!

1 Like

Uh-oh, I feel an argument with the ArchWiki maintainers coming on. Again…

The configuration file offers different advice:

# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
# [redacted]
# This applies the option any libinput device also matched by the other
# directives.
1 Like

LOL! The joys of Arch and its users/forum mods/maintainers/etc, etc etc

Did you see that JWR has left the staff? End of an era…

What the what? End of an era alright, maybe they might start treating newbies a little more nicely now.

1 Like

The button is not working very well again. Maybe it’s a hardware issue that the drivers are attempting to overcome and having varying levels of success?

Are any errors reported in the journal after it fails?

Use this to “follow” new entries:

journalctl --follow