Date: Tue, 21 Mar 2006 00:13:47 -0800 From: Mark Diekhans <markd@kermodei.com> To: Mark Andrews <Mark_Andrews@isc.org> Cc: freebsd-acpi@freebsd.org Subject: Re: DELL D610 lid and backlight Message-ID: <17439.46523.576483.319302@osprey.kermodei.org> In-Reply-To: <200603210525.k2L5PSis001981@drugs.dv.isc.org> References: <200603210525.k2L5PSis001981@drugs.dv.isc.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Andrews <Mark_Andrews@isc.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17439.46523.576483.319302>
