diff options
author | Devaev Maxim <[email protected]> | 2020-09-18 01:46:28 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-18 01:46:28 +0300 |
commit | 5c05276d462874f0ad70857ea47f5af79c0165d9 (patch) | |
tree | 0bf89ea4e46aca4375ae04fa8462a5c89af21299 /kvmd/plugins/ugpio | |
parent | 204645efa26f94c48bbbd2c9d122506e7df9f821 (diff) |
fixed consumer names for libgpiod
Diffstat (limited to 'kvmd/plugins/ugpio')
-rw-r--r-- | kvmd/plugins/ugpio/gpio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/ugpio/gpio.py b/kvmd/plugins/ugpio/gpio.py index 4b951057..e7bcc683 100644 --- a/kvmd/plugins/ugpio/gpio.py +++ b/kvmd/plugins/ugpio/gpio.py @@ -59,7 +59,7 @@ class Plugin(BaseUserGpioDriver): assert self.__reader is None self.__reader = aiogp.AioReader( path=aiogp.DEVICE_PATH, - consumer="kvmd/ugpio-gpio/inputs", + consumer="kvmd::ugpio-gpio::inputs", pins=self.__input_pins, notifier=self._notifier, ) @@ -67,7 +67,7 @@ class Plugin(BaseUserGpioDriver): self.__chip = gpiod.Chip(aiogp.DEVICE_PATH) for (pin, initial) in self.__output_pins.items(): line = self.__chip.get_line(pin) - line.request("kvmd/ugpio-gpio/outputs", gpiod.LINE_REQ_DIR_OUT, default_val=int(initial or False)) + line.request("kvmd::ugpio-gpio::outputs", gpiod.LINE_REQ_DIR_OUT, default_val=int(initial or False)) self.__output_lines[pin] = line async def run(self) -> None: |