Linux-Bluetooth Archive mirror
 help / color / mirror / Atom feed
From: Raghavender Reddy Bujala <quic_rbujala@quicinc.com>
To: ofono@ofono.org, linux-bluetooth@vger.kernel.org
Cc: quic_mohamull@quicinc.com, quic_hbandi@quicinc.com,
	quic_anubhavg@quicinc.com,
	Raghavender Reddy Bujala <quic_rbujala@quicinc.com>
Subject: [PATCH v1] Permission for pulseaudio to use ofono.
Date: Fri, 10 May 2024 12:14:56 +0530	[thread overview]
Message-ID: <20240510064456.24101-1-quic_rbujala@quicinc.com> (raw)

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>
-- 
2.17.1


             reply	other threads:[~2024-05-10  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-10  6:44 Raghavender Reddy Bujala [this message]
2024-06-10 11:16 ` [PATCH v1] Permission for pulseaudio to use ofono Raghavender Reddy Bujala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240510064456.24101-1-quic_rbujala@quicinc.com \
    --to=quic_rbujala@quicinc.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=ofono@ofono.org \
    --cc=quic_anubhavg@quicinc.com \
    --cc=quic_hbandi@quicinc.com \
    --cc=quic_mohamull@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).