Dell XPS Enable palm detection, touchpad ignores xinput configuration. [Solved]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Neutrino
Level 1
Level 1
Posts: 16
Joined: Thu Apr 23, 2015 12:02 pm

Dell XPS Enable palm detection, touchpad ignores xinput configuration. [Solved]

Post by Neutrino » Tue Jun 19, 2018 11:08 am

I have a Mint 18.3 Cinnamon x64 installed on a Dell XPS 15. I've upgraded to the LTS Enablement Stack which was required to fix Nvidia/Intel graphics switching.

The 'Disable touchpad while typing' option is enabled in the 'Mouse and touchpad' settings app but it has no effect.

Enabling palm detection via xinput using the following commands has no effect.
xinput set-prop 13 "Synaptics Palm Detection" 1
xinput set-prop 13 "Synaptics Palm Dimensions" 5 5

Enabling palm detection via synclient using the following commands also has not effect.
synclient PalmDetect=1
synclient PalmMinWidth=8
synclient PalmMinZ=100

I've read that libinput is a new touchpad driver that's apparently used in Mint 18.3 but whether that needs to be configured differently I don't know.

Does anyone have any suggestions as to what else I could try?

################

martin@martin-XPS ~ $ uname -a
Linux martin-XPS 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
martin@martin-XPS ~ $ cat /etc/issue
Linux Mint 18.3 Sylvia \n \l

martin@martin-XPS ~ $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=12 [slave pointer (2)]
⎜ ↳ DLL07BE:01 06CB:7A13 Touchpad id=13 [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)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=11 [slave keyboard (3)]
↳ Intel HID 5 button array id=14 [slave keyboard (3)]
↳ Intel HID events id=15 [slave keyboard (3)]
↳ Dell WMI hotkeys id=16 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=17 [slave keyboard (3)]
↳ 00:1F:47:04:0D:12 id=18 [slave keyboard (3)]
martin@martin-XPS ~ $ xinput list-props 13
Device 'DLL07BE:01 06CB:7A13 Touchpad':
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
Device Accel Profile (275): 1
Device Accel Constant Deceleration (276): 2.500000
Device Accel Adaptive Deceleration (277): 1.000000
Device Accel Velocity Scaling (278): 12.500000
Synaptics Edges (300): 49, 1179, 50, 878
Synaptics Finger (301): 25, 30, 0
Synaptics Tap Time (302): 180
Synaptics Tap Move (303): 67
Synaptics Tap Durations (304): 180, 180, 100
Synaptics ClickPad (305): 1
Synaptics Middle Button Timeout (306): 0
Synaptics Two-Finger Pressure (307): 282
Synaptics Two-Finger Width (308): 7
Synaptics Scrolling Distance (309): -30, -30
Synaptics Edge Scrolling (310): 1, 0, 0
Synaptics Two-Finger Scrolling (311): 1, 0
Synaptics Move Speed (312): 1.000000, 1.750000, 0.129955, 0.000000
Synaptics Off (313): 0
Synaptics Locked Drags (314): 0
Synaptics Locked Drags Timeout (315): 5000
Synaptics Tap Action (316): 2, 3, 0, 0, 1, 3, 2
Synaptics Click Action (317): 1, 3, 2
Synaptics Circular Scrolling (318): 0
Synaptics Circular Scrolling Distance (319): 0.100000
Synaptics Circular Scrolling Trigger (320): 0
Synaptics Circular Pad (321): 0
Synaptics Palm Detection (322): 1
Synaptics Palm Dimensions (323): 5, 5
Synaptics Coasting Speed (324): 20.000000, 50.000000
Synaptics Pressure Motion (325): 30, 160
Synaptics Pressure Motion Factor (326): 1.000000, 1.000000
Synaptics Resolution Detect (327): 1
Synaptics Grab Event Device (328): 0
Synaptics Gestures (329): 1
Synaptics Capabilities (330): 1, 0, 0, 1, 1, 0, 0
Synaptics Pad Resolution (331): 12, 12
Synaptics Area (332): 0, 0, 0, 0
Synaptics Noise Cancellation (334): 7, 7
Device Product ID (262): 1739, 31251
Device Node (263): "/dev/input/event12"
Synaptics Soft Button Areas (333): 614, 0, 760, 0, 0, 0, 0, 0
Last edited by Neutrino on Thu Jun 21, 2018 10:31 am, edited 1 time in total.

