Splatsune, 1 year ago Figured I’d do the pre-setup before I went to bed, so I’ve run the grep command and put the board_name from that output such that the patch now reads thus: <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;">+ /* Infinity E15-5A165-BM */ </span><span style="color:#323232;">+ .matches = { </span><span style="color:#323232;">+ DMI_MATCH(DMI_BOARD_NAME, "GM5RG1E0009COM"), </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> I’ll report back with the results when I’m able.
Figured I’d do the pre-setup before I went to bed, so I’ve run the grep command and put the board_name from that output such that the patch now reads thus:
<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;">+ /* Infinity E15-5A165-BM */ </span><span style="color:#323232;">+ .matches = { </span><span style="color:#323232;">+ DMI_MATCH(DMI_BOARD_NAME, "GM5RG1E0009COM"), </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>
I’ll report back with the results when I’m able.