summaryrefslogtreecommitdiffstats
path: root/sys/modules/syscons/apm/Makefile
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>1999-10-02 03:56:42 +0000
committernsayer <nsayer@FreeBSD.org>1999-10-02 03:56:42 +0000
commit4f9461c0bd8dd6d2fb8a4f0df36c1666e4e25c98 (patch)
treea32db30f40733a8d5898e3cf4bfa569617ef5379 /sys/modules/syscons/apm/Makefile
parentf8cb01182379dbcbe1bdfe7d387e7354d7a66d27 (diff)
downloadFreeBSD-src-4f9461c0bd8dd6d2fb8a4f0df36c1666e4e25c98.zip
FreeBSD-src-4f9461c0bd8dd6d2fb8a4f0df36c1666e4e25c98.tar.gz
Add the apm_saver syscons screen saver module.
apm_saver uses the apm_display() routine from the apm system to "suspend" the "display" part of the machine. This is beneficial for some laptops (or other machines with non-traditional displays) that choke on the 'green' saver's effect. Another way of looking at this is that it's the same as a screen saver that does an 'apm -d 0' to blank the display and an 'apm -d 1' to bring it back. One probably ought to use these commands to make sure the effect will be correct before using it unattended.
Diffstat (limited to 'sys/modules/syscons/apm/Makefile')
-rw-r--r--sys/modules/syscons/apm/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/syscons/apm/Makefile b/sys/modules/syscons/apm/Makefile
new file mode 100644
index 0000000..00a889f
--- /dev/null
+++ b/sys/modules/syscons/apm/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+KMOD= apm_saver
+SRCS= apm_saver.c
+
+NOMAN=
+CFLAGS+= -I${.CURDIR}/..
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud