Handle CAPABILITIESCHANGE event.
Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
This commit is contained in:
parent
7ad5ee3757
commit
38d336b5b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51163
@ -994,6 +994,9 @@ apm_processevent(void)
|
||||
apm_record_event(sc, apm_event);
|
||||
inittodr(0); /* adjust time to RTC */
|
||||
break;
|
||||
OPMEV_DEBUGMESSAGE(PMEV_CAPABILITIESCHANGE);
|
||||
apm_record_event(sc, apm_event);
|
||||
break;
|
||||
case PMEV_NOEVENT:
|
||||
break;
|
||||
default:
|
||||
|
@ -994,6 +994,9 @@ apm_processevent(void)
|
||||
apm_record_event(sc, apm_event);
|
||||
inittodr(0); /* adjust time to RTC */
|
||||
break;
|
||||
OPMEV_DEBUGMESSAGE(PMEV_CAPABILITIESCHANGE);
|
||||
apm_record_event(sc, apm_event);
|
||||
break;
|
||||
case PMEV_NOEVENT:
|
||||
break;
|
||||
default:
|
||||
|
@ -171,6 +171,7 @@ is running:
|
||||
.Pp
|
||||
.Bl -tag -hang -width USERSUSPENDREQ -compact -offset indent
|
||||
.It STANDBYREQ
|
||||
.It USERSTANDBYREQ
|
||||
.It SUSPENDREQ
|
||||
should include sync in the command list,
|
||||
.It USERSUSPENDREQ
|
||||
@ -189,6 +190,7 @@ after kernel handling:
|
||||
.It STANDBYRESUME
|
||||
.It POWERSTATECHANGE
|
||||
.It UPDATETIME
|
||||
.It CAPABILITIESCHANGE
|
||||
.El
|
||||
.Pp
|
||||
Other events will not be sent to
|
||||
|
Loading…
Reference in New Issue
Block a user