Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Last active April 12, 2024 07:32
Show Gist options
  • Star 84 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save peteristhegreat/b48da772167f86f43decbd34edbd0849 to your computer and use it in GitHub Desktop.
Save peteristhegreat/b48da772167f86f43decbd34edbd0849 to your computer and use it in GitHub Desktop.
Realtek bluetooth usb adapter RTL8671b

The CD that came with the device listed RTL8671B, but it's not on Realtek's website. Instead the manual points you to:

https://www.mytechkey.com/pages/driver

4.Bluetooth 5.0 Dongle

Driver Link:

https://www.dropbox.com/s/gwo9lz777i82f70/BT5.0%20Driver.zip?dl=0

Hope that helps someone.

Update Github hosted link

https://github.com/peteristhegreat/drivers-backup/releases/tag/1.0

Direct link

https://github.com/peteristhegreat/drivers-backup/releases/download/1.0/BT5.0.Driver.zip

Feb 2021 Update

Adding visibility to @carkrueger 's comment below

If you look here: https://www.catalog.update.microsoft.com/Search.aspx?q=realtek+bluetooth+1.6.1015 You will find now: 1.6.1015.3014 from 11.01.2021

Direct download link: http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2021/02/0d13721d-7aa7-47cf-887a-f53bcd228a5e_04c173bad44cec04d528d260392958dc6e5bcec3.cab

for backup purposes: h**ps://web.archive.org/web/20210216175344/http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2021/02/0d13721d-7aa7-47cf-887a-f53bcd228a5e_04c173bad44cec04d528d260392958dc6e5bcec3.cab

Direct download and the popup window for 1.6.1015.3014 didn't initially work. I ended up needing to right click the link and select Save target as. For it to work for me on Windows 10, I unzipped the cab file into a folder and then used Device Manager to look at that folder. Worked like a charm.

@Anarch121
Copy link

Anarch121 commented Jun 11, 2023

https://drive.google.com/file/d/1wpUzmOM05HxVxgtY-2n4sPTb2r1Tl9AC/view?usp=sharing

Thanks for the driver. Now device manager shows Realtek Bluetooth 5.3 Adapter and hci 12.56518 / lmp12.45992, my Easy Idea 5.0 adapter is based on Realtek RTL8761BUV chip, works now on 5.3 driver. However, it didn't solve my problem. I'm trying to launch the Anker Soundcore Note i (bt 5.2) headset, but there is still hope.

Sorry to read about it. I have Redmi Buds 3 Pro headphones, Edifer 820 NB+, Realme Buds T100, and they all work, at least on SBC (I didn’t check more specifically), since AAC and APTX support is only in the latest versions of Windows 10 and 11, and LDAC still not officially supported. If your headphones connect but do not play sound, there may be a problem with the codecs. All my headphones connected to bluetooth 5.0 - 5.3 working fine, I checked on different devices and different bluetooth dongles 5.x , maybe on lower versions, I did not check.
Or, may be your phones not support multipoint and first you must unpair it from one device to connect it to another

@cilmar61
Copy link

cilmar61 commented Jun 11, 2023

Sorry for my english and a lot of letters. In general, after checking in the store, it worked fine with a smartphone (headphones support sbc and aac).
I brought it home, I connect it to the PC, they are not visible. I installed the native Chinese driver 1.6.1015.3010 - it does not work. Turned off the smartphone and tried to connect the headphones - DEFINED AND CONNECTED. Then, after disconnecting, they did not connect again. There were separate attempts to connect, but not to the end. Further, it gets worse and worse, installing different drivers did not help. Now only headphones are detected, but not connected.
Everything else is connected to the PC - nokia 101, xiaomi phone and even smart watches(all delete). It remains to wait for the full discharge of the headphones and boxing, maybe that will work out. Or, in extreme cases, reinstalling the system (now it costs win10 21h2 enterprise LTSC with the latest updates)

@Anarch121
Copy link

Sorry for my english and a lot of letters. In general, after checking in the store, it worked fine with a smartphone (headphones support sbc and aac). I brought it home, I connect it to the PC, they are not visible. I installed the native Chinese driver 1.6.1015.3010 - it does not work. Turned off the smartphone and tried to connect the headphones - DEFINED AND CONNECTED. Then, after disconnecting, they did not connect again. There were separate attempts to connect, but not to the end. Further, it gets worse and worse, installing different drivers did not help. Now only headphones are detected, but not connected. Everything else is connected to the PC - nokia 101, xiaomi phone and even smart watches(all delete). It remains to wait for the full discharge of the headphones and boxing, maybe that will work out. Or, in extreme cases, reinstalling the system (now it costs win10 21h2 enterprise LTSC with the latest updates)

