Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Bluetooth Audio output (Transmitter)
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Bluetooth Audio output (Transmitter)
3rd Jun, 2021, 04:16 AM (This post was last modified: 3rd Jun, 2021 04:52 AM by Nachteule.)
Post: #68
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Bluetooth Audio output (Transmitter)
Yes, I was a bit irritated why you start pulseaudio manually, with my configurations it goes by itself

So I went to the bottom of the matter on a nearly unmodified XBian
There is the file /etc/pulse/client.d/00-disable-autospawn.conf, which prevents the autospawn
Strangely I don't have this file, but I have a file 01-enable-autospawn.conf -> /run/pulseaudio-enable-autospawn in that directory. but I'm sure I never changed anything in there. Probably comes from earlier Debian versions

Anyway if you delete the 00-disable-autospawn.conf or set autospawn=yes pulseaudio starts automatically when Kodi is started


What is also strange is that bluetoothctl on the orginal XBian as user xbian tells me that there are no controllers. so I HAVE to run bluetoothctl as root.
Funny again that this works fine on my development system.
To change this I have to extend the file /etc/dbus-1/system.d/bluetooth.conf, adding

Code:
<policy user="xbian">
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.Agent1"/>
    <allow send_interface="org.bluez.GattCharacteristic1"/>
    <allow send_interface="org.bluez.GattDescriptor1"/>
    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
    <allow send_interface="org.freedesktop.DBus.Properties"/>
  </policy>

does the job. Might be a good idea to add this automatically in the future Dodgy

EDIT:
I'll answer this myself. currently (up to Debian Buster) the user must belong to the group lp or bluetooth so that bluetoothctl can be called as user.
From Debian Bullseye on the user only has to belong to the group bluetooth, which makes more sense.

I noticed that in the default installation the user xbian does not belong to the group bluetooth nor to the group lp.
On my development systems the user xbian is a member of lp as well as bluetooth. Why this is the case I can't say anymore for the life of me
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Bluetooth Audio output (Transmitter) - IriDium - 30th Apr, 2016, 12:12 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 30th Apr, 2016, 04:11 AM
RE: Bluetooth Audio output (Transmitter) - BreadPit - 7th Feb, 2019, 08:17 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 8th Feb, 2019, 06:29 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 30th Apr, 2016, 05:10 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 10th May, 2016, 03:35 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 12th May, 2016, 11:02 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 10th May, 2016, 07:54 PM
RE: Bluetooth Audio output (Transmitter) - schiway - 12th May, 2016, 06:42 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 12th May, 2016, 07:38 PM
RE: Bluetooth Audio output (Transmitter) - schiway - 12th May, 2016, 08:32 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 12:05 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 13th May, 2016, 12:23 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 13th May, 2016, 12:31 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 12:48 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 13th May, 2016, 01:11 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 03:16 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 13th May, 2016, 04:18 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 13th May, 2016, 04:43 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 14th May, 2016, 03:25 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 15th May, 2016, 01:12 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 15th May, 2016, 04:53 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 15th May, 2016, 05:52 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 15th May, 2016, 11:56 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 16th May, 2016, 02:58 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 16th May, 2016, 03:20 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 16th May, 2016, 09:36 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 16th May, 2016, 11:56 PM
RE: Bluetooth Audio output (Transmitter) - schiway - 18th May, 2016, 02:35 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 18th May, 2016, 02:57 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 20th May, 2016, 11:20 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 21st May, 2016, 12:07 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 21st May, 2016, 12:30 AM
RE: Bluetooth Audio output (Transmitter) - schiway - 21st May, 2016, 02:10 AM
RE: Bluetooth Audio output (Transmitter) - f1vefour - 21st May, 2016, 06:26 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 1st Jun, 2016, 10:53 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 2nd Jun, 2016, 02:06 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 2nd Jun, 2016, 03:43 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 2nd Jun, 2016, 04:03 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 2nd Jun, 2016, 04:10 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 4th Jun, 2016, 07:36 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 4th Jun, 2016, 09:52 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 4th Jun, 2016, 10:16 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 01:28 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 10:29 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 6th Jun, 2016, 03:33 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 5th Jun, 2016, 03:24 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 03:29 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 5th Jun, 2016, 03:38 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 03:49 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Jun, 2016, 03:52 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 5th Jun, 2016, 07:28 PM
RE: Bluetooth Audio output (Transmitter) - IriDium - 7th Jun, 2016, 01:05 AM
RE: Bluetooth Audio output (Transmitter) - IriDium - 9th Jun, 2016, 04:18 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 28th May, 2021, 10:21 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 29th May, 2021, 05:03 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 30th May, 2021, 01:33 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 30th May, 2021, 10:15 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 30th May, 2021, 10:32 PM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 1st Jun, 2021, 01:55 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 1st Jun, 2021, 03:20 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 1st Jun, 2021, 07:41 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 1st Jun, 2021, 03:38 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 1st Jun, 2021, 09:05 PM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 1st Jun, 2021, 11:36 PM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 2nd Jun, 2021, 04:47 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 3rd Jun, 2021, 12:30 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 3rd Jun, 2021 04:16 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 5th Jun, 2021, 12:06 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 7th Jun, 2021, 02:20 AM
RE: Bluetooth Audio output (Transmitter) - ppianigiani - 8th Jun, 2021, 01:03 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 20th Jun, 2021, 03:55 AM
RE: Bluetooth Audio output (Transmitter) - gkusiak - 28th Nov, 2022, 04:40 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 28th Nov, 2022, 05:05 AM
RE: Bluetooth Audio output (Transmitter) - gkusiak - 4th Dec, 2022, 04:19 AM
RE: Bluetooth Audio output (Transmitter) - Nachteule - 5th Dec, 2022, 04:32 AM
RE: Bluetooth Audio output (Transmitter) - gkusiak - 5th Dec, 2022, 02:25 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 21st May, 2025, 08:19 PM Powered By MyBB, © 2002-2025 MyBB Group.