public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* can't switch CPU frequency while running on battery power
@ 2004-01-01 11:45 Defiant
       [not found] ` <32886.192.168.36.2.1072957501.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Defiant @ 2004-01-01 11:45 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

I can easily switch my CPU frequency between 1,2 and 1,6 Ghz while running
with the ac adapter with
echo "1200000:1600000:powersave" > /proc/cpufreq
and
echo "1200000:1600000:performance" > /proc/cpufreq

Maybe using the cpufreq will do the same - I don't know (see below)

Now a cat /proc/cpuinfo shows me, that my command was successful.
Now If I disconnect the ac adapter and the laptop is running only from
battery it doesn't work anymore. I can do a echo everything want I want to
/proc/cpufreq - it is doing nothing - looking at /proc/cpuinfo the Laptop
is always running with 1.6Ghz - that is full power for me.

I dunno if it is important, but at bootime I get this message:
cpufreq: No CPUs supporting ACPI performance management found.
and /proc/acpi/processor/CPU0/performance is not available - even I
enabled it (CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y).

Well - I hope someone is able to help me - AND a happy new year :)

Erik Andresen

/info:
------
I'm running linux kernel 2.6.0-mm2 on a Sony Vaio PCG-NV105.
My cpu is a
model name      : Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
and my kernel .config:

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_RELAXED_AML is not set
# CONFIG_X86_PM_TIMER is not set
#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
CONFIG_X86_SPEEDSTEP_ICH=y
# CONFIG_X86_SPEEDSTEP_SMI is not set
CONFIG_X86_SPEEDSTEP_LIB=y
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

--

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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-01 11:45 can't switch CPU frequency while running on battery power Defiant
     [not found] ` <32886.192.168.36.2.1072957501.squirrel-4AGA6j5e2AhmdDG0eupGX0B+6BGkLq7r@public.gmane.org>
2004-01-03 15:39   ` Yury V. Umanets

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox