Quote:
Originally Posted by DarkVenger
You just need to create a *.conf file under /etc/modules-load.d/ with the name of the module you want loaded.
For example
Code:
/etc/modules-load.d/sound.conf
# Load snd_bcm2835.ko at boot
snd_bcm2835
See man modules-load.d(5) for more details.
|
According to the modprobe.d man page that's not the correct syntax ... I favor doing that sort of thing by adding the modules I need directly in /etc/rc.d/rc.modules (which may be a link to a similar file with the kernel version in the name) ... so I can't tell you off hand if it will work anyway.
If you want to go the /etc/rc.d/rc.modules way just do this:
Code:
echo "/sbin/modprobe snd_bcm2835" >> /etc/rc.d/rc.modules
As for the volume levels to get some sound out of the device after boot I do that by dumping the state of the working device and using that to generate a command to pass to amixer via rc.local. I don't have the laptop that needs that to show an example ... but if you need that I can show you once I get back home.