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