Catégories
Uncategorized

Elantech touchpad detected as « PS/2 Generic Mouse »

image_pdfimage_print
sudo rmmod psmouse
sudo insmod /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko

ou

sudo modprobe -r psmouse; sudo modprobe psmouse

Check

root@machine ~ $ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                	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)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Power Button                            	id=9	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    ↳ MSI WMI hotkeys

Permanent fix

Delete /etc/modprobe.d/psmouse.conf
Create /etc/modprobe.d/blacklist-touchpad.conf

blacklist psmouse

Create /etc/systemd/system/touchpad.service

[Unit]
Description=Enable touchpad on GP60 PE
After=multi-user.target

[Service]
ExecStartPre=/bin/sleep 2
ExecStart=/sbin/modprobe psmouse

[Install]
WantedBy=multi-user.target

systemctl enable touchpad

Laisser un commentaire