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

Bluetooth disconnects
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Bluetooth disconnects
20th Feb, 2023, 06:04 AM
Post: #21
grandcanyon Offline
Registered
Posts: 54
Joined: Dec 2022
Reputation: 0
RE: Bluetooth disconnects
/etc/init/pulseaudio.conf

Code:
start on runlevel [2345]
stop on runlevel [016]

exec pulseaudio --system --realtime --log-target=syslog

respawn

description "PulseAudio system server"

line 4 of /etc/init/bluetooth.conf
Code:
start on (started rpi-bluetooth or started imx-bluetooth or bluetooth) and started pulseaudio

added to /etc/rc.local for this xbian has to be in the sudoers file and xbian has to be added to the pulse group
Code:
bash -c "sleep 30; sudo -u xbian /usr/bin/pactl load-module module-bluetooth-discover"
exit 0

Please note, only headphones work with PA no PA itself. I switch back to PI:HDMI. Sometimes PA works as it must be some boot sequence issue. Anyhow, PA hasn't been stable with xbian nor RpiOS Lite as I end up with no sound after about 10 channel changes. I just use the BT HP when I want to and then switch back to PI:HDMI to avoid this.

Also in $HOME/.config/pulse/default.pa I changed autospawn to no

2/20/23 Update: I had to comment out #dtparam=audio=on in the /boot/config.txt
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Bluetooth disconnects - grandcanyon - 8th Feb, 2023, 02:40 PM
RE: Bluetooth disconnects - grandcanyon - 9th Feb, 2023, 09:27 AM
RE: Bluetooth disconnects - grandcanyon - 9th Feb, 2023, 02:04 PM
RE: Bluetooth disconnects - Nachteule - 10th Feb, 2023, 12:39 AM
RE: Bluetooth disconnects - grandcanyon - 10th Feb, 2023, 04:34 AM
RE: Bluetooth disconnects - Nachteule - 10th Feb, 2023, 06:49 AM
RE: Bluetooth disconnects - grandcanyon - 10th Feb, 2023, 10:21 AM
RE: Bluetooth disconnects - grandcanyon - 10th Feb, 2023, 01:36 PM
RE: Bluetooth disconnects - Nachteule - 10th Feb, 2023, 10:14 PM
RE: Bluetooth disconnects - grandcanyon - 10th Feb, 2023, 03:29 PM
RE: Bluetooth disconnects - Nachteule - 10th Feb, 2023, 10:13 PM
RE: Bluetooth disconnects - grandcanyon - 11th Feb, 2023, 02:25 AM
RE: Bluetooth disconnects - Nachteule - 12th Feb, 2023, 04:40 AM
RE: Bluetooth disconnects - grandcanyon - 17th Feb, 2023, 07:18 PM
RE: Bluetooth disconnects - Nachteule - 18th Feb, 2023, 05:28 AM
RE: Bluetooth disconnects - grandcanyon - 18th Feb, 2023, 09:18 AM
RE: Bluetooth disconnects - grandcanyon - 19th Feb, 2023, 06:43 AM
RE: Bluetooth disconnects - Nachteule - 19th Feb, 2023, 06:58 AM
RE: Bluetooth disconnects - grandcanyon - 19th Feb, 2023, 12:27 PM
RE: Bluetooth disconnects - Nachteule - 19th Feb, 2023, 11:00 PM
RE: Bluetooth disconnects - grandcanyon - 20th Feb, 2023 06:04 AM
RE: Bluetooth disconnects - Nachteule - 21st Feb, 2023, 05:16 AM
RE: Bluetooth disconnects - grandcanyon - 21st Feb, 2023, 06:09 AM
RE: Bluetooth disconnects - Nachteule - 27th Feb, 2023, 04:25 AM
RE: Bluetooth disconnects - grandcanyon - 1st Mar, 2023, 06:19 AM

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

Current time: 24th May, 2025, 08:12 PM Powered By MyBB, © 2002-2025 MyBB Group.