Sheer El-Showk schrieb:
> I haven't coded in a while and its quite late my time so maybe I'm
> being stupid but looking at the processor_idle.c file and even the
> entire drivers/acpi directory can't find any mention of state C4.  If
> you grep for C3 you get a lot of hits but C4 shows nothing.  Are you
> sure linux even support C4?

Yes, the old C0 to C3 states are handles special in ACPI (they even
have special definitions in the ACPI table). All additional c-states
are handled via the _CST method, which is queried by a seperate
function.
What I'm not sure about is: Are all of the processors deeper sleep
modes handled via the single ACPI state C4 or do we have to define
even an state C5..Cn ?

> From some observation (and the usage counter) I agree that C3 is used
> a lot and since, from the PDF file you sent a while ago, C4 saves
> about 8 watts more battery than C3 (~10 watts vs ~2 watts) I think
> this might really be important so it would be nice to see if we can
> even test this somehow.
> 
> Incidentally there is some discussion on the kernel mailing list about
> hidden c-states in Linux where someone claims that remove the USB
> module will expose additional c-states but on the MBP since this is
> needed for the keyboard this is obviously hard to even test, let alone
> apply.

The "hidden" states are only hidden, if ACPI did not expose it to Linux
(like here). The problem with USB is only, that the processors cannot
switch in the C3/C4 if there is some busmaster activity. Some USB devices
(or it's drivers) will cause this.
I do not think the keyboard will be the problem only devices that are
causing a lot of interrupts are. One candidate may be the touchpad,
because it's generating every 8 ms a data package from it's sensors.

Hopefully this problem will be solved by the USB auto-suspend-mechanism,
which are currently under development.

Regards
 Sven

-- 
 Sven Anders <[EMAIL PROTECTED]>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger
begin:vcard
fn:Sven Anders
n:Anders;Sven
org:ANDURAS AG;Research and Development
adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany
email;internet:[EMAIL PROTECTED]
title:Dipl. Inf.
tel;work:++49 (0)851 / 490 50 -0
tel;fax:++49 (0)851 / 590 50 - 55
x-mozilla-html:FALSE
url:http://www.anduras.de
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to