[lm-sensors] How to changing config values of sensor (LM77) ?

Jean Delvare khali at linux-fr.org
Fri Aug 12 22:38:44 CEST 2005


Hi Beat,

> How is it possible to change config values for LM77 driver?
> Is this only possible with userspace support?
> What I want to do is to change the critical temp of the sensor for
> example.

echo 60000 > /sys/bus/i2c/devices/0-0048/temp1_crit

(or similar) should do the trick (setting the critical limit to 60
degrees C). Usually this is done using /etc/sensors.conf and "sensors
-s" but as the lm77 driver lacks user-space support at the moment,
writing to /sys directly is the only way.

-- 
Jean Delvare




More information about the lm-sensors mailing list