I am looking for a way to turn the monitor of my laptop off without using X.
My system is a:
Installed on an HP Compaq Presario V3700 laptop.
With X on, the monitor can be turned off, presumably by DPMS, automatically after a certain period of time when there are no keyboard events or mouse events. I can even do:
to turn off the monitor manually, without even becoming a super user.
Without X, I have no luck in doing so, even being root. I have tried setting hw.acpi.video.lcd0.active to 0, but the system wouldn't let me do that, insisting that it should be 1. I have also tried using
Is there an easy way to use DPMS with console (so without X) to control my monitor, preferably without using the superuser privilege? Thank you!
PS: I should also mention that I am still using the syscons(4) driver.
My system is a:
Code:
FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 18:57:59 UTC 2015
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
With X on, the monitor can be turned off, presumably by DPMS, automatically after a certain period of time when there are no keyboard events or mouse events. I can even do:
sleep 1; xset dpms force off
to turn off the monitor manually, without even becoming a super user.
Without X, I have no luck in doing so, even being root. I have tried setting hw.acpi.video.lcd0.active to 0, but the system wouldn't let me do that, insisting that it should be 1. I have also tried using
acpiconf
, but it is not possible to just turn the monitor off while keeping the system running. I have also tried sysutils/vbetool, but it doesn't seem to work on my system, even if I did sysctl security.bsd.map_at_zero=1
.Is there an easy way to use DPMS with console (so without X) to control my monitor, preferably without using the superuser privilege? Thank you!
PS: I should also mention that I am still using the syscons(4) driver.