Re: Video sleep on dell d600 (6.1-release)
Julian Stecklina <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
Rich Winkel <[email protected]> writes: > According to Ulrich Spoerlein: > -- Start of PGP signed section. >> Rich Winkel wrote: >> > Correct, I just want the display to turn off when I close the lid. >> > Browsing the web, it appears at least one person has gotten this >> > working, but he didn't post the specifics. I need to hunt up his address. >> >> Well, >> >> here's the solution I'm using: >> >> /boot/loader.conf: >> acpi_video_load="YES" >> >> /etc/sysctl.conf: >> hw.acpi.lid_switch_state=NONE >> hw.acpi.video.lcd0.active=1 >> >> /etc/devd.conf: >> notify 10 { >> match "system" "ACPI"; >> match "subsystem" "Lid"; >> action "/sbin/sysctl hw.acpi.video.lcd0.active=$notify"; >> }; > > Thank you!! Works perfectly. Setting this sysctl value works on the console. But under X it turns the screen off correctly, but leaves its content distorted when turning it on. Screen contents can be restored by switching to a console and back. Any workarounds for that? Regards, -- Julian Stecklina Being really good at C++ is like being really good at using rocks to sharpen sticks. - Thant Tessman _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"