API to turn off the display

Jesse Guardiani jesse at wingnet.net
Thu Jan 29 11:41:02 PST 2004


James Green wrote:

[...]

> Interestingly, however, is that:
> # sysctl hw.acpi.video.lcd0.active=0 &&  acpiconf -s 1
> 
> will turn off the LCD and suspend gracefully, whereas
> # xset -display :0 dpms force off && sysctl hw.acpi.video.lcd0.active=0
> && acpiconf -s 1
> 
> just locks everything up... (discovered by adding the commands to
> /etc/rc.suspend and getting a lock up)

What about from SSH? I've found that things sometimes need a bit of a delay
to work properly from /etc/rc.suspend.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




More information about the freebsd-current mailing list