USB Bluetooth V5? not recognized

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
User avatar
Jeronimo17
Level 2
Level 2
Posts: 83
Joined: Fri Jun 08, 2018 6:48 pm

Re: USB Bluetooth V5? not recognized

Post by Jeronimo17 »

FadySGhatas wrote:
Wed Aug 05, 2020 6:58 am
@Jeronimo17 Do you still have any problems?
It works, with kernel 5.8, I would like to continue with the old one ...

I copy rtl8761bu_fw to /lib/firmware/rtl_bt/ and rename it to rtl8761b_fw.bin

Code: Select all

[259.604013] Bluetooth: Core ver 2.22
[  259.604077] NET: Registered protocol family 31
[  259.604079] Bluetooth: HCI device and connection manager initialized
[  259.605913] Bluetooth: HCI socket layer initialized
[  259.605918] Bluetooth: L2CAP socket layer initialized
[  259.605931] Bluetooth: SCO socket layer initialized
[  259.638781] usbcore: registered new interface driver btusb
[  259.644999] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[  259.646995] Bluetooth: hci0: RTL: rom_version status=0 version=1
[  259.646998] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_fw.bin
[  259.648518] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_config.bin
[  259.648822] Bluetooth: hci0: RTL: cfg_sz 6, total sz 20522
[  259.815609] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  259.815613] Bluetooth: BNEP filters: protocol multicast
[  259.815621] Bluetooth: BNEP socket layer initialized
[  259.847007] Bluetooth: hci0: RTL: fw version 0x0999646b
[  259.984024] NET: Registered protocol family 38
[  260.095440] Bluetooth: RFCOMM TTY layer initialized
[  260.095450] Bluetooth: RFCOMM socket layer initialized
[  260.095462] Bluetooth: RFCOMM ver 1.11
Thank you all, hopefully a patch is made that adds it to kernel 5.4
drunys
Level 1
Level 1
Posts: 2
Joined: Thu Oct 01, 2020 8:36 pm

Re: USB Bluetooth V5? not recognized

Post by drunys »

I went through the same problem here. I Bought this one http://www.orico.cc/us/product/detail/7218.html and my OS is Ubuntu 20 and kernel 5.4.0-48-generic. I'm so happy I found you all talking about the same problem.

What I did to get it working here:

1 - I uninstalled everything I tried before:

Code: Select all

sudo apt remove bluetooth bluez bluez-cups bluez-tools btscanner gnome-bluetooth python-bluez pulseaudio-module-bluetooth blueman blueman-manager
2 - I installed MPOW drivers downloaded from: https://mpow.s3-us-west-1.amazonaws.com ... +Linux.tgz (credits to FadySGhatas). To install I ran:

Code: Select all

sudo make install INTERFACE=all
3 - Rebooted

4 - When I ran: dmesg | grep Blue I saw that my bluetooth have been recognized

Code: Select all

[    2.095392] usb 1-1.5: Product: Bluetooth Radio
[    2.745979] Bluetooth: Core ver 2.22
[    2.746000] Bluetooth: HCI device and connection manager initialized
[    2.746005] Bluetooth: HCI socket layer initialized
[    2.746007] Bluetooth: L2CAP socket layer initialized
[    2.746009] Bluetooth: SCO socket layer initialized
[    2.749727] rtk_btusb: Realtek Bluetooth USB driver ver 3.1.9321f79.20200610-155144
[    4.624426] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.624428] Bluetooth: BNEP filters: protocol multicast
[    4.624431] Bluetooth: BNEP socket layer initialized
[   12.839489] Bluetooth: RFCOMM TTY layer initialized
[   12.839494] Bluetooth: RFCOMM socket layer initialized
[   12.839499] Bluetooth: RFCOMM ver 1.11
Before installing MPOW drivers it looked like this:

Code: Select all

[ 7655.176012] Bluetooth: hci0: rtl: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 7655.176051] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_config.bin
[ 7655.178154] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761a_config.bin failed with error -2
[ 7655.178161] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_fw.bin
[ 7655.180308] Bluetooth: hci0: rom_version status=0 version=1
[ 7655.180329] Bluetooth: hci0: cfg_sz 0, total size 20204
[ 7657.312083] Bluetooth: hci0: command 0xfc20 tx timeout
[ 7665.376131] Bluetooth: hci0: download fw command failed (-110)
5 - I installed all these:

