From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 23 14:34:31 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5E1F16A41C for ; Thu, 23 Jun 2005 14:34:31 +0000 (GMT) (envelope-from flanagan.matt@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9270E43D48 for ; Thu, 23 Jun 2005 14:34:31 +0000 (GMT) (envelope-from flanagan.matt@gmail.com) Received: by zproxy.gmail.com with SMTP id 16so54327nzp for ; Thu, 23 Jun 2005 07:34:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VaaRM2RKbT6DzZ6r38Rt6na+WieZirrDC8BKIcHES4dQ8UUNcZyB5rtNAIAfLPscKFeTzkgu61Fn4bwrYYSxOpe+PhxjN9mzt1ywO9Irto4lWqXOG4ReMT35iAmQj3jDGQ5+EUmqPhlni8QXb2qMhslZlVf1TNN2QBWXtXxvwqk= Received: by 10.36.43.17 with SMTP id q17mr1319845nzq; Thu, 23 Jun 2005 07:34:30 -0700 (PDT) Received: by 10.36.126.4 with HTTP; Thu, 23 Jun 2005 07:34:30 -0700 (PDT) Message-ID: <7cd06a2d050623073452e3c3f9@mail.gmail.com> Date: Thu, 23 Jun 2005 11:34:30 -0300 From: Matthew Flanagan To: freebsd-acpi@freebsd.org In-Reply-To: <7cd06a2d05062205331d03372c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7cd06a2d05062205331d03372c@mail.gmail.com> Subject: Changing temperature threshold X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Flanagan List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 14:34:31 -0000 Hi everyone, [I haven't got the needed information from freebsd-questions, so I'm=20 reposting it here.] I`ve installed a FreeBSD 5.4-STABLE and I was building some ports when=20 suddenly my system shut down. Upon rebooting it and checking=20 /var/log/messages, I found the following lines: Jun 21 16:01:30 bell root: WARNING: system temperature too high, shutting down soon! Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature (60.0C) exceeds safe limits Then I realized what had happened. My acpi_thermal sysctl's are: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 50.0C hw.acpi.thermal.tz0.active: 0 hw.acpi.thermal.tz0.thermal_flags: 1 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 When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the=20 threshold in the BIOS setup) it doesn't work: bell# sysctl hw.acpi.thermal.tz0._CRT=3D3580 # 3580 tenths of Kelvin=3D85C sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only I've tried /etc/sysctl.conf as well, but I get the same error. Now, my question is: how do I change this value? I've read several manpages (acpi(4), acpi_thermal(4), acpiconf(8), loader(8), and many others) and checked the handbook, to no avail. Can anyone point me to the right direction? Thanks a lot, Matt