Devaev Maxim
16946d1e0f
refactoring
2020-09-30 14:12:09 +03:00
Oleg Girko
a8589e48ab
Make kvmd compatible with libgpiod 1.2.
...
The singular default_val argument of gpiod.Line.request() method
was introduced in libgpiod 1.3.
For older versions of libgpiod, defailt_vals argument with list value
should be used.
This argument is available in newer versions of libgpiod as well
for compatibility.
This change is needed for Debian / Raspbian 10 that have libgpiod 1.2.
Signed-off-by: Oleg Girko <ol@infoserver.lv>
2020-09-20 14:59:33 +01:00
Devaev Maxim
5c05276d46
fixed consumer names for libgpiod
2020-09-18 01:46:28 +03:00
Devaev Maxim
ee10435b81
common gpio path variable
2020-09-14 01:34:23 +03:00
Devaev Maxim
1e6ab4672f
refactoring and reuse gpio pulse code
2020-09-13 18:23:28 +03:00
Devaev Maxim
41223fa8b2
pass close()
2020-09-13 17:19:57 +03:00
Devaev Maxim
bddabc4742
using libgpiod for the relay msd
2020-09-12 22:16:14 +03:00
Devaev Maxim
ec6d13dc34
refactoring
2020-09-10 09:58:31 +03:00
Devaev Maxim
605b67ca76
refactoring
2020-09-08 05:24:47 +03:00
Devaev Maxim
a6dac4bd84
ugpio plugins
2020-09-07 05:54:25 +03:00
Devaev Maxim
482eeec3e7
common background systasks
2020-09-05 09:26:55 +03:00
Devaev Maxim
cf5bf8e147
refactoring
2020-05-29 04:33:35 +03:00
Devaev Maxim
eb13da03be
refactoring
2020-05-29 04:30:37 +03:00
Devaev Maxim
98a176f740
lint fixes
2020-05-11 08:06:44 +03:00
Devaev Maxim
966267ebb9
asyncio.CancelledError is a subclass of BaseException since 3.8
2020-03-16 02:42:23 +03:00
Devaev Maxim
5b58af4d6f
proper usage of asyncio.wait() for first completed
2020-03-15 02:42:10 +03:00
Devaev Maxim
552bb93212
atomic fixes, removed tasked and muted
2020-03-03 23:48:53 +03:00
Devaev Maxim
8972357dbc
changed region methods to async
2020-03-02 01:26:43 +03:00
Devaev Maxim
44b0ab19bf
no more busyloops in stub plugins
2020-03-01 04:30:32 +03:00
Devaev Maxim
ff6e284e64
no busyloop in otg msd
2020-03-01 03:58:08 +03:00
Devaev Maxim
75d9b858d7
moved AioExclusiveRegion to aiotools
2020-02-29 17:23:57 +03:00
Devaev Maxim
3048fc7923
very common exceptions
2019-12-09 02:26:48 +03:00
Devaev Maxim
cb6a6ed1d6
fixed exception on msd uploading abort
2019-11-16 19:53:05 +03:00
Devaev Maxim
029908e20c
lint fix
2019-11-14 23:54:48 +03:00
Devaev Maxim
fa40676136
otg msd: notify about free space while uploading
2019-11-08 03:53:00 +03:00
Devaev Maxim
b261c2695c
ui: partial multi msd support
2019-11-08 01:28:42 +03:00
Devaev Maxim
8abe4b1ac9
v2 testing
2019-11-07 06:42:48 +03:00
Devaev Maxim
10f8c2b335
otg msd and big refactoring
2019-11-07 01:27:07 +03:00
Devaev Maxim
c124e63d6d
refactoring
2019-10-24 02:45:07 +03:00
Devaev Maxim
096064cfbc
changed some defaults
2019-10-24 02:42:19 +03:00
Devaev Maxim
97e2d9128c
strict file validation
2019-10-24 01:21:34 +03:00
Devaev Maxim
34da341edc
otg msd helpers
2019-10-19 19:37:32 +03:00
Devaev Maxim
e97d48b363
cdrom flag; written fix
2019-10-05 09:23:48 +03:00
Devaev Maxim
7d6d6fa6f9
added otg msd stub
2019-09-30 01:00:38 +03:00
Devaev Maxim
31c74a1c30
mypy fix
2019-09-28 05:45:53 +03:00
Devaev Maxim
5c4e8f7962
extended msd api for future otg
2019-09-25 03:15:20 +03:00
Devaev Maxim
aee005787c
preparing to otg
2019-09-24 00:03:31 +03:00
Devaev Maxim
35bd5ac719
logging fix
2019-09-14 05:26:24 +03:00
Devaev Maxim
6ce9f4c7a9
separate region exceptions
2019-09-12 02:13:52 +03:00
Devaev Maxim
8214a20d4a
removed plugins
2019-09-12 02:03:47 +03:00
Devaev Maxim
ab7a16a4f7
msd plugins
2019-09-12 01:53:25 +03:00