Support for RTL88x2BU

In May I opened an issue over on GitHub to add the driver for RTL88x2BU.

As per Sam’s request, I’m opening this topic to work toward getting this implemented.

1 Like

Adding a bump for this, would be awesome to have it included in OSMC.

I bought a couple of these, so I’d also love this !

I am willing to help as I’ve manually compiled the driver on my desktop, pi3 and pi and am very happily using them.

To do so I followed the instructions on :

and to get by the (osmc specific) kernel header issues that came up at compile time
./include/linux/if.h:28:54: fatal error: sys/socket.h: No such file or directory
I followed instructions from :

Here is what I actually did:

OSMCVERS=$(uname -r)
VANILLAVERS=$(uname -r | sed "s/-.*//")
RBP=rbp2 #valid for pi2 and and pi3... for pi use RBP=rbp1

#Setup build environnment (might install more packages such as gcc, ...)
sudo apt-get install git bc build-essential

#Get kernel headers and kernel source
sudo apt-get install $RBP-headers-$OSMCVERS $RBP-source-$OSMCVERS
#Replace osmc faulty kernel headers
tar -xvzf linux-$VANILLAVERS.tar.gz
sudo mv /usr/src/$RBP-headers-$OSMCVERS/include/linux /usr/src/$RBP-headers-$OSMCVERS/include/linux_original
sudo cp -ar linux-$VANILLAVERS/include/linux /usr/src/$RBP-headers-$OSMCVERS/include/linux
sudo ln -s /usr/src/$RBP-headers-$OSMCVERS /lib/modules/$OSMCVERS/build

#Get driver
git clone

#Compile driver
cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959
sed "s/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g" -i Makefile
sudo make
sudo make install
sudo modprobe 88x2bu

When I get a bit of time, I’ll look in to this.
We’re hoping to wind down on out of tree Realtek drivers a bit though.


Hi, what is the status here?
I have an AC1L/rtl88x2bu from BrosTrend.
They have a website regarding OSMC online:

At least my +1 for the support for rtl88x2bu!

Because it’s my first post I have to say thank you so much for OSMC it works and feels great!

The issues they reported were fixed a long time ago in OSMC. You may want to reach out to them for instructions on how to build the driver.

We will launch an officially supported WiFi dongle soon in the near future. This will work out of the box and stay maintained across OSMC updates, so you won’t need to build this module after every kernel update.

1 Like

I’ve reached out and it looks like I would have to use the aarch64-toolchain-osmc and chroot, correct?
They’ve mentioned this thread:


I’ll give up because it’s not an easy not well documented task and a soon obsolete problem anyway.
I’m looking forward to your WLAN device!