summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/ftsteutates
diff options
context:
space:
mode:
authorThilo Cestonaro <thilo.cestonaro@ts.fujitsu.com>2017-08-03 12:43:51 +0300
committerGuenter Roeck <linux@roeck-us.net>2017-08-13 18:24:01 +0300
commit7576750f036b5ec913aac2a165ce75ab3b7beee3 (patch)
tree0cb7532b905da4666b530d40477328b719246f5e /Documentation/hwmon/ftsteutates
parentaae4e7a8bc44722fe70d58920a36916b1043195e (diff)
downloadlinux-7576750f036b5ec913aac2a165ce75ab3b7beee3.tar.xz
hwmon: (ftsteutates) Fix clearing alarm sysfs entries
sysfs store functions should return the number of bytes written. Returning zero results in an endless loop. Fixes: 08426eda58e0 ("hwmon: Add driver for FTS BMC chip "Teutates"") Signed-off-by: Thilo Cestonaro <thilo.cestonaro@ts.fujitsu.com> [groeck: Clean up documentation change and description] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/ftsteutates')
-rw-r--r--Documentation/hwmon/ftsteutates4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/hwmon/ftsteutates b/Documentation/hwmon/ftsteutates
index 8c10a916de20..af54db92391b 100644
--- a/Documentation/hwmon/ftsteutates
+++ b/Documentation/hwmon/ftsteutates
@@ -18,6 +18,10 @@ enhancements. It can monitor up to 4 voltages, 16 temperatures and
8 fans. It also contains an integrated watchdog which is currently
implemented in this driver.
+To clear a temperature or fan alarm, execute the following command with the
+correct path to the alarm file:
+ echo 0 >XXXX_alarm
+
Specification of the chip can be found here:
ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/BMC-Teutates_Specification_V1.21.pdf
ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/Fujitsu_mainboards-1-Sensors_HowTo-en-US.pdf