Add YogaSMC kext

This commit is contained in:
Hoang Hong Quan
2025-04-28 21:32:17 +07:00
parent b6bb0e4af6
commit 06e30adcc6
3 changed files with 17 additions and 1 deletions
+10
View File
@@ -615,6 +615,16 @@ kexts = [
"repo": "BigSurface"
}
),
KextInfo(
name = "YogaSMC",
description = "Enables support for syncing SMC keys, controlling sensors and managing vendor-specific features",
category = "Brand Specific",
requires_kexts = ["Lilu", "VirtualSMC"],
github_repo = {
"owner": "zhen-zen",
"repo": "YogaSMC"
}
),
KextInfo(
name = "CtlnaAHCIPort",
description = "Improves support for certain SATA controllers",
+2
View File
@@ -1365,3 +1365,5 @@ ThinkPadTWX30IDs = {
"8086-1E55": ("21F317AA", "21F617AA", "21FB17AA"),
"8086-1E58": ("500C17AA"),
}
YogaHIDs = ("INT33D5", "INTC1051", "INTC1054", "LEN0068", "LEN0268", "VPC2004")
+4
View File
@@ -283,6 +283,10 @@ class KextMaestro:
elif 78 < idx:
selected_kexts.append("VoodooRMI")
for device_name, device_info in hardware_report.get("System Devices", {}).items():
if device_info.get("Bus Type") == "ACPI" and device_info.get("Device") in pci_data.YogaHIDs:
selected_kexts.append("YogaSMC")
if any(patch.checked for patch in acpi_patches if patch.name == "BATP"):
selected_kexts.append("ECEnabler")