How to changing config values of sensor (LM77) ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux