Handle CAPABILITIESCHANGE event.

Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
This commit is contained in:
Mitsuru IWASAKI 1999-09-11 16:00:28 +00:00
parent 7ad5ee3757
commit 38d336b5b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51163
3 changed files with 8 additions and 0 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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