Subject: Call for testers: power management branch
To: None <>
From: Jared D. McNeill <>
List: current-users
Date: 08/03/2007 18:34:12
Heyas folks --

As some of you may know, I've spent the past few weeks plugging away at 
our power management support code. I'm now at the point where I need help 
with testing various hardware combinations.

Testing is easy! -- boot the following kernel single-user and run 'apm -d 
-z' on an ACPI-capable machine:

The code is available on the jmcneill-pm branch if you're feeling up to 
sending patches for your hardware also :-)

Ok, now for the bad news:

   * Only i386 is supported (I lack an amd64 laptop to work on this)
   * MULTIPROCESSOR kernels probably won't resume properly.
   * If a device driver spits out a 'WARNING: powerhook_establish is
     deprecated' message when it attaches, the powerhook will not be run.
     You will need to convert it to the new API; see sys/dev/ic/hpet.c for
     a simple example, and sys/dev/usb/ehci_pci.c for a typical PCI power
   * You can't suspend from X yet.

Now, what I need are reports containing the following information:

   1. Output from 'dmidecode', found in pkgsrc/sysutils/dmidecode
   2. Did NetBSD support ACPI suspend/resume before?
   3. Does suspend/resume work with this new kernel?
   4. If the system resumed, do any device drivers stop working?
   5. Any other quirks after resume?

One final note: For debugging power handlers for PCI devices, remember 
that pcictl's dump command is your friend :-)