Skip to contentSkip to conversation

How to changing config values of sensor (LM77) ?

lm-sensors Beat Meier 2 participants 2 messages Aug 12, 2005

lore
Share & tools
lore

Beat Meier

author
#0 lore raw

Hello again

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.

Thanks for any hint

Beat

#1 lore raw

Hi Beat,

Quoted 4 lines

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.

Signature · 1 line
Jean Delvare