Powerd not working with C2D CPUs ?

Kevin Oberman oberman at es.net
Sat Oct 20 16:29:40 PDT 2007


> Date: Sat, 20 Oct 2007 15:39:44 +0200
> From: Zoran Kolic <zkolic at sbb.co.yu>
> Sender: owner-freebsd-mobile at freebsd.org
> 
> > root at Rena.FStaals.net:/usr/obj/usr/src/sys/GENERIC  i386
> > 
> > dev.cpu.0.freq_levels: 2001/32000 2000/31000 1750/27125 1600/22000 
> > 1400/19250 1200/13000 1050/11375 900/9750 800/10000 700/8750 600/7500 
> > 500/6250 400/5000 300/3750
> > dev.cpufreq.0.%driver: cpufreq
> 
> Interesting. So, cpufreq is now part of generic kernel?
> If not, how did you get here?
> I saw reports on this list regarding c2d cpus. Current
> was 7. Could you describe bios options, since a lot of
> people concider such laptop in near future?

Nope. cpufreq still must be added or loaded. Some laptops (including my
T43 with updated BIOS) seem to show this and powerd works on them
without powerd. If I load powerd, I lose all of the energy values and
ACPI thinks that the top CPU speed is 1500, not 2000. In other words,
loading cpufreq breaks power management. 

It also sets the top speed at 800MHz when on battery, although I have
confirmed that, if set to 2G, it runs at 2G. But powerd will limit the
system to the "advertised" 800M. Powerd works fine in this configuration,
but gets confused at time about whether to use battery or AC settings. I
have not had time to track this down, but I have run powerd with debug
and it sometimes seems to miss power state transitions.

I really don't understand how this is working, but it does. It started
when the latest Intel ACPI code was placed into -current. Guess it can
now do some stuff without cpufreq.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20071020/b12f08a2/attachment.pgp


More information about the freebsd-mobile mailing list