[Midnightbsd-cvs] [MidnightBSD/src] f7405f: Make sure the ACPI lid state is updated during boo...

Lucas Holt noreply at github.com
Sun Nov 15 01:57:59 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: f7405f3c1659b66e4ee00ba72ac3cd3abbda0934
      https://github.com/MidnightBSD/src/commit/f7405f3c1659b66e4ee00ba72ac3cd3abbda0934
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/dev/acpica/acpi_lid.c

  Log Message:
  -----------
  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.




More information about the Midnightbsd-cvs mailing list