Corngood, 1 year ago (edited 10 months ago) Could you do: Please share the output of grep -v /sys/class/dmi/id/* as a normal user (not root) It looks like all the patches from that thread are in linux 6.6, so your board may still need quirks added. Once you know the board name you try something like this: <span style="color:#323232;"> boot.kernelPatches = [{ </span><span style="color:#323232;"> name = "acpi quirk"; </span><span style="color:#323232;"> patch = pkgs.writeText "acpi.patch" '' </span><span style="color:#323232;">diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c </span><span style="color:#323232;">index 297a88587031..655332f3a5da 100644 </span><span style="color:#323232;">--- a/drivers/acpi/resource.c </span><span style="color:#323232;">+++ b/drivers/acpi/resource.c </span><span style="color:#323232;">@@ -524,6 +524,12 @@ static const struct dmi_system_id pcspecialist_laptop[] = { </span><span style="color:#323232;"> DMI_MATCH(DMI_BOARD_NAME, "GM6BG0Q"), </span><span style="color:#323232;"> }, </span><span style="color:#323232;"> }, </span><span style="color:#323232;">+ { </span><span style="color:#323232;">+ /* [COMPUTER DESCRIPTION] */ </span><span style="color:#323232;">+ .matches = { </span><span style="color:#323232;">+ DMI_MATCH(DMI_BOARD_NAME, "[BOARD_NAME]"), </span><span style="color:#323232;">+ }, </span><span style="color:#323232;">+ }, </span><span style="color:#323232;"> { } </span><span style="color:#323232;"> }; </span><span style="color:#323232;">''; </span><span style="color:#323232;"> }]; </span> Just be careful that the indentation of the patch part doesn’t get changed.
Could you do:
Please share the output of grep -v /sys/class/dmi/id/* as a normal user (not root)
grep -v /sys/class/dmi/id/*
It looks like all the patches from that thread are in linux 6.6, so your board may still need quirks added.
Once you know the board name you try something like this:
<span style="color:#323232;"> boot.kernelPatches = [{ </span><span style="color:#323232;"> name = "acpi quirk"; </span><span style="color:#323232;"> patch = pkgs.writeText "acpi.patch" '' </span><span style="color:#323232;">diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c </span><span style="color:#323232;">index 297a88587031..655332f3a5da 100644 </span><span style="color:#323232;">--- a/drivers/acpi/resource.c </span><span style="color:#323232;">+++ b/drivers/acpi/resource.c </span><span style="color:#323232;">@@ -524,6 +524,12 @@ static const struct dmi_system_id pcspecialist_laptop[] = { </span><span style="color:#323232;"> DMI_MATCH(DMI_BOARD_NAME, "GM6BG0Q"), </span><span style="color:#323232;"> }, </span><span style="color:#323232;"> }, </span><span style="color:#323232;">+ { </span><span style="color:#323232;">+ /* [COMPUTER DESCRIPTION] */ </span><span style="color:#323232;">+ .matches = { </span><span style="color:#323232;">+ DMI_MATCH(DMI_BOARD_NAME, "[BOARD_NAME]"), </span><span style="color:#323232;">+ }, </span><span style="color:#323232;">+ }, </span><span style="color:#323232;"> { } </span><span style="color:#323232;"> }; </span><span style="color:#323232;">''; </span><span style="color:#323232;"> }]; </span>
Just be careful that the indentation of the patch part doesn’t get changed.