When booting machine with kernel without module support alsasound gives those messages: * Loading ALSA drivers FATAL: Could not load /lib/modules/2.6.10-ck5/modules.dep: No such file or directory FATAL: Could not load /lib/modules/2.6.10-ck5/modules.dep: No such file or directory * Restoring Mixer Levels It doesn't do anything wrong and it's true (there's no `uname -r` directory in modules for that kernel). But it's not elegant. When stopping alsasound there are errors too. Attached simple patch adds new variable to conf.d/alsasound, that specifies whenever try to load any modules. Default value for USE_MODULES is "yes" (it's safer, because it will work always, just those messages can apprear as cited above).
Created attachment 49134 [details, diff] Patch Patch for init.d/alsasound and conf.d/alsasound.
Can you please verify that this is still the case with the latest init script: /usr/portage/media-sound/alsa-utils/files/alsasound I think I resolved this issue months ago.
Ok, it helped. Bite me why the alsa-utils ebuild didn't copy the new version from files/ to /etc/init.d/. With version from files/ (the new one) I still get 'Unloading ALSA' message, for what?
It kills all processes using the sound devices
IMHO it's useless when no sound-related modules are loaded.
fine, then don't use it. I'm not making you.
I was just trying to help.