Code: Select all

sudo apt install bluetooth bluez bluez-cups bluez-tools btscanner gnome-bluetooth python-bluez pulseaudio-module-bluetooth blueman blueman-manager rfkill -y
6 - Run the following to make sure the bluetooth is not locked for some reason:

Code: Select all

sudo rfkill list
If it is, just run:

Code: Select all

sudo rfkill unblock bluetooth
7 - Finally make sure bluetooth service is running:

Code: Select all

sudo service bluetooth start
I had to reboot once again and restart bluetooth service after booting (sudo service bluetooth restart). It's working 100% now.
User avatar
Jeronimo17
Level 2
Level 2
Posts: 83
Joined: Fri Jun 08, 2018 6:48 pm

Re: USB Bluetooth V5? not recognized

Post by Jeronimo17 »

drunys wrote:
Thu Oct 01, 2020 9:06 pm

2 - I installed MPOW drivers downloaded from: https://mpow.s3-us-west-1.amazonaws.com ... +Linux.tgz (credits to FadySGhatas). To install I ran:

Code: Select all

sudo make install INTERFACE=all
Thank you very much, I have done just that and it works with the current kernel
qrafzv0
Level 1
Level 1
Posts: 4
Joined: Mon Sep 07, 2020 6:51 am

Re: USB Bluetooth V5? not recognized

Post by qrafzv0 »

drunys wrote:
Thu Oct 01, 2020 9:06 pm
I went through the same problem here. I Bought this one http://www.orico.cc/us/product/detail/7218.html and my OS is Ubuntu 20 and kernel 5.4.0-48-generic. I'm so happy I found you all talking about the same problem.

What I did to get it working here:

1 - I uninstalled everything I tried before:

Code: Select all

sudo apt remove bluetooth bluez bluez-cups bluez-tools btscanner gnome-bluetooth python-bluez pulseaudio-module-bluetooth blueman blueman-manager
2 - I installed MPOW drivers downloaded from: https://mpow.s3-us-west-1.amazonaws.com ... +Linux.tgz (credits to FadySGhatas). To install I ran:

Code: Select all

sudo make install INTERFACE=all
3 - Rebooted

4 - When I ran: dmesg | grep Blue I saw that my bluetooth have been recognized

Code: Select all

[    2.095392] usb 1-1.5: Product: Bluetooth Radio
[    2.745979] Bluetooth: Core ver 2.22
[    2.746000] Bluetooth: HCI device and connection manager initialized
[    2.746005] Bluetooth: HCI socket layer initialized
[    2.746007] Bluetooth: L2CAP socket layer initialized
[    2.746009] Bluetooth: SCO socket layer initialized
[    2.749727] rtk_btusb: Realtek Bluetooth USB driver ver 3.1.9321f79.20200610-155144
[    4.624426] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.624428] Bluetooth: BNEP filters: protocol multicast
[    4.624431] Bluetooth: BNEP socket layer initialized
[   12.839489] Bluetooth: RFCOMM TTY layer initialized
[   12.839494] Bluetooth: RFCOMM socket layer initialized
[   12.839499] Bluetooth: RFCOMM ver 1.11
Before installing MPOW drivers it looked like this:

Code: Select all

[ 7655.176012] Bluetooth: hci0: rtl: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 7655.176051] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_config.bin
[ 7655.178154] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761a_config.bin failed with error -2
[ 7655.178161] Bluetooth: hci0: rtl: loading rtl_bt/rtl8761a_fw.bin
[ 7655.180308] Bluetooth: hci0: rom_version status=0 version=1
[ 7655.180329] Bluetooth: hci0: cfg_sz 0, total size 20204
[ 7657.312083] Bluetooth: hci0: command 0xfc20 tx timeout
[ 7665.376131] Bluetooth: hci0: download fw command failed (-110)
5 - I installed all these:

Code: Select all

sudo apt install bluetooth bluez bluez-cups bluez-tools btscanner gnome-bluetooth python-bluez pulseaudio-module-bluetooth blueman blueman-manager rfkill -y
6 - Run the following to make sure the bluetooth is not locked for some reason:

Code: Select all

sudo rfkill list
If it is, just run:

Code: Select all

sudo rfkill unblock bluetooth
7 - Finally make sure bluetooth service is running:

Code: Select all

sudo service bluetooth start
I had to reboot once again and restart bluetooth service after booting (sudo service bluetooth restart). It's working 100% now.
Thank you!

I had the same problem and it worked only after disabling Secure Boot. Is that safe? Is there any way to make this work without disabling secure boot?
drunys
Level 1
Level 1
Posts: 2
Joined: Thu Oct 01, 2020 8:36 pm

Re: USB Bluetooth V5? not recognized

Post by drunys »

qrafzv0 wrote:
Sun Oct 04, 2020 2:22 pm
Thank you!

I had the same problem and it worked only after disabling Secure Boot. Is that safe? Is there any way to make this work without disabling secure boot?
I wondered about it some time ago when I switched from Windows to Linux and I remember to find some answers here https://askubuntu.com/questions/843656/ ... ecure-boot
sil_el_Mot
Level 1
Level 1
Posts: 4
Joined: Fri Aug 01, 2014 11:48 am

Re: USB Bluetooth V5? not recognized

Post by sil_el_Mot »

this worked great on kernel 5.8 on my side, but now on 5.9.1 i cant get it to work anymore.... anybody with same or opposite experiences?
rumpel
Level 1
Level 1
Posts: 6
Joined: Sun Mar 27, 2011 6:59 pm

Re: USB Bluetooth V5? not recognized

Post by rumpel »

Same here. But that's due to the 5.9 kernel breaking bluetooth for many people/devices. There've been a lot of reports on the kernel bug tracker as well as the Arch forums. I booted the LTS kernel the other day but then remembered it doesn't have the hardware info that was added to the 5.8 kernel lol so obviously this didn't work. Unfortunately not much else you can do at this point than rollback to a previous kernel or patiently wait for an update. Kind of sucks, but there's a 5.10 RC out now, so fingers crossed it's fixed in the next release.
marxram
Level 1
Level 1
Posts: 1
Joined: Tue Oct 27, 2020 9:15 am

Re: USB Bluetooth V5? not recognized

Post by marxram »

Same here on 5.9.1
Flashwalker
Level 1
Level 1
Posts: 17
Joined: Sat May 22, 2010 2:42 pm

Re: USB Bluetooth V5? not recognized

Post by Flashwalker »

FadySGhatas wrote:
Tue Aug 04, 2020 4:29 am
Quick update!

Everything works on my end now!

On Linux Mint, I had to get rid of all other custom bluetooth drivers so that the new driver can take over.
On Archlinux, in short, for a ko to be hooked, it must be xz'd (check module installation here: https://wiki.archlinux.org/index.php/Co ... nel_module), so I manually ran this:

Code: Select all

xz rtk_btusb.ko
cp  rtk_btusb.ko /usr/lib/modules/5.7.11-arch1-1/kernel/drivers/bluetooth/
*Note: You might need to replace 5.7.11 on your end or just use

Code: Select all

uname -r
So, in brief, install the latest MPOW drivers and it should start working as soon as it's installed.
What actually drivers you got rid?
Flashwalker
Level 1
Level 1
Posts: 17
Joined: Sat May 22, 2010 2:42 pm

Re: USB Bluetooth V5? not recognized

Post by Flashwalker »

JSkier wrote:
Tue Aug 04, 2020 8:47 am
Very nice, thanks! I was able to get the drivers working with Linux 5.8 after unloading some bluetooth modules, rtk_btusb worked. Earbuds work great!

I found the Techkey (the brand of mine) Windows drivers, but they don't provide Linux drivers.

EDIT: Silly, I don't need the kernel driver, they provide the firmware. So, in Linux 5.8, with the firmware, it works just fine (should be able to patch the kernel below 5.8 for proper device recognition; not sure if this will be backported?). I'll see about letting the devs know about this, last I could find was someone was interested in sending the Windows drivers to the firmware group. Still no license info in the tgz file.
What actually bluetooth modules are you unloaded? What rtl chip you own?
Flashwalker
Level 1
Level 1
Posts: 17
Joined: Sat May 22, 2010 2:42 pm

Re: USB Bluetooth V5? not recognized

Post by Flashwalker »

