Alsa scenarios , mixer
François TOURDE
fr-om at tourde.org
Wed Sep 3 14:56:12 CEST 2008
Le 14117ième jour après Epoch,
Dale Maggee écrivait:
> Armin ranjbar wrote:
>> Dear all ,
>>
>> i have two question regarding FR audio subsystem :
>>
>> 1 > i need to when any of alsa scenario files are loading , i need to make
>> modification but i really wonder when which will get loaded
>>
>> 2 > i need to know exactly what each element of alsamixer doing ?
>>
>>
> I wrote a shell script which tells you which state is currently loaded,
> using this you can figure out what each state file is for:
May I suggest a small update to your script, to check if multiple
files are matching current alsa status?
> #!/bin/sh
> CS="/tmp/current.state"
> alsactl -f $CS store
> Match=0
> for F in `ls /usr/share/openmoko/scenarios/*.state`; do
> # echo "Comparing with $F"
> if [ "`diff $CS $F`" = "" ]; then
> echo "Current statefile is: " $F
> Match=1
> fi
> done;
> [ $Match == 0 ] && echo "Current state matches no file!"
Anyway, this script is usefull when trying to check what's up with the
sound, and that jack insertion do nothing on sound :(
More information about the support
mailing list