blob: 96dcc0453de8d061e2c88db946c596d86c9331bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
kvmd:
server:
unix_mode: 0666
info:
hw:
procfs_prefix: /fake_procfs
sysfs_prefix: /fake_sysfs
hid:
keyboard:
device: /dev/null
mouse:
device: /dev/null
noop: true
msd:
remount_cmd: /bin/true
unlock_cmd: /bin/true
sysfs_prefix: /fake_sysfs
streamer:
desired_fps: 30
max_fps: 40
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-video"
- "--quality={quality}"
- "--desired-fps={desired_fps}"
- "--resolution=800x600"
- "--last-as-blank=0"
- "--unix={unix}"
- "--unix-rm"
- "--unix-mode=0666"
- "--exit-on-parent-death"
- "--process-name-prefix={process_name_prefix}"
- "--notify-parent"
- "--no-log-colors"
gpio:
drivers:
relay:
type: hidrelay
device: /dev/hidraw0
scheme:
led1:
pin: 0
mode: input
led2:
pin: 1
mode: input
button1:
pin: 10
mode: output
switch: false
button2:
pin: 11
mode: output
switch: false
relay1:
pin: 0
mode: output
initial: null
driver: relay
relay2:
pin: 1
mode: output
initial: null
driver: relay
pulse:
delay: 2
max_delay: 5
view:
table:
- ["#Generic GPIO leds"]
- []
- ["#Test 1:", led1, button1]
- ["#Test 2:", led2, button2]
- []
- ["#HID Relays /dev/hidraw0"]
- []
- ["#Relay #1:", "relay1,Boop 0.1"]
- ["#Relay #2:", "relay2,Boop 2.0"]
vnc:
keymap: /usr/share/kvmd/keymaps/ru
auth:
vncauth:
enabled: true
|