USB Bluetooth 5.0 (Realtek 8771): Stuck on searching [SOLVED]

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Neeyan4
Level 1
Level 1
Posts: 9
Joined: Tue Aug 11, 2020 10:27 am

USB Bluetooth 5.0 (Realtek 8771): Stuck on searching [SOLVED]

Post by Neeyan4 »

Hi guys! I disabled my laptop's onboard Wifi/Bluetooth chip because it's a bit erratic. So I bought this MPOW USB Bluetooth 5.0 that was advertised as having Linux support. When I plug it in, my laptop detects the adapter and turns on, but it's stuck on "Searching for devices...".

When I follow the instructions of the manufacturer in installing the drivers and firmware from their download page (MPOW BH456A - https://www.xmpow.com/pages/download), it seems to make the situation worse because now the adapter itself is not recognized. The readme file for installation does specify that
The supported kernel version is 2.6.32 - 5.3.
, so I'm not sure if that's the reason. The box it came with indicates that this Bluetooth adapter uses Realtek RTL8761BU firmware.

I'm using Linux Mint 20 Cinnamon (Kernel 5.4.0-42) on my Asus Zenbook 14 UX433FN. I tested the USB Bluetooth and it works on our Windows 10 PC, and currently I can use a Wifi USB adapter without any issues. Not sure what codes would be needed, but here are some that I've encountered from researching fixes:

Code: Select all

~$inxi -Fxxxrz
System:
  Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.6 wm: muffin 4.6.2 dm: LightDM 1.30.0 
  Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: ASUSTeK product: ZenBook UX433FN_UX433FN v: 1.0 
  serial: <filter> 
  Mobo: ASUSTeK model: UX433FN v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: UX433FN.310 date: 03/25/2020 
Battery:
  ID-1: BAT0 charge: 18.6 Wh condition: 45.4/50.1 Wh (91%) volts: 11.9/11.9 
  model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> 
  status: Discharging cycles: 279 
CPU:
  Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: B L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 28800 
  Speed: 600 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 600 2: 600 
  3: 600 4: 600 5: 600 6: 600 7: 600 8: 600 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:3ea0 
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: ASUSTeK driver: N/A 
  bus ID: 02:00.0 chip ID: 10de:1d12 
  Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
  Sound Server: ALSA v: k5.4.0-42-generic 
Network:
  Message: No Device data found. 
  Device-1: TP-Link TL WN823N RTL8192EU type: USB driver: rtl8xxxu 
  bus ID: 1-1.4:4 chip ID: 2357:0109 serial: <filter> 
  IF: wlxd037452c860c state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 100.29 GiB (42.1%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN520 SDAPNUW-256G-1002 size: 238.47 GiB speed: 15.8 Gb/s 
  lanes: 2 serial: <filter> rev: 20110000 scheme: GPT 
Partition:
  ID-1: / size: 233.24 GiB used: 100.28 GiB (43.0%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 2500 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/linuxuprising-apps-focal.list 
  1: deb http://ppa.launchpad.net/linuxuprising/apps/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 252 Uptime: 3h 13m Memory: 7.59 GiB used: 2.44 GiB (32.1%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 

Code: Select all

~$ lsusb
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:56cb IMC Networks USB2.0 HD IR UVC WebCam
Bus 001 Device 004: ID 2357:0109 TP-Link TL WN823N RTL8192EU
Bus 001 Device 007: ID 0bda:8771 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

~$ hciconfig -a
hci0:	Type: Primary  Bus: USB
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN 
	RX bytes:581 acl:0 sco:0 events:82 errors:0
	TX bytes:20534 acl:0 sco:0 commands:83 errors:0
	Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
	Packet type: DM1 DH1 HV1 
	Link policy: 
	Link mode: SLAVE ACCEPT 
So far I've enjoyed my Linux experience (lots of learning and resarching since I had been an exclusive Windows guy), even if it's only been a few weeks. Really hope to get some help as I'm new to all this. Thanks and looking forward to interacting with this community!
Last edited by Neeyan4 on Mon Nov 09, 2020 8:57 pm, edited 1 time in total.
User avatar
mdavies5
Level 3
Level 3
Posts: 179
Joined: Sat Aug 11, 2012 1:02 am

Re: USB Bluetooth 5.0 (Realtek 8771): Stuck on searching

Post by mdavies5 »

I did a quick search (EG https://www.learningpenguin.net/2018/01 ... ver-linux/) and it seems your Kernel is the likely problem. The solution is to wait and see if Realtek release a newer driver (check their website frequently) or buy a new dongle which explicitly states that it supports you kernel.
Cheers, Mike
Neeyan4
Level 1
Level 1
Posts: 9
Joined: Tue Aug 11, 2020 10:27 am

Re: USB Bluetooth 5.0 (Realtek 8771): Stuck on searching

Post by Neeyan4 »

Thanks for the reply mdavies5. I actually tried following the instructions from MPOW, and installed kernel 5.3. Then I installed the driver and copied the firmware files and got this result:

Code: Select all

$ sudo dmesg|grep -i blue
[    1.814075] usb 1-1.3: Product: Bluetooth Radio
[    6.216911] Bluetooth: Core ver 2.22
[    6.216944] Bluetooth: HCI device and connection manager initialized
[    6.216947] Bluetooth: HCI socket layer initialized
[    6.216949] Bluetooth: L2CAP socket layer initialized
[    6.216952] Bluetooth: SCO socket layer initialized
[    6.217845] rtk_btusb: Realtek Bluetooth USB driver ver 3.1.9321f79.20200610-155144
[    6.321925] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.321927] Bluetooth: BNEP filters: protocol multicast
[    6.321931] Bluetooth: BNEP socket layer initialized
The Bluetooth USB was still recognized but stayed searching.

As opposed to when I tried installing the driver in kernel 5.4 wherein the Bluetooth USB was unrecognized. While if I just copy the firmware files in the proper directory, I get an error:

Code: Select all

$ sudo dmesg|grep -i blue     
[    1.771229] usb 1-1.3: Product: Bluetooth Radio
[    5.900397] Bluetooth: Core ver 2.22
[    5.900418] Bluetooth: HCI device and connection manager initialized
[    5.900421] Bluetooth: HCI socket layer initialized
[    5.900423] Bluetooth: L2CAP socket layer initialized
[    5.900425] Bluetooth: SCO socket layer initialized
[    5.973653] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[    5.974654] Bluetooth: hci0: RTL: rom_version status=0 version=1
[    5.974657] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761a_fw.bin
[    5.975961] bluetooth hci0: Direct firmware load for rtl_bt/rtl8761a_fw.bin failed with error -2
[    5.975964] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8761a_fw.bin not found
[    6.001797] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.001799] Bluetooth: BNEP filters: protocol multicast
[    6.001803] Bluetooth: BNEP socket layer initialized
Does this mean that kernel 5.3 is in the right direction?
Flashwalker
Level 1
Level 1
Posts: 17
Joined: Sat May 22, 2010 2:42 pm

Re: USB Bluetooth 5.0 (Realtek 8771): Stuck on searching

Post by Flashwalker »

I made it works as described here: viewtopic.php?p=1917237#p1917237
Neeyan4
Level 1
Level 1
Posts: 9
Joined: Tue Aug 11, 2020 10:27 am

Re: USB Bluetooth 5.0 (Realtek 8771): Stuck on searching

Post by Neeyan4 »

Flashwalker wrote:
Mon Nov 09, 2020 2:12 pm
I made it works as described here: viewtopic.php?p=1917237#p1917237
Cheers! I’ve changed OS already unfortunately, but I hope future users will be guided by your post. Will mark this as solved.
Post Reply

Return to “Hardware Support”