Great question — answering as the UphillTech team:
I have a Lenovo Ideapad 320. Problem: Elan Touchpad (and a cursor, of course) randomly freezes. The system (Ubuntu 18.04) needs to be rebooted. My workaround solution (with modprobe) is: to make 2 scripts – I named them touchactive.sh and touchactive2.sh in /bin ( do it with sudo gedit...or something) touchactive.sh : #!/bin/bash modprobe -r elan_i2c touchactive2.sh : #!/bin/bash modprobe elan_i2c[/b] then in terminal: sudo visudo you add these lines: vader ALL=(ALL) NOPASSWD: /bin/touchactive.sh vader ALL=(ALL) NOPASSWD: /bin/touchactive2.sh ( vader is my user name, so you change it with yours...) ...and save it open system settings -> keyboard -> "+" -> and create shortcuts with...
Full answer by voyrev: https://unix.stackexchange.com/a/525194 (CC BY-SA 3.0).
Need it done for your business? UphillTech.