Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 05:36:10 +1000
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        Lyndon Nerenberg <lyndon@orthanc.ca>
Cc:        mobile@freebsd.org
Subject:   Re: Dell laptops 
Message-ID:  <200607111936.k6BJaAaL001323@drugs.dv.isc.org>
In-Reply-To: Your message of "Tue, 11 Jul 2006 11:53:52 CST." <20060711114633.G67466@orthanc.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help

> > What are the current problems, if any, on current Dell laptops have
> > with FreeBSD?
> 
> Latitude D610
> 
> Working:  bge, x.org, audio.
> 
> Broken: apm, acpi (none of the buttons work -- not even the lid-close 
> button) (well, the screen brightness controls work), no acpi video dpms, 
> battery life sucks (just over an hour), onboard (1370?) wireless not seen 
> (DWL-G650 in Cardbus slot works fine), no suspend.
> 
> Untested: dock, external video.
> 
> --lyndon
> _______________________________________________
> freebsd-mobile@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"

	This should help w/ the lid button.

	Mark

The following from Mark Diekhans <markd@kermodei.com> helped.

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

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



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