Re: How to get the ALSA driver to start at boot?
On Fri, Jun 14, 2002 at 04:00:04PM +0200, Ivo Wever wrote:
> I managed to get my sound setup to the point where I can get sound
> by running 'modprobe snd-via8233' and some commands for unmuting the
> appropriate channels. However, I would prefer the driver being loaded by
> the ALSA entry in /etc/init.d, since the alsa config files seem to load
> the driver with a bunch of options and perhaps I need them later
> [also, simply throwing the driver in /etc/modules seems like an ad-hoc
> solution, something I don't like by principle].
I'm assuming that you're using ALSA 0.9.
> Now it says in the 'INSTALL' doc (that comes with alsa-drivers) that one
> has to add some aliases to /etc/modules.conf. I think (I'm not very good
> at reading bash-scripts yet) that /etc/init.d/alsa also looks for a
> 'snd-card-0' alias, created in /etc/modules.conf (one of the requested
> aliases) and despite adding the requested lines to modules.conf, those
> lines have dissapeared from modules.conf again [which, I gather from the
> remarks in modules.conf, was to be expected]. Consequently, alsa fails
> at boottime.
You should add the correct module lines (that you would put in
modconf) in /etc/alsa/modutils/0.9
> P.S. I think a correct setup also unmutes the mixer automagically, but
> assuming I can't get it to work other than using the ad-hoc solution: in
> what file should I put the commands that unmute the mixers?
When you shut down, alsa-utils should have an init.d script that
saves your current mixer settings, and will restore them on the next
boot.
Simon
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: