Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 22:32:19 -0700
From:      Nate Lawson <nate@root.org>
To:        current <current@freebsd.org>
Cc:        acpi@freebsd.org
Subject:   Testing driver suspend
Message-ID:  <465674E3.5080008@root.org>

next in thread | raw e-mail | index | archive | help
> -------- 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



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