Skip to contentSkip to conversation

Support of Mediatek 0x7902 Bluetooth on ASUS Vivobook 16

PATCH In review Stanislav Malishevskiy 2 participants 2 messages Jan 12, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support of Mediatek 0x7902 Bluetooth on ASUS Vivobook 16

This commit add support of Mediatek 7902 bluetooth. The firmware file from original driver BT_RAM_CODE_MT7902_1_1_hdr.bin was required for runtime.

Tested on ASUS Vivobook 16

---
 drivers/bluetooth/btmtk.c | 1 +
 drivers/bluetooth/btusb.c | 4 ++++
 2 files changed, 5 insertions(+)
drivers/bluetooth/btmtk.c +1 -0
index 85e99641eaae..ad2bdaab5bbb 100644
@@ -1328,6 +1328,7 @@ int btmtk_usb_setup(struct hci_dev *hdev)
 	case 0x7668:
 		fwname = FIRMWARE_MT7668;
 		break;
+	case 0x7902:
 	case 0x7922:
 	case 0x7961:
 	case 0x7925:
drivers/bluetooth/btusb.c +4 -0
index 0c85c981a833..c92d2d88f01d 100644
@@ -601,6 +601,10 @@ static const struct usb_device_id quirks_table[] = {
 	{ USB_DEVICE(0x13d3, 0x3606), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
 
+	/* MediaTek MT7902 Bluetooth devices */
+	{ USB_DEVICE(0x13d3, 0x3579), .driver_info = BTUSB_MEDIATEK |
+						     BTUSB_WIDEBAND_SPEECH },
+
 	/* MediaTek MT7922 Bluetooth devices */
 	{ USB_DEVICE(0x13d3, 0x3585), .driver_info = BTUSB_MEDIATEK |
 						     BTUSB_WIDEBAND_SPEECH },
Signature · 1 line
2.47.1
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=924654

---Test result---

Test Summary:

CheckPatch                    PENDING   0.28 seconds
GitLint                       PENDING   0.20 seconds
SubjectPrefix                 FAIL      0.29 seconds
BuildKernel                   PASS      24.15 seconds
CheckAllWarning               PASS      26.48 seconds
CheckSparse                   PASS      29.82 seconds
BuildKernel32                 PASS      23.74 seconds
TestRunnerSetup               PASS      421.64 seconds
TestRunner_l2cap-tester       PASS      22.66 seconds
TestRunner_iso-tester         PASS      28.49 seconds
TestRunner_bnep-tester        PASS      5.20 seconds
TestRunner_mgmt-tester        FAIL      122.32 seconds
TestRunner_rfcomm-tester      PASS      7.66 seconds
TestRunner_sco-tester         PASS      9.47 seconds
TestRunner_ioctl-tester       PASS      8.29 seconds
TestRunner_mesh-tester        PASS      6.05 seconds
TestRunner_smp-tester         PASS      7.02 seconds
TestRunner_userchan-tester    PASS      5.09 seconds
IncrementalBuild              PENDING   0.53 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner Output:
Total: 490, Passed: 483 (98.6%), Failed: 3, Not Run: 4

Failed Test Cases

LL Privacy - Set Flags 2 (Enable RL)                 Failed       0.148 seconds
LL Privacy - Set Flags 3 (2 Devices to RL)           Failed       0.169 seconds
LL Privacy - Start Discovery 2 (Disable RL)          Failed       0.186 seconds

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth