Subject: Re: Call for testers: i386 ACPI suspend/resume support
To: Jared D. McNeill <email@example.com>
From: Garrett D'Amore <firstname.lastname@example.org>
Date: 06/17/2006 18:48:55
Maybe its time for me to take a long hard look at the power management
in NetBSD and try to make it work well on our SPARC laptops. Would
anyone even notice if I did though? Hmmm....
Jared D. McNeill wrote:
> Hey folks --
> A lot of work has gone on recently in the i386 ACPI support code to
> allow for suspend/resume using ACPI. So far, we've had success with
> Dell[*], Sony, and IBM laptops.
> Success/error reports would be great. The following information would
> be very useful:
> * Make and model of your laptop.
> * Full dmesg.
> * Using sysutils/pciutil, the output of 'lspci -xxx' before and after
> * Did it resume and (mostly) work? Did it resume but the display
> didn't re-initialize?
> * If you have resumed, do any device drivers no longer work?
> To run the test, I use the following script:
> /etc/rc.d/ntpd stop
> /etc/rc.d/dhclient stop
> /etc/rc.d/network stop
> sysctl -w machdep.sleep_state=3
> # ... waking up
> sleep 5
> /etc/rc.d/network start
> /etc/rc.d/dhclient start
> /etc/rc.d/ntpdate start
> /etc/rc.d/ntpd start
> [*] My Latitude D600 doesn't reinitialize the display properly unless it
> goes to sleep while docked. A workaround is to enable a BIOS password
> so the firmware reinitializes the display adapter (to ask for
> password) before the wakecode is run.
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
Phone: 951 325-2134 Fax: 951 325-2191