diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2022-02-09 16:10:06 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2022-02-09 16:10:06 +0000 |
commit | e4661c243eed698a67e670b093ab29308037bb03 (patch) | |
tree | 93b480ebd49f13adebe43c92acfe9b4e553e2fd6 | |
parent | 91b444994480fefd387b7620431ad8c771f6a453 (diff) |
add Surface Go 3 hid to acpibat(4)
Microsoft decided to break with basic ACPI standards with the Go 3.
In this case, they don't expose the battery in a standard way, so
acpibat(4) needs to look for the special Microsoft hid.
From mlarkin@, ok kettenis@
-rw-r--r-- | sys/dev/acpi/acpibat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpibat.c b/sys/dev/acpi/acpibat.c index 9075aa39722..751278c0cd8 100644 --- a/sys/dev/acpi/acpibat.c +++ b/sys/dev/acpi/acpibat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibat.c,v 1.68 2020/06/10 22:26:40 jca Exp $ */ +/* $OpenBSD: acpibat.c,v 1.69 2022/02/09 16:10:05 dv Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -47,6 +47,7 @@ struct cfdriver acpibat_cd = { const char *acpibat_hids[] = { ACPI_DEV_CMB, + "MSHW0146", NULL }; |