Skip to contentSkip to conversation

CONFIG_SOFTWARE_SUSPEND

DISCUSSION Knut Neumann 2 participants 2 messages Aug 4, 2003 – Aug 5, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I started to have some look into how S3/S4 work with 2.5/2.6 to (hopefully) resolve my S3 problems. Now I stumbled across the following in drivers/acpi/s

#ifdef CONFIG_SOFTWARE_SUSPEND
	case ACPI_STATE_S2:
	case ACPI_STATE_S3:
		do_suspend_lowlevel(0);
		break;

#endifleep/main.c:

To my understanding swsusp is some non-bios-supported method to realize S4. This view is given as well in kernel configs help text. So why do S2/S3 depend on swsusp? And CONFIG_ACPI_SLEEP as well?

Sorry, if this is too stupid.

Regards
-knut

Signature · 20 lines
Knut Neumann <[email protected]>
Physikalische Grundpraktika - Heinrich-Heine Universitaet Duesseldorf
Raum 25.33.01.63  -   Universitaetsstrasse 1   -  D-40225 Duesseldorf
fon: +49-211-81-11314                           fax: +49-211-81-13105











-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi!

Quoted 9 lines

I started to have some look into how S3/S4 work with 2.5/2.6 to (hopefully) resolve my S3 problems. Now I stumbled across the following in drivers/acpi/s

#ifdef CONFIG_SOFTWARE_SUSPEND
	case ACPI_STATE_S2:
	case ACPI_STATE_S3:
		do_suspend_lowlevel(0);
		break;
Quoted 5 lines

#endifleep/main.c:

To my understanding swsusp is some non-bios-supported method to realize S4. This view is given as well in kernel configs help text. So why do S2/S3 depend on swsusp? And CONFIG_ACPI_SLEEP as well?

These two used to depend on each other. We are now fixing that mess.

Quoted 1 line

Sorry, if this is too stupid.

It is not.

Signature · 10 lines
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01