1// MAX31785revB w/ latest fan hardware
2// *Note: Sensor trust groups are removed with revB
3{
4    "fans": [
5        {
6            "inventory": "/system/chassis/motherboard/fan0",
7            "method": "count",
8            "count_interval": 1,
9            "deviation": 18,
10            "num_sensors_nonfunc_for_fan_nonfunc": 0,
11            "monitor_start_delay": 30,
12            "fan_missing_error_delay": 20,
13            "nonfunc_rotor_error_delay": 0,
14            "set_func_on_present": true,
15            "sensors": [
16                {
17                    "name": "fan0_0",
18                    "threshold": 30,
19                    "has_target": true
20                },
21                {
22                    "name": "fan0_1",
23                    "threshold": 30,
24                    "has_target": false,
25                    "factor": 0.625,
26                    "offset": 1100
27                }
28            ]
29        },
30        {
31            "inventory": "/system/chassis/motherboard/fan1",
32            "method": "count",
33            "count_interval": 1,
34            "deviation": 18,
35            "num_sensors_nonfunc_for_fan_nonfunc": 0,
36            "monitor_start_delay": 30,
37            "fan_missing_error_delay": 20,
38            "nonfunc_rotor_error_delay": 0,
39            "set_func_on_present": true,
40            "sensors": [
41                {
42                    "name": "fan1_0",
43                    "threshold": 30,
44                    "has_target": true
45                },
46                {
47                    "name": "fan1_1",
48                    "threshold": 30,
49                    "has_target": false,
50                    "factor": 0.625,
51                    "offset": 1100
52                }
53            ]
54        },
55        {
56            "inventory": "/system/chassis/motherboard/fan2",
57            "method": "count",
58            "count_interval": 1,
59            "deviation": 18,
60            "num_sensors_nonfunc_for_fan_nonfunc": 0,
61            "monitor_start_delay": 30,
62            "fan_missing_error_delay": 20,
63            "nonfunc_rotor_error_delay": 0,
64            "set_func_on_present": true,
65            "sensors": [
66                {
67                    "name": "fan2_0",
68                    "threshold": 30,
69                    "has_target": true
70                },
71                {
72                    "name": "fan2_1",
73                    "threshold": 30,
74                    "has_target": false,
75                    "factor": 0.625,
76                    "offset": 1100
77                }
78            ]
79        },
80        {
81            "inventory": "/system/chassis/motherboard/fan3",
82            "method": "count",
83            "count_interval": 1,
84            "deviation": 18,
85            "num_sensors_nonfunc_for_fan_nonfunc": 0,
86            "monitor_start_delay": 30,
87            "fan_missing_error_delay": 20,
88            "nonfunc_rotor_error_delay": 0,
89            "set_func_on_present": true,
90            "sensors": [
91                {
92                    "name": "fan3_0",
93                    "threshold": 30,
94                    "has_target": true
95                },
96                {
97                    "name": "fan3_1",
98                    "threshold": 30,
99                    "has_target": false,
100                    "factor": 0.625,
101                    "offset": 1100
102                }
103            ]
104        },
105        {
106            "inventory": "/system/chassis/motherboard/fan4",
107            "method": "count",
108            "count_interval": 1,
109            "deviation": 18,
110            "num_sensors_nonfunc_for_fan_nonfunc": 0,
111            "monitor_start_delay": 30,
112            "fan_missing_error_delay": 20,
113            "nonfunc_rotor_error_delay": 0,
114            "set_func_on_present": true,
115            "sensors": [
116                {
117                    "name": "fan4_0",
118                    "threshold": 30,
119                    "has_target": true
120                },
121                {
122                    "name": "fan4_1",
123                    "threshold": 30,
124                    "has_target": false,
125                    "factor": 0.625,
126                    "offset": 1100
127                }
128            ]
129        },
130        {
131            "inventory": "/system/chassis/motherboard/fan5",
132            "method": "count",
133            "count_interval": 1,
134            "deviation": 18,
135            "num_sensors_nonfunc_for_fan_nonfunc": 0,
136            "monitor_start_delay": 30,
137            "fan_missing_error_delay": 20,
138            "nonfunc_rotor_error_delay": 0,
139            "set_func_on_present": true,
140            "sensors": [
141                {
142                    "name": "fan5_0",
143                    "threshold": 30,
144                    "has_target": true
145                },
146                {
147                    "name": "fan5_1",
148                    "threshold": 30,
149                    "has_target": false,
150                    "factor": 0.625,
151                    "offset": 1100
152                }
153            ]
154        }
155    ],
156    "fault_handling": {
157        "num_nonfunc_rotors_before_error": 1,
158
159        "power_off_config": [
160            {
161                "type": "epow",
162                "cause": "missing_fan_frus",
163                "count": 1,
164                "service_mode_delay": 60,
165                "meltdown_delay": 60
166            },
167            {
168                "type": "epow",
169                "cause": "fan_frus_with_nonfunc_rotors",
170                "count": 2,
171                "service_mode_delay": 60,
172                "meltdown_delay": 60
173            }
174        ]
175    }
176}
177