summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files
diff options
context:
space:
mode:
authorAndrey Gusakov <andrey.gusakov@cogentembedded.com>2017-11-01 19:49:05 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-28 14:31:53 +0300
commit27ebba749e6177f41ad840c1b0377dd8007e0747 (patch)
tree84d551674fa33871f0750927cc305b29ea70c83f /meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files
parenta741482ab005ed90c717af54d41f4626420224dc (diff)
Kingfisher: bluetooth fixes
Add proper dbus configs Enable bluetooth on startup
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files')
-rw-r--r--meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-ofono.conf15
-rw-r--r--meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system.pa2
2 files changed, 16 insertions, 1 deletions
diff --git a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-ofono.conf b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-ofono.conf
new file mode 100644
index 0000000..e526d77
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/pulseaudio-ofono.conf
@@ -0,0 +1,15 @@
+<busconfig>
+
+ <policy user="pulse">
+ <allow own="org.pulseaudio.Server"/>
+ <allow send_destination="org.bluez"/>
+ <allow send_destination="org.ofono"/>
+ <allow send_interface="org.ofono.SimToolkitAgent"/>
+ <allow send_interface="org.ofono.PushNotificationAgent"/>
+ <allow send_interface="org.ofono.SmartMessagingAgent"/>
+ <allow send_interface="org.ofono.PositioningRequestAgent"/>
+ <allow send_interface="org.ofono.HandsfreeAudioAgent"/>
+ <allow send_interface="org.ofono.HandsfreeAudioManager"/>
+ </policy>
+
+</busconfig>
diff --git a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system.pa b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system.pa
index 89af11a..fe585ec 100644
--- a/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system.pa
+++ b/meta-rcar-gen3-adas/recipes-multimedia/pulseaudio/files/system.pa
@@ -67,7 +67,7 @@ load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
-load-module module-bluetooth-discover
+load-module module-bluetooth-discover headset=auto
.endif
set-default-sink ak4613_output