Close

lakka Bluetooth Controllers Not Saving

So I have been playing around with running lakka on a old thinkpad x201 I have. I was running it on a Raspberry Pi 3B+ but wanted to see what the extra horsepower could do.

Very happy with switching from using the Pi!

In any case I setup some Playstation 4 and Playstation 3 controllers I had via bluetooth to it and every time I would reboot I would lose the settings. I followed the lakka documentation to get the controllers working.

I finally spent some time tonight looking into the issue and it still had the settings. It was just not loading bluetooth services on startup.

I didn’t want to dig into it to much so I just added a quick and dirty crontask at boot that will start the services.

Add this like to Root Cron Task
@reboot sh /storage/scripts/bluetoothloader.sh

Make File /storage/bluetoothloader.sh with the following commands

touch /storage/.cache/services/bluez.conf
systemctl enable bluetooth
systemctl start bluetooth

The above will load the bluetoothloader script on a boot up or reboot. It will then start the bluetooth services.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.