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 <matt.devillier@puri.sm> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64710 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
parent
4c8f7785f9
commit
88698b4a83
|
@ -21,6 +21,7 @@ Scope (\_SB)
|
|||
{
|
||||
Name (_HID, "PRP0001")
|
||||
Name (_DDN, "GPIO LEDs device")
|
||||
Name (_STA, 0xb)
|
||||
|
||||
Name (_CRS, ResourceTemplate () {
|
||||
GpioIo (
|
||||
|
|
Loading…
Reference in New Issue