Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2005 01:26:14 +0100
From:      Pawel Worach <pawel.worach@telia.com>
To:        Nate Lawson <nate@root.org>
Cc:        acpi@freebsd.org
Subject:   Re: HEADSUP: cpufreq import complete, acpi_throttling changed
Message-ID:  <4206B5A6.20100@telia.com>
In-Reply-To: <42068A5C.1030300@root.org>
References:  <42068A5C.1030300@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson wrote:
> I've finished the major work of importing cpufreq.  As part of this, the 
> sysctls for acpi throttling have been removed.  The power_profile script 
> has been updated, so you can use performance/economy_cpu_freq= in 
> rc.conf to set AC on/offline cpu frequencies.  The acpi throttling 
> support has been compiled into acpi_perf.ko so load that to get 
> throttling.  Do a sysctl dev.cpu to get an understanding of the cpufreq 
> sysctls.
> 

Tried this on my ThinkPad T41, seems to work great except I managed to produce
this message one time.

-- Power is plugged in here, freq=1700
acpi_acad0: Off Line
cpu0: Performance states changed
-- Power unplugged, power_profile adjusted freq to 75 :)
acpi_acad0: On Line
-- Power reconnected, freq stayed at 75
acpi_perf0: Px transition to 1700 failed
acpi_perf0: set freq failed, err 6
stray irq7
stray irq7
stray irq7
stray irq7
too many stray irq 7's: not logging anymore
cpu0: Performance states changed
-- Manually pushed freq back to 1700 without problems

CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x695  Stepping = 5

# sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU (3 Cx states)
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU_
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 1700
dev.cpu.0.freq_levels: 1700/24500 1487/21437 1400/19500 1275/18375 1225/17062 
1200/16000 1062/15312 1000/13000 900/12000 875/12187 850/12250 800/9500 
750/10000 700/9750 637/9187 600/6000 525/7312 500/6500 450/6000 425/6125 
400/4750 375/4875 350/4875 300/4000 250/3250 212/3062 175/2437 150/2000 125/1625 
100/1187 75/750

Both acpi_perf.ko and cpufreq.ko loaded.

-- 
Pawel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4206B5A6.20100>