Summary: | sys-kernel/gentoo-kernel-bin: adjust default config to add MediaTek bluetooth support for Lenovo Legion (5 pro/7) notebooks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Georgi <jorodrbr> |
Component: | Current packages | Assignee: | Distribution Kernel Project <dist-kernel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | enhancement | CC: | jorodrbr, jstein, mgorny, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to enable mtk bluetooth in kernel config |
Description
Georgi
2021-11-20 12:33:21 UTC
Please provide a link to the sources. Are they already part of the kernel? Which exact module will work? (see lspci -k) So far I just found this link: https://wireless.wiki.kernel.org/en/users/drivers/mediatek Created attachment 753922 [details, diff]
patch to enable mtk bluetooth in kernel config
I apologize for not providing enough details.
It's about the current testing distribution kernels:
sys-kernel/gentoo-kernel
sys-kernel/gentoo-kernel-bin
version 5.15.1.
Sources are in the kernel already, the drivers just need to be enabled.
I'm attaching a patch for the kernel config file.
Regards,
Georgi
Are you sure that CONFIG_BT_HS is required? Fedora seems to enable the other two only: commit 2edca076e88a261fe0a1a152549dbc51c7f071a6 Author: Justin M. Forbes <jforbes@fedoraproject.org> Date: 2021-11-15 17:00:15 +0100 kernel-5.16-0.rc0.20211113git66f4beaa6c1d.12 * Sat Nov 13 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.16-0.rc0.20211113git66f4beaa6c1d.12] - Turn on CONFIG_HID_NINTENDO for controller support (Dave Olsthoorn) - Fedora: Enable MediaTek bluetooth pieces (Peter Robinson) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org> diff --git a/kernel-x86_64-fedora.config b/kernel-x86_64-fedora.config index 26ad823f5..6b770bb4f 100644 --- a/kernel-x86_64-fedora.config +++ b/kernel-x86_64-fedora.config @@ -696,7 +696,7 @@ CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m -# CONFIG_BT_HCIBTUSB_MTK is not set +CONFIG_BT_HCIBTUSB_MTK=y CONFIG_BT_HCIBTUSB_RTL=y CONFIG_BT_HCIDTL1=m CONFIG_BT_HCIUART_3WIRE=y @@ -723,7 +723,7 @@ CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_MSFTEXT=y CONFIG_BT_MTKSDIO=m -# CONFIG_BT_MTKUART is not set +CONFIG_BT_MTKUART=m CONFIG_BT_QCA=m CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y [...] Tested on 5.15.1 with HS features disabled, bluetooth headset and Android devices connect and work without problems. Regards, Georgi Thanks! |