thank you very much for this explanation. Il will try it and report here<br><br><div class="gmail_quote">2009/2/13 Al Johnson <span dir="ltr">&lt;<a href="mailto:openmoko@mazikeen.demon.co.uk">openmoko@mazikeen.demon.co.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Friday 13 February 2009, Tony Berth wrote:<br>
&gt; Dear List,<br>
&gt;<br>
&gt; how can I avoid to have the Openmoko headset AND the speaker working at the<br>
&gt; same time? Where I plug-in the headset, people around me can listen to the<br>
&gt; conversation from the speaker!<br>
&gt;<br>
&gt; Also, how can I increase the volume in the headset cause the default one is<br>
&gt; very low! You can hardly understand the person you are calling.<br>
<br>
</div></div>Currently this doesn&#39;t seem to be automatic in any of the distros.<br>
<br>
The generic answer is to activate gsmheadset.state, and adjust the volume<br>
settings in it to match your preference. The correct way to do this will vary<br>
depending on which distro you are using. The most generic is to use alsactl:<br>
<br>
alsactl -f /usr/share/openmoko/scenarios/gsmheadset.state restore<br>
<br>
FSO has a dbus interface for this, and a rules engine that may be able to<br>
handle the switching if the phone app doesn&#39;t. The dbus call can be made from<br>
the command line:<br>
<br>
mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio<br>
org.freesmartphone.Device.Audio.PushScenario gsmheadset<br>
<br>
Another option may be pymixer - see link at end of [1]<br>
<br>
In either case you will need to run this after the start of the call as the<br>
phone app is likely to load gsmhandset.state when you pick up the call.<br>
<br>
[1] <a href="http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem" target="_blank">http://wiki.openmoko.org/wiki/Neo_Freerunner_audio_subsystem</a><br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>