[Bug 240881] acpi_lid: dev.acpi_lid.0.state: 0 after resume (lid opened)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 2 09:17:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240881

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Mon Mar  2 09:16:49 UTC 2020
New revision: 358536
URL: https://svnweb.freebsd.org/changeset/base/358536

Log:
  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 at yuripv.me>
  Sponsored by: Mellanox Technologies

Changes:
_U  stable/11/
  stable/11/sys/dev/acpica/acpi_lid.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-acpi mailing list