summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-27 23:44:11 +0300
committerMaxim Devaev <[email protected]>2022-03-27 23:44:11 +0300
commitf474fd6453698c4dd96164db0993e0013a6dd0d8 (patch)
treedf8455eea6e470ef1424fd295c078f58a010e028 /kvmd/plugins
parent92ebe93bacbf99451c211da209aec318b7eef561 (diff)
default atx gpio values
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/atx/gpio.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvmd/plugins/atx/gpio.py b/kvmd/plugins/atx/gpio.py
index 6332f5e0..a4dabdfc 100644
--- a/kvmd/plugins/atx/gpio.py
+++ b/kvmd/plugins/atx/gpio.py
@@ -95,16 +95,16 @@ class Plugin(BaseAtx): # pylint: disable=too-many-instance-attributes
return {
"device": Option("/dev/gpiochip0", type=valid_abs_path, unpack_as="device_path"),
- "power_led_pin": Option(-1, type=valid_gpio_pin),
+ "power_led_pin": Option(24, type=valid_gpio_pin),
"power_led_inverted": Option(False, type=valid_bool),
"power_led_debounce": Option(0.1, type=valid_float_f0),
- "hdd_led_pin": Option(-1, type=valid_gpio_pin),
+ "hdd_led_pin": Option(22, type=valid_gpio_pin),
"hdd_led_inverted": Option(False, type=valid_bool),
"hdd_led_debounce": Option(0.1, type=valid_float_f0),
- "power_switch_pin": Option(-1, type=valid_gpio_pin),
- "reset_switch_pin": Option(-1, type=valid_gpio_pin),
+ "power_switch_pin": Option(23, type=valid_gpio_pin),
+ "reset_switch_pin": Option(27, type=valid_gpio_pin),
"click_delay": Option(0.1, type=valid_float_f01),
"long_click_delay": Option(5.5, type=valid_float_f01),
}