Problem: Bluetooth Audio output (Transmitter)
|
1st Jun, 2021, 11:36 PM
Post: #65
|
|||
|
|||
RE: Bluetooth Audio output (Transmitter)
(1st Jun, 2021 09:05 PM)Nachteule Wrote: Maybe you changed something in the /boot/config.txt? I did many tests and tried some changes on /boot/config.txt to have my BT HPs working, so it could be, but no change that now I'm aware of (every time I restored the default values if the BT issue was still present...). Anyway, from the snippet you sent, it seems in my case uart0 and serial1 are different (and I guess this is unexpected on your side, right?) and thus the speed is set to 460800: Code: xbian@xbian ~ $ cat /proc/device-tree/aliases/uart0; echo"" I've also tried the WAITFOR="bluetoothd" option, letting the xbmc service to autostart, but it's not working, I'm getting the very first scenario: thanks to the "sudo -u xbian bluetoothctl connect <dev>" command inside /etc/rc.local, my BT HPs always get connected, but then I can hear sounds only from Kodi's GUI, not from videos or addons. From what I've seen while testing this, I get the "connection active" prompt from my HPs during the Kodi starting splash and for some reason (no idea why, sorry...) this leads to sound OK from GUI, but no suond from videos or addons (same log entries from my first post). It seems that the BT device MUST be already connected BEFORE Kodi starts, so I believe that waiting for bluetoothd running is not enough: what do you think? Anyway, now I'm pretty OK with the current version of my /etc/rc.local running on 5.4.122 (maybe not very elegant, but working): Code: printf "\n\n" > /dev/tty1 As you can see, I've forked the BT device connection command, so Kodi will start even if I'm not using my BT headphones (otherwise, the "bluetoothctl connect" command hangs out for ever and Kodi never starts...) Many thanks! |
|||
« Next Oldest | Next Newest »
|