Did you try unpair (not just disconnect) headphones from phone and then pair them to pc ?
Becose if headphones not support multipoint you can connect it only one device.
Did you try to do hard reset headphones and then connect to pc without connecting them to phone first?
In some case deleting headphones driver from windows including hidden drivers also can help.

@cilmar61
Copy link

Did you try unpair (not just disconnect) headphones from phone and then pair them to pc ?

Yes, I completely disconnected the headphones from the smartphone and deleted all the drivers, even turned off the phone. Of course I rebooted the box many times, deleted hidden devices in the manager, deleted all the drivers, different ways, only the driver from Microsoft remained. Most likely, something is broken in windows.

@Anarch121
Copy link

Did you try unpair (not just disconnect) headphones from phone and then pair them to pc ?

Yes, I completely disconnected the headphones from the smartphone and deleted all the drivers, even turned off the phone. Of course I rebooted the box many times, deleted hidden devices in the manager, deleted all the drivers, different ways, only the driver from Microsoft remained. Most likely, something is broken in windows

Yes, it can be. In some case only re-instaling windows can help.

@cilmar61
Copy link

Thank you for your concern and participation.

@Anarch121
Copy link

Thank you for your concern and participation

Please

@its0ka
Copy link

its0ka commented Jun 14, 2023

can't find any devices with default and this driver, any solution?

@Anarch121
Copy link

Anarch121 commented Jun 14, 2023

can't find any devices with default and this driver, any solution

What do you mean?
You can't install the driver or what?

@its0ka
Copy link

its0ka commented Jun 14, 2023

@Anarch121
Copy link

@Anarch121 https://user-images.githubusercontent.com/114288403/192151392-acfef2a0-ed93-44d8-983b-9df13897fbfd.jpg tried it in ubuntu and i can use it successfully there, but not in win 11

Please, write which Bluetooth dongle you use and its vid and pid

@its0ka
Copy link

its0ka commented Jun 14, 2023

@Anarch121 USB\VID_0BDA&PID_A725&REV_0200, it's a random bt 5.0 from aliexpress

@Anarch121
Copy link

@Anarch121 USB\VID_0BDA&PID_A725&REV_0200, it's a random bt 5.0 from aliexpress

Its very strage, in your case you do not need install the driver, windows 11 automatically dowload the driver 5.3 as it should be. You can try delete all Bluetooth driver and let Windows itself install the driver through Windows Update

@scout1256
Copy link

@Anarch121
Copy link

Can anyone teach me how to install driver from https://drive.google.com/file/d/1wpUzmOM05HxVxgtY-2n4sPTb2r1Tl9AC/view?usp=sharing

If you have "anydesk" i can try connect and help you

@javierfurus
Copy link

Hi!

I am fairly new to this, I see there is a rom_patch included in the backup. Do we need to install that, if yes, how? I see it is a dat file, I am not sure if after installing the driver that is flashed too or not. Otherwise it seems to be working well!

@Gladuin
Copy link

Gladuin commented Sep 4, 2023

Have any of you here tried using the A2DP sink feature that's built into windows (it can be used with utilities like this one)?
I have a realtek RTL8671B based bluetooth dongle (TP-Link UB500) and it just won't work. It works fine with another cheapo bluetooth dongle I have, but that one doesn't work properly with my stadia controller.

@John-Gee
Copy link

Thanks for the latest firmware, it also shows now 5.3 instead of 5.0 but is there a way to verify it's really working like a genuine 5.3? I'm mostly interested in the better connection and battery usage with LE, if it doesn't really work it'd be worth the extra 5 bucks for a new dongle.

If it all works fine, is there a way to push it to linux-firmware or is this something Realtek would need to do?

Thanks!

@joakim-tjernlund
Copy link

Thanks for the latest firmware, it also shows now 5.3 instead of 5.0 but is there a way to verify it's really working like a genuine 5.3? I'm mostly interested in the better connection and battery usage with LE, if it doesn't really work it'd be worth the extra 5 bucks for a new dongle.

If it all works fine, is there a way to push it to linux-firmware or is this something Realtek would need to do?

Thanks!

Realtek does not need to do it(but would be great if they did), you only need to extract the FW and try it out on Linux.
Then you can do a PR/patch for linux-firmware

@John-Gee
Copy link

Thanks for the latest firmware, it also shows now 5.3 instead of 5.0 but is there a way to verify it's really working like a genuine 5.3? I'm mostly interested in the better connection and battery usage with LE, if it doesn't really work it'd be worth the extra 5 bucks for a new dongle.
If it all works fine, is there a way to push it to linux-firmware or is this something Realtek would need to do?
Thanks!

