Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: PingPing on October 17, 2009, 05:06:44 AM

Title: [SOLVED] How do I start alsa so that it's not muted (default)?
Post by: PingPing on October 17, 2009, 05:06:44 AM
Straight after boot, if I invoke 'alsamixer' at the command line, it always shows ALSA as muted.
This appears to be the default mode.
Is there anyway I can change this so that when I boot, ASLA is not muted?
I'm running microcore 2.3.1.
Title: Re: How do I start alsa so that it's not muted (default)?
Post by: curaga on October 17, 2009, 05:54:12 AM
If you use the alsa init script to start the sound, your mixer settings should be loaded automatically.

If not, you can do it manually too:

alsamixer # set everything up
sudo alsactl store # save mixer settings to /etc/asound.state

Then in bootlocal.sh

alsactl restore
Title: Re: How do I start alsa so that it's not muted (default)?
Post by: PingPing on October 19, 2009, 12:37:11 PM
Thanks.
If I put 'alsactl restore' in bootlocal.sh then I get a bunch of ALSA errors starting with a failure to find any sound card.
However, if I put 'alsactl restore' in .profile it works.
I've got it working now.  Thanks for you help.