Skip to content

Commit

Permalink
hwmon: Define a standard interface for chassis intrusion detection
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare committed Mar 30, 2009
1 parent fb4504f commit ec19920
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/hwmon/sysfs-interface
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ energy[1-*]_input Cumulative energy use
Unit: microJoule
RO


**********
* Alarms *
**********
Expand Down Expand Up @@ -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
-------------------------------------

Expand Down

0 comments on commit ec19920

Please sign in to comment.