Skip to contentSkip to conversation

btusb/btrtl: Realtek RTL8761B USB (0bda:a728) stuck in reset loop after reboot ("command 0xfc61 tx timeout"), only replug recovers

DISCUSSION liom 1 participant 1 message Nov 25 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

liom

author
#1 lore raw
In reply to a message not in the archive

Summary
-------
After a reboot, a Realtek USB Bluetooth adapter (0bda:a728, identified by btrtl as RTL8761B, lmp_subver=8761) does not respond to the first command (0xfc61). btusb resets the device in an endless loop. Bluetooth is unusable until the adapter is physically unplugged and replugged. After replugging, firmware loads normally and the adapter works.
The problem started after upgrading from Ubuntu 22.04 to Ubuntu 26.

Environment
-----------
- Ubuntu 26 (upgraded from 22.04)
- Kernels tested, same behaviour: 7.0.0-43-generic (Ubuntu) and 7.3.4-070304-generic (mainline build)
- bluez 5.85-4ubuntu0.4
- linux-firmware 20260319.git217ca6e4
- Adapter: Realtek "Bluetooth 5.4 Radio", USB ID 0bda:a728, bcdDevice 2.00

Symptoms
--------
Immediately after loading btusb (or after reboot), the log repeats about every 2-3 seconds:

Bluetooth: hci0: command 0xfc61 tx timeout
Bluetooth: hci0: RTL: Failed to generate devcoredump
Bluetooth: hci0: Resetting usb device.
Bluetooth: hci0: RTL: RTL: Read reg16 failed (-110) usb 3-4: reset full-speed USB device number 4 using xhci_hcd

In this state "bluetoothctl" reports "No default controller available". No "loading rtl_bt/..." line appears before the first timeout.

After physically replugging, the log shows normal initialisation:

Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a
lmp_subver=8761
Bluetooth: hci0: RTL: rom_version status=0 version=1
Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
Bluetooth: hci0: RTL: fw version 0xdfc6d922

Reproducibility
---------------
Occurs after every reboot. Not observed during normal operation.

What was tried (no effect)
--------------------------
- Different kernels: 7.0.0-43-generic and 7.3.4-070304-generic
- modprobe -r btusb && modprobe btusb
- Unbind/bind of the xHCI controller (0000:0b:00.3)
- Different USB port on a different xHCI controller (bus 1 instead of bus 3):
same behaviour
- uhubctl: no compatible hub (no per-port power switching on this port)
- rfkill: not blocked (soft/hard: no)
- Power settings adjusted

Not yet tested
--------------
- Kernel 6.8.0-147-generic (still installed)
- The adapter on another computer
- Shutdown/power-on instead of reboot
- Whether it worked on 22.04 with the same adapter: it did work before the upgrade (reported by the user, not verified against older logs)

Attachments
-----------

Bluetooth: hci0: command 0xfc61 tx timeout
Bluetooth: hci0: RTL: Failed to generate devcoredump
Bluetooth: hci0: Resetting usb device.
Bluetooth: hci0: RTL: RTL: Read reg16 failed (-110)

Bus 001 Device 004: ID 0bda:a728 Realtek Semiconductor Corp. Bluetooth 5.4 Radio Couldn't open device, some information will be missing
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0xa728 Bluetooth 5.4 Radio
bcdDevice 2.00

 iManufacturer           1 Realtek
 iProduct                2 Bluetooth 5.4 Radio
 iSerial                 3 00E04C239987
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength       0x00b1
   bNumInterfaces          2
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower              500mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           3
     bInterfaceClass       224 Wireless
     bInterfaceSubClass      1 Radio Frequency
     bInterfaceProtocol      1 Bluetooth
     iInterface              4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0010  1x 16 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x02  EP 2 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               0
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       0
     bNumEndpoints           2
     bInterfaceClass       224 Wireless
     bInterfaceSubClass      1 Radio Frequency
     bInterfaceProtocol      1 Bluetooth
     iInterface              4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x03  EP 3 OUT
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       1
     bNumEndpoints           2
     bInterfaceClass       224 Wireless
     bInterfaceSubClass      1 Radio Frequency
     bInterfaceProtocol      1 Bluetooth
     iInterface              4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x03  EP 3 OUT
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0009  1x 9 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0009  1x 9 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       2
     bNumEndpoints           2
     bInterfaceClass       224 Wireless
     bInterfaceSubClass      1 Radio Frequency
     bInterfaceProtocol      1 Bluetooth
     iInterface              4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x03  EP 3 OUT
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0011  1x 17 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0011  1x 17 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       3
     bNumEndpoints           2
     bInterfaceClass       224 Wireless
     bInterfaceSubClass      1 Radio Frequency
     bInterfaceProtocol      1 Bluetooth
     iInterface              4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x03  EP 3 OUT
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0019  1x 25 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0019  1x 25 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       4
     bNumEndpoints           2
     bInterfaceClass       224 Wireless
     bInterfaceSubClass      1 Radio Frequency
     bInterfaceProtocol      1 Bluetooth
     iInterface              4
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x03  EP 3 OUT
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0021  1x 33 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0021  1x 33 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       5
     bNumEndpoints           2

bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval

/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/9p, 480M

   |__ Port 002: Dev 002, If 0, Class=Mass Storage, Driver=uas, 480M
   |__ Port 003: Dev 004, If 0, Class=Wireless, Driver=btusb, 12M
   |__ Port 003: Dev 004, If 1, Class=Wireless, Driver=btusb, 12M

/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/3p, 10000M /: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 001: Dev 002, If 0, Class=Human Interface Device,
Driver=usbhid, 12M
|__ Port 001: Dev 002, If 1, Class=Human Interface Device,
Driver=usbhid, 12M
|__ Port 001: Dev 002, If 2, Class=Human Interface Device,
Driver=usbhid, 12M
|__ Port 001: Dev 002, If 3, Class=Human Interface Device,
Driver=usbhid, 12M
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 5000M