pulseaudio-discuss Digest, Vol 8, Issue 12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Frederic. I pulled the sources from git. The issue was resolved
on x86 machine.

When I used the same patches for my IMX53 evaluation board(QSB), it didnt work.
I get "bt_audio_service_open: connect() failed: Connection refused
(111)" error.
Pulseaudio fails to load module-bluetooth-device module. The bluetooth
socket creation fails and hence the module is not loaded.
I have attached the bluez, ofono and pulseaudio log.

My configuration on IMX53
1. pulseaudio - latest from the git
2. Bluez - latest from the git
3. ofono - latest from the git.

--Vinod
-----------------------------------------------------------------------------------
> Message: 3
> Date: Wed, 7 Dec 2011 17:09:54 +0100
> From: "Dalleau, Frederic" <frederic.dalleau at intel.com>
> Subject: Re: [pulseaudio-discuss] Phone Disconnects If module-loopback
> ? ? ? ?is not un-loaded. [BT-PA-Ofono-Bluez]
> To: General PulseAudio Discussion
> ? ? ? ?<pulseaudio-discuss at lists.freedesktop.org>
> Message-ID:
> ? ? ? ?<CA+QXtDt10q0wOZNhm+DWLaUrZJZEKyZdUk6F5YgdwMqFqUBLuw at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Vinod,
>
>> 3) Bluez 4.95 is already running.
>
> Please try latest bluez from git since this issue has been
> fixed a while ago, but not released yet.
> That's always a good idea !
>
> Regards,
> Fr?d?ric
>

------------------ original message
-----------------------------------------------------
Hello All,
I am currently trying to connect my cellphone to desktop in handsfree mode.
The phone gets connected perfectly with the help of ofono.
To listen and speak I am using pulseaudio-1.0 which I patched by
referring the Fr?d?ric Dalleau patch from
http://www.mail-archive.com/pulseaudio-discuss at lists.freedesktop.org/msg01417.html

Following scenario results into disconnect of phone from handsfree-mode:-
1) Pulseaudio started in debug mode.
2) Ofono started in debug mode.
3) Bluez 4.95 is already running.
4) When I connect phone with the help of Ofono in handsfree-mode it
gets connected.
5) Then I do a outgoing call and load a module loopback.
6) I am able to hear voice and talk as well.
7) When I disconnect the call, immediately phone also gets
disconnected from handsfree-mode.

Please find attached pulseaudio and ofono logs.
Please provide inputs.

Regards,
Vinod
-------------- next part --------------
bluetoothd[1512]: plugins/hciops.c:set_state() hci0: new state 0
bluetoothd[1512]: src/adapter.c:adapter_set_state() hci0: new state 0
bluetoothd[1512]: plugins/hciops.c:hciops_start_inquiry() hci0 length 8
bluetoothd[1512]: Discovery session 0x54b4bf08 with :1.7 activated
bluetoothd[1512]: src/adapter.c:session_ref() 0x54b4bf08: ref=1
bluetoothd[1512]: src/adapter.c:adapter_set_state() hci0: new state 1
bluetoothd[1512]: src/adapter.c:session_unref() 0x54b4bf08: ref=0
bluetoothd[1512]: src/adapter.c:session_remove() Discovery session 0x54b4bf08 with :1.7 deactivated
bluetoothd[1512]: src/adapter.c:session_remove() Stopping discovery
bluetoothd[1512]: plugins/hciops.c:hciops_stop_discovery() index 0
bluetoothd[1512]: plugins/hciops.c:hciops_stop_inquiry() hci0
bluetoothd[1512]: Stopping discovery
bluetoothd[1512]: src/adapter.c:adapter_set_state() hci0: new state 0

ofonod[1566]: plugins/hfp_hf.c:hfp_enable() 0x1035c8

bluetoothd[1512]: audio/media.c:gateway_state_changed() 
bluetoothd[1512]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.12 path = /MediaEndpoint/HFPHS

D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.HandsfreeGateway, path=/org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: property 'State' changed to value 'connecting'

