diff mbox series

[v1] Permission for pulseaudio to use ofono.

Message ID 20240510064456.24101-1-quic_rbujala@quicinc.com
State New
Headers show
Series [v1] Permission for pulseaudio to use ofono. | expand

Commit Message

Raghavender Reddy Bujala May 10, 2024, 6:44 a.m. UTC
When pulseaudio is trying to Register with  ofono
on interface org.ofono.HandsfreeAudioManager, dbus
is throwing org.freedesktop.DBus.Error.AccessDenied
with string "Rejected send message".

To allow pulseaudio to send messages to org.ofono
service over dbus added this rule.

Signed-off-by: Raghavender Reddy Bujala <quic_rbujala@quicinc.com>
---
 ofono/src/ofono.conf | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Raghavender Reddy Bujala June 10, 2024, 11:16 a.m. UTC | #1
Can someone please update on this. This is a blocker,
we are unable to proceed further without this change
and please suggest if there is any alternate change
to way proceed further.

If not please let us know is there any plan for
upstream this change.

please consider this as a reminder.

On 5/10/2024 12:14 PM, Raghavender Reddy Bujala wrote:
> When pulseaudio is trying to Register with  ofono
> on interface org.ofono.HandsfreeAudioManager, dbus
> is throwing org.freedesktop.DBus.Error.AccessDenied
> with string "Rejected send message".
> 
> To allow pulseaudio to send messages to org.ofono
> service over dbus added this rule.
> 
> Signed-off-by: Raghavender Reddy Bujala <quic_rbujala@quicinc.com>
> ---
>   ofono/src/ofono.conf | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/ofono/src/ofono.conf b/ofono/src/ofono.conf
> index 6c5483ce..c946e822 100644
> --- a/ofono/src/ofono.conf
> +++ b/ofono/src/ofono.conf
> @@ -32,6 +32,10 @@
>       <allow send_interface="org.ofono.intel.LteCoexistenceAgent"/>
>     </policy>
>   
> +  <policy user="pulse">
> +    <allow send_destination="org.ofono"/>
> +  </policy>
> +
>     <policy at_console="true">
>       <allow send_destination="org.ofono"/>
>     </policy>

--
Raghavender
diff mbox series

Patch

diff --git a/ofono/src/ofono.conf b/ofono/src/ofono.conf
index 6c5483ce..c946e822 100644
--- a/ofono/src/ofono.conf
+++ b/ofono/src/ofono.conf
@@ -32,6 +32,10 @@ 
     <allow send_interface="org.ofono.intel.LteCoexistenceAgent"/>
   </policy>
 
+  <policy user="pulse">
+    <allow send_destination="org.ofono"/>
+  </policy>
+
   <policy at_console="true">
     <allow send_destination="org.ofono"/>
   </policy>