From owner-freebsd-current@FreeBSD.ORG Sun Mar 1 16:33:04 2009 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 7A4A5106566C; Sun, 1 Mar 2009 16:33:04 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id CA89F8FC0C; Sun, 1 Mar 2009 16:33:03 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so356632eyd.7 for ; Sun, 01 Mar 2009 08:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=zqT808FVIy+uI1L2SpeamBUn2APQFxREROD1L+lsLJI=; b=l8fJMFhHBYeZh6AQbDpj7T68fog66laZPwZbROIjN4TDVMuMt9A2H413yEgv1agI5K phyzsmTMnzRd9QKzZbyfJmIP78ANXd7PeJsztP54DgtrmpISIliDL6bWYxzFC9TpIKgu l/X8BBytTmEK9dnmt0nELswcT6+nD7siO1I70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=XEy9BQzSjgNSD2CVbqnJo3XpCCgGBvhr6vvnGnrV8AwZYct1vSX+CkVUkL7ojCISuU n/EZ5ieRoG+y7U6COPrh3LinVkSMsw5psslr7JduhQI+KEnyNoFGrWe56bErNON49rtn ckG2mtjem5eGbfnsLZlxxxLGbUz21h0HVHyq4= Received: by 10.210.82.2 with SMTP id f2mr2415067ebb.55.1235925182784; Sun, 01 Mar 2009 08:33:02 -0800 (PST) Received: from epsilon.lan (bl6-147-236.dsl.telepac.pt [82.155.147.236]) by mx.google.com with ESMTPS id 28sm3387152eyg.35.2009.03.01.08.33.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Mar 2009 08:33:02 -0800 (PST) Sender: Rui Paulo Message-Id: <87F4F8E8-CB5A-476D-A57B-A3EBF44272EF@FreeBSD.org> From: Rui Paulo To: Norikatsu Shigemura In-Reply-To: <20090302003904.12d683c1.nork@FreeBSD.org> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-4--80060867" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 1 Mar 2009 16:32:56 +0000 References: <20090301181631.d2e3c89e.nork@FreeBSD.org> <554FEBB3-CB69-4502-9728-C4735B29F784@FreeBSD.org> <20090301234328.9aa4237c.nork@FreeBSD.org> <69C4F850-1DCC-4E15-84E7-1B0E7C656CE6@FreeBSD.org> <20090302003904.12d683c1.nork@FreeBSD.org> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.930.3) Cc: freebsd-current@FreeBSD.org Subject: Re: ktemp(8) on Phenom II 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: Sun, 01 Mar 2009 16:33:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-4--80060867 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 1 Mar 2009, at 15:39, Norikatsu Shigemura wrote: > Hi Rui! > > On Sun, 1 Mar 2009 15:05:08 +0000 > Rui Paulo wrote: >>> Accordingly BIOS reports CPU temperature is 32-36 celsius >>> (=89-97 fahrenheit). I don't know what is '143'. >> I see that AMD has changed the register layout on recent processors. >> I'll try to cook up something when I have the time. > > Thank you. I'm waiting for your works! :D http://groups.google.com/group/alt.os.linux/browse_thread/thread/b282c7410fd88d61 This is basically what one needs to do. You can see the register offset and the bitmask that's needed to fetch the temperature. Note that I don't really want to see another driver just for this. -- Rui Paulo --Apple-Mail-4--80060867 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkmquLgACgkQfD8M/ASTygIc+wCfWiElsUrRbIJUW5z6lkpWDqeW 4ogAn3YG/F9HPHg505VQpWe+MdrrD2kv =7Q+d -----END PGP SIGNATURE----- --Apple-Mail-4--80060867--