summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/relay.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-18 01:46:28 +0300
committerDevaev Maxim <[email protected]>2020-09-18 01:46:28 +0300
commit5c05276d462874f0ad70857ea47f5af79c0165d9 (patch)
tree0bf89ea4e46aca4375ae04fa8462a5c89af21299 /kvmd/plugins/msd/relay.py
parent204645efa26f94c48bbbd2c9d122506e7df9f821 (diff)
fixed consumer names for libgpiod
Diffstat (limited to 'kvmd/plugins/msd/relay.py')
-rw-r--r--kvmd/plugins/msd/relay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py
index cec03377..ac09b5c9 100644
--- a/kvmd/plugins/msd/relay.py
+++ b/kvmd/plugins/msd/relay.py
@@ -177,10 +177,10 @@ class _Gpio:
self.__chip = gpiod.Chip(aiogp.DEVICE_PATH)
self.__target_line = self.__chip.get_line(self.__target_pin)
- self.__target_line.request("kvmd/msd-relay/target", gpiod.LINE_REQ_DIR_OUT, default_val=0)
+ self.__target_line.request("kvmd::msd-relay::target", gpiod.LINE_REQ_DIR_OUT, default_val=0)
self.__reset_line = self.__chip.get_line(self.__reset_pin)
- self.__reset_line.request("kvmd/msd-relay/reset", gpiod.LINE_REQ_DIR_OUT, default_val=0)
+ self.__reset_line.request("kvmd::msd-relay::reset", gpiod.LINE_REQ_DIR_OUT, default_val=0)
def close(self) -> None:
if self.__chip: