lkml.org 
[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
Date
From
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?
Thanks,
Luming

-----Original Message-----
From: Pavel Machek [mailto:pavel@ucw.cz]
Sent: 2003?8?13? 6:58
To: Bharata B Rao
Cc: Knut Neumann; acpi-devel@lists.sourceforge.net
Subject: Re: [ACPI] device states supported by current drivers

Hi!

> >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.

Pavel
--
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.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Acpi-devel mailing list
Acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:47    [from the cache]
©2003-2011 Jasper Spaans