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": "fan3", |
| 67 | "path": "/system/chassis/motherboard/fan3", |
| 68 | "methods": [ |
| 69 | { |
| 70 | "type": "gpio", |
| 71 | "key": 9, |
| 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 | "fan3_0" |
| 79 | ] |
| 80 | } |
| 81 | ], |
| 82 | "rpolicy": { |
| 83 | "type": "anyof" |
| 84 | } |
| 85 | }, |
| 86 | { |
| 87 | "name": "fan4", |
| 88 | "path": "/system/chassis/motherboard/fan4", |
| 89 | "methods": [ |
| 90 | { |
| 91 | "type": "gpio", |
| 92 | "key": 10, |
| 93 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 94 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 95 | }, |
| 96 | { |
| 97 | "type": "tach", |
| 98 | "sensors": [ |
| 99 | "fan4_0" |
| 100 | ] |
| 101 | } |
| 102 | ], |
| 103 | "rpolicy": { |
| 104 | "type": "anyof" |
| 105 | } |
| 106 | }, |
| 107 | { |
| 108 | "name": "fan5", |
| 109 | "path": "/system/chassis/motherboard/fan5", |
| 110 | "methods": [ |
| 111 | { |
| 112 | "type": "gpio", |
| 113 | "key": 11, |
| 114 | "physpath": "/sys/bus/i2c/devices/7-0061", |
| 115 | "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event" |
| 116 | }, |
| 117 | { |
| 118 | "type": "tach", |
| 119 | "sensors": [ |
| 120 | "fan5_0" |
| 121 | ] |
| 122 | } |
| 123 | ], |
| 124 | "rpolicy": { |
| 125 | "type": "anyof" |
| 126 | } |
| 127 | } |
| 128 | ] |