From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 26 15:57:37 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C277375 for ; Tue, 26 Feb 2013 15:57:37 +0000 (UTC) (envelope-from ait.mlist@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id A224FC1F for ; Tue, 26 Feb 2013 15:57:36 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ec20so3947402lab.23 for ; Tue, 26 Feb 2013 07:57:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :x-operating-system:user-agent; bh=k4ynQzNhd+s2Cp3YDIkCECVssExrdA0IVR4Rvyxlqyw=; b=jNt+iqEIpWdX0JR76HCZpv9hWKdend75Np4rIh/GIal/LrbJU8qUKcmT5aGy3bqPNN XpCogoAxZMX1UKVcKiO9aRfdVfqMW9jVVFZXN1aE5ZOJs4YrgZ6kvoo+3sh+XG8eTuVU NIJGhquy/35BigntGughiKkh9fcC2CCw4O/MoKQUf7Vweei138t2vxlH6remmHWYw5UU 7S7NZjfue+4phA1hGHN+X3LcyJ0xLHnHlnOXOI3L624i8v66fBHCvkFJI5JT0S+DiPao RHKZOCJ7p/QqJ6GYKYzqqFlcaI2r2OzKVlsAKGwfoyYVjSam0nLKY7JBaaC0n1c6Dtos fdmA== X-Received: by 10.112.28.4 with SMTP id x4mr333282lbg.33.1361894255557; Tue, 26 Feb 2013 07:57:35 -0800 (PST) Received: from a3500l ([5.139.104.181]) by mx.google.com with ESMTPS id z1sm669447lbk.2.2013.02.26.07.57.31 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 26 Feb 2013 07:57:34 -0800 (PST) Received: by a3500l (sSMTP sendmail emulation); Tue, 26 Feb 2013 19:57:30 +0400 Date: Tue, 26 Feb 2013 19:57:30 +0400 From: Dmitry Sarkisov To: Kevin Oberman Subject: Re: acpi_termal sysctl interface strange temperature value Message-ID: <20130226155730.GA5335@aperturescience.org> References: <20130225014000.GA6413@aperturescience.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-RELEASE i386 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 15:57:37 -0000 On 25-02-2013, Mon [22:03:28], Kevin Oberman wrote: > As others have noted, the value you are seeing is 100C, not 55C. So I have > no idea what is going on. > Actually you were right from the beginning. I managed to get the correct value this way, after reading some wiki :) float c; c = (t/10-273.15); /* convert to Celsius */ Thanks for comments everybody. -- Dmitry Sarkisov <-\ Powered by <-------------------o <-/ FreeBSD