0

I'm new to Ubuntu and trying to implement a permanent solution to my touchpad not working in Ubuntu 15.04. The solution I have so far only works until I restart/reboot so I've tried to add it to rc.local. The short term fix is to use the following lines in the terminal:

sudo rmmod psmouse
sudo modprobe -v psmouse insmod /lib/modules/3.16.0-34-generic/kernel/drivers/input/mouse/psmouse.ko

my rc.local document now reads:

!/bin/sh -e

chmod u+x /home/nurho@NuRho/modprobe -v psmouse insmod /lib/modules/3.16.0-34-generic/kernel/drivers/input/mouse/psmouse.ko
exit 0

the above is what I've pieced together (unsuccessfully) through looking at other posts concerning this sort of thing. Any help would be really appreciated. Thanks.

(thanks to pl_rock for tidying up the question)

1 Answers1

0

I guess the permanent fix will be

sudo update-initramfs -u

And the correct command in rc.local will be

rmmod psmouse
modprobe -v psmouse insmod /lib/modules/3.16.0-34-generic/kernel/drivers/input/mouse/psmouse.ko

without all those wrong things like chmod u+x /home/nurho@NuRho/.

But it is still not a correct way.

Pilot6
  • 92,041