All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: can't switch CPU frequency while running on batterypower
@ 2004-01-05  2:30 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C76-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org >
  0 siblings, 1 reply; 9+ messages in thread
From: Yu, Luming @ 2004-01-05  2:30 UTC (permalink / raw)
  To: Yury V. Umanets, Defiant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> CONFIG_X86_ACPI_CPUFREQ=y
> CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y

Please try patch filed at
http://bugzilla.kernel.org/show_bug.cgi?id=1489

--Luming


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C76-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org >
@ 2004-01-06 18:07   ` Defiant
       [not found]     ` <32908.192.168.36.2.1073412456.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Defiant @ 2004-01-06 18:07 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>> CONFIG_X86_ACPI_CPUFREQ=y
>> CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
>
> Please try patch filed at
> http://bugzilla.kernel.org/show_bug.cgi?id=1489

Tried the patch, but it didn't solved the Problem.

Well at least I found out some more Info about.
My full speed is 1600, low speed is 1200Mhz:

When running on AC Adapter, I can switch the speed as often as I want.
So If I set it to 1200 and then disconnect the AC, I can also switch
between both speeds under battery power. Now If it is 1200 and I connect
the AC I can not set it back to 1600.
Well like I said in my preceding post it is the same: Running with AC,
speed set to 1600, disconnecting the AC, I can not set the speed down to
1200.

Hope that this wasn't that complicated (in my bad English),
Erik Andresen

--

All I ask is a tall ship, and a star to steer her by
> defiant.homedns.org <
 -cause Experience is Knowledge



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
       [not found]     ` <32908.192.168.36.2.1073412456.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
@ 2004-01-06 18:42       ` Nate Lawson
       [not found]         ` <20040106103944.Q26693-Y6VGUYTwhu0@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Nate Lawson @ 2004-01-06 18:42 UTC (permalink / raw)
  To: Defiant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 6 Jan 2004, Defiant wrote:
> >> CONFIG_X86_ACPI_CPUFREQ=y
> >> CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
> >
> > Please try patch filed at
> > http://bugzilla.kernel.org/show_bug.cgi?id=1489
>
> Tried the patch, but it didn't solved the Problem.
>
> Well at least I found out some more Info about.
> My full speed is 1600, low speed is 1200Mhz:
>
> When running on AC Adapter, I can switch the speed as often as I want.
> So If I set it to 1200 and then disconnect the AC, I can also switch
> between both speeds under battery power. Now If it is 1200 and I connect
> the AC I can not set it back to 1600.
> Well like I said in my preceding post it is the same: Running with AC,
> speed set to 1600, disconnecting the AC, I can not set the speed down to
> 1200.

This is most likely a problem with re-evaluation of _PSS after it has been
changed.  I don't remember if Linux uses the notify on the processor
object to re-evaluate _PSS.  If Linux does this correctly, it may be that
the underlying firmware has a bug and you should use a more specific
cpufreq driver (i.e. SpeedStep or whatever).  Some systems have a problem
where they don't properly export firmware information to the ACPI
performance states interface.

-Nate


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
       [not found]         ` <20040106103944.Q26693-Y6VGUYTwhu0@public.gmane.org>
@ 2004-01-06 20:29           ` Defiant
       [not found]             ` <32785.192.168.36.2.1073420997.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Defiant @ 2004-01-06 20:29 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> This is most likely a problem with re-evaluation of _PSS after it has been
> changed.  I don't remember if Linux uses the notify on the processor
> object to re-evaluate _PSS.  If Linux does this correctly, it may be that
> the underlying firmware has a bug and you should use a more specific
> cpufreq driver (i.e. SpeedStep or whatever).  Some systems have a problem
> where they don't properly export firmware information to the ACPI
> performance states interface.
>
> -Nate
>

uhm, I don't know why, but it is working now, using
CONFIG_X86_P4_CLOCKMOD instead of CONFIG_X86_SPEEDSTEP_ICH, even it is a
Pentium 4m, not Pentium 4.

I hope that someone with the same Problem will read this.

thanks for your help,

Erik Andresen

--

All I ask is a tall ship, and a star to steer her by
> defiant.homedns.org <
 -cause Experience is Knowledge



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
       [not found]             ` <32785.192.168.36.2.1073420997.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
@ 2004-01-06 21:39               ` Nate Lawson
       [not found]                 ` <20040106133725.E27491-Y6VGUYTwhu0@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Nate Lawson @ 2004-01-06 21:39 UTC (permalink / raw)
  To: Defiant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 6 Jan 2004, Defiant wrote:
> Nate Lawson wrote:
> > This is most likely a problem with re-evaluation of _PSS after it has been
> > changed.  I don't remember if Linux uses the notify on the processor
> > object to re-evaluate _PSS.  If Linux does this correctly, it may be that
> > the underlying firmware has a bug and you should use a more specific
> > cpufreq driver (i.e. SpeedStep or whatever).  Some systems have a problem
> > where they don't properly export firmware information to the ACPI
> > performance states interface.
>
> uhm, I don't know why, but it is working now, using
> CONFIG_X86_P4_CLOCKMOD instead of CONFIG_X86_SPEEDSTEP_ICH, even it is a
> Pentium 4m, not Pentium 4.

Sure.  In general, it's better to use a hw-specific cpufreq driver instead
of the generic ACPI one, even if the latter seems to work.  Many chipsets
don't export the hw-specific information to ACPI correctly and thus ACPI
performance states cpufreq should be a last resort.  If they still don't
work, you should try multiple hw-specific drivers, as you did.

-Nate


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: can't switch CPU frequency while running on batterypower
       [not found]                 ` <20040106133725.E27491-Y6VGUYTwhu0@public.gmane.org>
