Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2020 09:09:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        acpi@FreeBSD.org
Subject:   [Bug 240881] acpi_lid: dev.acpi_lid.0.state: 0 after resume (lid opened)
Message-ID:  <bug-240881-16045-oKRyi3oVC4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240881-16045@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240881-16045@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240881

--- Comment #6 from commit-hook@freebsd.org ---
A commit references this bug:

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240881-16045-oKRyi3oVC4>