So, here is my setup, I have a pi5 16gb running libreelec plugged into Ethernet and hooked up to a 1080p projector. I use a bluetooth sound bar for my primary sound output while watching. I also have an sd card setup for Lakka for the same device so i can switch between OS's depending on what I want to do at the time... what i need is to know where the bluetooth connection config files are located on libreelec so I can copy those files and all of their randomly generated keys that reset with every connection into the same place on Lakka and have the soundbar autoconnect when I power on both OS's given that all of the hardware and its associated mac addresses are all the same (I have tried this trick before using rpios and kali and ubuntu for the rpi to get the same bluetooth keyboard to autoconnect to 3 different os's without having to pair each time) any help would be much appreciated, thanks!
Bluetooth configuration files
-
fyx3r -
August 2, 2025 at 1:15 AM -
Thread is Unresolved
-
-
Those two locations ^ are where device settings for BT and Ethernet/WiFi are stored in LibreELEC. As Lakka is ultimately dervied from the same buildsystem/codebase as LE it should share the same locations. The content is updated dynamically during runtime and is not intended to be copyable/syncable in the way that you imagine though so no guarantees it will work.
-
well... after a little bit of testing, you seem to be correct. It works on rpios kali and ubuntu but not on LE or Lakka... is there any way you could point me to the documentation on the buildsystem/codebase they are made from? My next avenue is to try and install retroarch in the buildsystem of libreelec much in the same way it is built on lakka to try and combine the two systems and maybe make a custom option in the power menu to allow switching between kodi and retroarch and a custom option in the retroarch menu to switch back... any help would be much appreciated
-
See https://wiki.libreelec.tv/development/build-basics for some basic info on the buildsystem. Both distro's use Bluez for their BT things and ConnMan/IWD for networking. Those tools have numerous common code contributors so e.g. how things are persisted end up being very similar. There's no specific info/guides for combining capabilities. Have you thought about using the retro-game capabilities in Kodi?