Reputation: 123
I am currently working on a project where I created a kernel module to interact with some external hardware. Up to now I always rebuilt and loaded it with a script during the system was running. Now, I am searching for a possibility to load this module during boot time. As this module might still be extended, I still have it in my local delevelopment folder. How can I link or reference this module to be loaded from a users home folder? I already tried to setup the path to the .ko-file in /etc/modules but this didn't work, also my dmesg output does not mention anything about it. Thank you all in advance
(btw, I working with debian (wheezy I think) on my beaglebone black, kernel 3.14.22-ti-r31)
Upvotes: 0
Views: 2374
Reputation: 12392
perhaps do
/bin/insmod /home/yourname/path/modulename.ko
in etc/rc.local
Upvotes: 0