From 88698b4a83cf9f44bbdf65efc41ee890ebac62d5 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Thu, 26 May 2022 16:39:25 -0500 Subject: mb/purism/librem_mini: Hide Linux GPIO LED from Windows Hide the Linux gpio-led ACPI device from Windows by setting the device status (_STA) to 0xB (enabled, hidden) so Windows doesn't show an unknown device/missing drivers in Device Manger. Linux doesn't care about the _STA value. Test: build/boot Windows (10/11) and Linux (PureOS 10) on a Librem Mini v2, verify LED works under Linux, is ignored under Windows Change-Id: If3ee0db685a2f7dab505602afa98c3c2d5adf5d3 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/64710 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Sean Rhodes --- .../librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard') diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl b/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl index 727a9d4ff5..4f4374e3b5 100644 --- a/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl +++ b/src/mainboard/purism/librem_cnl/variants/librem_mini/include/variant/acpi/variant.asl @@ -21,6 +21,7 @@ Scope (\_SB) { Name (_HID, "PRP0001") Name (_DDN, "GPIO LEDs device") + Name (_STA, 0xb) Name (_CRS, ResourceTemplate () { GpioIo ( -- cgit v1.2.3