Matthew Barth | 6923a3f | 2021-08-05 10:11:16 -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": "/sys/bus/i2c/devices/7-0061", |
| 10 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 11 | }, |
| 12 | { |
| 13 | "type": "tach", |
| 14 | "sensors": ["fan0_0"] |
| 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": "/sys/bus/i2c/devices/7-0061", |
| 29 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 30 | }, |
| 31 | { |
| 32 | "type": "tach", |
| 33 | "sensors": ["fan1_0"] |
| 34 | } |
| 35 | ], |
| 36 | "rpolicy": { |
| 37 | "type": "anyof" |
| 38 | } |
| 39 | }, |
| 40 | { |
| 41 | "name": "fan2", |
| 42 | "path": "/system/chassis/motherboard/fan2", |
| 43 | "methods": [ |
| 44 | { |
| 45 | "type": "gpio", |
| 46 | "key": 8, |
| 47 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 48 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 49 | }, |
| 50 | { |
| 51 | "type": "tach", |
| 52 | "sensors": ["fan2_0"] |
| 53 | } |
| 54 | ], |
| 55 | "rpolicy": { |
| 56 | "type": "anyof" |
| 57 | } |
| 58 | }, |
| 59 | { |
| 60 | "name": "fan4", |
| 61 | "path": "/system/chassis/motherboard/fan4", |
| 62 | "methods": [ |
| 63 | { |
| 64 | "type": "gpio", |
| 65 | "key": 10, |
| 66 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 67 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 68 | }, |
| 69 | { |
| 70 | "type": "tach", |
| 71 | "sensors": ["fan4_0"] |
| 72 | } |
| 73 | ], |
| 74 | "rpolicy": { |
| 75 | "type": "anyof" |
| 76 | } |
| 77 | } |
Matthew Barth | 6923a3f | 2021-08-05 10:11:16 -0500 | [diff] [blame] | 78 | ] |