Sujet : Re: Simple way for web to execute root shell script.
De : news (at) *nospam* druck.org.uk (druck)
Groupes : comp.os.linux.misc comp.sys.raspberry-piDate : 28. May 2025, 21:34:19
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1017s0b$3dqre$2@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 28/05/2025 08:58, The Natural Philosopher wrote:
On 27/05/2025 21:44, druck wrote:
It does work with smartcl, Not with lm-sensors
Sorry, picked up on the wrong part of the post.
lm-sensors wont work with external USB drives as it only knows about things connected to the internal busses of a machine such as acpi and i2c, and the Pi only had the latter.
If you really want to measure the disc's temperature using lm-sensors, you could attach a i2c temperature sensor to it and add a device tree entry so it is detected. See:-
https://www.bergzand.net/the-raspberry-pi-a-temperature-sensor-and-the-device-tree.htmlBut unless you are using the external drive somewhere with an incredibly high ambient temperature, it's very unlikely to overheat. The only hard drive I had problems with was inside a DVR in a rack of other equipment in an enclosed space. I had to tweak the fan configuration to keep it under it's alert temperature of 55C.
---druck