<div dir="ltr"><br><div class="gmail_quote">On Tue, Sep 2, 2008 at 10:56 PM, Brad Midgley <span dir="ltr">&lt;<a href="mailto:bmidgley@gmail.com">bmidgley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jim<br>
<div class="Ih2E3d"><br>
&gt; I already tried all that, including the python script. I&#39;ve tried everything on the bluez wiki and<br>
&gt; the OM wiki.<br>
<br>
</div></blockquote><div><br>I got a bluetooth headset to work. Here&#39; and initial rundown on how to do it, I&#39;m not sure if all of the steps are required but I know most of them are.<br><br><br>Pair your headset instructions are here<br>
<br><a href="http://wiki.bluez.org/">http://wiki.bluez.org/</a><br><br>After pairing I made a ./home/root/asoundrc to set the headset up as the default alsa device. This step is probably not required<br><br>pcm.!default {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type bluetooth<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; device &lt;device mac address from above pairing&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profile &quot;auto&quot;<br>}<br><br>I wrote a little python script to setup the audio service and set the headset as the default device<br>
<br><a href="http://handheldshell.com/BtHeadset.py">http://handheldshell.com/BtHeadset.py</a><br>
<br>I compiled the binary from the wiki page <a href="http://wiki.openmoko.org/wiki/Neo1973_audio_subsystem">http://wiki.openmoko.org/wiki/Neo1973_audio_subsystem</a><br>
<br><a href="http://handheldshell.com/bluetooth_pcm">http://handheldshell.com/bluetooth_pcm</a><br><br>Get the alsa state file<br><br><a href="http://wiki.openmoko.org/images/6/64/Gsmbluetooth_gta02.state.txt">http://wiki.openmoko.org/images/6/64/Gsmbluetooth_gta02.state.txt</a><br>
&nbsp;<br></div></div>Now start the call<br><br>run <br><br>alsactl restore 0 Gsmbluetooth_gta02.state.txt<br>BtHeadset.py &lt;headset mac addres&gt; &amp;<br>bluetooth_pcm<br><br>You should now hear the call in your headset. I have not tried to see if the mic is working yet. This was all done with the 2008-updates image from sept 4.<br>
<br>Angus<br><br></div>