I have installed Ubuntu 18.04
on Lenovo Ideapad L340
. Tapping on the touchpad does not work properly. For most of the time, it works very well but sometimes it does not work and I have to tap again (It is not too much maybe 5 or 6 times within some hours). I tried to change some settings in the touchpad to see if it can affect on the problem. For example there are two options in output of xinput list-props
. The first one is libinput Tapping Enabled (273): 1
and the second one is: libinput Tapping Enabled Default (274): 0
. I tried to enable the second option by this command xinput set-prop "Synaptics TM3336-004" "libinput Tapping Enabled Default" 1
but I got this error:
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Serial number of failed request: 20
Current serial number in output stream: 21
1) Does this error show anything about this problem?
2) Which options in output of the command xinput list-props
can affect on this problem?
3) Is this a bug?
The output of xinput
is :
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Synaptics TM3336-004 id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=9 [slave keyboard (3)]
↳ Ideapad extra buttons id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
The output of command xinput list-props 10
is :
Device 'Synaptics TM3336-004':
Device Enabled (136): 1
Coordinate Transformation Matrix (138): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (273): 1
libinput Tapping Enabled Default (274): 0
libinput Tapping Drag Enabled (275): 1
libinput Tapping Drag Enabled Default (276): 1
libinput Tapping Drag Lock Enabled (277): 0
libinput Tapping Drag Lock Enabled Default (278): 0
libinput Tapping Button Mapping Enabled (279): 1, 0
libinput Tapping Button Mapping Default (280): 1, 0
libinput Natural Scrolling Enabled (281): 1
libinput Natural Scrolling Enabled Default (282): 0
libinput Disable While Typing Enabled (283): 0
libinput Disable While Typing Enabled Default (284): 1
libinput Scroll Methods Available (285): 1, 1, 0
libinput Scroll Method Enabled (286): 0, 0, 0
libinput Scroll Method Enabled Default (287): 1, 0, 0
libinput Click Methods Available (288): 1, 1
libinput Click Method Enabled (289): 1, 0
libinput Click Method Enabled Default (290): 1, 0
libinput Middle Emulation Enabled (291): 0
libinput Middle Emulation Enabled Default (292): 0
libinput Accel Speed (293): 0.622378
libinput Accel Speed Default (294): 0.000000
libinput Left Handed Enabled (295): 0
libinput Left Handed Enabled Default (296): 0
libinput Send Events Modes Available (258): 1, 1
libinput Send Events Mode Enabled (259): 0, 0
libinput Send Events Mode Enabled Default (260): 0, 0
Device Node (261): "/dev/input/event14"
Device Product ID (262): 1739, 33364
libinput Drag Lock Buttons (297): <no items>
libinput Horizontal Scroll Enabled (298):
Thanks.
Default
are not meant to be changed, they're there just for reference "what the default value was". About the tapping problem, first thing that comes to mind is to try out latest released libinput (which is 1.14.2 as of writing the words). There was new thumb detection code, which may or may not help. Other than that, you'd need to get aevemu-record
of the problem when it happens, and report a bug. – Hi-Angel Oct 23 '19 at 20:50libinput
. It does not changed actually I have that problem. There are two question I have 1) Do I need to installxf86-input-libinput
as well. 2) There are a list of device which is output of this commandsudo libinput list-devices
. In this list one of the option for my touchpad istap-to-click
which isdisabled
but I can tap even though it isdisabled
. Should Ienabled
it and how? – Tjax Oct 26 '19 at 15:21libinput.so.10.13.0
file throughsudo mv …
with the one I compiled. 2. Oh, sorry, that's confusing. The utility shows default values rather than current ones. Disregard this output. Since you do use "tap-to-click", I doubt it may be disabled. – Hi-Angel Oct 26 '19 at 20:41man libinput-list-devices
since it's wasn't really clear; the note thatlibinput list-devices
lists the default values is somewhere at the bottom, though it's one of the most important information for proper usage. – Hi-Angel Oct 26 '19 at 20:44libinput
, There is one command which I am not sure what I have to do with. This ismeson --prefix=/usr builddir/
. When I upgradelibinput
I did not changebuilddir
but now I think I have to change it. Is it right? Should I usebuilddir
or I have to give a path to it? Even though when I check the version oflibinput
it is newest version. Thanks – Tjax Oct 27 '19 at 04:57builddir
. It is a path to a directory into which compilation gonna place object files, binaries, etc. If you left it as is, this means that the meson command created a directory literally calledbuilddir
(which you can see by runningls ./
afterwards). Which is okay, why not. – Hi-Angel Oct 27 '19 at 08:10tap
over libinput issues, and found this report, which sounds just like what you're describe, so maybe you may want to just add your +1 there. – Hi-Angel Oct 27 '19 at 09:10evemu-record
of the problem, and there was no events from the touchpad when a tap was missed, then you know that something is wrong with the touchpad. But don't bother, I doubt it could be the case since the linked report is still opened, and is the likely cause. – Hi-Angel Oct 27 '19 at 09:38evemu-record
? – Tjax Oct 27 '19 at 11:39BTN_TOUCH 0
for when you put a finger followed byBTN_TOUCH 1
for when you removed the finger. The "tap" then is a concept inside libinput, where it, depending on the timing and coordinates of the touch, decides whether it was a tap. – Hi-Angel Oct 27 '19 at 12:231
first,0
second. – Hi-Angel Oct 27 '19 at 12:39