| | 773 | |
| | 774 | == How do I clear the chassis intrusion alarm? == |
| | 775 | |
| | 776 | You could add a set statement in your configuration file, for example: |
| | 777 | |
| | 778 | {{{ |
| | 779 | chip "w83795adg-*" |
| | 780 | |
| | 781 | set intrusion0_alarm 0 |
| | 782 | |
| | 783 | }}} |
| | 784 | |
| | 785 | But that would unconditionally reset the alarm whenever "{{{sensors -s}}}" is run, which may not be desirable. |
| | 786 | If you only want to clear the alarm once, the easiest way is to write to the sysfs attribute directly. |
| | 787 | Assuming you have a single intrusion detection switch in the system, the following should do: |
| | 788 | |
| | 789 | {{{ |
| | 790 | $ echo 0 > /sys/class/hwmon/hwmon*/device/intrusion0_alarm |
| | 791 | }}} |
| | 792 | |
| | 793 | In the future, we may add an option to {{{sensors}}} or write a separate tool to let the users deal with |
| | 794 | intrusion alarms in a more friendly way. |