diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-03-30 21:46:44 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-03-30 21:46:44 +0200 |
commit | ec19920944246b4686c7772a58507a20c361dc9d (patch) | |
tree | 9fbeb5dab591826f819dd869d50a70d1a1b64f9f | |
parent | fb4504fe84b09cbf49fda19e6630a1003d79656a (diff) | |
download | linux-stable-ec19920944246b4686c7772a58507a20c361dc9d.tar.gz linux-stable-ec19920944246b4686c7772a58507a20c361dc9d.tar.bz2 linux-stable-ec19920944246b4686c7772a58507a20c361dc9d.zip |
hwmon: Define a standard interface for chassis intrusion detection
Define a standard interface for the chassis intrusion detection feature
some hardware monitoring chips have. Some drivers have custom sysfs
entries for it, but a standard interface would allow integration with
user-space (namely libsensors.)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Acked-by: Matt Roberds <mattroberds@cox.net>
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index 6dbfd5efd991..2f10ce6a879f 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface @@ -365,6 +365,7 @@ energy[1-*]_input Cumulative energy use Unit: microJoule RO + ********** * Alarms * ********** @@ -453,6 +454,27 @@ beep_mask Bitmask for beep. RW +*********************** +* Intrusion detection * +*********************** + +intrusion[0-*]_alarm + Chassis intrusion detection + 0: OK + 1: intrusion detected + RW + Contrary to regular alarm flags which clear themselves + automatically when read, this one sticks until cleared by + the user. This is done by writing 0 to the file. Writing + other values is unsupported. + +intrusion[0-*]_beep + Chassis intrusion beep + 0: disable + 1: enable + RW + + sysfs attribute writes interpretation ------------------------------------- |