Testing driver suspend

From: Nate Lawson <nate_at_root.org>
Date: Thu, 24 May 2007 22:32:19 -0700
> -------- Original Message --------
> njl         2007-05-25 05:26:21 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/acpica       acpi.c 
>   Log:
>   Add a sysctl, 'debug.acpi.suspend_bounce', that causes the system to bounce
>   back in a simulated resume instead of entering the requested suspend state.
>   This helps in testing drivers separately from the acpi suspend code.  To
>   test your drivers, set debug.acpi.suspend_bounce=1 and then run
>   acpiconf -s3 (or 4).
>   
>   MFC after:      1 day
>   
>   Revision  Changes    Path
>   1.238     +8 -0      src/sys/dev/acpica/acpi.c

I've added the above sysctl in -current and will MFC soon.  The goal is
to make it easier to test driver suspend/resume methods without doing
the whole system suspend/resume process.  If your drivers are working
right, you should be able to set the sysctl and run your system normally
while doing acpiconf -s3 (or 4) in a loop.

Please test and report any driver bugs found to the list.  Since acpi is
not involved at this point, bugs found should not be acpi bugs.

-- 
Nate
Received on Fri May 25 2007 - 03:32:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC