[SOLVED] Touchpad recognized as "PS/2 Elantech Touchpad", multitouch - not working on latest Linux distros (Mint,Ubuntu,Fedora,Manjaro)
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Touchpad recognized as "PS/2 Elantech Touchpad", multitouch - not working on latest Linux distros (Mint,Ubuntu,Fedora,Manjaro)
Hello,
My touchpad doesn't recognize any multitouch features. When I searched my touchpad through the terminal with "xinput", I found "PS/2 Elantech Touchpad". It seems to me that touchpad is recognized as a regular mouse (left click, right click and pointer). I tried to install and use different kernels with no luck. Distros that I tried (Fedora 25, Mint 18,18.1,18.2 BETA, Manjaro 17.0.1, Ubuntu 17.04) didn't solve anything.
I'm being advised to use windows, but my hope is to properly set up linux mint 18.1 KDE and use it as my main distro. I appreciate your time for reading this and I hope with your expertise, the issue is solvable.
Please answer in a simplified way, since I'm a novice with linux.
Welcome to LinuxQuestions.org. The Linux learning curve can be a bit daunting, but we'll do our best to make things easy for you. It may well be that your touchpad hardware is too new to be fully supported. In any case multitouch features are work in progress for the lbinput Xorg input driver. The touchpad chipset details may be relevant here. Some terminal commands will help provide more information for those that may be able to advise further. Open a terminal window and do
Code:
cat /proc/bus/input/devices
or with additional filtering (for your touchpad device)
Copy the output generated and post here, prefereably enclosing within code tags (refer to the forum editor '#' icon).
At an Xorg level, check which input driver is in use
Code:
grep "Using input driver" /var/log/Xorg.0.log
For recent distro versions, I would expect libinput to be in use, as opposed to the deprecated evdev and synaptics drivers. (However for some touchpad hardware, the legacy drivers still provide a better user experience.)
The posted output shows that your device is supported and working, with the Xorg evdev input driver being in use. You might get better results using the libinput driver. Any gesture/multi-touch support will depend on Xorg input driver support for the particular touchpad, (and not the underlying low-level kernel support).
I installed xserver-xorg-input-libinput without uninstalling evdev. When i run
Code:
grep "Using input driver" /var/log/Xorg.0.log
now, I get
Code:
[ 14.457] (II) Using input driver 'libinput' for 'PS/2 Elantech Touchpad'
. Checked "touchpad settings" and it still says "no touchpad found". Anything else I can try? Or maybe you know what is the cause of the error in previous post (psmouse-elantech-x551c.tar.gz) that didn't let me use the package?
Ok, so your device appears not to be fully supported. I'm not sure why KDE doesn't recognise the device now that it is handled by libinput. A bug report may be necessary to help progress this.
Quote:
Or maybe you know what is the cause of the error in previous post (psmouse-elantech-x551c.tar.gz) that didn't let me use the package?
Well, a bit ore investigation is needed. Note the message it provided...
Quote:
Consult /var/lib/dkms/psmouse/elantech-x551c/build/make.log for more information.
$ cat /var/lib/dkms/psmouse/elantech-x551c/build/make.log
DKMS make.log for psmouse-elantech-x551c for kernel 4.8.0-58-generic (x86_64)
ma. 10. juli 15:24:00 +0200 2017
make: Entering directory '/usr/src/linux-headers-4.8.0-58-generic'
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/psmouse-base.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/synaptics.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/alps.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/elantech.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/logips2pp.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/lifebook.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/sentelic.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/trackpoint.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/touchkit_ps2.o
CC [M] /var/lib/dkms/psmouse/elantech-x551c/build/src/cypress_ps2.o
/var/lib/dkms/psmouse/elantech-x551c/build/src/cypress_ps2.c: In function ‘cypress_process_packet’:
/var/lib/dkms/psmouse/elantech-x551c/build/src/cypress_ps2.c:543:2: error: too few arguments to function ‘input_mt_assign_slots’
input_mt_assign_slots(input, slots, pos, n);
^
In file included from /var/lib/dkms/psmouse/elantech-x551c/build/src/cypress_ps2.c:25:0:
./include/linux/input/mt.h:121:5: note: declared here
int input_mt_assign_slots(struct input_dev *dev, int *slots,
^
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/psmouse/elantech-x551c/build/src/cypress_ps2.o' failed
make[1]: *** [/var/lib/dkms/psmouse/elantech-x551c/build/src/cypress_ps2.o] Error 1
Makefile:1663: recipe for target 'psmouse.ko' failed
make: *** [psmouse.ko] Error 2
make: Leaving directory '/usr/src/linux-headers-4.8.0-58-generic'
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,356
Rep:
Hi Chripcikas,
Assuming your touchpad is fully supported by the kernel version you are running, you may need to adjust your xorg configuration to provide the appropriate libinput parameters to enable multitouch support. Please look up xinput and libinput documentation for the proper discovery commands to run (these will identify the different configurable options for your device) and then create the appropriate configuration entries for xorg.
I had to dig around a bit to get multitouch working on the system I'm currently writing this on, but once I was able to determine that the current kernel supported multitouch for my peripheral, I was able to identify the configuration entries required in xorg.
My touchpad is now recognized as ETPS/2 Elantech touchpad, not PS/2 Elantech Touchpad as it was before, and touchpad settings are somewhat working. Further configurations are yet to be explored.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.