rtl8761b usb bluetooth doesn't work following reboot until unplug/replug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-firmware (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
I have usb bluetooth 5.0 dongle which uses Realtek RTL8761B chip.
0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
USB adapter very often stops working, can't connect or find other bluetooth devices. The adapter can't work even after reboots.
The following entries appear in the log:
апр 11 13:47:14 desktop kernel: Bluetooth: hci0: command 0x2005 tx timeout
апр 11 13:47:16 desktop kernel: Bluetooth: hci0: command 0x2041 tx timeout
апр 11 13:47:18 desktop kernel: Bluetooth: hci0: command 0x2042 tx timeout
Firmware loaded correctly, but something is not working.
апр 11 13:46:54 desktop kernel: Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
апр 11 13:46:54 desktop kernel: Bluetooth: hci0: RTL: rom_version status=0 version=1
апр 11 13:46:54 desktop kernel: Bluetooth: hci0: RTL: loading rtl_bt/
апр 11 13:46:54 desktop kernel: Bluetooth: hci0: RTL: loading rtl_bt/
апр 11 13:46:54 desktop kernel: Bluetooth: hci0: RTL: cfg_sz 6, total sz 27814
1) I use:
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
2) linux-firmware: 20220329.
3) What you expected to happen? I expect a well working bluetooth adapter.
4) What happened instead? My bluetooth adapter may work, may not. The adapter may stop finding and connecting to other devices.
I've found the same bug https:/
I've downloaded Windows's archive http://
I've unpacked file rtl8761b_
After I changed firmware my usb dongle work fine.
Could you change firmware rtl8761bu_fw.bin rtl8761bu_
Could you move Realtek's rtl_bt firmware or RTL8761B's firmware into separate packages. I will remove the RTL8761B firmware package and put them manually.
bluetoothctl --version
bluetoothctl: 5.64
hci0: Type: Primary Bus: USB
BD Address: 00:E0:4C:FC:E2:03 ACL MTU: 1021:6 SCO MTU: 255:12
UP RUNNING
RX bytes:5751 acl:49 sco:0 events:489 errors:0
TX bytes:219114 acl:398 sco:0 commands:83 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: PERIPHERAL ACCEPT
Name: 'desktop'
Class: 0x7c0104
Service Classes: Rendering, Capturing, Object Transfer, Audio, Telephony
Device Class: Computer, Desktop workstation
HCI Version: 5.1 (0xa) Revision: 0x97b
LMP Version: 5.1 (0xa) Subversion: 0xec43
rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Realtek's worker updated these bad firmware.
https:/
[Test Case]
Connect to and use a bluetooth device connected to a RTL8761B base USB BT controller.
[Fix]
Use latest rtl8761bu firmware blobs updates from linux-firmware.
[Where Problems Could Occur]
These firmwares are specific for the rtl8671b chips. So users of USB or UART BT controllers based on that chip could see problems when trying to connect to and use bluetooth devices.
description: | updated |
tags: | added: kern-2931 |
Changed in linux-firmware (Ubuntu): | |
status: | Confirmed → Incomplete |
status: | Incomplete → Confirmed |
no longer affects: | linux-firmware (Ubuntu Focal) |
Changed in linux-firmware (Ubuntu Jammy): | |
status: | New → Confirmed |
Changed in linux-firmware (Ubuntu Lunar): | |
status: | New → Confirmed |
no longer affects: | linux-firmware (Ubuntu Mantic) |
description: | updated |
Changed in linux-firmware (Ubuntu Jammy): | |
status: | Confirmed → Fix Committed |
Changed in linux-firmware (Ubuntu Kinetic): | |
status: | New → Fix Committed |
Changed in linux-firmware (Ubuntu Lunar): | |
status: | Confirmed → Fix Committed |
Changed in linux-firmware (Ubuntu): | |
status: | Confirmed → Fix Released |
The firmware is NOT loaded correctly... the "bu" file is loaded instead of the "b"
I used to have Ubuntu 21.10 and my Bluetooth USB dongle was loading rtl8761b_fw.bin. rtl8761bu_ fw.bin rtl8761bu_ config. bin
Last week I upgraded to Ubuntu 22.04 and since then I can not use my USB dongle, it connects my Sony headphones and immediately disconnects, connects, disconnects, ...
Using sudo dmesg | grep Bluetooth, I saw
[ 10.106036] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[ 10.107035] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 10.107038] Bluetooth: hci0: RTL: loading rtl_bt/
[ 10.108050] Bluetooth: hci0: RTL: loading rtl_bt/
[ 10.108170] Bluetooth: hci0: RTL: cfg_sz 6, total sz 27814
So kernel 5.15 loads different firmware rtl8761bu instead of rtl8761b used by kernel 5.13 in Ubuntu 21.10.
I guess this is a kernel bug.
As a workaround I made symbolic links and now my Bluetooth USB dongle works fine: rtl_bt$ ls -al *8761* config. bin -> rtl8761b_config.bin
/lib/firmware/
lrwxrwxrwx 1 root root 19 Apr 10 06:32 rtl8761bu_
lrwxrwxrwx 1 root root 15 Apr 10 06:32 rtl8761bu_fw.bin -> rtl8761b_fw.bin