Skip to contentSkip to conversation

New: [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

Bug 216382 [email protected] 1 participant 7 messages Aug 19, 2022 – Sep 13, 2022 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216382

            Bug ID: 216382
           Summary: [bisected][regression] mediatek bluetooth 13d3:3563
                    (mt7921e) doesn't work with audio devices.
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.0-rc1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Bluetooth
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

After update to new 6.0rc1 I can't use any bt-earphones. I've checked in bluetoothctl: devices are still connected but none of endpoint/transport entries are creates.

XB1S gamepad works without any issues.

bisecting result:
---
26afbd826ee326e63a334c37fd45e82e50a615ec is the first bad commit commit 26afbd826ee326e63a334c37fd45e82e50a615ec

Author: Luiz Augusto von Dentz <[email protected]>
Date:   Mon Jul 29 18:15:43 2019 +0300

Bluetooth: Add initial implementation of CIS connections

This adds the initial implementation of CIS connections and introduces the ISO packets/links.
---

can't revert this commit.

*Aditionally, I've tried this kernel on second machine with AX210 wifi/bt combo and issue doesn't appear. So I assume problem is limited to mediatek module.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 216382] [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

https://bugzilla.kernel.org/show_bug.cgi?id=216382

Luiz Von Dentz ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Luiz Von Dentz ([email protected]) ---
I suspect this could be due some HCI command during initialization, could you please collect the HCI using btmon?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 216382] [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216382

--- Comment #2 from Arek Ruśniak ([email protected]) --- Created attachment 301608
--> https://bugzilla.kernel.org/attachment.cgi?id=301608&action=edit
btmon -w log # 6.0-rc1

Hi,
this is log for rc1, hope it's not a big problem.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 216382] [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216382

--- Comment #3 from Arek Ruśniak ([email protected]) --- Created attachment 301609
--> https://bugzilla.kernel.org/attachment.cgi?id=301609&action=edit
btmon -w log # 5.19x

this is log for connected/worked device.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 216382] [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216382

--- Comment #4 from Luiz Von Dentz ([email protected]) --- Created attachment 301727
--> https://bugzilla.kernel.org/attachment.cgi?id=301727&action=edit
Patch

This shall fix the problem, weird that CI didn't find it though since it quite clear that ACL buffers will not be initialized thus preventing any ACL traffic.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 216382] [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216382

--- Comment #5 from Arek Ruśniak ([email protected]) ---
thanks Luiz for fix this, i've tested it on top rc3 & master and my headphones live again.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 216382] [bisected][regression] mediatek bluetooth 13d3:3563 (mt7921e) doesn't work with audio devices.

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216382

Arek Ruśniak ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #6 from Arek Ruśniak ([email protected]) --- fixed in rc5

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.