[pulseaudio-discuss] Hands free profile (Bluez+Ofono+PA)

Олег Игнатьев oleg.intax at gmail.com
Thu Nov 11 05:23:26 PST 2010


Hello!
I try to connect my computer as a handsfree. I used this HOWTO 
http://ofono.org/wiki/hands-free-profile , but I have a problem with sound.
After enable-modem command there is no sound from speakers, and there is 
no info in PA log.
OS - Ubuntu 10.10
DBUS - 1.4.0 (from Ubuntu repo)
PA - 0.9.21 (from Ubuntu repo)
Bluez - 4.79 (from bluez.org)
Ofono - 0.35 (from ofono.org)

bluez configuration options:
./configure --enable-maintainer-mode --enable-debug --prefix=/usr 
--mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var 
--libexecdir=/lib --enable-netlink  --enable-tracer --enable-tools 
--enable-bccmd --enable-dfutool --enable-hid2hci --enable-hidd 
--enable-pand --enable-dund --enable-test  --with-telephony=ofono

logs after enable-modem command
ofonod
ofonod[27575]: plugins/hfp.c:hfp_enable() 0x8367998
ofonod[27575]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[27575]: plugins/hfp.c:hfp_pre_sim() 0x8367998
ofonod[27575]: drivers/hfpmodem/call-volume.c:hfp_call_volume_probe()
ofonod[27575]: drivers/hfpmodem/call-volume.c:hfp_call_volume_initialized()
ofonod[27575]: src/modem.c:modem_change_state() old state: 1, new state: 2
ofonod[27575]: plugins/hfp.c:hfp_post_sim() 0x8367998
ofonod[27575]: src/modem.c:modem_change_state() old state: 2, new state: 3
ofonod[27575]: Service level connection established
ofonod[27575]: drivers/hfpmodem/voicecall.c:hfp_voicecall_initialized() 
hfp_voicecall_init: registering to notifications
ofonod[27575]: src/network.c:current_operator_callback() 0x8366150, (nil)
ofonod[27575]: 
drivers/hfpmodem/network-registration.c:signal_strength_cb() 
signal_strength_cb: 5

bluetoothd
bluetoothd[27492]: src/adapter.c:adapter_get_device() 00:1E:A4:F5:42:82
bluetoothd[27492]: link_key_request (sba=00:1F:E2:F5:07:44, 
dba=00:1E:A4:F5:42:82)
bluetoothd[27492]: plugins/hciops.c:link_key_request() kernel auth 
requirements = 0x04
bluetoothd[27492]: plugins/hciops.c:link_key_request() link key type = 0x00
bluetoothd[27492]: src/event.c:btd_event_bonding_process_complete() 
status=00
bluetoothd[27492]: src/adapter.c:adapter_get_device() 00:1E:A4:F5:42:82
bluetoothd[27492]: src/event.c:btd_event_bonding_process_complete() no 
pending auth request
bluetoothd[27492]: audio/gateway.c:newconnection_reply() Agent reply: 
file descriptor passed successfully
bluetoothd[27492]: 
audio/telephony.c:handle_registration_property_changed() in 
handle_registration_property_changed(), the property is Status
bluetoothd[27492]: audio/telephony.c:handle_registration_property() 
Status is registered
bluetoothd[27492]: audio/telephony.h:telephony_update_indicator() 
Telephony indicator "roam" 0->0
bluetoothd[27492]: audio/telephony.h:telephony_update_indicator() 
Ignoring no-change indication
bluetoothd[27492]: audio/telephony.h:telephony_update_indicator() 
Telephony indicator "service" 1->1
bluetoothd[27492]: audio/telephony.h:telephony_update_indicator() 
Ignoring no-change indication
bluetoothd[27492]: 
audio/telephony.c:handle_registration_property_changed() in 
handle_registration_property_changed(), the property is Name
bluetoothd[27492]: 
audio/telephony.c:handle_registration_property_changed() in 
handle_registration_property_changed(), the property is Strength

pulseaudio
D: module-console-kit.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/27492/hci0/dev_00_1E_A4_F5_42_82, member=PropertyChanged
D: bluetooth-util.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/27492/hci0/dev_00_1E_A4_F5_42_82, member=PropertyChanged
D: module-console-kit.c: dbus: interface=org.bluez.Device, 
path=/org/bluez/27492/hci0/dev_00_1E_A4_F5_42_82, member=PropertyChanged

when I play sound on my telephone

ofonod
nothing

bluetoothd
bluetoothd[27492]: audio/main.c:sco_server_cb() Accepted SCO connection 
from 00:1E:A4:F5:42:82     //sound started
bluetoothd[27492]: audio/gateway.c:sco_io_cb() sco connection is 
released                                              //sound stopped
bluetoothd[27492]: src/event.c:btd_event_disconn_complete() No matching 
connection found for handle 6

pulseaudio
nothing

Looks like Bluez and PA just don't see each other.
Am I doing something wrong?

Thanks,
Oleg



More information about the pulseaudio-discuss mailing list