summaryrefslogtreecommitdiff
path: root/kvmd/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-11 00:06:56 +0000
committerDevaev Maxim <[email protected]>2018-07-11 00:06:56 +0000
commit008b9ca2f2d7daf96e975635ddd4c38c35bb4bdb (patch)
tree5f8c9b8921efb1258922c468c5d1bfc3c2bfc9c1 /kvmd/testenv
parentdb56bf90db213f994dc3c433638dc497ead94096 (diff)
arduino-based hid
Diffstat (limited to 'kvmd/testenv')
-rw-r--r--kvmd/testenv/Dockerfile1
-rw-r--r--kvmd/testenv/kvmd.yaml9
-rw-r--r--kvmd/testenv/requirements.txt1
3 files changed, 5 insertions, 6 deletions
diff --git a/kvmd/testenv/Dockerfile b/kvmd/testenv/Dockerfile
index 12744df3..c8bd0c23 100644
--- a/kvmd/testenv/Dockerfile
+++ b/kvmd/testenv/Dockerfile
@@ -33,6 +33,7 @@ RUN pacman -Syy \
python-pip \
nginx \
mjpg-streamer-pikvm \
+ socat \
&& pacman -Sc --noconfirm
COPY testenv/requirements.txt requirements.txt
diff --git a/kvmd/testenv/kvmd.yaml b/kvmd/testenv/kvmd.yaml
index d27aacfc..8fc928c3 100644
--- a/kvmd/testenv/kvmd.yaml
+++ b/kvmd/testenv/kvmd.yaml
@@ -4,12 +4,9 @@ kvmd:
port: 8081
heartbeat: 3.0
- keyboard:
- pinout:
- clock: 17
- data: 4
-
- pulse: 0.0002
+ hid:
+ device: /dev/ttyS10
+ speed: 115200
atx:
pinout:
diff --git a/kvmd/testenv/requirements.txt b/kvmd/testenv/requirements.txt
index d054c0ee..66450f38 100644
--- a/kvmd/testenv/requirements.txt
+++ b/kvmd/testenv/requirements.txt
@@ -3,5 +3,6 @@ aiohttp
aiofiles
pyudev
pyyaml
+pyserial
bumpversion
tox