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.