Matthew Barth | 7e31e7a | 2020-01-14 14:19:52 -0600 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "name": "fan0", |
| 4 | "path": "/system/chassis/motherboard/fan0", |
| 5 | "methods": [ |
| 6 | { |
| 7 | "type": "gpio", |
| 8 | "key": 4, |
| 9 | "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060", |
| 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": 5, |
| 31 | "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060", |
| 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": 6, |
| 53 | "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060", |
| 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": 7, |
| 75 | "physpath": "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a100.i2c-bus/i2c-3/3-0060", |
| 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 | ] |