From: Thomas Mitterfellner <thomas.mitterfellner@gmail.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] How can temp_crit for virtual device be set?
Date: Sat, 30 Nov 2013 11:37:15 +0000 [thread overview]
Message-ID: <5299CDEB.9040502@gmail.com> (raw)
In-Reply-To: <5297B848.4080906@gmail.com>
>> 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.
Just for reference: I asked at the linux-acpi list and they advised me
to add termal.crt=<value> to the kernel boot paramters, which I did
(<value>™) and it actually sets the temperature of the virtual device.
Now I get:
# acpi -V
Thermal 0: ok, 64.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 99.0
degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 105.0
degrees C
and
acpitz-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 66.000
temp1_crit: 99.000
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:
temp1_input: 66.000
temp1_max: 86.000
temp1_crit: 100.000
temp1_crit_alarm: 0.000
Core 0:
temp2_input: 63.000
temp2_max: 86.000
temp2_crit: 100.000
temp2_crit_alarm: 0.000
Core 1:
temp3_input: 66.000
temp3_max: 86.000
temp3_crit: 100.000
temp3_crit_alarm: 0.000
pkg-temp-0-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 67.000
Thanks for your hints,
Thomas
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2013-11-30 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 21:40 [lm-sensors] How can temp_crit for virtual device be set? Thomas Mitterfellner
2013-11-28 22:05 ` Jean Delvare
2013-11-29 8:00 ` Thomas Mitterfellner
2013-11-29 8:12 ` Jean Delvare
2013-11-30 11:37 ` Thomas Mitterfellner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5299CDEB.9040502@gmail.com \
--to=thomas.mitterfellner@gmail.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.