aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitsuru IWASAKI <iwasaki@FreeBSD.org>1999-09-11 16:00:28 +0000
committerMitsuru IWASAKI <iwasaki@FreeBSD.org>1999-09-11 16:00:28 +0000
commit38d336b5b8644c83ed2a6c141c175b917f42378b (patch)
tree500fe7064941a21d41bf7f19b11c426e15ba60f3
parent7ad5ee37572fe3d576605ec42ba26ec1fd37945a (diff)
Notes
-rw-r--r--sys/i386/apm/apm.c3
-rw-r--r--sys/i386/bios/apm.c3
-rw-r--r--usr.sbin/apmd/apmd.82
3 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c
index e55268924e0d..85d8eed43d21 100644
--- a/sys/i386/apm/apm.c
+++ b/sys/i386/apm/apm.c
@@ -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:
diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c
index e55268924e0d..85d8eed43d21 100644
--- a/sys/i386/bios/apm.c
+++ b/sys/i386/bios/apm.c
@@ -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:
diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8
index 37e80abd02bb..0704c582e46f 100644
--- a/usr.sbin/apmd/apmd.8
+++ b/usr.sbin/apmd/apmd.8
@@ -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