130 Commits

Author SHA1 Message Date
Maxim Devaev
1055dadcb9 msd: downloading status api 2022-07-24 16:16:45 +03:00
Maxim Devaev
1564c68727 refactoring 2022-07-24 15:42:43 +03:00
Maxim Devaev
d05b46e05d fixed lock behaviour in read_image() 2022-07-24 09:34:27 +03:00
Maxim Devaev
90ae558f36 remount-ro on remove() is not fatal 2022-07-24 06:01:09 +03:00
Maxim Devaev
779d0de59f process cdrom/rw forbidden states in set_params() 2022-07-24 05:55:54 +03:00
Maxim Devaev
0e3ebac362 reading images api 2022-07-24 05:38:26 +03:00
Maxim Devaev
de14053725 refactoring 2022-07-24 05:38:26 +03:00
Maxim Devaev
baeb2bc35b upload_chunk_size -> write_chunk_size 2022-07-24 05:38:26 +03:00
Maxim Devaev
44ffe83199 renamed new_writer to writer 2022-07-24 05:38:26 +03:00
Maxim Devaev
477e6f05e4 writable msd 2022-07-24 05:38:26 +03:00
Maxim Devaev
aa5a538c64 refactoring 2022-07-24 05:38:26 +03:00
Maxim Devaev
2eef9bd263 basic msd rw api 2022-07-24 05:38:26 +03:00
Maxim Devaev
d55d7beb0e refactoring 2022-04-10 12:55:06 +03:00
Maxim Devaev
7c44d733a9 aiohelpers 2022-04-10 08:08:05 +03:00
Maxim Devaev
486f1be986 get rid of the otg-unlock helper 2022-04-10 06:00:10 +03:00
Maxim Devaev
6f6772a6b6 refactoring 2022-04-06 00:55:20 +03:00
Maxim Devaev
d2c6bf716d delay 2022-04-01 06:06:11 +03:00
Maxim Devaev
b775239d72 refactoring 2022-03-31 16:17:52 +03:00
Maxim Devaev
6828a0e6aa otg msd: handle functions switching 2022-03-31 11:54:31 +03:00
Maxim Devaev
1b3a2cc3f7 copyright bump 2022-01-07 16:39:02 +03:00
Maxim Devaev
977c8a1ade refactoring 2021-09-24 09:33:15 +03:00
Maxim Devaev
8f11fa3b91 small rebranding 2021-09-08 06:47:54 +03:00
Maxim Devaev
6b07a80834 /msd/write_remote handle 2021-07-27 05:25:54 +03:00
Maxim Devaev
189ff59379 refactoring 2021-07-23 20:52:47 +03:00
Devaev Maxim
7c68b6b406 lint fixes 2021-07-08 16:52:51 +03:00
Devaev Maxim
b5ab5699c4 pikvm/pikvm#321: server-side uploading counters 2021-06-08 03:12:24 +03:00
Devaev Maxim
640547d441 sync 2021-05-26 16:02:10 +03:00
Devaev Maxim
e480629724 speed up msd 2021-05-26 12:26:31 +03:00
Devaev Maxim
8bc36eac5d pikvm/pikvm#208: permanent image 2021-05-25 01:41:23 +03:00
Devaev Maxim
c169f55204 update copy 2021-01-07 10:33:02 +03:00
Devaev Maxim
06040c8da9 relay msd fixes 2020-12-29 16:14:38 +03:00
Devaev Maxim
0adfe17f70 configurable gpio devices 2020-12-25 11:08:56 +03:00
Devaev Maxim
42475809fc refactoring 2020-12-21 01:59:49 +03:00
Devaev Maxim
16ad64db88 refactoring 2020-11-22 15:36:45 +03:00
Devaev Maxim
58f60bb49f using monotonic time 2020-11-13 12:31:00 +03:00
Devaev Maxim
180251ec59 refactoring 2020-11-12 22:36:22 +03:00
Devaev Maxim
6420bc4533 mypy again 2020-10-13 14:55:08 +03:00
Devaev Maxim
cf5bc84872 refactoring 2020-10-09 11:58:19 +03:00
Devaev Maxim
cccf44655a common env variables 2020-10-03 05:02:14 +03:00
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