[Bug 230290] [patch] acpi: call sleep event handler when sleeping via command line
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 2 10:51:19 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230290
--- Comment #4 from Johannes Lundberg <johalun0 at gmail.com> ---
> Can we pass the state to power_suspend / power_suspend_early ?
Yeah in either case, that might be a good idea (but will probably require
patching a lot of code).
However, the original problem still remains. If you call 'zzz', you'd expect
the same thing to happen as if you close the lid. Now (as far as I know)
there's only one listener to acpi_sleep_event so zzz = close lid, but when
someone adds more listeners to acpi_*_event things will start to break or act
weird...
If acpi_*_event aren't guaranteed to be trigger at suspend/resume I think the
man page should clearly explain this and recommend using power_* events that
will always be triggered instead.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list