* Howto switch system/CPU states?
@ 2002-11-04 6:02 Happy Camper
[not found] ` <20021104060200.95943.qmail-4PUZMmvJwkCA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Happy Camper @ 2002-11-04 6:02 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I am using 2.4.20-pre10-ac1 and an older ACPI patch for that kernel.
Things comiled fine and my processor looks like it always comes up in C2
state.
$ cat /proc/acpi/processor/CPU/power
active state: C2
default state: C1
bus master activity: ffffffff
states:
C1: promotion[C2] demotion[--] latency[000]
usage[00046380]
*C2: promotion[C3] demotion[C1] latency[001]
usage[01642565]
C3: promotion[--] demotion[C2] latency[065]
usage[00002290]
I am trying to use some very basic ACPI features with my Linux system but
have not been able to. Things on my wish list:
1. Suspend the system. I have tried echo 1 > /proc/acpi/sleep and it
locks up one of my systems while my Thinkpad tries to crash and screen
goes half blank and then hitting the power button brings it back (without
a reboot) with this error:
hwsleep-0239 [09] Acpi_enter_sleep_state: Entering S1
acpi_bus-0263 [21] acpi_bus_get_device : Error getting context for
object [c1a921c8]
2. Switch CPU C states. When I load the processor module, I get this
in the /var/log/messages :
Nov 3 16:09:25 localhost kernel: ACPI: Processor [CPU] (supports C1 C2
C3, 8 throttling states)
However I cant figure out how to switch these processor states.
I have tried pmtest from the pmtools package and it claims to be switching
system states, but the CPU states according to
/proc/acpi/processor/CPU/power
are not changing.
I admit I am newbie at this. However I have not been able to locate any
current documentation on this stuff. The Howto at :
http://www.columbia.edu/~ariel/acpi/acpi_howto.txt
is rather out of date.
I would greatly appreciate any help anybody can provide.
Thanks a million.
Atif
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <20021104060200.95943.qmail-4PUZMmvJwkCA/QwVtaZbd3CJp6faPEW9@public.gmane.org>]
* Re: Howto switch system/CPU states? [not found] ` <20021104060200.95943.qmail-4PUZMmvJwkCA/QwVtaZbd3CJp6faPEW9@public.gmane.org> @ 2002-11-04 6:57 ` Dominik Brodowski [not found] ` <20021104075706.A635-JhLEnvuH02M@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Dominik Brodowski @ 2002-11-04 6:57 UTC (permalink / raw) To: Happy Camper; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, Nov 03, 2002 at 10:02:00PM -0800, Happy Camper wrote: > 2. Switch CPU C states. When I load the processor module, I get this > in the /var/log/messages : > Nov 3 16:09:25 localhost kernel: ACPI: Processor [CPU] (supports C1 C2 > C3, 8 throttling states) > However I cant figure out how to switch these processor states. http://www.brodo.de/english/pub/acpi/proc/processor.html Dominik ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20021104075706.A635-JhLEnvuH02M@public.gmane.org>]
* Re: Howto switch system/CPU states? [not found] ` <20021104075706.A635-JhLEnvuH02M@public.gmane.org> @ 2002-11-04 7:39 ` Happy Camper 2002-11-05 1:29 ` Chris Howells 1 sibling, 0 replies; 6+ messages in thread From: Happy Camper @ 2002-11-04 7:39 UTC (permalink / raw) To: Dominik Brodowski; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Thanks a gazillion. --- Dominik Brodowski <linux-JhLEnvuH02M@public.gmane.org> wrote: > On Sun, Nov 03, 2002 at 10:02:00PM -0800, Happy Camper wrote: > > 2. Switch CPU C states. When I load the processor module, I get this > > in the /var/log/messages : > > Nov 3 16:09:25 localhost kernel: ACPI: Processor [CPU] (supports C1 > C2 > > C3, 8 throttling states) > > However I cant figure out how to switch these processor states. > > http://www.brodo.de/english/pub/acpi/proc/processor.html > > Dominik > > > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Howto switch system/CPU states? [not found] ` <20021104075706.A635-JhLEnvuH02M@public.gmane.org> 2002-11-04 7:39 ` Happy Camper @ 2002-11-05 1:29 ` Chris Howells [not found] ` <200211050128.37267.chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org> 1 sibling, 1 reply; 6+ messages in thread From: Chris Howells @ 2002-11-05 1:29 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Monday 04 November 2002 6:57 am, Dominik Brodowski wrote: > On Sun, Nov 03, 2002 at 10:02:00PM -0800, Happy Camper wrote: > > 2. Switch CPU C states. When I load the processor module, I get this > > in the /var/log/messages : > > Nov 3 16:09:25 localhost kernel: ACPI: Processor [CPU] (supports C1 C2 > > C3, 8 throttling states) > > However I cant figure out how to switch these processor states. > > http://www.brodo.de/english/pub/acpi/proc/processor.html In the current ACPI patches (e.g. without the ACPI to cpufreq stuff), does the switching CPU states have any actual effect? Thanks - -- Cheers, Chris Howells -- chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org, howells@kde.org Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9xx7dF8Iu1zN5WiwRAsn0AJ9EoirGcMcSkLgliLAL7MVaiMJQRQCgpMJs J704bcNCvAfjcNxoJy+6RhA= =UtsW -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <200211050128.37267.chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org>]
* Re: Howto switch system/CPU states? [not found] ` <200211050128.37267.chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org> @ 2002-11-05 8:35 ` Dominik Brodowski 0 siblings, 0 replies; 6+ messages in thread From: Dominik Brodowski @ 2002-11-05 8:35 UTC (permalink / raw) To: Chris Howells; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tue, Nov 05, 2002 at 01:29:01AM +0000, Chris Howells wrote: > > Hi, > > On Monday 04 November 2002 6:57 am, Dominik Brodowski wrote: > > On Sun, Nov 03, 2002 at 10:02:00PM -0800, Happy Camper wrote: > > > 2. Switch CPU C states. When I load the processor module, I get this > > > in the /var/log/messages : > > > Nov 3 16:09:25 localhost kernel: ACPI: Processor [CPU] (supports C1 C2 > > > C3, 8 throttling states) > > > However I cant figure out how to switch these processor states. > > > > http://www.brodo.de/english/pub/acpi/proc/processor.html > > In the current ACPI patches (e.g. without the ACPI to cpufreq stuff), does the > switching CPU states have any actual effect? Yes, it should. Although you don't know whether it works until you have tested it. cpufreq only offers a cross-architecture interface, device driver notification, and timer updates (so that delay() loops are correct and /proc/cpuinfo shows the right frequency). Dominik ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Howto switch system/CPU states?
@ 2002-11-05 22:41 Grover, Andrew
0 siblings, 0 replies; 6+ messages in thread
From: Grover, Andrew @ 2002-11-05 22:41 UTC (permalink / raw)
To: 'Chris Howells',
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> From: Chris Howells [mailto:chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org]
> > > Nov 3 16:09:25 localhost kernel: ACPI: Processor [CPU]
> (supports C1 C2
> > > C3, 8 throttling states)
> > > However I cant figure out how to switch these processor states.
> >
> > http://www.brodo.de/english/pub/acpi/proc/processor.html
>
> In the current ACPI patches (e.g. without the ACPI to cpufreq
> stuff), does the
> switching CPU states have any actual effect?
You don't want to use throttling states except when the processor overheats.
Your system doesn't have any performance states to speak of.
Regards -- Andy
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
^ permalink raw reply [flat|nested] 6+ messages in threadend of thread, other threads:[~2002-11-05 22:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-04 6:02 Howto switch system/CPU states? Happy Camper
[not found] ` <20021104060200.95943.qmail-4PUZMmvJwkCA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-11-04 6:57 ` Dominik Brodowski
[not found] ` <20021104075706.A635-JhLEnvuH02M@public.gmane.org>
2002-11-04 7:39 ` Happy Camper
2002-11-05 1:29 ` Chris Howells
[not found] ` <200211050128.37267.chris-NvB7AskkBIqIudiWw5vspbVCufUGDwFn@public.gmane.org>
2002-11-05 8:35 ` Dominik Brodowski
-- strict thread matches above, loose matches on Subject: below --
2002-11-05 22:41 Grover, Andrew
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox