[QtExtended] Bluetooth car handsfree in 4.4.2

2008-11-06 Thread Benedikt Bär
Hi list,

I was wondering if anyone could help me figure out the last missing
pieces of a puzzle :)

I'm trying to use my bluetooth car handsfree under QT Extended, and so
far made good progress.

Using the 2.6 kernel from the android download, the rfcomm bug in the
bluetooth driver seems to be solved.

With this kernel, I am able to pair, and 100% of the features of the car
handsfree do work, e. g. an incoming call is registered and I am able to
answer, outgoing calls made through booth Qtopia Dialer and the handset
work, etc...

But the problem is I get no sound - at no end of the call. 

So I saw from the Qtopia logs that the state file was missing, and I
downloaded one from this [1] page, confirmed to work.

Now I get static noise in the headset, which I suppose is a good thing
(tm) :), but still no sound. In a call, I've tried to change alsamixer,
but to no avail.

That leads me to suspect that it's not an alsa problem at all. I instead
think that Qtopia is not routing the audio properly.

So my question is: How does Qtopia handle audio via bluetooth, is it
like described in [1]? Do I need some alsa/bluez tweaking (not state
files) here? Has anyone tried this yet?

I strongly believe this can work and that I am on the right path. It
seems it's just something silly I'm missing :(

Cheers,
-  
Benedikt

[1] 
http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Bluetooth_Headset_on_Freerunner

www.relamp.tk

This e-mail is digitally signed by a PGP key, to verify it's authenticity.
If you received this e-mail without key the e-mail may not be authentic.



signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Bluetooth car handsfree in 4.4.2

2008-11-06 Thread Angus Ainslie
On Thu, Nov 6, 2008 at 1:21 PM, Benedikt Bär [EMAIL PROTECTED] wrote:

 Now I get static noise in the headset, which I suppose is a good thing
 (tm) :), but still no sound. In a call, I've tried to change alsamixer,
 but to no avail.


I haven't tried QtExtended but I'm assuming it's missing the PCM routing
logic. Try either [1] or [2] they should route the sound properly.

Angus

[1]  http://handheldshell.com/bluetooth_pcm
[2] http://handheldshell.com/BtHeadset.py

-- 
Angus Ainslie
http://www.handheldshell.com/
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Bluetooth car handsfree in 4.4.2

2008-11-06 Thread Benedikt Bär
On Thu, 2008-11-06 at 13:42 -0700, Angus Ainslie wrote:
 On Thu, Nov 6, 2008 at 1:21 PM, Benedikt Bär [EMAIL PROTECTED]
 wrote:
 Now I get static noise in the headset, which I suppose is a
 good thing
 (tm) :), but still no sound. In a call, I've tried to change
 alsamixer,
 but to no avail.
 
 
 I haven't tried QtExtended but I'm assuming it's missing the PCM
 routing logic. Try either [1] or [2] they should route the sound
 properly.
 
 Angus
 
 [1]  http://handheldshell.com/bluetooth_pcm
 [2] http://handheldshell.com/BtHeadset.py 
 
 

Hi Angus!

After two hours of fiddling with Python (don't ask) it finally works
with [2]! Thank you very much!!!

So, your guess was right - Qt Extended doesn't yet route the Audio
properly. Just a note for everyone wanting to try this: Modify Angus'
script, to comment out the passkey connection if you have already paired
with QT Extended.

This is for Lorn from the QT team - is there any setting in a config
file to tell QT extended which alsa device to use for the bluetooth
handset? Does it work that way?

Cheers,
Benedikt

 -- 
 Angus Ainslie
 http://www.handheldshell.com/
 


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community