Bluetooth: btusb: drop BROKEN_EXT_SCAN quirk for 0bda:a728
Subsystems (3)
PATCH 1/1 Bluetooth: btusb: drop BROKEN_EXT_SCAN quirk for 0bda:a728
Commit 5ead2063611a ("Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan") set HCI_QUIRK_BROKEN_EXT_SCAN on every RTL8761B, and commit ca0583c24661 ("Bluetooth: btusb: limit RTL8761B BROKEN_EXT_SCAN quirk to 0bda:a728") kept it on 0bda:a728 on the assumption that the USB id separates dongles with broken extended scan from those with a broken legacy scan path. It does not. An 0bda:a728 unit (RTL8761BUV, fw 0xdfc6d922) on 6.18.51 fails the same way the UB500 and 0bda:8771
did: LE Set Scan Enable (0x200c) times out with -110 and btusb resets the device. With the flag removed from the table entry, scanning works on that unit.
Two dongles with the same USB id need opposite settings, so the device table cannot key the quirk either. The costs are not symmetric. Without the quirk, the unit it was written for gets -EBUSY on LE Set Extended Scan Enable (0x2042) while a connection is up. With it, 0x200c times out and btusb resets the device on three reported units, two of them in a re-enumeration loop.
Remove the flag and the table entry. 0bda:a728 matches the generic Realtek entry again and runs without the quirk, as before v7.2.
---
Based on bluetooth-next. bluetooth.git and stable still have btusb.c, where the first hunk has different context (no BTUSB_QUALCOMM line); a btusb.c version is available if wanted for 7.3.
Build-tested only (allmodconfig, W=1). Andy tested dropping the flag with the a728 entry kept; this also drops the entry, so the device falls to the generic 0bda entry. Andy, could you test this version?
drivers/bluetooth/btusb_main.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/bluetooth/btusb_main.c +0 -8
@@ -70,7 +70,6 @@ static struct usb_driver btusb_driver;#define BTUSB_INTEL_NO_WBS_SUPPORT BIT(26)#define BTUSB_ACTIONS_SEMI BIT(27)#define BTUSB_BARROT BIT(28) -#define BTUSB_BROKEN_EXT_SCAN BIT(29)#define BTUSB_QUALCOMM BIT(30)static const struct usb_device_id btusb_table[] = {
@@ -648,10 +647,6 @@ static const struct usb_device_id quirks_table[] = { { USB_DEVICE(0x0489, 0xe130), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, - /* Realtek 8761BU Bluetooth devices */ - { USB_DEVICE(0x0bda, 0xa728), .driver_info = BTUSB_REALTEK | - BTUSB_BROKEN_EXT_SCAN }, - /* Realtek Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01), .driver_info = BTUSB_REALTEK },
@@ -4749,9 +4744,6 @@ static int btusb_probe(struct usb_interface *intf,if (id->driver_info &BTUSB_INVALID_LE_STATES )hci_set_quirk (hdev,HCI_QUIRK_BROKEN_LE_STATES ); -if (id->driver_info &BTUSB_BROKEN_EXT_SCAN ) -hci_set_quirk (hdev,HCI_QUIRK_BROKEN_EXT_SCAN ); -if (id->driver_info &BTUSB_DIGIANSWER ) { data->cmdreq_type =USB_TYPE_VENDOR ;hci_set_quirk (hdev,HCI_QUIRK_RESET_ON_CLOSE );
base-commit: 019debf20bfd648b40ba10377ee0168db5eb241e
Signature · 1 line
2.43.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/series/1169520/
---Test result---
Test Summary:
CheckPatch PASS 0.50 seconds VerifyFixes PASS 0.08 seconds VerifySignedoff PASS 0.08 seconds GitLint PASS 0.21 seconds SubjectPrefix PASS 0.07 seconds BuildKernel PASS 22.83 seconds CheckAllWarning PASS 25.22 seconds CheckSparse PASS 27.66 seconds BuildKernel32 PASS 22.77 seconds CheckKernelLLVM PASS 32.23 seconds TestRunnerSetup PASS 590.41 seconds IncrementalBuild PASS 22.26 seconds
https://github.com/bluez/bluetooth-next/pull/802
---
Regards,
Linux Bluetooth
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 11 lines · On Sun, 20 Sep 2026 10:02:27 +0800 you wrote:
Commit
5ead2063611a("Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan") setHCI_QUIRK_BROKEN_EXT_SCANon every RTL8761B, and commitca0583c24661("Bluetooth: btusb: limit RTL8761BBROKEN_EXT_SCANquirk to 0bda:a728") kept it on 0bda:a728 on the assumption that the USB id separates dongles with broken extended scan from those with a broken legacy scan path. It does not. An 0bda:a728 unit (RTL8761BUV, fw0xdfc6d922) on 6.18.51 fails the same way the UB500 and 0bda:8771
did: LE Set Scan Enable (0x200c) times out with -110 and btusb resets the device. With the flag removed from the table entry, scanning works on that unit.
Quoted 1 line
[...]
Here is the summary with links:
- Bluetooth: btusb: drop BROKEN_EXT_SCAN quirk for 0bda:a728
https://git.kernel.org/bluetooth/bluetooth-next/c/fdd5964bd389
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html