From owner-freebsd-stable@FreeBSD.ORG Mon Jul 31 13:35: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 990BC16A4DE for ; Mon, 31 Jul 2006 13:35:54 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DD543D46 for ; Mon, 31 Jul 2006 13:35:53 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (mhmdaz@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k6VDZkup098908 for ; Mon, 31 Jul 2006 15:35:51 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k6VDZkBt098907; Mon, 31 Jul 2006 15:35:46 +0200 (CEST) (envelope-from olli) Date: Mon, 31 Jul 2006 15:35:46 +0200 (CEST) Message-Id: <200607311335.k6VDZkBt098907@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200607280948.51239.jhb@freebsd.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 31 Jul 2006 15:35:51 +0200 (CEST) Cc: Subject: Re: Monitoring temperature with acpi (sysctls) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 13:35:54 -0000 John Baldwin wrote: > Mike Jakubik wrote: > > I tried that, unfortunately it does not work. All i want to know is if > > this a shortcoming of freebsd or the motherboard, if its the later, i > > will contact the manufacturer. > > 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. I have a similar problem. This is what sysctl says: hw.acpi.thermal.tz0.temperature: 8.3C 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: 9.8C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 31.3C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 dev.acpi_tz.0.%desc: Thermal Zone dev.acpi_tz.0.%driver: acpi_tz dev.acpi_tz.0.%location: handle=\_TZ_.THM0 dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0 The value of tz0.temperature is always 8.3C and never seems to change. In reality it should be rathe 20C and change slightly during day and night. This is an excerpt from "acpidump -d" on that machine, which seems to imply that it _should_ support thermal readings (but I'm not a low-level ACPI expert): Scope (_TZ) { Name (\TEMP, 0x0AFF) ThermalZone (THM0) { Name (_TSP, 0x3C) Name (_TC1, 0x04) Name (_TC2, 0x04) Name (_PSL, Package (0x01) { \_PR.CPU0 }) Method (_PSV, 0, NotSerialized) { Store ("_PSV Method", Debug) Return (0x0B0E) } Method (_SCP, 1, NotSerialized) { Notify (THM0, 0x81) } Method (_TMP, 0, NotSerialized) { Store ("_TMP Method", Debug) Return (TEMP) } Method (_CRT, 0, NotSerialized) { Store ("_CRT Method", Debug) Return (0x0BE5) } } } Is it a bug in the ACPI BIOS or a bug in FreeBSD code? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing." -- Dick Brandon