Hi.
I have trouble with pulseaudio/ofono/bluez configuration. I would like to configure my PC as headset (two-way audio routing HFP). I tried to configure pulseaudio according to http://padovan.org/blog/2010/02/hand...uez-and-ofono/ but it doesn't work. Bluetooth card is not visible after pairing my smartphone ( /etc/bluetooth/audio.conf with option “Enable=Gateway” ). I have enabled all interfaces in bluez/audio/manager.c such as GATEWAY TRUE, HFP TRUE, SOCKET TRUE. After that my bt sound card is visible in pulseaudio (pactl list). After establishing of modem connection (ofono/test/enable-modem) I can see only A2DP audio connection. There is no way to change this option to Handsfree Gateway although hfgw profile is visible in bt sound card:
When I'm trying to switch profile to hfgw (pactl set-card-profile <soundcard.name> <profile>) then pulseaudio shows that hfgw is not connected according to attached logs:Code:Profile: a2dp_source: (A2DP) (sinks: 0, sources: 1, priority. 10) hfgw: Handsfree Gateway (sinks: 1, sources: 1, priority. 20) off: (sinks: 0, sources: 0, priority. 0)
After pairing everything seems to be fine. I can enable modem by ofono and SCO is opened when I try to make a call. Anyone know what's wrong? (ubuntu 10.10, bluez 4.98, pulseaudio 1.1. Ofono 1.3)Code:D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client11 D: [pulseaudio] protocol-native.c: Protocol version: remote 23, local 23 I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 D: [pulseaudio] protocol-native.c: SHM possible: yes D: [pulseaudio] protocol-native.c: Negotiated SHM: yes D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for pactl W: [pulseaudio] module-bluetooth-device.c: HandsfreeGateway is not connected, refused to switch profile I: [pulseaudio] client.c: Freed 11 "pactl" I: [pulseaudio] protocol-native.c: Connection died. D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client11



Adv Reply
Bookmarks