[gobolinux-users] Alsa muted by default

Jonas Karlsson jonka750 at student.liu.se
Fri Aug 5 16:46:29 GMT 2005

On Fri, 05 Aug 2005 18:22:31 +0200, David Smith <dsmith at algonet.se> wrote:

> Jonas Karlsson wrote:
>> By every boot my soundcard becomes muted and doing some searchs on the  
>> net  I found out that this is the correct behaviour for alsa, according  
>> to the  alsa developers. I believe that this is a source of much  
>> unnecesary grief  and debbuging. I know I compiled my kernel three  
>> times, with different  soundcard settings (and drivers), because I  
>> couldnt get any sound with  alsa before I got the idea to try the  
>> alsa-mixer (and found out that all  channels were muted).
>>  To the point; I found this code while I was doing some searches for   
>> getting sound to work with multiple programs (I'm not useing KDE, so I   
>> dont use aRTs either):
>>  /usr/bin/amixer set Master 50 unmute >/dev/null 2>&1
>> /usr/bin/amixer set PCM 50 unmute >/dev/null 2>&1
>> /usr/bin/amixer set CD 50 unmute >/dev/null 2>&1
>>  Maybe we should include them in some script to save other user some   
>> valuable time.
> I have theese lines in the bootscripts, in Init:
>    Exec "Restoring ALSA settings..."     alsactl restore
> and in Done:
>    Exec "Storing ALSA settings..."       alsactl store
Those lines are even better :)

> I can't remember if I put them there myself or if they were there
> from the start, though.
I havent seen them before, so my guess is that you have placed them there  

> (alsactl saves to a file /etc/asound.state. There is a default
> asound.state in the alsa-utils package, but not in the recipe.)
I have the asound.state file, but apparantly it isnt used...


Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the gobolinux-users mailing list