DELL D610 lid and backlight

Mark Andrews Mark_Andrews at isc.org
Tue Mar 21 14:04:28 UTC 2006


> Mark Andrews <Mark_Andrews at 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

	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.

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the freebsd-acpi mailing list