From owner-freebsd-current@FreeBSD.ORG Mon Apr 18 12:20:43 2011 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 92396106564A; Mon, 18 Apr 2011 12:20:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 66E678FC0A; Mon, 18 Apr 2011 12:20:43 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0937E46B46; Mon, 18 Apr 2011 08:20:43 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7975B8A01B; Mon, 18 Apr 2011 08:20:42 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 18 Apr 2011 08:05:40 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <20110416155122.GA29309@wolfman.devio.us> In-Reply-To: <20110416155122.GA29309@wolfman.devio.us> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104180805.40743.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 18 Apr 2011 08:20:42 -0400 (EDT) Cc: Matthew Fleming , Nick Ulen Subject: Re: `hw.acpi.thermal.tz0.temperature' disappeared 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: Mon, 18 Apr 2011 12:20:43 -0000 On Saturday, April 16, 2011 11:51:22 am Nick Ulen wrote: > FreeBSD was successfully upgraded. > > uname -v > FreeBSD 9.0-CURRENT #0: Mon Apr 11 18:14:36 MSD 2011 > root@test:/usr/obj/usr/src/sys/GENERIC > > Everything seems to be working well except > `hw.acpi.thermal.tz0.temperature' disappeared from the list of available > sysctl variables. > > sysctl hw.acpi.thermal. > > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 0 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: -1 > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 90.0C > hw.acpi.thermal.tz0._TC1: -1 > hw.acpi.thermal.tz0._TC2: -1 > hw.acpi.thermal.tz0._TSP: -1 > > output from: > sysctl -a |grep acpi > is here: https://privatepaste.com/ca08d4658b I suspect it is still there, but sysctl doesn't know how to display it anymore. This is probably due to the changes with formatting of sysctl information. mdf@ is probably responsible in that case. SYSCTL_ADD_OPAQUE(&sc->tz_sysctl_ctx, SYSCTL_CHILDREN(sc->tz_sysctl_tree), OID_AUTO, "temperature", CTLFLAG_RD, &sc->tz_temperature, sizeof(sc->tz_temperature), "IK", "current thermal zone temperature"); -- John Baldwin