Need to reset MT7921 BT when the firmware hang or command no response
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
linux-oem-5.14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
AceLan Kao |
Bug Description
[Impact]
Encounter BT command timeout issue when doing reboot test, and BT becomes unusable.
Mar 15 22:04:44 u-Inspiron-15-3525 kernel: [ 463.633675] usb 3-4: reset high-speed USB device number 3 using xhci_hcd
Mar 15 22:04:45 u-Inspiron-15-3525 kernel: [ 465.027012] Bluetooth: hci0: command 0x2005 tx timeout
Mar 15 22:04:47 u-Inspiron-15-3525 kernel: [ 467.043176] Bluetooth: hci0: command 0x2041 tx timeout
[Fix]
Backport below 2 commit from v5.15-rc1 fix this issue
e947802657cb Bluetooth: btusb: Support Bluetooth Reset for Mediatek Chip(MT7921)
0b10c8c84c0c Bluetooth: btusb: Record debug log for Mediatek Chip.
[Test]
Verified on the problem machine, and confirmed it works
[Where problems could occur]
It adds a new function to cmd_timeout callback, so it won't affect old behaviors. This only affects the chip which has command timeout issue, and could reset the chip when encounter the issue.
CVE References
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux-oem-5.14 (Ubuntu): | |
status: | New → Invalid |
tags: | added: oem-priority originate-from-1965199 somerville |
Changed in linux-oem-5.14 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
This bug is awaiting verification that the linux-oem- 5.14/5. 14.0-1030. 33 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!