I\'m trying to get a kernel module to load at boot.
If I run insmod /path/to/module.ko, it works fine. But this has to be repeated every time I reboot.<
insmod /path/to/module.ko
Follow following steps:
Copy hello.ko to /lib/modules/'uname-r'/misc/ Add misc/hello.ko entry in /lib/modules/'uname-r'/modules.dep sudo depmod sudo modprobe hello
modprobe will check modules.dep file for any dependency.