From owner-freebsd-stable@FreeBSD.ORG Fri Jul 28 15:24:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A68A16A4E8 for ; Fri, 28 Jul 2006 15:24:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E428543DC7 for ; Fri, 28 Jul 2006 15:24:29 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k6SFNslB086837; Fri, 28 Jul 2006 11:23:54 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Spartak Radchenko Date: Fri, 28 Jul 2006 11:14:21 -0400 User-Agent: KMail/1.9.1 References: <44C63DFD.5040401@rogers.com> <200607280948.51239.jhb@freebsd.org> <44CA2471.5080406@aif.ru> In-Reply-To: <44CA2471.5080406@aif.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607281114.22512.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 28 Jul 2006 11:23:54 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1624/Thu Jul 27 13:11:25 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-stable@freebsd.org Subject: Re: Monitoring temperature with acpi (sysctls) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 15:24:54 -0000 On Friday 28 July 2006 10:51, Spartak Radchenko wrote: > John Baldwin ?????: > > If ACPI doesn't include the sysctl's that's due to your BIOS, not FreeBSD. > > You can verify by doing an acpidump and seeing if you have any thermal > > zones listed in your ASL. > What if there is a thermal zone, but sysctl returns meaningless numbers? > > router# sysctl hw.acpi.thermal > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.tz0.temperature: -257.-1C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 1 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: 50.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 60.0C > hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 > > If I understand it correctly, the current temperature is -257C, or 16 > degrees from absolute zero. > Motherboard is Via MS8000. Well, that means your BIOS has a different sort of issue. It probably has a bogus _TMP method. That's still going to be your BIOS' fault. The temperature value is defined in the standard to be in units of .1 K. So a raw value of 160 would give 16.0 K, or the value you are seeing. -- John Baldwin