From owner-freebsd-current@FreeBSD.ORG Tue May 15 12:15:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C83316A405; Tue, 15 May 2007 12:15:13 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2C213C44C; Tue, 15 May 2007 12:15:12 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id E8DD668FEBB; Tue, 15 May 2007 13:14:45 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id A8B4669097F; Tue, 15 May 2007 13:14:45 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.7 Received: from epsilon.local.fnop.net (unknown [193.136.24.152]) by core.fnop.net (Postfix) with ESMTP id D39B368FEBB; Tue, 15 May 2007 13:14:44 +0100 (WEST) Date: Tue, 15 May 2007 13:14:53 +0100 Message-ID: <864pmel1vm.wl%rpaulo@fnop.net> From: Rui Paulo To: Harald Schmalzbauer In-Reply-To: <200705151351.53363.h.schmalzbauer@omnisec.de> References: <42BC519E.8010309@satro.sk> <200705151247.19122.h.schmalzbauer@omnisec.de> <86646ul54p.wl%rpaulo@fnop.net> <200705151351.53363.h.schmalzbauer@omnisec.de> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org, Colin Percival Subject: Re: cpufreq & enhanced speedstep X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 12:15:13 -0000 At Tue, 15 May 2007 13:51:52 +0200, Harald Schmalzbauer wrote: > I did (I had to copy src/backlight and src/msrtemp to src/sys/dev/ and=20 > src/sys/modules/). The patch should be applied with CWD =3D=3D src/sys. > Here is what I get when I load the module: > msrtemp0: on cpu0 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 928092806000928 > device_attach: est1 attach returned 6 > msrtemp1: on cpu1 >=20 > But these values are too high, my BIOS tells me ~50=B0C: > dev.cpu.0.temperature: 68 > dev.cpu.1.temperature: 69 Well, the digital readout is relative to maximum Thermal Junction (Tj(max)). So, the calculation is: Tj(max) - digital readout. On some systems Tj(max) is 100, on others is 85, but there's no know way to detect this realiably. Linux does a trick and I'm still investigating whether or not to apply it. It seems that your CPU's Tj(max) is 85 and not 100. 100-32 =3D 68 85-32 =3D 53 > Is there anything I can do to correct the ACPI table for the right power = > values of my CPU? Not likely. As Colin said, it would probably require an NDA to give you all the values. -- Rui Paulo