Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2007 16:29:36 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Zoran Kolic <zkolic@sbb.co.yu>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Powerd not working with C2D CPUs ? 
Message-ID:  <20071020232936.0B19045010@ptavv.es.net>
In-Reply-To: Your message of "Sat, 20 Oct 2007 15:39:44 %2B0200." <20071020133944.GB826@faust.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1192922976_61216P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Sat, 20 Oct 2007 15:39:44 +0200
> From: Zoran Kolic <zkolic@sbb.co.yu>
> Sender: owner-freebsd-mobile@freebsd.org
> 
> > root@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@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1192922976_61216P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFHGo9fkn3rs5h7N1ERAqb0AJ0VBXCWlj48f+MCCbzo7YQfu8MsvQCfbprx
KtTdXJBYWGKPiYZ6iXSV2TA=
=W4GS
-----END PGP SIGNATURE-----

--==_Exmh_1192922976_61216P--



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