TP Diffenbach <[email protected]> writes:

> Stupid noob question here: every time I reboot, to install Andrew
> Skalski's modified psmouse.ko, I have to sudo rmmod psmouse; sudo insmod
> psmouse.ko.
>
> How can I get Skalski's psmouse.ko loaded automatically?

Well, you could put these two lines in /etc/rc.local:

modprobe -r psmouse || true
insmod /path/to/hacked/psmouse.ko || echo 'Failed to load hacked psmouse.ko, 
probably needs recompiling.'

Haven't tested it, though. I'll rather wait till the fixes are
incorporated into the default kernel. You'll need to be aware when
kernel [ABI] upgrades happen. This approach will fail in that scenario
(if new kernel version requires module recompile).

Øyvind
-- 
< Øyvind Stegard
 < http://folk.uio.no/oyvinst/

-- 
Alps touchpad is recognized but synaptics clients and scrolling do not work
https://bugs.launchpad.net/bugs/550625
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to