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

--- Comment #4 from Johannes Lundberg <[email protected]> ---
> 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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to