bluetoothd[1512]: Endpoint replied with an error: org.freedesktop.DBus.Error.AccessDenied
bluetoothd[1512]: audio/media.c:gateway_state_changed() 
bluetoothd[1512]: audio/media.c:gateway_state_changed() Clear endpoint 0x54b67348

D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.HandsfreeGateway, path=/org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: property 'State' changed to value 'disconnected'

bluetoothd[1512]: plugins/hciops.c:conn_complete() status 0x00
bluetoothd[1512]: src/adapter.c:adapter_get_device() F8:DB:7F:BC:46:08

D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.Device, path=/org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08, member=PropertyChanged

bluetoothd[1512]: plugins/hciops.c:remote_features_information() hci0 status 0
bluetoothd[1512]: plugins/hciops.c:link_key_request() hci0 dba F8:DB:7F:BC:46:08
bluetoothd[1512]: plugins/hciops.c:get_auth_info() hci0 dba F8:DB:7F:BC:46:08
bluetoothd[1512]: plugins/hciops.c:link_key_request() kernel auth requirements = 0x04
bluetoothd[1512]: plugins/hciops.c:link_key_request() Matching key found
bluetoothd[1512]: plugins/hciops.c:link_key_request() link key type 0x00
bluetoothd[1512]: plugins/hciops.c:auth_complete() hci0 status 0
bluetoothd[1512]: plugins/hciops.c:bonding_complete() status 0x00
bluetoothd[1512]: src/event.c:btd_event_bonding_complete() status 0x00
bluetoothd[1512]: src/adapter.c:adapter_get_device() F8:DB:7F:BC:46:08
bluetoothd[1512]: src/device.c:device_bonding_complete() bonding (nil) status 0x00

ofonod[1566]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[1566]: plugins/hfp_hf.c:hfp_pre_sim() 0x1035c8
ofonod[1566]: drivers/hfpmodem/call-volume.c:hfp_call_volume_probe() 
ofonod[1566]: drivers/hfpmodem/handsfree.c:hfp_handsfree_probe() 
ofonod[1566]: src/modem.c:modem_change_state() old state: 1, new state: 2
ofonod[1566]: plugins/hfp_hf.c:hfp_post_sim() 0x1035c8
ofonod[1566]: src/modem.c:modem_change_state() old state: 2, new state: 3
ofonod[1566]: Service level connection established

bluetoothd[1512]: audio/gateway.c:newconnection_reply() Agent reply: file descriptor passed successfully
bluetoothd[1512]: audio/media.c:gateway_state_changed() 

D: [pulseaudio] bluetooth-util.c: dbus: interface=org.bluez.HandsfreeGateway, path=/org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08, member=PropertyChanged
D: [pulseaudio] bluetooth-util.c: dbus: property 'State' changed to value 'connected'
D: [pulseaudio] module-bluetooth-discover.c: Loading module-bluetooth-device address="F8:DB:7F:BC:46:08" path="/org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08" profile="hfg"

ofonod[1566]: drivers/hfpmodem/voicecall.c:hfp_voicecall_initialized() hfp_voicecall_init: registering to notifications

bt_audio_service_open: connect() failed: Connection refused (111)

W: [pulseaudio] module-bluetooth-device.c: Bluetooth audio service not available
W: [pulseaudio] module-bluetooth-device.c: Service not connected
I: [pulseaudio] card.c: Freed 1 "bluez_card.F8_DB_7F_BC_46_08"
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
E: [pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address="F8:DB:7F:BC:46:08" path="/org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08" pro.
D: [pulseaudio] module-bluetooth-discover.c: Failed to load module for device /org/bluez/1512/hci0/dev_F8_DB_7F_BC_46_08

ofonod[1566]: src/network.c:current_operator_callback() 0x1226d0, (nil)
ofonod[1566]: drivers/hfpmodem/network-registration.c:signal_strength_cb() signal_strength_cb: 5
ofonod[1566]: drivers/hfpmodem/network-registration.c:signal_strength_cb() signal_strength_cb: 5


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux