From: Jean Delvare Date: Thu, 28 Nov 2013 22:05:46 +0000 Subject: Re: [lm-sensors] How can temp_crit for virtual device be set? Message-Id: <20131128230546.678f5ff1@endymion.delvare> List-Id: References: <5297B848.4080906@gmail.com> In-Reply-To: <5297B848.4080906@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lm-sensors@vger.kernel.org On Thu, 28 Nov 2013 22:40:24 +0100, Thomas Mitterfellner wrote: > Hello! >=20 > My laptop (toshiba satellite l770-116, Intel HM65 mainboard) shuts down > frequently when I run CPU intensive tasks. I guess (but I could not find > out for sure) that the temp1_crit setting of for the acpitz-virtual-0 > device may be the culprit. It seems to me that a > pretty low value of 84=B0C is set here. This is the same value I see when > I do acpi -V (cf. output below). I noticed that sometimes (I haven't > found out under which circumstances) this value is set at 99=B0C, which > seems more reasonable to me as it corrensponds more closely to the value > shown for the physical devices (100=B0C), and allows for reasonable usage > of the laptop. >=20 >=20 > I tried adding these values: >=20 > chip "acpitz-virtual-0" > set temp1_crit 99.0 >=20 > To /etc/sensors.d/coretemp, but when doing sensor -s, I get: >=20 > Error: File /etc/sensors.d/coretemp, line 3: Failed to set value > acpitz-virtual-0: At least one "set" statement failed >=20 > So, how can I adjust the temp_crit1 value of the acpitz-virtual-0 device? You can't, thermal zones are read-only at least through the hwmon interface. If anything can be done, this is through ACPI. --=20 Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors