From: Scott Ellis <scott@ju...> - 2013-05-01 12:46:36
Add a file called <driver-name>.conf to /etc/modules-load.d/
with the name of the driver in it.
For instance, for a pwm.ko driver, the file is
And the contents is
If you need to pass parameters to the module when you load
it, add a file called <driver-name>.conf to /etc/modprobe.d/
with an options line.
Using the same pwm.ko example, the file is
And the contents could be (just an example)
options pwm timers=8,11 frequency=10000
You can see an example bitbake recipe for this here
At least that's how we've been doing it.
View this message in context: http://gumstix.8.x6.nabble.com/auto-load-kernel-module-tp4967216p4967217.html
Sent from the Gumstix mailing list archive at Nabble.com.