Could anyone please tell how to automatically load my naughty_mouse.ko
before psmouse.ko.
i am using kernel 2.6.28.
thanks,
- acumind
Don't you just insmod naughty_mouse.ko before psmouse.ko in the startup
scripts?
Mark.
--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/
You can use the install command in modprobe.conf (or one of the other
configuration files in /etc/modprobe.d). For example, including a
file mymouse.conf in /etc/modprobe.d with the following contents will
cause a load of psmouse.ko to also install naughty_mouse.ko first:
install psmouse /sbin/modprobe naughty_mouse ; /sbin/modprobe -i psmouse
For further details, see 'man modprobe.d' which gives a similar worked
example.
Chris