<div dir="ltr">On Wed, Sep 17, 2008 at 6:07 AM, Al Johnson <span dir="ltr">&lt;<a href="mailto:openmoko@mazikeen.demon.co.uk">openmoko@mazikeen.demon.co.uk</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Controls affecting handset mic volume for GSM:<br>
Control 48: &quot;Mic2 Capture Volume&quot;<br>
Control 12: &quot;Mono Sidetone Playback Volume&quot;<br>
Control 5: &quot;Mono Playback Volume&quot;<br>
<br>
Controls affecting wired headset mic volume for GSM:<br>
Control 49: &quot;Mic1 Capture Volume&quot;<br>
Control 12: &quot;Mono Sidetone Playback Volume&quot;<br>
Control 5: &quot;Mono Playback Volume&quot;<br>
<div><div></div></div></blockquote><div><br>I&#39;ve written a python mixer to control the mic volumes for the various headsets. The speaker volumes will be added when I trace their path through the wolfson. It&#39;ll currently control handset, wired headset and bluetooth volumes. You currently need to tell it which to control as I have not found any dbus signals to tell what alsa state you are currently in. The displayed vaolumes may be wrong if you start the volume control before the alsa state change. One you use a control to set its volume it will reflect the state of the underlying hardware.<br>
<br>You&#39;ll need these 3 files<br><br><a href="http://handheldshell.com/python-pyalsaaudio_0.3-ml0_armv4t.ipk">http://handheldshell.com/python-pyalsaaudio_0.3-ml0_armv4t.ipk</a><br><a href="http://handheldshell.com/pymixer.py">http://handheldshell.com/pymixer.py</a><br>
<a href="http://handheldshell.com/volume.desktop">http://handheldshell.com/volume.desktop</a><br><br>install pyalsaausdio and pygtk<br>copy pymxer /usr/bin<br>copy volume.desktop /usr/share/applications<br><br>You can now control mic volume.<br>
<br>Angus<br><br></div></div></div>