Linux bluetooth development
 help / color / mirror / Atom feed
From: "Rafael Passos" <rafael@rcpassos.me>
To: "Rong Zhang" <i@rong.moe>, "Rafael Passos" <rafael@rcpassos.me>,
	"Marcel Holtmann" <marcel@holtmann.org>,
	"Luiz Augusto von Dentz" <luiz.dentz@gmail.com>,
	"Matthias Brugger" <matthias.bgg@gmail.com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora.com>
Cc: "Luiz Augusto von Dentz" <luiz.von.dentz@intel.com>,
	"Chris Lu (陸稚泓)" <Chris.Lu@mediatek.com>,
	"Will-CY Lee (李政穎)" <Will-CY.Lee@mediatek.com>,
	"SS Wu (巫憲欣)" <ss.wu@mediatek.com>,
	linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2] Bluetooth: Properly disable remote wakeup for MT7922/MT7925 on Ryzen platform
Date: Tue, 28 Jul 2026 10:17:49 -0300	[thread overview]
Message-ID: <DKA8F33O8HID.2UV2DWTLE6S48@rcpassos.me> (raw)
In-Reply-To: <F16A2A9A-A43F-45FE-8CC0-44A129360D47@rong.moe>

Hi again,

On Mon Jul 6, 2026 at 4:39 PM -03, Rong Zhang wrote:
> Hi Rafael,
>
> Hmm, interesting. My speculation is that it doesn't matter which options are changed, but some changed options cause the BIOS to reinitialize something. Does resetting the BIOS settings to default help?

I was unable to trigger the same issue again. It has been working fine
(even when running without your patch). I believe the reset with bios
config changes fixed it for good.


> Could you provide more details about your device's USB and PCI topology? Does the NIC's USB connect to one of the USB root hubs of the SoC (i.e., CPU) or the chipset?

I believe its a hub connected to the chipset.

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    | ...
    |__ Port 008: Dev 004, If 0, Class=Wireless, Driver=btusb, 480M

In the block diagram on the manual [1], Key "E" Wifi is tied
to the AMD PROM21 CHipset.


> And I guess your device runs into the issue without any precursor? Once boot, try running the script below to capture more clues into dmesg, and wait for the issue to appear.
>
>     #!/bin/sh
>
>     ddcmd()
>     {
>         echo "$*" | sudo tee /proc/dynamic_debug/control;
>     }
>
>     ddcmd file drivers/usb/core/hub.c +p
>     ddcmd file drivers/usb/core/driver.c +p
>     ddcmd func handle_tx_event +p

Thanks for the script! I'm learning a bit with it!

> I would do the below experiments if I had a buggy device like that. Some extra hardware is required though.
>
> Connect another NIC (w/ Bluetooth interface) to the same M.2 port after triggering the enumeration failure, and see if the enumeration failure persists.

It is integrated (soldered) to my motherboard.

[1] page 10 https://download.asrock.com/Manual/B850M%20Steel%20Legend%20WiFi.pdf

Thanks,
Rafael Passos


  reply	other threads:[~2026-07-28 13:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01 15:43 [PATCH v2] Bluetooth: Properly disable remote wakeup for MT7922/MT7925 on Ryzen platform Rong Zhang
2026-07-01 16:50 ` [v2] " bluez.test.bot
2026-07-06 14:53 ` [PATCH v2] " Rafael Passos
2026-07-06 15:08   ` Rong Zhang
2026-07-06 18:21     ` Rafael Passos
2026-07-06 19:39       ` Rong Zhang
2026-07-28 13:17         ` Rafael Passos [this message]
2026-07-28 14:00           ` Rong Zhang
2026-07-28 14:45             ` Rafael Passos
2026-07-28 15:38               ` Rong Zhang
2026-07-28 16:08                 ` Rafael Passos
2026-07-13 15:06 ` John Rowley
2026-07-13 17:32   ` Rong Zhang
2026-07-23 13:38 ` Rong Zhang
2026-07-24  9:54   ` Chris Lu (陸稚泓)
2026-07-24 14:07     ` Rong Zhang

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=DKA8F33O8HID.2UV2DWTLE6S48@rcpassos.me \
    --to=rafael@rcpassos.me \
    --cc=Chris.Lu@mediatek.com \
    --cc=Will-CY.Lee@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=i@rong.moe \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=luiz.dentz@gmail.com \
    --cc=luiz.von.dentz@intel.com \
    --cc=marcel@holtmann.org \
    --cc=matthias.bgg@gmail.com \
    --cc=ss.wu@mediatek.com \
    /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