summaryrefslogtreecommitdiffstats
path: root/sys/i386/apm
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>1999-09-11 16:00:28 +0000
committeriwasaki <iwasaki@FreeBSD.org>1999-09-11 16:00:28 +0000
commit181aba8e3a9f7f32ea9d61a5faca2a09013b794e (patch)
tree6564b092f84569a0d06575752a9f3ebe6e829c9a /sys/i386/apm
parente5e68f25b064c8552722308b525ad98c2dbdc5f6 (diff)
downloadFreeBSD-src-181aba8e3a9f7f32ea9d61a5faca2a09013b794e.zip
FreeBSD-src-181aba8e3a9f7f32ea9d61a5faca2a09013b794e.tar.gz
Handle CAPABILITIESCHANGE event.
Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
Diffstat (limited to 'sys/i386/apm')
-rw-r--r--sys/i386/apm/apm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c
index e552689..85d8eed 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:
OpenPOWER on IntegriCloud