Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2006 15:29:57 +0200
From:      Julian Stecklina <der_julian@web.de>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Video sleep on dell d600 (6.1-release)
Message-ID:  <86hd2gc5uy.fsf@dellbeast.localnet>
References:  <20060618201952.GB1145@roadrunner.aventurien.local> <200606200323.k5K3NaZB063123@pencil.math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Rich Winkel <rich@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hd2gc5uy.fsf>