[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [ACPI] device states supported by current drivers
I think device states will not be supported in 2.4 kernel, And It could be found in 2.6 kernel. 
Who know the current status?

-----Original Message-----
From: Pavel Machek []
Sent: 2003?8?13? 6:58
To: Bharata B Rao
Cc: Knut Neumann;
Subject: Re: [ACPI] device states supported by current drivers


> >Am Mo, 2003-08-11 um 03.28 schrieb Bharata B Rao:
> >>
> >>Are there any device drivers in 2.4/2.6 kernels which actually support
> >>different low power states as defined by ACPI ? The reason I ask is I
> >>can't really see any device actually implementing the new driver model
> >>suspend routine which is used by ACPI.
> >
> >
> >What about the e100 driver? See drivers/net/e100/e100_main.c
> >
> Ok, I can see that now. Thanks.
> Two more dumb questions (sorry for asking them here in devel list)
> 1. When a particular sleep state (S1 - S5) is entered via
> /proc/acpi/sleep, the devices are put to one of the D states (D0 - D3)
> From the code (device_suspend, e100_suspend, pci_set_power_state), it
> looks like the sleep states (Sx) are directly translated to device
> states (Dx) when it comes to device suspend. i,e., when I say enter S2,
> it will lead to device entering to D2. Is this how it should be ?

I believe suspend() function parameters are expected to tell you *S*
state we are entering. I do not see code that enables drivers to enter
D0 vs. D1 vs. D2 vs D3. I guess it is not there.

When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

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.;at.aspnet_072303_01/01
Acpi-devel mailing list
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.023 / U:2.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site