How to add Realtek 8822BU driver to Lakka?

I’m trying to create an emulation console using an old Rock64 SBC. I successfully installed Lakka on the emmc card using the dev version for Rock64. Now I’m trying to connect my Xbox One (w/ bluetooth) to Lakka. The issue here is that Rock64 doesn’t have built-in Bluetooth and I’m trying to use a Wifi + Bluetooth dongle Realtek 8822BU, which Lakka doesn’t recognize. So I’m trying to install the drivers as modules but most of the tools needed are missing in the ROM and librelec has no package managers to do that. Is there any way short of creating a Linux environment for cross-compiling the needed software for Lakka to install the needed drivers?

Hi,

Can you give the output of lsusb when your dongle is connected ?

Thank you.

You can use the build system to compile the module. Just create a package for it and add it to the ADDITIONAL_DRIVERS list here:

Then just build the image:

make image PROJECT=Rockchip DEVICE=RK3328 ARCH=aarch64 UBOOT_SYSTEM=rock64

1 Like