Linux Lite Forums

Hardware - Support => Start up and Shutdown => Topic started by: jam_27 on March 16, 2020, 05:49:09 AM

Title: Unload default psmouse driver then load a new driver at startup
Post by: jam_27 on March 16, 2020, 05:49:09 AM
Not sure if the title is what I really need but its my assessment of the issue anyway.
I need to use a patched psmouse driver from here https://github.com/antonizoon/psmouse-ux (https://github.com/antonizoon/psmouse-ux) for my machine (vaio ux1).
The driver works as intended on kernel 4.4 (latest Lite 32bit) but does not survive reboot.
Issuing the last two commands (7 and 8 in the github link) after startup gets the mouse working as intended.
Code: [Select]
    sudo modprobe -r psmouse
Code: [Select]
    sudo modprobe psmouse
How to make this permanent?