Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 11:34:30 -0300
From:      Matthew Flanagan <flanagan.matt@gmail.com>
To:        freebsd-acpi@freebsd.org
Subject:   Changing temperature threshold
Message-ID:  <7cd06a2d050623073452e3c3f9@mail.gmail.com>
In-Reply-To: <7cd06a2d05062205331d03372c@mail.gmail.com>
References:  <7cd06a2d05062205331d03372c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7cd06a2d050623073452e3c3f9>