How to tell X.org to reload input device module?
Posted
by Vi
on Super User
See other posts from Super User
or by Vi
Published on 2010-05-14T21:09:51Z
Indexed on
2010/05/14
21:14 UTC
Read the original article
Hit count: 525
When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice
and don't use normal driver even when touchpad is available again.
Xorg.0.log: ... (II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD) (--) Synaptics Touchpad: touchpad found # { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; } (WW) : No Device specified, looking for one... (II) : Setting Device option to "/dev/input/mice" ...
How to tell X.org to try it's InputDevice again (without restarting X server)?
P.S. rmmod psmouse
is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram.
Update: Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1
after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.
© Super User or respective owner