RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Lakka bluetooth service fails after each reboot due to bluez.conf not found

Open matt404 opened this issue 6 years ago • 2 comments

Description

Hello, I'm encountering an issue that seems like a bug, and I'm surprised not to find anything about this on the google machine (and elsewhere), so maybe i'm doing something wrong? Basically, my issue is that every time I turn on my lakka machine (running on a pi4), the bluetooth service won't start automatically. I have configured bluetooth to start automatically with "systemctl enable bluetooth", but when I check the status of the bluetooth service I see the following failure reason:

ConditionPathExists=/storage/.cache/services/bluez.conf was not met

When I create the bluez.conf file, everything works as expected, yay. But when I reboot the device, the bluez.conf file is deleted and the bluetooth service fails to start. I then have to SSH into my lakka device to manually create the bluez file and restart the service. It would be a nice upgrade to the experience and the security of the device if I didn't have to do this dance every time I turn on the device.

Expected behavior

The bluetooth service should start automatically when lakka boots, assuming I set it to start automatically using "systemctl enable bluetooth"

Actual behavior

The bluetooth service fails to boot.

Steps to reproduce the bug

  1. Turn on lakka device
  2. Setup a controller via bluetooth, and add it as a trusted device
  3. Enable the bluetooth service to start automatically
  4. Reboot the device, and there you have it, blue tooth is busted when it should be working.

Bisect Results

It has happened since I started using lakka a few months ago.

Version/Commit

You can find this information under Information/System Information

  • RetroArch: [version/commit]

Environment information

  • OS: [The operating system you're running]
  • Compiler: [In case you are running local builds]

matt404 avatar Jan 22 '20 03:01 matt404

Please open the issue to the dedicated repository.

Thank you.

gouchi avatar Jan 22 '20 18:01 gouchi

Thank you for the pointer, i'll close this out and move it over to the dedicated repo.

matt404 avatar Jan 23 '20 02:01 matt404