ivooc28
Posts: 3
Joined: Sat Dec 12, 2020 10:43 pm

Installing Realtek RTL8761B Bluetooth drivers

Sat Dec 12, 2020 11:11 pm

I created this topic to help users install drivers for any bluetooth usb adapters that use Realtek RTL8761B chip on current Raspberry Pi OS firmware with Kernel 5.4, which doesn't come with the drivers. The firmware-realtek package only comes with 8761A drivers.

Searching around I found this topic https://forums.linuxmint.com/viewtopic. ... 7#p1917237 where the user Flashwalker applied a kernel patch and installed the drivers sucessfully on Linux Mint. I used that as reference to found what I had to do to install the drivers on the Pi. Turns out it is much simpler to do on the Pi, as it does not need the Kernel patch, the current RPOS already contains those modifications, is just a matter of downloading and copying the driver to the correct location. So here it is:

1. Search this link for "BH456A" and download the Linux drivers: https://www.xmpow.com/pages/download

2. Install 7zip to extract the drivers:

Code: Select all

sudo apt install p7zip-full
2. Extract the 7z file (the file name may differ):

Code: Select all

7z x 20201202_mpow_BH456A_driver+for+Linux.7z
3. Copy both the fw and config files (the source folder name may differ):

Code: Select all

sudo cp -iv 20201202_LINUX_BT_DRIVER/rtkbt-firmware/lib/firmware/rtlbt/rtl8761b_fw /lib/firmware/rtl_bt/rtl8761b_fw.bin
sudo cp -iv 20201202_LINUX_BT_DRIVER/rtkbt-firmware/lib/firmware/rtlbt/rtl8761b_config /lib/firmware/rtl_bt/rtl8761b_config.bin
4. Reboot

Now your adapter should work properly.

EDIT: Updated instructions thanks to @eeichinger
Last edited by ivooc28 on Tue Mar 30, 2021 10:12 pm, edited 1 time in total.

eeichinger
Posts: 1
Joined: Mon Feb 01, 2021 2:04 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Mon Feb 01, 2021 2:10 pm

in case someone else lands here: the download url seems to have changed. Best go to the vendor's support website https://www.xmpow.com/pages/download and search for drivers for "BH456A"

they also switched to 7zip archive format, so you'll also need 7zip:

Code: Select all

sudo apt install p7zip-full
then extract with

Code: Select all

7z x 20201202_mpow_BH456A_driver+for+Linux.7z
then continue as described above

ivooc28
Posts: 3
Joined: Sat Dec 12, 2020 10:43 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Tue Mar 30, 2021 10:14 pm

eeichinger wrote:
Mon Feb 01, 2021 2:10 pm
in case someone else lands here: the download url seems to have changed. Best go to the vendor's support website https://www.xmpow.com/pages/download and search for drivers for "BH456A"

they also switched to 7zip archive format, so you'll also need 7zip:

Code: Select all

sudo apt install p7zip-full
then extract with

Code: Select all

7z x 20201202_mpow_BH456A_driver+for+Linux.7z
then continue as described above
Thank you for the new info. I updated the OP.

Gerrett84
Posts: 2
Joined: Fri Jul 16, 2021 4:36 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Fri Jul 16, 2021 4:40 pm

Thanks for your Post. I Bought the BH519A BT USB BT Adapter which use the same Realtek chip.

On my raspberry 2B this works great, but on my booth raspberry 4 it won't work.
Any idea?

ivooc28
Posts: 3
Joined: Sat Dec 12, 2020 10:43 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Fri Jul 16, 2021 9:42 pm

Gerrett84 wrote:
Fri Jul 16, 2021 4:40 pm
Thanks for your Post. I Bought the BH519A BT USB BT Adapter which use the same Realtek chip.

On my raspberry 2B this works great, but on my booth raspberry 4 it won't work.
Any idea?
Which OS are you using?

Gerrett84
Posts: 2
Joined: Fri Jul 16, 2021 4:36 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Sat Jul 17, 2021 6:43 am

I'm using Raspberry OS on all of them :-)

rsedlmeier
Posts: 3
Joined: Thu Apr 29, 2021 4:03 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Mon Aug 02, 2021 9:09 pm

It works on my raspi 3+.

However, it disconnects bluetooth devices suddenly.
I've paired our handys with pi3 to get kind of presence detection.

It seams to be a timeout.


Any idea why?

tzachi_dar
Posts: 1
Joined: Tue Sep 14, 2021 2:19 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Tue Sep 14, 2021 2:22 pm

This has worked for me with a rpi4 and "Gold Touch Mini Bluetooth 5.0 USB Dongle"
https://www.gold-touch.net/product/mini ... sb-dongle/

rsedlmeier
Posts: 3
Joined: Thu Apr 29, 2021 4:03 pm

Re: Installing Realtek RTL8761B Bluetooth drivers

Sat Oct 02, 2021 7:34 am

However, it disconnects bluetooth devices suddenly.
I've paired our handys with pi3 to get kind of presence detection.
That's exactly the issue I have too, and therefore not usable with my smart home implementation.
Was looking for a bt5 usb to have a wider range.

Does anyone developed kind of a workaround or investigatied why it disconnects and reconnects suddenly?

THanks

Return to “General discussion”