User avatar
thx-1138
Level 6
Level 6
Posts: 1103
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Enable palm detection, touchpad ignores xinput configuration.

Post by thx-1138 » Tue Jun 19, 2018 12:06 pm

Neutrino wrote:
Tue Jun 19, 2018 11:08 am
I have a Mint 18.3 Cinnamon x64 installed on a Dell XPS 15. I've upgraded to the LTS Enablement Stack which was required to fix Nvidia/Intel graphics switching.

The 'Disable touchpad while typing' option is enabled in the 'Mouse and touchpad' settings app but it has no effect.
...this thread here will point you to the solution i think: https://github.com/ruebenramirez/blog/issues/367

When you say "upgraded to the LTS Enablement Stack", do you mean that you also updated xorg-related packages & the likes?

Which version(s) do you have - is xserver-xorg-input-libinput installed?
Because pretty much everyone on the net suggests that using such is (at least part of) the solution...
If you upgraded / installed to xorg-hwe & you aren't on 'stock' default Xorg,
then you should instead install xserver-xorg-input-libinput-hwe-16.04.

Be careful not to mismatch different version xorg packages though, things will break badly,
make sure to take back-ups & use Timeshift first, you've been warned...

Neutrino
Level 1
Level 1
Posts: 16
Joined: Thu Apr 23, 2015 12:02 pm

Re: Enable palm detection, touchpad ignores xinput configuration.

Post by Neutrino » Thu Jun 21, 2018 7:22 am

When I upgraded to the LTS stack I elected to upgrade xorg too following these instruction here https://ubuntuforums.org/showthread.php ... st13663529 but this doesn't install the libinput version you describe.
martin@martin-XPS ~ $ apt list linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 xserver-xorg-input-libinput-hwe-16.04
Listing... Done
linux-generic-hwe-16.04/xenial-updates,xenial-security,now 4.13.0.45.64 amd64 [installed]
xserver-xorg-hwe-16.04/xenial-updates,now 1:7.7+16ubuntu3~16.04.1 amd64 [installed]
xserver-xorg-input-libinput-hwe-16.04/xenial-updates 0.25.0-0ubuntu1~16.04.1 amd64
I created a TimeShift backup and installed xserver-xorg-input-libinput-hwe-16.04 with no problems. (TimeShift is absolutely awesome, best new Mint feature ever. Makes it much safer for noobs like me to adjust their system).

The effect of this was that xinput now listed an additional Synaptics touchpad entry in addition to the DLL07BE entry that was there before.
martin@martin-XPS ~ $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=12 [slave pointer (2)]
⎜ ↳ DLL07BE:01 06CB:7A13 Touchpad id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=18 [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)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ Integrated_Webcam_HD: Integrate id=11 [slave keyboard (3)]
↳ Intel HID 5 button array id=14 [slave keyboard (3)]
↳ Intel HID events id=15 [slave keyboard (3)]
↳ Dell WMI hotkeys id=16 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=17 [slave keyboard (3)]
↳ 00:1F:47:04:0D:12 id=19 [slave keyboard (3)]
Setting palm detection via xinput set-prop still doesn't work though using either device 13 or 18.

Installing xserver-xorg-input-libinput-hwe-16.04 I didn't expect to see a synaptics touchpad device, I exected to see a libinput device instead. Searching the web I see other people encountered a similar issue and resolved it by uninstalling synaptics packages and removing config files.

