After building alsa-utils and alsa-driver, I ran alsaconf to configure my sound card and the information was stored in /etc/modprobe.conf: # # /etc/modprobe.conf: modprobe(8) configuration # # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.14rc2 --- alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx # --- END: Generated by ALSACONF, do not edit. --- lsmod shows: Module Size Used by ac97_bus 2048 0 snd_page_alloc 7816 0 via_rhine 19208 0 I am assuming that the information in modprobe.conf is not loaded during startup. Please tell me how to load this file during startup. I've tried "modprobe -C /etc/modprobe.conf" but that doesn't seem to do anything.
On Sun, May 06, 2007 at 07:09:36PM +0000, Nicholas Lenz wrote:
After building alsa-utils and alsa-driver, I ran alsaconf to configure my sound card and the information was stored in /etc/modprobe.conf: # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.14rc2 --- alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx # --- END: Generated by ALSACONF, do not edit. ---
udev should autoload modules at boot time by default. A second option is to add the modules into /etc/rc.modules (modprobe module-name) to make sure they are loaded on boot.
I am assuming that the information in modprobe.conf is not loaded during startup. Please tell me how to load this file during startup. I've tried "modprobe -C /etc/modprobe.conf" but that doesn't seem to do anything.
I tend to avoid using modules, although the few that I do use are normally autoloaded at boot or when they are needed. modprobe.conf is just an options file for modules, not an autoloader.
On Sun, 2007-05-06 at 20:02 +0000, Nicholas Lenz wrote:
Why doesn't udev load the snd-via82xx module? Should I recompile my kernel?
udev shouldn't load modules automatically. If you want kernel module autoloading, that's a feature of the kernel itself, but it's not perfect. I'd suggest putting "/sbin/modprobe snd-via82xx" into /etc/rc.modules and leaving the lines that alsaconf put in modprobe.conf there. Matt (jaeger@freenode/#crux)
participants (3)
-
Jesse Kokkarinen
-
Matt Housh
-
Nicholas Lenz