From owner-freebsd-current@FreeBSD.ORG Wed Sep 12 17:28:58 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32E4716A418; Wed, 12 Sep 2007 17:28:58 +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 749B213C4B4; Wed, 12 Sep 2007 17:28:57 +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 39392691094; Wed, 12 Sep 2007 18:32:44 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 05AD9691120; Wed, 12 Sep 2007 18:32:44 +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=-0.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_XBL autolearn=no version=3.1.7 Received: from epsilon.local (unknown [62.169.80.144]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id 0EF1A69111E; Wed, 12 Sep 2007 18:32:38 +0100 (WEST) Message-ID: <46E821C2.5090505@fnop.net> Date: Wed, 12 Sep 2007 18:28:34 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Harald Schmalzbauer References: <200708210339.l7L3dUX0038042@repoman.freebsd.org> <200708260054.42892.h.schmalzbauer@omnisec.de> <46D0BEEF.1020601@FreeBSD.org> <200709112348.07052.h.schmalzbauer@omnisec.de> In-Reply-To: <200709112348.07052.h.schmalzbauer@omnisec.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Shteryana Shopova , freebsd-current@freebsd.org, "Constantine A. Murenin" Subject: Re: GSoC2007: cnst-sensors.2007-08-20.patch 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: Wed, 12 Sep 2007 17:28:58 -0000 Harald Schmalzbauer wrote: > I had only tested some newer hardware with core2 CPU (E6750) and coretemp > doesn't report correct values for that CPU (25°C, this is at least 10° > difference) and the boards doesn't neccessarily have a HW monitor chip, so I > haven't reported anything yet. Well, at that time, your CPU was at 25 or 40 degC (the register value was 60). The problem relies on detecting the junction temperature. Temperature = Register Value - Junction Temperature. Junction Temperature = 100 or 85. If you think the correct temperature is 40 degC, you might want to change the if clause for detecting the junction temperature. Could you please show the contents of the cpu_model and cpu_mask variable? -- Rui Paulo