From: Chris Down <chris@chrisdown.name>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-pm@vger.kernel.org, "Rafael J. Wysocki" <rafael@kernel.org>,
Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>,
Guenter Roeck <linux@roeck-us.net>
Subject: Re: Thermal notifications without setting thermal governor to userspace?
Date: Mon, 4 Apr 2022 18:17:55 +0100 [thread overview]
Message-ID: <YksoQ62CObN1R/oG@chrisdown.name> (raw)
In-Reply-To: <8f1428c7-cf0e-b2cc-c898-09935a9017da@linaro.org>
Daniel Lezcano writes:
>Well on regular desktop, the thermal is managed under the hood by the
>firmware/hardware, few sensors are exported AFAICT. I don't think a
>thermal daemon would have a benefit on these platforms.
Maybe we have different expectations? On my laptop, a Thinkpad T14s, things
seem not too bad:
% printf '%s\n' /sys/class/hwmon/hwmon*/temp*_input
/sys/class/hwmon/hwmon1/temp1_input
/sys/class/hwmon/hwmon2/temp1_input
/sys/class/hwmon/hwmon2/temp2_input
/sys/class/hwmon/hwmon2/temp3_input
/sys/class/hwmon/hwmon4/temp1_input
/sys/class/hwmon/hwmon4/temp2_input
/sys/class/hwmon/hwmon4/temp3_input
/sys/class/hwmon/hwmon4/temp4_input
/sys/class/hwmon/hwmon4/temp5_input
/sys/class/hwmon/hwmon4/temp6_input
/sys/class/hwmon/hwmon4/temp7_input
/sys/class/hwmon/hwmon4/temp8_input
/sys/class/hwmon/hwmon6/temp1_input
/sys/class/hwmon/hwmon8/temp1_input
/sys/class/hwmon/hwmon8/temp2_input
/sys/class/hwmon/hwmon8/temp3_input
/sys/class/hwmon/hwmon8/temp4_input
/sys/class/hwmon/hwmon8/temp5_input
There are working temperature sensors out of the box for the CPU, wifi card,
ACPI thermal zone, and extended sensors from thinkpad_acpi.
In my case, I'd like to get notifications in userspace when certain
temperatures are reached.
So if I understood correctly, there's no way to dynamically configure
temperature thresholds and get breach events even as root, even with the new
netlink solution?
Thanks again for your help!
Chris
next prev parent reply other threads:[~2022-04-04 21:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 15:45 Thermal notifications without setting thermal governor to userspace? Chris Down
2022-03-30 18:08 ` Daniel Lezcano
2022-03-30 18:11 ` Chris Down
2022-03-30 22:24 ` Daniel Lezcano
2022-04-04 15:17 ` Chris Down
2022-04-04 16:17 ` Daniel Lezcano
2022-04-04 17:17 ` Chris Down [this message]
2022-04-04 20:27 ` Daniel Lezcano
2022-04-04 20:50 ` Chris Down
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=YksoQ62CObN1R/oG@chrisdown.name \
--to=chris@chrisdown.name \
--cc=amitk@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
/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.