From: Nate L. <na...@ro...> - 2004-04-09 22:58:59
|
On Fri, 9 Apr 2004, Dominik Brodowski wrote: > Do you know, by chance, if FreeBSD's resume process from S3 equals > acpi_sleep=s3_mode, s3_bios or none of these special hacks? > > Many thanks, > Dominik I don't actually know what those flags do on Linux. You can see the path taken for suspend/resume by following these functions in the linked files: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/acpica/acpi.c?rev=1.136&content-type=text/plain acpi_SetSleepState() http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/i386/acpica/acpi_wakeup.c?rev=1.31&content-type=text/plain acpi_sleep_machdep() [sleep S3, wakeup] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/i386/acpica/acpi_wakecode.S?rev=1.9 acpi wakecode runs and returns to acpi_restorecpu() (in acpi_wakeup.c) We just committed code to save/restore BARs for PCI devices. That should fix some problems. We support _PRW/_PSW so lid switch wakes devices. Things left to do include _SxD support and I think there are some problems with the ACPI-CA path for suspend/resume (i.e. it doesn't always clear wake status). -Nate |