Video sleep on dell d600 (6.1-release)

Julian Stecklina der_julian at web.de
Tue Jun 20 14:40:18 UTC 2006


Rich Winkel <rich at math.missouri.edu> 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



More information about the freebsd-mobile mailing list