@ 2004-01-07 15:55                   ` Ducrot Bruno
  0 siblings, 0 replies; 9+ messages in thread
From: Ducrot Bruno @ 2004-01-07 15:55 UTC (permalink / raw)
  To: Nate Lawson; +Cc: Defiant, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, Jan 06, 2004 at 01:39:44PM -0800, Nate Lawson wrote:
> On Tue, 6 Jan 2004, Defiant wrote:
> > Nate Lawson wrote:
> > > This is most likely a problem with re-evaluation of _PSS after it has been
> > > changed.  I don't remember if Linux uses the notify on the processor
> > > object to re-evaluate _PSS.  If Linux does this correctly, it may be that
> > > the underlying firmware has a bug and you should use a more specific
> > > cpufreq driver (i.e. SpeedStep or whatever).  Some systems have a problem
> > > where they don't properly export firmware information to the ACPI
> > > performance states interface.
> >
> > uhm, I don't know why, but it is working now, using
> > CONFIG_X86_P4_CLOCKMOD instead of CONFIG_X86_SPEEDSTEP_ICH, even it is a
> > Pentium 4m, not Pentium 4.
> 
> Sure.  In general, it's better to use a hw-specific cpufreq driver instead
> of the generic ACPI one, even if the latter seems to work.  Many chipsets
> don't export the hw-specific information to ACPI correctly and thus ACPI
> performance states cpufreq should be a last resort.  If they still don't
> work, you should try multiple hw-specific drivers, as you did.
> 

What is strange though is that speedstep-ich is a non-acpi driver.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
@ 2004-01-12  6:39 Yu, Luming
  0 siblings, 0 replies; 9+ messages in thread
From: Yu, Luming @ 2004-01-12  6:39 UTC (permalink / raw)
  To: Defiant, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> 
> 
> > When switching between AC and battery, _PPC method may 
> return a different
> > P-state limit. Please verify if 'cat 
> /proc/acpi/processor/CPU0/limit' is
> > different under the two situations.
> >
> > Thanks,
> > Shaohua
> 
> No, it is not different.
> I get both times
> 
> active limit:            P0:T0
> platform limit:          P0:T0
> user limit:              P0:T0
> thermal limit:           P0:T0
> 
> I guess, this is not good?

Did you find any warning or error message in boot log?
Maybe there are some potential ACPI bug.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
       [not found] ` <571ACEFD467F7749BC50E0A98C17CDD8E84E7A-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-01-08  6:15   ` Defiant
  0 siblings, 0 replies; 9+ messages in thread
From: Defiant @ 2004-01-08  6:15 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> When switching between AC and battery, _PPC method may return a different
> P-state limit. Please verify if 'cat /proc/acpi/processor/CPU0/limit' is
> different under the two situations.
>
> Thanks,
> Shaohua

No, it is not different.
I get both times

active limit:            P0:T0
platform limit:          P0:T0
user limit:              P0:T0
thermal limit:           P0:T0

I guess, this is not good?

Erik Andresen


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: can't switch CPU frequency while running on batterypower
@ 2004-01-07  0:42 Li, Shaohua
       [not found] ` <571ACEFD467F7749BC50E0A98C17CDD8E84E7A-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Li, Shaohua @ 2004-01-07  0:42 UTC (permalink / raw)
  To: Defiant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

When switching between AC and battery, _PPC method may return a different P-state limit. Please verify if 'cat /proc/acpi/processor/CPU0/limit' is different under the two situations.

Thanks,
Shaohua


> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Defiant
> Sent: 2004年1月7日 2:08
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: RE: [ACPI] can't switch CPU frequency while running on
> batterypower
> 
> >> CONFIG_X86_ACPI_CPUFREQ=y
> >> CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
> >
> > Please try patch filed at
> > http://bugzilla.kernel.org/show_bug.cgi?id=1489
> 
> Tried the patch, but it didn't solved the Problem.
> 
> Well at least I found out some more Info about.
> My full speed is 1600, low speed is 1200Mhz:
> 
> When running on AC Adapter, I can switch the speed as often as I want.
> So If I set it to 1200 and then disconnect the AC, I can also switch
> between both speeds under battery power. Now If it is 1200 and I connect
> the AC I can not set it back to 1600.
> Well like I said in my preceding post it is the same: Running with AC,
> speed set to 1600, disconnecting the AC, I can not set the speed down to
> 1200.
> 
> Hope that this wasn't that complicated (in my bad English),
> Erik Andresen
> 
> --
> 
> All I ask is a tall ship, and a star to steer her by
> > defiant.homedns.org <
>  -cause Experience is Knowledge
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-01-12  6:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05  2:30 can't switch CPU frequency while running on batterypower Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C76-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org >
2004-01-06 18:07   ` Defiant
     [not found]     ` <32908.192.168.36.2.1073412456.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
2004-01-06 18:42       ` Nate Lawson
     [not found]         ` <20040106103944.Q26693-Y6VGUYTwhu0@public.gmane.org>
2004-01-06 20:29           ` Defiant
     [not found]             ` <32785.192.168.36.2.1073420997.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
2004-01-06 21:39               ` Nate Lawson
     [not found]                 ` <20040106133725.E27491-Y6VGUYTwhu0@public.gmane.org>
2004-01-07 15:55                   ` Ducrot Bruno
2004-01-07  0:42 Li, Shaohua
     [not found] ` <571ACEFD467F7749BC50E0A98C17CDD8E84E7A-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-01-08  6:15   ` Defiant
2004-01-12  6:39 Yu, Luming

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.