Matt Spinler | ffec17e | 2022-10-05 11:23:11 -0500 | [diff] [blame] | 1 | [ |
Patrick Williams | a49e3f1 | 2022-12-08 06:12:40 -0600 | [diff] [blame] | 2 | { |
| 3 | "name": "fan0", |
| 4 | "path": "/system/chassis/motherboard/fan0", |
| 5 | "methods": [ |
| 6 | { |
| 7 | "type": "gpio", |
| 8 | "key": 6, |
| 9 | "physpath": "BMC", |
| 10 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 11 | }, |
| 12 | { |
| 13 | "type": "tach", |
| 14 | "sensors": ["fan0_0", "fan0_1"] |
| 15 | } |
| 16 | ], |
| 17 | "rpolicy": { |
| 18 | "type": "anyof" |
| 19 | } |
| 20 | }, |
| 21 | { |
| 22 | "name": "fan1", |
| 23 | "path": "/system/chassis/motherboard/fan1", |
| 24 | "methods": [ |
| 25 | { |
| 26 | "type": "gpio", |
| 27 | "key": 7, |
| 28 | "physpath": "BMC", |
| 29 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 30 | }, |
| 31 | { |
| 32 | "type": "tach", |
| 33 | "sensors": ["fan1_0", "fan1_1"] |
| 34 | } |
| 35 | ], |
| 36 | "rpolicy": { |
| 37 | "type": "anyof" |
| 38 | } |
| 39 | } |
Matt Spinler | ffec17e | 2022-10-05 11:23:11 -0500 | [diff] [blame] | 40 | ] |