HomeFreeBSD

Don't start the sleep state transition procedure while sleep is

Description

Don't start the sleep state transition procedure while sleep is
disabled or the system is in shutdown procedure.

This should fix the problem which kernel never response to the sleep
button press events after the message `suspend request ignored (not
ready yet)'.

MFC after: 3 days

Details

Provenance
Mitsuru IWASAKI <iwasaki@FreeBSD.org>Authored on May 20 2012, 4:36 PM
Parents
rG67d785e9efe2: Typo and mdoc(7) style fixes.
Branches
Unknown
Tags
Unknown

Event Timeline