From owner-freebsd-current@FreeBSD.ORG Tue Apr 19 16:44:51 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 A3FE3106564A for ; Tue, 19 Apr 2011 16:44:51 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3201F8FC15 for ; Tue, 19 Apr 2011 16:44:50 +0000 (UTC) Received: by wwc33 with SMTP id 33so7059191wwc.31 for ; Tue, 19 Apr 2011 09:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=taw9G3CXTymXET+vtSMjn6l/oK8a2OIC5R9Il7f+Lys=; b=kXGruYgpVU3Ajredv00wUUvSoV1FEhS+CSiCBvE33Jr7H5v70IW+qrZDhgcHD0nL10 ZZdXbALw6lz5RRuDjZfaT7zpYIahAP3m/mC5CE+HCdrKo1BHllAw1W2i3EOAteW63nTs WCp3StInIu7p6HFRkGlrL7Y/5OYbWMB3i2Lb0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=IGlueGc3Q7TVSBdbO26hhVsmZ0IRmbu2pb0Xfg0Zd2z3cLxg4IlUqJk28+Kr+SAHAi VGuD6iCp1BVfSHc/Rmj1eVlhTldePK7/xU4UHq9MhGjL1JARgmoOyn/y4rpfJ1pc2wdf 3FnrDxo4MSrKmDdDNzlnA+mqk85InPcA9gECo= MIME-Version: 1.0 Received: by 10.216.120.144 with SMTP id p16mr1506560weh.10.1303231490116; Tue, 19 Apr 2011 09:44:50 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.216.9.67 with HTTP; Tue, 19 Apr 2011 09:44:50 -0700 (PDT) In-Reply-To: <20110419234815.e2944dd5.taku@tackymt.homeip.net> References: <20110416155122.GA29309@wolfman.devio.us> <201104180805.40743.jhb@freebsd.org> <20110419082906.GA8125@wolfman.devio.us> <20110419234815.e2944dd5.taku@tackymt.homeip.net> Date: Tue, 19 Apr 2011 09:44:50 -0700 X-Google-Sender-Auth: ft9XhLbQB3-YUEXZ22RnNfNZFHM Message-ID: From: mdf@FreeBSD.org To: Taku YAMAMOTO Content-Type: multipart/mixed; boundary=00261883bac2074e6c04a1483ace Cc: freebsd-current@freebsd.org, 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: Tue, 19 Apr 2011 16:44:51 -0000 --00261883bac2074e6c04a1483ace Content-Type: text/plain; charset=ISO-8859-1 On Tue, Apr 19, 2011 at 7:48 AM, Taku YAMAMOTO wrote: >> This patch works. >> >> FreeBSD 9.0-CURRENT #1: Tue Apr 19 10:52:58 MSD 2011 >> >> # 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.temperature: 67.5C >> 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._ACx: -1 >> hw.acpi.thermal.tz0._TC1: -1 >> hw.acpi.thermal.tz0._TC2: -1 >> hw.acpi.thermal.tz0._TSP: -1 > > We should have 10 _ACx values like this: > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 D'oh, I didn't read the original source carefully enough. Can someone test this patch? As an aside, what kind of h/w do I need for hw.acpi.thermal to show up? I don't see it on my Dell desktop... Thanks, matthew --00261883bac2074e6c04a1483ace Content-Type: text/x-patch; charset=US-ASCII; name="bsd-temperature.diff" Content-Disposition: attachment; filename="bsd-temperature.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gmp2bu090 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvYWNwaWNhL2FjcGlfdGhlcm1hbC5jIGIvc3lzL2Rldi9hY3Bp Y2EvYWNwaV90aGVybWFsLmMKaW5kZXggYjY0ZDhkZi4uNzIyNmI2YyAxMDA2NDQKLS0tIGEvc3lz L2Rldi9hY3BpY2EvYWNwaV90aGVybWFsLmMKKysrIGIvc3lzL2Rldi9hY3BpY2EvYWNwaV90aGVy bWFsLmMKQEAgLTI4OCw3ICsyODgsOCBAQCBhY3BpX3R6X2F0dGFjaChkZXZpY2VfdCBkZXYpCiAJ CSAgICAiY3JpdGljYWwgdGVtcCBzZXRwb2ludCAoc2h1dGRvd24gbm93KSIpOwogICAgIFNZU0NU TF9BRERfUFJPQygmc2MtPnR6X3N5c2N0bF9jdHgsIFNZU0NUTF9DSElMRFJFTihzYy0+dHpfc3lz Y3RsX3RyZWUpLAogCQkgICAgT0lEX0FVVE8sICJfQUN4IiwgQ1RMVFlQRV9JTlQgfCBDVExGTEFH X1JELAotCQkgICAgJnNjLT50el96b25lLmFjLCAwLCBzeXNjdGxfaGFuZGxlX2ludCwgIklLIiwg IiIpOworCQkgICAgJnNjLT50el96b25lLmFjLCBzaXplb2Yoc2MtPnR6X3pvbmUuYWMpLAorCQkg ICAgc3lzY3RsX2hhbmRsZV9vcGFxdWUsICJJSyIsICIiKTsKICAgICBTWVNDVExfQUREX1BST0Mo JnNjLT50el9zeXNjdGxfY3R4LCBTWVNDVExfQ0hJTERSRU4oc2MtPnR6X3N5c2N0bF90cmVlKSwK IAkJICAgIE9JRF9BVVRPLCAiX1RDMSIsIENUTFRZUEVfSU5UIHwgQ1RMRkxBR19SVywKIAkJICAg IHNjLCBvZmZzZXRvZihzdHJ1Y3QgYWNwaV90el9zb2Z0YywgdHpfem9uZS50YzEpLAo= --00261883bac2074e6c04a1483ace--