mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Andy Tsvetinskiy <andrew.tsvetinskiy@gmail.com>
Cc: regressions@lists.linux.dev, linux-bluetooth@vger.kernel.org,
	Kamil Serwus <kserwus@gmail.com>,
	Junjie Cao <junjie.cao@intel.com>,
	Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
	Marcel Holtmann <marcel@holtmann.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Alexej Sidorenko <alexej@sidorenko.cz>
Subject: Re: [REGRESSION] RTL8761BU 0bda:a728: removing BROKEN_EXT_SCAN fixes 0x200c timeout
Date: Fri, 18 Sep 2026 15:37:32 +0200	[thread overview]
Message-ID: <f322a3b2-71eb-45e7-aeaf-18ad87f938ce@leemhuis.info> (raw)
In-Reply-To: <CAE4bxw+ofDFVx0aTHqCrzns9oP1CRQDm_wzeyHPeMBYOhSpcuA@mail.gmail.com>

Lo!

On 9/18/26 11:21, Andy Tsvetinskiy wrote:
> 
>    This report concerns USB ID 0bda:a728, not 0bda:8771.
> 
>    I have a Realtek RTL8761BUV USB Bluetooth adapter:
> 
>    - USB ID: 0bda:a728
>    - Product: Bluetooth 5.4 Radio
>    - Firmware: rtl_bt/rtl8761bu_fw.bin
>    - Firmware version: 0xdfc6d922
>    - Running kernel: 6.18.51-1-lts
>    - Distribution: Arch Linux
> 
>    With the stock btusb driver, Bluetooth repeatedly failed with:
> 
>        Bluetooth: hci0: command 0x200c tx timeout
>        Bluetooth: hci0: Opcode 0x200c failed: -110
>        Bluetooth: hci0: Unable to disable scanning: -110
>        Bluetooth: hci0: Resetting usb device.
>        usb 1-2.2: reset full-speed USB device
>        Bluetooth: hci0: unexpected event for opcode 0x200c

Thx for the report. Just replying to bring a few people into the loop
that can help handling this: the Blutooth maintainers and developers
which were involved in ca0583c2466174 ("Bluetooth: btusb: limit RTL8761B
BROKEN_EXT_SCAN quirk to 0bda:a728") [v7.3-rc1] and 5ead2063611ae5
("Bluetooth: btrtl: fix RTL8761B/BU broken LE extended scan")
[v7.2-rc1]. Ciao, Thorsten

>    The firmware was loaded successfully:
> 
>        Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
>        Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
>        Bluetooth: hci0: RTL: fw version 0xdfc6d922
> 
>    The USB autosuspend setting was not the cause:
> 
>        /sys/bus/usb/devices/1-2.2/power/autosuspend: -1
> 
>    The current upstream fix ca0583c24661
>    ("Bluetooth: btusb: limit RTL8761B BROKEN_EXT_SCAN quirk to 0bda:a728")
>    is already present in my kernel. It sets BTUSB_BROKEN_EXT_SCAN for 0bda:a728.
> 
>    I tested the opposite change locally in drivers/bluetooth/btusb.c:
> 
>        - { USB_DEVICE(0x0bda, 0xa728), .driver_info = BTUSB_REALTEK |
>        -                    BTUSB_BROKEN_EXT_SCAN },
>        + { USB_DEVICE(0x0bda, 0xa728), .driver_info = BTUSB_REALTEK },
> 
>    After rebuilding and reloading the btusb module:
> 
>        systemctl stop bluetooth
>        modprobe -r btusb
>        modprobe btusb
>        systemctl start bluetooth
> 
>    Bluetooth scanning worked normally. A 20-second scan completed with:
> 
>        Discovery started
>        Discovering: yes
> 
>    After loading the patched module, no new occurrences of the
> following messages appeared:
> 
>        Opcode 0x200c failed: -110
>        Opcode 0x2042 failed
>        command tx timeout
>        Unable to disable scanning
>        Resetting usb device
> 
>    The patched driver is currently loaded and Bluetooth remains operational.
> 
>    This suggests that different RTL8761BUV devices or firmware
> revisions using USB ID 0bda:a728 may require different scan quirks. On
> my device, keeping BTUSB_BROKEN_EXT_SCAN causes the legacy 0x200c
> command to
>  time out, while removing the quirk fixes the issue.
> 
>    Relevant upstream reports:
> 
>    https://linux-regtracking.leemhuis.info/regzbot/regression/lore/20260822141115.58815-1-kserwus@gmail.com/
> 
>    https://bugzilla.redhat.com/show_bug.cgi?id=2521504
> 
>    https://lkml.iu.edu/2608.2/12212.html
> 
>    Please let me know if more logs, a full patch, or additional
> testing is needed.
> 


       reply	other threads:[~2026-09-18 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAE4bxw+ofDFVx0aTHqCrzns9oP1CRQDm_wzeyHPeMBYOhSpcuA@mail.gmail.com>
2026-09-18 13:37 ` Thorsten Leemhuis [this message]
2026-09-25  9:05   ` Thorsten Leemhuis
2026-09-26 11:37     ` Andy Tsvetinskiy
2026-09-29 15:27       ` Thorsten Leemhuis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f322a3b2-71eb-45e7-aeaf-18ad87f938ce@leemhuis.info \
    --to=regressions@leemhuis.info \
    --cc=alexej@sidorenko.cz \
    --cc=andrew.tsvetinskiy@gmail.com \
    --cc=junjie.cao@intel.com \
    --cc=kserwus@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®