From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 26 03:54:57 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AD007EE9 for ; Tue, 26 Feb 2013 03:54:57 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ia0-x22a.google.com (mail-ia0-x22a.google.com [IPv6:2607:f8b0:4001:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 82317A7C for ; Tue, 26 Feb 2013 03:54:57 +0000 (UTC) Received: by mail-ia0-f170.google.com with SMTP id k20so3170270iak.29 for ; Mon, 25 Feb 2013 19:54:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=heaJSQRwwwQtive5r4b7TAN38qojFRnDnfw24ZgEmG4=; b=BK3mdZbs2wGik7p/r92x0KeWpc0PuVseAnQ+KMuvyD8R4ASOXc7Gv+LTTcV5cmmGnC 0hZIoHx1FDOe9dOpIm70qZnpZ/JVtsF41witpMLbi6TygxXRL22hHK3XrkBK76l1hJ9d 1b30ROaDaMp+E3VhIPPrXBn6Iol9/ZmNyfdKkrGYqWIXrlVAfZz16ykWb0I355riqVIw Xpd04SX/eJEP8Yd5zb1t/qnbM2CNxLv33EtJO528TThIG64bLrrivL6IfI9XOird6VJI g7i98lXj5yGJmqL6vzJnWWWBZMcc6wNJ5N+dYQgV04q73MLGuczJFDqbpsJJgxKKeQF+ TihA== MIME-Version: 1.0 X-Received: by 10.50.36.199 with SMTP id s7mr4731076igj.56.1361850897149; Mon, 25 Feb 2013 19:54:57 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.64.20.166 with HTTP; Mon, 25 Feb 2013 19:54:57 -0800 (PST) In-Reply-To: <20130225071929.GM28792@uriah.heep.sax.de> References: <20130225014000.GA6413@aperturescience.org> <20130225071929.GM28792@uriah.heep.sax.de> Date: Mon, 25 Feb 2013 19:54:57 -0800 X-Google-Sender-Auth: Wwj4TAuixyBxf_7_X1cRDRu3GR4 Message-ID: Subject: Re: acpi_termal sysctl interface strange temperature value From: Kevin Oberman To: Joerg Wunsch Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 03:54:57 -0000 On Sun, Feb 24, 2013 at 11:19 PM, Joerg Wunsch wrote: > As Kevin Oberman wrote: > > > > Values I'm geting are like this: > > > 3732 > > > > > > while actual is: > > > > > > sysctl -n hw.acpi.thermal.tz0.temperature > > > 55.0C > > > > > > ACPI does not report temperature in degrees Celsius, but in tenths > > of a degree Kelvin. So both agree. > > I wouldn't call it an agreement if one reports 373 K (=3D 100 =C2=B0C), > and the other one 55 =C2=B0C ... > > (Btw., according to SI, Kelvin is a normal unit of measure, without > the "degree".) > -- > cheers, Joerg .-.-. --... ...-- -.. . DL8DTL > Ack! I should have actually LOOKED at the numbers. Silly mistake. But I just looked at the source and ACPI does report temperature in tenths of a degree Kelvin, so I am now baffled as to what is going on. Sorry, but SI or not, "tenths of a Kelvin" is just wrong. Actually, the time you should properly omit the 'degrees' is when specifying a temperature as in 373 K. Still, I can't explain the odd reading of the raw value Dimitry is getting.= . --=20 R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com