2024-01-12 12:22:06

by Deren Wu

[permalink] [raw]
Subject: Re: Bluetooth: btusb: mediatek: MT7925 issues on AMD platform

On Tue, 2024-01-09 at 07:27 +0000, Ulrik Strid wrote:
>
> Hello, I recently got a workstation with the ASUS Pro WS TRX50-SAGE
> WIFI motherboard. This includes a Mediatek MT7925 chip that handles
> WiFi and Bluetooth. After updating my kernel to 6.7.0 and running
> recently updated linux-firmware that includes mt7925 firmware I got
> WiFi working but I still have issues with bluetooth. I've added the
> following kernel modules to see if I can fix my setup: btusb, btmtk,
> mt7925e, mt7925u but neither of these fixes the issue.
>
> I see this in my dmesg log:
> kernel: Bluetooth: hci0: Opcode 0x0c03 failed: -16
> And this repeates if I run `hciconfig hci0 up`
>

Hi Ulrik,

Guess missing the BT PID/VID of the MT7925 device in your test. Could
you please try to get the information by 'lsusb' or 'cat
/sys/kernel/debug/usb/devices'? Here is the sample patch to add new ID
for BT device.

https://patchwork.kernel.org/project/bluetooth/patch/[email protected]/

Regards,
Deren

> If I can give you any more information let me know, I hope that
> Mediatek are as eager to fix things as I am. I can also test any
> kernel patches that you have.
>
> I have validated that things work under Windows to make sure there is
> no issue with the card itself.
>
> Best regards,
> Ulrik Strid