sil_el_Mot wrote:
Sat Oct 24, 2020 4:31 pm
this worked great on kernel 5.8 on my side, but now on 5.9.1 i cant get it to work anymore.... anybody with same or opposite experiences?
I have the same trouble, with 5.9 kernel. Adapter not found, however driver is loaded:

Code: Select all

$ uname -a
Linux smarttop 5.9.0-1-amd64 #1 SMP Debian 5.9.1-1 (2020-10-17) x86_64 GNU/Linux

Code: Select all

$ sudo dmesg | tail
[   63.811780] usb 2-2: new full-speed USB device number 2 using xhci_hcd
[   63.981993] usb 2-2: New USB device found, idVendor=0bda, idProduct=8771, bcdDevice= 2.00
[   63.982000] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   63.982003] usb 2-2: Product: Bluetooth Radio
[   63.982006] usb 2-2: Manufacturer: Realtek
[   63.982009] usb 2-2: SerialNumber: 00E04C239987
[   64.020370] usbcore: registered new interface driver btusb
[   64.022887] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[   64.025851] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   64.025854] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_fw.bin
[   64.027514] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8761b_fw.bin
[   64.027557] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_config.bin
[   64.027796] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8761b_config.bin
[   64.027843] Bluetooth: hci0: RTL: cfg_sz 25, total sz 21389
[   64.569190] Bluetooth: hci0: RTL: fw version 0x0d99646b

Code: Select all

$ lsmod |grep bluetooth
bluetooth             729088  12 btrtl,btintel,btbcm,bnep,btusb
ecdh_generic           16384  1 bluetooth
libaes                 16384  2 bluetooth,aesni_intel
rfkill                 28672  8 acer_wmi,bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

Code: Select all

$ rfkill list
0: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

Code: Select all

$ hciconfig -a
hci0:	Type: Primary  Bus: USB
	BD Address: 00:E0:4C:6C:6D:03  ACL MTU: 1021:5  SCO MTU: 255:11
	DOWN 
	RX bytes:1202 acl:0 sco:0 events:118 errors:0
	TX bytes:22101 acl:0 sco:0 commands:118 errors:0
	Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT

$ sudo hciconfig hci0 up
Can't init device hci0: Connection timed out (110)

Code: Select all

$ blueman-adapters
blueman-adapters 00.30.22 ERROR    Adapter:53 __init__  : No adapter(s) found
Flashwalker
Level 1
Level 1
Posts: 17
Joined: Sat May 22, 2010 2:42 pm

Re: USB Bluetooth V5? not recognized

Post by Flashwalker »

I made it works!
I patched 5.4 kernel with that patch: https://patchwork.kernel.org/patch/11483367/#patch , but manually, just by edit drivers/bluetooth/btrtl.c file in kernel source in consistent with .diff patch (because the patch command fails due to the .diff file is based on a more recent kernel source then 5.4).

Also edited: drivers/bluetooth/btusb.c file in kernel source by replacing:
static bool enable_autosuspend = IS_ENABLED(CONFIG_BT_HCIBTUSB_AUTOSUSPEND);
with
static bool enable_autosuspend = 0;.

Then i compiled and installed the kernel (these refs helped me, especially third one: https://fosspost.org/linux-bluetooth-problem/, https://help.ubuntu.com/community/Kerne ... Debian_Way, https://unix.stackexchange.com/question ... wer-270418).

Installed linux-firmware package.

And then just compiled that driver (https://mpow.s3-us-west-1.amazonaws.com ... +Linux.tgz) and copied files to system (without make install):
cp -iv 20200610_LINUX_BT_DRIVER/rtkbt-firmware/lib/firmware/rtlbt/rtl8761b_fw /usr/lib/firmware/rtl_bt/rtl8761b_fw.bin
cp -iv 20200610_LINUX_BT_DRIVER/rtkbt-firmware/lib/firmware/rtlbt/rtl8761b_config /usr/lib/firmware/rtl_bt/rtl8761b_config.bin

After reboot to new kernel my bluetooth 5.0 (Easy Idea) dongle works!
Bluetooth 5.0 Realtek 8761B "Easy Idea'
Bluetooth 5.0 Realtek 8761B "Easy Idea'
Post Reply

Return to “Hardware Support”