Realtek does not need to do it(but would be great if they did), you only need to extract the FW and try it out on Linux. Then you can do a PR/patch for linux-firmware

Thanks for the quick reply!
Do we not need some kind of permission to distribute these?

@joakim-tjernlund
Copy link

rtl8761bu_fw.bin is already distributed in linux-firmware, unless you can find some license/text in the Win driver pkg
that prohibit distribution you should be fine.
Considering Realtek already pushes FW to linux-firmware I cannot see a problem.

If this FW supports LE you may need to enable that in kernel for this device though, in
drivers/bluetooth/btusb.c you have:

	/* Additional Realtek 8761BUV Bluetooth devices */
	{ USB_DEVICE(0x2357, 0x0604), .driver_info = BTUSB_REALTEK |
						     BTUSB_WIDEBAND_SPEECH },
	{ USB_DEVICE(0x0b05, 0x190e), .driver_info = BTUSB_REALTEK |
	  					     BTUSB_WIDEBAND_SPEECH },
	{ USB_DEVICE(0x2550, 0x8761), .driver_info = BTUSB_REALTEK |
						     BTUSB_WIDEBAND_SPEECH },
	{ USB_DEVICE(0x0bda, 0x8771), .driver_info = BTUSB_REALTEK |
						     BTUSB_WIDEBAND_SPEECH },
	{ USB_DEVICE(0x7392, 0xc611), .driver_info = BTUSB_REALTEK |
						     BTUSB_WIDEBAND_SPEECH },

BTUSB_VALID_LE_STATES might be needed, I don't known what this quirk does though.

@joakim-tjernlund
Copy link

I got an ID 0b05:190e ASUSTek Computer, Inc. ASUS USB-BT500 and I replace the rtl8761bu_fw.bin with the
FW in the driver above just for fun and it loads and starts at least.

@John-Gee
Copy link

@joakim-tjernlund Alright, I've sent the patch, we'll see how it goes. It's been a long time since I've had my name in the kernel, I'd say more than a decade, if it goes I'll owe you.

@joakim-tjernlund
Copy link

@joakim-tjernlund Alright, I've sent the patch, we'll see how it goes. It's been a long time since I've had my name in the kernel, I'd say more than a decade, if it goes I'll owe you.

Nice! Lets hope for the best :)

@joakim-tjernlund
Copy link

hmm, I just noticed that dmesg prints:

hci0: RTL: fw version 0xdcc6b3a8

which appears to be older than the current linux-firmware:

rtl_bt: Update RTL8761B BT USB firmware to 0xDFC6_D922
This firmware patch update for Realtek RTL8761B BT USB controller.

Release Version: 0xDFC6_D922

Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>

@UsayedShahid
Copy link

What is the latest version of the driver for the Realtek 8761b? I have bought a dongle from china and would love to use it on my pc.

@zdanovych1
Copy link

zdanovych1 commented Dec 3, 2023

What is the latest version of the driver for the Realtek 8761b? I have bought a dongle from china and would love to use it on my pc.

1.9.1051.3009
Use this link to check the latest version - https://www.catalog.update.microsoft.com/Search.aspx?q=realtek%20bluetooth%201.9.1051.* - manually add * at the end of the search field

@einsteinagogo
Copy link

@Anarch121 When I use this driver, all works well, and bluetooth devices are connected, but when I restart the Win10 computer it gives an issue with a Code 43, if I uninstall the device, and scan the hardware it installs and works correctly until next restart ?

Any ideas ?

@Anarch121
Copy link

@Anarch121 When I use this driver, all works well, and bluetooth devices are connected, but when I restart the Win10 computer it gives an issue with a Code 43, if I uninstall the device, and scan the hardware it installs and works correctly until next restart ?

Any ideas ?

No, i don't.
For all my device's on windows 10 and windows 11 everything working fine with the driver I've been posted

@Skewah
Copy link

Skewah commented Mar 1, 2024

https://drive.google.com/file/d/1wpUzmOM05HxVxgtY-2n4sPTb2r1Tl9AC/view?usp=sharing

Thanks for the driver. Now device manager shows Realtek Bluetooth 5.3 Adapter and hci 12.56518 / lmp12.45992, my Easy Idea 5.0 adapter is based on Realtek RTL8761BUV chip, works now on 5.3 driver. However, it didn't solve my problem. I'm trying to launch the Anker Soundcore Note i (bt 5.2) headset, but there is still hope.

This worked and allowed me to install the driver for my Volans USB BT 5.3 and it now actually finds devices!
I created an account just to say THANK YOU! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment