From owner-freebsd-mobile@FreeBSD.ORG Tue Jun 20 14:40:18 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 203C716A492 for ; Tue, 20 Jun 2006 14:40:18 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F28E43D7B for ; Tue, 20 Jun 2006 14:40:10 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FshOc-0000yN-27 for freebsd-mobile@freebsd.org; Tue, 20 Jun 2006 16:40:02 +0200 Received: from efficio.wh29.tu-dresden.de ([141.30.207.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jun 2006 16:40:02 +0200 Received: from der_julian by efficio.wh29.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jun 2006 16:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Julian Stecklina Date: Tue, 20 Jun 2006 15:29:57 +0200 Lines: 40 Message-ID: <86hd2gc5uy.fsf@dellbeast.localnet> References: <20060618201952.GB1145@roadrunner.aventurien.local> <200606200323.k5K3NaZB063123@pencil.math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: efficio.wh29.tu-dresden.de User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.19 (berkeley-unix) Cancel-Lock: sha1:49dshW8ie06dWTMMN9/2ScjZzww= Sender: news Subject: Re: Video sleep on dell d600 (6.1-release) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 14:40:18 -0000 Rich Winkel 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