From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 22 08:15:08 2008 Return-Path: Delivered-To: acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3F2B1065685 for ; Wed, 22 Oct 2008 08:15:08 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mail.0x20.net (unknown [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 635298FC39 for ; Wed, 22 Oct 2008 08:15:08 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id 158343A581; Wed, 22 Oct 2008 10:15:07 +0200 (CEST) Received: from i011-63.fin-nrw.de (i011-63.fin-nrw.de [193.109.238.130]) by 0x20.net (Horde MIME library) with HTTP; Wed, 22 Oct 2008 10:15:06 +0200 Message-ID: <20081022101506.zfazdtjeskwg8sgc@0x20.net> X-Priority: 3 (Normal) Date: Wed, 22 Oct 2008 10:15:06 +0200 From: Lars Engels To: Nate Lawson References: <20081021140617.ejzk8i5wpskksc4w@0x20.net> <48FE121B.3000206@root.org> In-Reply-To: <48FE121B.3000206@root.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_7fm4qq2xbpss"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Cc: acpi@FreeBSD.org Subject: Re: acpi_tz1: _CRT value is absurd, ignored (256.0C) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 08:15:08 -0000 This message is in MIME format and has been PGP signed. --=_7fm4qq2xbpss Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Nate Lawson : >> hw.acpi.thermal.tz1._CRT: -1 >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> hw.acpi.thermal.tz1._ACx: 89.0C 83.0C 60.0C 50.0C 40.0C -1 -1 -1 -1 -1 >> hw.acpi.thermal.tz1._TC1: 1 >> hw.acpi.thermal.tz1._TC2: 2 >> hw.acpi.thermal.tz1._TSP: 300 > > We could try to work around it in the tz poll routine. Or, you could > set the _CRT value to something reasonable via sysctl. man acpi_thermal > to see how. You have to specify user_override to unlock the sysctl. > 105C seems reasonable based on other settings in tz2-3. Setting the sysctl doesn't work: Oct 22 09:50:15 NB0117232 sudo: engels : TTY=3Dpts/3 ; =20 PWD=3D/usr/home/engels ; USER=3Droot ; COMMAND=3D/sbin/sysctl =20 hw.acpi.thermal.user_override=3D1 Oct 22 09:50:45 NB0117232 kernel: acpi_tz1: _CRT value is absurd, =20 ignored (256.0C) Oct 22 09:50:55 NB0117232 sudo: engels : TTY=3Dpts/3 ; =20 PWD=3D/usr/home/engels ; USER=3Droot ; COMMAND=3D/sbin/sysctl =20 hw.acpi.thermal.tz1._CRT=3D105C Oct 22 09:51:03 NB0117232 kernel: acpi_tz1: _CRT value is absurd, =20 ignored (256.0C) hw.acpi.thermal.tz1._CRT: -1 It is only set to the overridden value for a moment and is then set =20 back to -1. So a workaround in the code would be nice. --=20 Lars Engels lme@FreeBSD.org --=_7fm4qq2xbpss Content-Type: application/pgp-signature Content-Description: Digitale PGP-Unterschrift Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkj+4QoACgkQKc512sD3afj5ngCfdfN422rFxXStTKHfHCtxYvDu GucAoMF1ViQ+hN/H1vs87chkQNMuzmWg =7YvO -----END PGP SIGNATURE----- --=_7fm4qq2xbpss--