Dumping my package config below I suspect I might need to uninstall xserver-xorg-input-synaptics-hwe-16.04 and delete 51-synaptics-quirks.conf and 70-synaptics.conf from /usr/share/X11/xorg.conf.d
martin@martin-XPS ~/MEGA/Computer Stuff/Linux $ apt list *synaptics*Listing... Done
xserver-xorg-input-synaptics/xenial 1.8.2-1ubuntu3 amd64
xserver-xorg-input-synaptics-dbg/xenial 1.8.2-1ubuntu3 amd64
xserver-xorg-input-synaptics-dev/xenial,xenial 1.8.2-1ubuntu3 all
xserver-xorg-input-synaptics-dev-hwe-16.04/xenial-updates,xenial-updates 1.9.0-1ubuntu1~16.04.1 all
xserver-xorg-input-synaptics-dev-lts-utopic/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-dev-lts-vivid/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-dev-lts-wily/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-dev-lts-xenial/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-hwe-16.04/xenial-updates,now 1.9.0-1ubuntu1~16.04.1 amd64 [installed,automatic]
xserver-xorg-input-synaptics-lts-utopic/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-utopic-dbg/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-vivid/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-vivid-dbg/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-wily/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-wily-dbg/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-xenial/xenial-updates 3:13 amd64
xserver-xorg-input-synaptics-lts-xenial-dbg/xenial-updates 3:13 amd64
martin@martin-XPS ~/MEGA/Computer Stuff/Linux $ apt list *libinput*Listing... Done
libinput-bin/xenial-updates,now 1.6.3-1ubuntu1~16.04.1 amd64 [installed]
libinput-dev/xenial-updates 1.6.3-1ubuntu1~16.04.1 amd64
libinput-pad-dev/xenial 1.0.3-1 amd64
libinput-pad-xtest/xenial 1.0.3-1 amd64
libinput-pad1/xenial 1.0.3-1 amd64
libinput-tools/xenial-updates,now 1.6.3-1ubuntu1~16.04.1 amd64 [installed]
libinput10/xenial-updates,now 1.6.3-1ubuntu1~16.04.1 amd64 [installed]
libinput10-dbg/xenial 1.2.3-1ubuntu1 amd64
xserver-xorg-input-libinput/xenial-updates 0.18.0-1ubuntu0.1 amd64
xserver-xorg-input-libinput-dbg/xenial-updates 0.18.0-1ubuntu0.1 amd64
xserver-xorg-input-libinput-dev/xenial-updates,xenial-updates 0.18.0-1ubuntu0.1 all
xserver-xorg-input-libinput-dev-hwe-16.04/xenial-updates,xenial-updates 0.25.0-0ubuntu1~16.04.1 all
xserver-xorg-input-libinput-hwe-16.04/xenial-updates,now 0.25.0-0ubuntu1~16.04.1 amd64 [installed]
Does this sound reasonable? Do I need to create equivalent .conf files for libinput and if so do I need to do that manually or is there some kind of install process that does that?

User avatar
thx-1138
Level 6
Level 6
Posts: 1103
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Enable palm detection, touchpad ignores xinput configuration.

Post by thx-1138 » Thu Jun 21, 2018 8:26 am

...libinput is meant to be a replacement for synaptics (eventually, synaptics will be entirely deprecated).

From what i gather from the latest posts in the aformentioned github thread:
someone installs xorg-libinput (if he/she doesn't already have it), removes xorg-synaptics, reboots.
If now all works fine out-of-the-box, great. If not (...quite likely), someone further edits the libinput .conf file according to his/her needs.

Furthermore, installing / using a newer "hwe" version of xorg-libinput obviously has the benefit that more fixes will have been included,
ie. more chances that it might work out of the box (but i repeat, not necessarily, chances are that manual editing might still be needed).
Reason i asked for "hwe' was because you explicitly mentioned such above,
hence it had to be clarified in order to avoid removing core Xorg packages, or ending up with mismatching versions & drama... :)

Short to speak, synaptics doesn't look like it will work with this touchpad (ie. have a look at the config files posted by the guys above...)
Dell itself also appears to give similar advice...

Neutrino
Level 1
Level 1
Posts: 16
Joined: Thu Apr 23, 2015 12:02 pm

Re: Enable palm detection, touchpad ignores xinput configuration.

Post by Neutrino » Thu Jun 21, 2018 10:30 am

I ran
sudo apt-get remove xserver-xorg-input-synaptics-hwe-16.04
...and rebooted.
xinput list-props 18
now shows libinput as the driver and the "Disable touchpad while typing" option now works.

Thanks for your help and patience.
Last edited by Neutrino on Thu Jun 21, 2018 10:31 am, edited 1 time in total.

User avatar
thx-1138
Level 6
Level 6
Posts: 1103
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Dell XPS Enable palm detection, touchpad ignores xinput configuration. [Solved]

Post by thx-1138 » Thu Jun 21, 2018 10:31 am

...don't even mention it - glad you got it working :D

Post Reply

Return to “Newbie Questions”