RE:[Work Around] sound levels reset to 0 on reboot

"Gabriel Miller" <[email protected]>
Newsgroups gmane.linux.suse.multimedia
Message-ID <[email protected]>
I have found a work around. I created this script called
alsa_set_mixer.sh:

#!/bin/sh
amixer set PCM 100 unmute
amixer set PC\ Speaker 100 unmute
amixer set Master 50 unmute
amixer set Master\ Mono 50 unmute
amixer set Phone 22 unmute
amixer set Aux 100 unmute
amixer set Video 100 unmute
amixer set CD 100 unmute
amixer set Line 100 unmute
amixer set Mic 22 unmute
amixer set VIA\ DXS 100 unmute


and saved it into /usr/local/sbin, chmod +x alsa_set_mixer.sh 
Created a softlink in my home dir to alsa_set_mixer.sh: ln -s
/usr/local/sbin/alsa_set_mixer.sh alsa_set_mixer.sh 

Edited my .profile to call alsa_set_mixer.sh
I also added a softlink to alsa_set_mixer.sh in my .kde/Autostart
directory (because for some reason KDE isn't running my .profile) 

Now sound works at boot! The reference article that I used was:
http://www3.sympatico.ca/howlettfamily/epia/epia_howto.pdf

My specific issue was to set the VIA DXS to any value but zero.

Gabriel




-----Original Message-----
From: Dow Hurst [mailto:[email protected]] 
Sent: Monday, June 07, 2004 9:48 PM
To: Gabriel Miller
Subject: Re: [suse-multimedia-e] sound levels reset to 0 on reboot

Gabriel Miller wrote:

>I have an Asus K8V Deluxe running 9.1 (32bit), Alsa 1.0.5. Suse
>identifies the sound card as a A7600 motherboard with an ADI AD1980
>sound card. Sound works great but everytime the system is rebooted the
>VIA DXS levels are reset to 0. If I set the levels in YAST to 100
>everything works until I reboot and the VIA DXS levels go back to 0.
>gamix shows the levels as 0 and once I open the sound module in YAST
the
>levels in gamix for VIA DXS jump to 100 and sound works. Where are the
>default levels stored that are read on boot up. I have grep'ed but
>haven't found it yet.
>
> 
>
> 
>
>Thanks,
>
>gabriel
>
>
>  
>
I'd like to know the same info.  I've wondered if it is in 
/etc/alsasound.conf but haven't deciphered that file yet.
Dow
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.