Subject: Call for testers: i386 ACPI suspend/resume support
To: None <current-users@NetBSD.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: current-users
Date: 06/17/2006 21:37:28
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
     suspend/resume.
   * Did it resume and (mostly) work? Did it resume but the display adapter
     didn't re-initialize?
   * If you have resumed, do any device drivers no longer work?

To run the test, I use the following script:

   #!/bin/sh

   /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

Thanks,
Jared

[*] 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.