Alsa scenarios , mixer

Dale Maggee antisol at internode.on.net
Thu Sep 4 03:09:18 CEST 2008


François TOURDE wrote:
> Le 14117ième jour après Epoch,
> Dale Maggee écrivait:
>   
>> <SNIP!>
>> 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?
>   
<SNIP!>

good point, I had it exiting for maximum speed, it never occured to me 
that there might be multiple identical statefiles. Thanks.

> Anyway, this script is usefull when trying to check what's up with the
> sound, and that jack insertion do nothing on sound :(
>   
it does for me:

root at om-gta02:~# ./findstate
Current statefile is:  /usr/share/openmoko/scenarios/stereoout.state

(plug in headset)

root at om-gta02:~# ./findstate
Current statefile is:  /usr/share/openmoko/scenarios/headset.state
root at om-gta02:~#

also when I use the headset in a call it uses gsmheadset.state rather 
than gsmhandset.state

(I'm using 2007.2)



More information about the support mailing list