diff options
author | Matt DeVillier <matt.devillier@puri.sm> | 2022-05-26 16:39:25 -0500 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-06-02 19:45:18 +0000 |
commit | 88698b4a83cf9f44bbdf65efc41ee890ebac62d5 (patch) | |
tree | f7f86f199f4c716c528a35c68b02c2e84da6a926 /util/post/post.c | |
parent | 4c8f7785f9a4d197d9bfa081850f46731e724be2 (diff) |
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>
Diffstat (limited to 'util/post/post.c')
0 files changed, 0 insertions, 0 deletions