[OE-core] [PATCH] bluez5: Allow method calls over dbus for bluetooth daemon

Khan, Yasir Yasir_Khan at mentor.com
Fri Aug 15 10:07:57 UTC 2014


Hello all,

Any response on this ?

Regards
Yasir
________________________________________
From: Khan, Yasir
Sent: Tuesday, August 05, 2014 4:27 PM
To: openembedded-core at lists.openembedded.org
Cc: Khan, Yasir
Subject: [PATCH] bluez5: Allow method calls over dbus for bluetooth daemon

From: Yasir-Khan <yasir_khan at mentor.com>

This patch changes the dbus policy settings in order to allow
calling methods over dbus. bluez5 and pulseaudio rely on this
mechanism to configure media end points. Previously bluetoothd
was failing to configure the media end points with error
org.freedesktop.DBus.Error.AccessDenied, due to which bluetooth
headset and smartphone were unable to connect in A2DP mode.

Signed-off-by: Yasir-Khan <yasir_khan at mentor.com>
---
 .../bluez5/bluez5/bluetooth.conf                   |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf b/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf
index e21e72e..26845bb 100644
--- a/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf
+++ b/meta/recipes-connectivity/bluez5/bluez5/bluetooth.conf
@@ -11,6 +11,7 @@
     <allow own="org.bluez"/>
     <allow send_destination="org.bluez"/>
     <allow send_interface="org.bluez.Agent1"/>
+    <allow send_type="method_call"/>
   </policy>

 </busconfig>
--
1.7.9.5




More information about the Openembedded-core mailing list