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 | "fan0_1" |
| 17 | ] |
| 18 | } |
| 19 | ], |
| 20 | "rpolicy": { |
| 21 | "type": "anyof" |
| 22 | } |
| 23 | }, |
| 24 | { |
| 25 | "name": "fan1", |
| 26 | "path": "/system/chassis/motherboard/fan1", |
| 27 | "methods": [ |
| 28 | { |
| 29 | "type": "gpio", |
| 30 | "key": 7, |
| 31 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 32 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 33 | }, |
| 34 | { |
| 35 | "type": "tach", |
| 36 | "sensors": [ |
| 37 | "fan1_0", |
| 38 | "fan1_1" |
| 39 | ] |
| 40 | } |
| 41 | ], |
| 42 | "rpolicy": { |
| 43 | "type": "anyof" |
| 44 | } |
| 45 | }, |
| 46 | { |
| 47 | "name": "fan2", |
| 48 | "path": "/system/chassis/motherboard/fan2", |
| 49 | "methods": [ |
| 50 | { |
| 51 | "type": "gpio", |
| 52 | "key": 8, |
| 53 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 54 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 55 | }, |
| 56 | { |
| 57 | "type": "tach", |
| 58 | "sensors": [ |
| 59 | "fan2_0", |
| 60 | "fan2_1" |
| 61 | ] |
| 62 | } |
| 63 | ], |
| 64 | "rpolicy": { |
| 65 | "type": "anyof" |
| 66 | } |
| 67 | }, |
| 68 | { |
| 69 | "name": "fan3", |
| 70 | "path": "/system/chassis/motherboard/fan3", |
| 71 | "methods": [ |
| 72 | { |
| 73 | "type": "gpio", |
| 74 | "key": 9, |
| 75 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 76 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 77 | }, |
| 78 | { |
| 79 | "type": "tach", |
| 80 | "sensors": [ |
| 81 | "fan3_0", |
| 82 | "fan3_1" |
| 83 | ] |
| 84 | } |
| 85 | ], |
| 86 | "rpolicy": { |
| 87 | "type": "anyof" |
| 88 | } |
| 89 | }, |
| 90 | { |
| 91 | "name": "fan4", |
| 92 | "path": "/system/chassis/motherboard/fan4", |
| 93 | "methods": [ |
| 94 | { |
| 95 | "type": "gpio", |
| 96 | "key": 10, |
| 97 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 98 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 99 | }, |
| 100 | { |
| 101 | "type": "tach", |
| 102 | "sensors": [ |
| 103 | "fan4_0", |
| 104 | "fan4_1" |
| 105 | ] |
| 106 | } |
| 107 | ], |
| 108 | "rpolicy": { |
| 109 | "type": "anyof" |
| 110 | } |
| 111 | }, |
| 112 | { |
| 113 | "name": "fan5", |
| 114 | "path": "/system/chassis/motherboard/fan5", |
| 115 | "methods": [ |
| 116 | { |
| 117 | "type": "gpio", |
| 118 | "key": 11, |
| 119 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 120 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 121 | }, |
| 122 | { |
| 123 | "type": "tach", |
| 124 | "sensors": [ |
| 125 | "fan5_0", |
| 126 | "fan5_1" |
| 127 | ] |
| 128 | } |
| 129 | ], |
| 130 | "rpolicy": { |
| 131 | "type": "anyof" |
| 132 | } |
| 133 | } |
| 134 | ] |