HomeFreeBSD

MFC r358219 and r358270:

Description

MFC r358219 and r358270:
Make sure the ACPI lid state is updated during boot and after resume.
While at it update the sysctl(9) description for the lid state.

Always check return value from acpi_GetInteger().
If a failure happens reading the lid state, assume the lid is opened.

Differential Revision: https://reviews.freebsd.org/D23724
PR: 240881
Submitted by: Yuri Pankov <yuripv@yuripv.me>
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Differential Revision
D23724: acpi_lid: correct Lid state after boot and resume
Parents
rS358533: MFV r358511,r358532:
Branches
Unknown
Tags
Unknown