BCM2070 Bluetooth and Lakka problems

I have a bluetooth adapter that uses the BCM2070 chipset and Lakka doesn’t see it at all unless I manually load btusb and run ‘echo “19ff 0239” >> /sys/bus/usb/drivers/btusb/new_id’ but even then it doesn’t work correctly. Turns out the adapter needs to have the FW patched at load each time using the brcm_patchram_plus tool but that tool isn’t on the distro so I tried to download it but it only comes in source so I need to build it but I can’t because there are no compilers on lakka and I can’t add any compilers because there is no pacman or apt-get… I’m INCREDIBLY frustrated at this point.

I tried adding the firmware HCD file to /storage/.config/firmware/brcm but that didn’t work either, and that’s because it needs to be loaded into the adapter with brcm_patchram_plus. I’m at a dead end, does anyone have any idea how to get the BCM2070 to work in lakka or a way to add build tools? If not, it looks like I’m being forced to either spend more money and get a different adapter or not use lakka at all and go back to something else.

On which platform are you running Lakka ?

It’s the Lakka image for ODROID XU3/XU4 and it’s running on OpenElec

Okay, so It looks like it is connecting but only when I add echo “19ff 0239” to /sys/bus/usb/drivers/btusb/new_id It even works in the UI now, but the problem now is that the 4 lights to indicate which controller it is are just flashing non-stop. The other issue is that the bluetooth service is not starting on boot even though I ran systemctl enable bluetooth

Can you try to type :

hciconfig hci0 up

Sometimes, it is a step to make bluetooth working.

Is it possible to have the output of

 systemctl status bluetooth.service

Thank you.

I’ve abandoned using the dualshock 3 altogether and switched to the xbox 360 controller even though I like it less since this is such a hassle. Yes, I can hciconfig hci0 up and it works and isn’t needed, the systemctl status bluetooth after boot shows enabled but inactive so I need to manually start it every boot but once I systemctl start bluetooth it shows it’s running correctly.

I was able to get the PS3 controller working but again I need to manually start the bluetooth service every boot and even then it stops working after a period of inactivity and the sony modules need to be removed and readded for the controller to work again. I’m fairly disappointed with lakka at this point (not just because of the controller issues) but there really are no other options for an odroid xu4. I’ve tried many many many times to compile emulationstation and get that running but even though it compiles properly it does not run.

EDIT: The xbox controller has the same flashing problem as the PS3 controller; the 4 lights in the center of the controller flash non-stop when it’s connected

[QUOTE=gouchi;39770]Can you try to type :

hciconfig hci0 up

Sometimes, it is a step to make bluetooth working.

Is it possible to have the output of

 systemctl status bluetooth.service

Thank you.[/QUOTE]

By the way, did you enable Bluetooth service in Setting tab > Lakka Services > Bluetooth then reboot ? You don’t need any more to start it manually.

May I have the output of systemctl status bluetooth.service

Thank you.

Yes, it is enabled in the “Lakka Services” config in the XMB AND I’ve done systemctl enable bluetooth but this is the output of systemctl status bluetooth on boot

bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: inactive (dead)

[QUOTE=gouchi;39794]By the way, did you enable Bluetooth service in Setting tab > Lakka Services > Bluetooth then reboot ? You don’t need any more to start it manually.

May I have the output of systemctl status bluetooth.service

Thank you.[/QUOTE]

Please follow this issue.