From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 21 14:10:27 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21A8116A400 for ; Tue, 21 Mar 2006 14:10:27 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DD4B43D5D for ; Tue, 21 Mar 2006 14:10:26 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k2LEAPh9024856; Tue, 21 Mar 2006 08:10:25 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <44200951.204@centtech.com> Date: Tue, 21 Mar 2006 08:10:25 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Mark Andrews References: <200603211313.k2LDDdKr001086@drugs.dv.isc.org> In-Reply-To: <200603211313.k2LDDdKr001086@drugs.dv.isc.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1346/Tue Mar 21 03:03:02 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-acpi@freebsd.org Subject: Re: DELL D610 lid and backlight X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 14:10:27 -0000 Mark Andrews wrote: >> Mark Andrews writes: >> >>> I have a problem if I enable acpi on my dell d610. The backlight >>> goes off and doesn't come back on if the lid is closed. This is >>> independent of whether debug.acpi.disabled="lid" is set or not. >>> >> For the Dell X1, >> >> enable acpi_video in loader.conf: /boot/loader.conf with: >> acpi_video_load="YES" >> >> add this to /etc/devd.conf: >> >> # lid open/close events >> notify 10 { >> match "system" "ACPI"; >> match "subsystem" "Lid"; >> action "/etc/rc.lid $notify"; >> }; >> >> /etc/rc.lid is: >> >> #!/bin/sh >> # deal with lid switch events >> >> if [ x$1 = x0x00 ]; then >> logger -t Lid Closed at `date` >> sysctl hw.acpi.video.out0.active=0 >> else >> logger -t Lid Opened at `date` >> sysctl hw.acpi.video.out0.active=1 >> fi >> > > Thanks. That helped. I've got "shutdown -p now" back now as > well. The back light was more important than power management > so I had disabled acpi between between sessions. > > Standby still has the same symptoms. I added > hw.acpi.video.out0.active=1 to sysctl.conf in case it was rebooting > so it would restore the back light on the way up. This doesn't > appear to be the case. > If you have debugging enabled - it might be going into the debugger. Check caps lock - does it work? If so, try doing a 'call doadump' and hit enter - does the hd run for a while? If it does, when it stops running, type 'restart' and maybe it will reboot. On my D810 (which is the same system as the D610 I believe), I can get it to suspend, but resuming makes the system boot up like it had been turned off. I have these settings in /etc/sysctl.conf: hw.acpi.lid_switch_state=NONE debug.cpufreq.lowest=500 hw.acpi.video.lcd0.active=1 hw.acpi.video.crt0.active=1 And have played with these two settings: #hw.acpi.reset_video=1 #hw.syscons.sc_no_suspend_vtswitch=1 I also have this in /boot/loader.conf, but can't recall why: hw.apic.enable_extint=1 Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------