mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 17:50:29 +08:00
支持配置文件目录挂载,删除多余文件
-v ./kvmd_config:/etc/kvmd
This commit is contained in:
parent
777b823fb9
commit
000f94d204
3
.gitignore
vendored
3
.gitignore
vendored
@ -18,4 +18,5 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
*.swp
|
*.swp
|
||||||
/venv/
|
/venv/
|
||||||
.vscode/settings.json
|
.vscode/settings.j/son
|
||||||
|
kvmd_config/
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"cmake.ignoreCMakeListsMissing": true
|
||||||
|
}
|
||||||
@ -99,16 +99,7 @@ RUN if [ ${TARGETARCH} = arm ]; then ARCH=armhf; elif [ ${TARGETARCH} = arm64 ];
|
|||||||
&& chmod +x /usr/local/bin/ttyd \
|
&& chmod +x /usr/local/bin/ttyd \
|
||||||
&& adduser kvmd --gecos "" --disabled-password \
|
&& adduser kvmd --gecos "" --disabled-password \
|
||||||
&& ln -sf /usr/share/tesseract-ocr/*/tessdata /usr/share/tessdata \
|
&& ln -sf /usr/share/tesseract-ocr/*/tessdata /usr/share/tessdata \
|
||||||
&& mkdir -p \
|
&& mkdir -p /etc/kvmd/override.d /var/lib/kvmd/msd /var/lib/kvmd/pst/data /opt/vc/bin /run/kvmd /tmp/kvmd-nginx \
|
||||||
/etc/kvmd/nginx \
|
|
||||||
/etc/kvmd/vnc \
|
|
||||||
/etc/kvmd/override.d\
|
|
||||||
/etc/kvmd/hw_info/ \
|
|
||||||
/var/lib/kvmd/msd \
|
|
||||||
/var/lib/kvmd/pst/data \
|
|
||||||
/opt/vc/bin \
|
|
||||||
/run/kvmd \
|
|
||||||
/tmp/kvmd-nginx \
|
|
||||||
&& touch /run/kvmd/ustreamer.sock /etc/kvmd/.docker_flag
|
&& touch /run/kvmd/ustreamer.sock /etc/kvmd/.docker_flag
|
||||||
|
|
||||||
|
|
||||||
@ -117,13 +108,11 @@ COPY extras/ /usr/share/kvmd/extras/
|
|||||||
COPY web/ /usr/share/kvmd/web/
|
COPY web/ /usr/share/kvmd/web/
|
||||||
COPY build/platform scripts/kvmd-gencert /usr/share/kvmd/
|
COPY build/platform scripts/kvmd-gencert /usr/share/kvmd/
|
||||||
COPY contrib/keymaps /usr/share/kvmd/keymaps
|
COPY contrib/keymaps /usr/share/kvmd/keymaps
|
||||||
COPY kvmd/ /kvmd
|
COPY kvmd/ build/init.sh /kvmd/
|
||||||
COPY configs/kvmd/* /etc/kvmd/
|
COPY configs/kvmd/* /etc/kvmd_backup/
|
||||||
COPY configs/nginx/* /etc/kvmd/nginx/
|
COPY configs/nginx/* /etc/kvmd_backup/nginx/
|
||||||
COPY configs/janus/* /etc/kvmd/janus/
|
COPY configs/janus/* /etc/kvmd_backup/janus/
|
||||||
COPY configs/hw_info/* /etc/kvmd/hw_info/
|
COPY configs/hw_info/* /etc/kvmd_backup/hw_info/
|
||||||
COPY build/v2-hdmiusb-rpi4.override.yaml /etc/kvmd/override.yaml
|
|
||||||
COPY configs/kvmd/main/v2-hdmiusb-rpi4.yaml /etc/kvmd/main.yaml
|
|
||||||
COPY testenv/js/* /usr/share/janus/javascript/
|
COPY testenv/js/* /usr/share/janus/javascript/
|
||||||
|
|
||||||
CMD ["/etc/kvmd/init.sh"]
|
ENTRYPOINT ["/kvmd/init.sh"]
|
||||||
@ -11,6 +11,8 @@ echo -e "${GREEN}One-KVM pre-starting...${NC}"
|
|||||||
#仅首次运行,用于初始化配置文件
|
#仅首次运行,用于初始化配置文件
|
||||||
if [ ! -f /etc/kvmd/.init_flag ]; then
|
if [ ! -f /etc/kvmd/.init_flag ]; then
|
||||||
|
|
||||||
|
cp -r /etc/kvmd_backup/* /etc/kvmd/
|
||||||
|
|
||||||
#生成 ssl 证书 和 vnc 证书
|
#生成 ssl 证书 和 vnc 证书
|
||||||
/usr/share/kvmd/kvmd-gencert --do-the-thing
|
/usr/share/kvmd/kvmd-gencert --do-the-thing
|
||||||
/usr/share/kvmd/kvmd-gencert --do-the-thing --vnc
|
/usr/share/kvmd/kvmd-gencert --do-the-thing --vnc
|
||||||
@ -1,78 +0,0 @@
|
|||||||
kvmd:
|
|
||||||
auth:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
server:
|
|
||||||
unix_mode: 0666
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: ch9329
|
|
||||||
device: /dev/ttyUSB0
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
resolution:
|
|
||||||
default: 1280x720
|
|
||||||
forever: true
|
|
||||||
h264_bitrate:
|
|
||||||
default: 2000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/video0"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--encoder=LIBX264-VIDEO"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--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"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
- "--slowdown"
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
keymap: /usr/share/kvmd/keymaps/ru
|
|
||||||
|
|
||||||
auth:
|
|
||||||
vncauth:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
|
|
||||||
otgnet:
|
|
||||||
commands:
|
|
||||||
post_start_cmd:
|
|
||||||
- "/bin/true"
|
|
||||||
pre_stop_cmd:
|
|
||||||
- "/bin/true"
|
|
||||||
|
|
||||||
nginx:
|
|
||||||
http:
|
|
||||||
port: 8080
|
|
||||||
https:
|
|
||||||
port: 4430
|
|
||||||
|
|
||||||
|
|
||||||
languages:
|
|
||||||
console: zh
|
|
||||||
web: zh
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8717701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714FEE2C80A070381A403020
|
|
||||||
3500404421000002000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D2056330A20202020012B
|
|
||||||
020317314A049F13223E213D203C0167
|
|
||||||
030C001000802DEE2C80A070381A4030
|
|
||||||
203500404421000002011D007251D01E
|
|
||||||
206E2835000F282100001E0000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
000000000000000000000000000000CD
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8737701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F023A801871382D40582C
|
|
||||||
45000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D20563420506C7573012D
|
|
||||||
020320714B90041F13223E213D203C01
|
|
||||||
67030C001000802D23097F0783010000
|
|
||||||
023A801871382D40582C45000F282100
|
|
||||||
001E011D007251D01E206E2855000F28
|
|
||||||
2100001E023A80D072382D40102C4580
|
|
||||||
0F282100001E00000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000042
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8707701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F011D007251D01E206E28
|
|
||||||
55000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D0A20202020202020018D
|
|
||||||
020317314A841F13223E213D203C0167
|
|
||||||
030C001000802D011D007251D01E206E
|
|
||||||
2855000F282100001E00000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000015
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8707701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F011D007251D01E206E28
|
|
||||||
55000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D0A20202020202020018D
|
|
||||||
020317314A841F13223E213D203C0167
|
|
||||||
030C001000802D011D007251D01E206E
|
|
||||||
2855000F282100001E00000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000015
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8707701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F011D007251D01E206E28
|
|
||||||
55000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D0A20202020202020018D
|
|
||||||
020317314A841F13223E213D203C0167
|
|
||||||
030C001000802D011D007251D01E206E
|
|
||||||
2855000F282100001E00000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000015
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8717701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F011D007251D01E206E28
|
|
||||||
55000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D2056330A202020200143
|
|
||||||
020317314A841F13223E213D203C0167
|
|
||||||
030C001000802D011D007251D01E206E
|
|
||||||
2855000F282100001E00000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000000
|
|
||||||
00000000000000000000000000000015
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8727701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F023A801871382D40582C
|
|
||||||
45000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D205634204D696E690145
|
|
||||||
020320714B90041F13223E213D203C01
|
|
||||||
67030C001000802D23097F0783010000
|
|
||||||
023A801871382D40582C45000F282100
|
|
||||||
001E011D007251D01E206E2855000F28
|
|
||||||
2100001E023A80D072382D40102C4580
|
|
||||||
0F282100001E283C80A070B023403020
|
|
||||||
360006442100001A0000000000000000
|
|
||||||
00000000000000000000000000000030
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
00FFFFFFFFFFFF0031D8737701010101
|
|
||||||
231A010380351E780E0565A756529C27
|
|
||||||
0F50543FED00B300A9C0950090408180
|
|
||||||
814081C0714F023A801871382D40582C
|
|
||||||
45000F282100001E000000FF00434146
|
|
||||||
45424142452020202020000000FD0032
|
|
||||||
4B0F5211000A202020202020000000FC
|
|
||||||
0050694B564D20563420506C7573012D
|
|
||||||
020320714B90041F13223E213D203C01
|
|
||||||
67030C001000802D23097F0783010000
|
|
||||||
023A801871382D40582C45000F282100
|
|
||||||
001E011D007251D01E206E2855000F28
|
|
||||||
2100001E023A80D072382D40102C4580
|
|
||||||
0F282100001E283C80A070B023403020
|
|
||||||
360006442100001A0000000000000000
|
|
||||||
00000000000000000000000000000030
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
[server]
|
|
||||||
unix = /run/kvmd/fan.sock
|
|
||||||
unix_rm = 1
|
|
||||||
unix_mode = 666
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[main]
|
|
||||||
pwm_pin = 13
|
|
||||||
hall_pin = 16
|
|
||||||
|
|
||||||
[speed]
|
|
||||||
idle = 27
|
|
||||||
low = 27
|
|
||||||
|
|
||||||
[server]
|
|
||||||
unix = /run/kvmd/fan.sock
|
|
||||||
unix_rm = 1
|
|
||||||
unix_mode = 666
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
[main]
|
|
||||||
pwm_pin = 13
|
|
||||||
hall_pin = 16
|
|
||||||
|
|
||||||
[speed]
|
|
||||||
idle = 27
|
|
||||||
low = 27
|
|
||||||
|
|
||||||
[server]
|
|
||||||
unix = /run/kvmd/fan.sock
|
|
||||||
unix_rm = 1
|
|
||||||
unix_mode = 666
|
|
||||||
@ -1,39 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: serial
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
@ -1,47 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: serial
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: serial
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,51 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: serial
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: serial
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: serial
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
@ -1,48 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: spi
|
|
||||||
chip: 0
|
|
||||||
bus: 0
|
|
||||||
sw_cs_pin: 7
|
|
||||||
sw_cs_per_byte: true
|
|
||||||
reset_pin: 25
|
|
||||||
reset_inverted: true
|
|
||||||
reset_self: true
|
|
||||||
power_detect_pin: 16
|
|
||||||
power_detect_pull_down: true
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: spi
|
|
||||||
chip: 0
|
|
||||||
bus: 0
|
|
||||||
sw_cs_pin: 7
|
|
||||||
sw_cs_per_byte: true
|
|
||||||
reset_pin: 25
|
|
||||||
reset_inverted: true
|
|
||||||
reset_self: true
|
|
||||||
power_detect_pin: 16
|
|
||||||
power_detect_pull_down: true
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: spi
|
|
||||||
chip: 0
|
|
||||||
bus: 0
|
|
||||||
sw_cs_pin: 7
|
|
||||||
sw_cs_per_byte: true
|
|
||||||
reset_pin: 25
|
|
||||||
reset_inverted: true
|
|
||||||
reset_self: true
|
|
||||||
power_detect_pin: 16
|
|
||||||
power_detect_pull_down: true
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,60 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: spi
|
|
||||||
chip: 0
|
|
||||||
bus: 0
|
|
||||||
sw_cs_pin: 7
|
|
||||||
sw_cs_per_byte: true
|
|
||||||
reset_pin: 25
|
|
||||||
reset_inverted: true
|
|
||||||
reset_self: true
|
|
||||||
power_detect_pin: 16
|
|
||||||
power_detect_pull_down: true
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
@ -1,68 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: spi
|
|
||||||
chip: 0
|
|
||||||
bus: 0
|
|
||||||
sw_cs_pin: 7
|
|
||||||
sw_cs_per_byte: true
|
|
||||||
reset_pin: 25
|
|
||||||
reset_inverted: true
|
|
||||||
reset_self: true
|
|
||||||
power_detect_pin: 16
|
|
||||||
power_detect_pull_down: true
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
@ -1,68 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: spi
|
|
||||||
chip: 0
|
|
||||||
bus: 0
|
|
||||||
sw_cs_pin: 7
|
|
||||||
sw_cs_per_byte: true
|
|
||||||
reset_pin: 25
|
|
||||||
reset_inverted: true
|
|
||||||
reset_self: true
|
|
||||||
power_detect_pin: 16
|
|
||||||
power_detect_pull_down: true
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,56 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--buffers=6"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: disabled
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
quality: 0
|
|
||||||
resolution:
|
|
||||||
default: 1920x1080
|
|
||||||
available:
|
|
||||||
- 1920x1080
|
|
||||||
- 1600x1200
|
|
||||||
- 1360x768
|
|
||||||
- 1280x1024
|
|
||||||
- 1280x960
|
|
||||||
- 1280x720
|
|
||||||
- 1024x768
|
|
||||||
- 800x600
|
|
||||||
- 720x576
|
|
||||||
- 720x480
|
|
||||||
- 640x480
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--format=mjpeg"
|
|
||||||
- "--resolution={resolution}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
@ -1,68 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
info:
|
|
||||||
fan:
|
|
||||||
unix: /run/kvmd/fan.sock
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--buffers=6"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
gpio:
|
|
||||||
scheme:
|
|
||||||
__v3_usb_breaker__:
|
|
||||||
pin: 5
|
|
||||||
mode: output
|
|
||||||
initial: true
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
@ -1,97 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
info:
|
|
||||||
hw:
|
|
||||||
ignore_past: true
|
|
||||||
fan:
|
|
||||||
unix: /run/kvmd/fan.sock
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
mouse_alt:
|
|
||||||
device: /dev/kvmd-hid-mouse-alt
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
power_led_pin: 4
|
|
||||||
hdd_led_pin: 5
|
|
||||||
power_switch_pin: 23
|
|
||||||
reset_switch_pin: 27
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--buffers=6"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
gpio:
|
|
||||||
drivers:
|
|
||||||
__v4_locator__:
|
|
||||||
type: locator
|
|
||||||
|
|
||||||
scheme:
|
|
||||||
__v3_usb_breaker__:
|
|
||||||
pin: 22
|
|
||||||
mode: output
|
|
||||||
initial: true
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
__v4_locator__:
|
|
||||||
driver: __v4_locator__
|
|
||||||
pin: 12
|
|
||||||
mode: output
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
__v4_const1__:
|
|
||||||
pin: 6
|
|
||||||
mode: output
|
|
||||||
initial: false
|
|
||||||
switch: false
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
|
|
||||||
|
|
||||||
otg:
|
|
||||||
remote_wakeup: true
|
|
||||||
@ -1,98 +0,0 @@
|
|||||||
# Don't touch this file otherwise your device may stop working.
|
|
||||||
# Use override.yaml to modify required settings.
|
|
||||||
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
|
|
||||||
|
|
||||||
override: !include [override.d, override.yaml]
|
|
||||||
|
|
||||||
logging: !include logging.yaml
|
|
||||||
|
|
||||||
kvmd:
|
|
||||||
auth: !include auth.yaml
|
|
||||||
|
|
||||||
info:
|
|
||||||
hw:
|
|
||||||
ignore_past: true
|
|
||||||
fan:
|
|
||||||
unix: /run/kvmd/fan.sock
|
|
||||||
|
|
||||||
hid:
|
|
||||||
type: otg
|
|
||||||
mouse_alt:
|
|
||||||
device: /dev/kvmd-hid-mouse-alt
|
|
||||||
|
|
||||||
atx:
|
|
||||||
type: gpio
|
|
||||||
power_led_pin: 4
|
|
||||||
hdd_led_pin: 5
|
|
||||||
power_switch_pin: 23
|
|
||||||
reset_switch_pin: 27
|
|
||||||
|
|
||||||
msd:
|
|
||||||
type: otg
|
|
||||||
|
|
||||||
streamer:
|
|
||||||
h264_bitrate:
|
|
||||||
default: 5000
|
|
||||||
cmd:
|
|
||||||
- "/usr/bin/ustreamer"
|
|
||||||
- "--device=/dev/kvmd-video"
|
|
||||||
- "--persistent"
|
|
||||||
- "--dv-timings"
|
|
||||||
- "--format=uyvy"
|
|
||||||
- "--format-swap-rgb"
|
|
||||||
- "--buffers=8"
|
|
||||||
- "--encoder=m2m-image"
|
|
||||||
- "--workers=3"
|
|
||||||
- "--quality={quality}"
|
|
||||||
- "--desired-fps={desired_fps}"
|
|
||||||
- "--drop-same-frames=30"
|
|
||||||
- "--unix={unix}"
|
|
||||||
- "--unix-rm"
|
|
||||||
- "--unix-mode=0660"
|
|
||||||
- "--exit-on-parent-death"
|
|
||||||
- "--process-name-prefix={process_name_prefix}"
|
|
||||||
- "--notify-parent"
|
|
||||||
- "--no-log-colors"
|
|
||||||
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
|
||||||
- "--jpeg-sink-mode=0660"
|
|
||||||
- "--h264-sink=kvmd::ustreamer::h264"
|
|
||||||
- "--h264-sink-mode=0660"
|
|
||||||
- "--h264-bitrate={h264_bitrate}"
|
|
||||||
- "--h264-gop={h264_gop}"
|
|
||||||
|
|
||||||
gpio:
|
|
||||||
drivers:
|
|
||||||
__v4_locator__:
|
|
||||||
type: locator
|
|
||||||
|
|
||||||
scheme:
|
|
||||||
__v3_usb_breaker__:
|
|
||||||
pin: 22
|
|
||||||
mode: output
|
|
||||||
initial: true
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
__v4_locator__:
|
|
||||||
driver: __v4_locator__
|
|
||||||
pin: 12
|
|
||||||
mode: output
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
__v4_const1__:
|
|
||||||
pin: 6
|
|
||||||
mode: output
|
|
||||||
initial: false
|
|
||||||
switch: false
|
|
||||||
pulse: false
|
|
||||||
|
|
||||||
|
|
||||||
vnc:
|
|
||||||
memsink:
|
|
||||||
jpeg:
|
|
||||||
sink: "kvmd::ustreamer::jpeg"
|
|
||||||
h264:
|
|
||||||
sink: "kvmd::ustreamer::h264"
|
|
||||||
|
|
||||||
|
|
||||||
otg:
|
|
||||||
remote_wakeup: true
|
|
||||||
@ -1,39 +1,78 @@
|
|||||||
###############################################################################
|
kvmd:
|
||||||
# #
|
auth:
|
||||||
# Override KVMD settings. #
|
enabled: true
|
||||||
# #
|
|
||||||
# * https://docs.pikvm.org/first_steps/#structure-of-configuration-files #
|
server:
|
||||||
# #
|
unix_mode: 0666
|
||||||
# This file uses YAML syntax. All overridden parameters will be applied #
|
|
||||||
# AFTER other configs and "!include" directives, and BEFORE validation. #
|
atx:
|
||||||
# Values should be combined under common sections. #
|
type: disabled
|
||||||
# #
|
|
||||||
###############################################################################
|
hid:
|
||||||
#
|
type: ch9329
|
||||||
#########
|
device: /dev/ttyUSB0
|
||||||
# Wrong #
|
|
||||||
#########
|
msd:
|
||||||
#kvmd:
|
type: disabled
|
||||||
# gpio:
|
|
||||||
# drivers: ...
|
streamer:
|
||||||
#kvmd:
|
resolution:
|
||||||
# gpio:
|
default: 1280x720
|
||||||
# scheme: ...
|
forever: true
|
||||||
#
|
h264_bitrate:
|
||||||
###########
|
default: 2000
|
||||||
# Correct #
|
cmd:
|
||||||
###########
|
- "/usr/bin/ustreamer"
|
||||||
#kvmd:
|
- "--device=/dev/video0"
|
||||||
# gpio:
|
- "--persistent"
|
||||||
# drivers: ...
|
- "--format=mjpeg"
|
||||||
# scheme: ...
|
- "--encoder=LIBX264-VIDEO"
|
||||||
#
|
- "--resolution={resolution}"
|
||||||
###########
|
- "--desired-fps={desired_fps}"
|
||||||
# Example #
|
- "--drop-same-frames=30"
|
||||||
###########
|
- "--last-as-blank=0"
|
||||||
#vnc:
|
- "--unix={unix}"
|
||||||
# # See https://docs.pikvm.org/vnc
|
- "--unix-rm"
|
||||||
# keymap: /usr/share/kvmd/keymaps/ru # Set russian keymap
|
- "--unix-mode=0666"
|
||||||
# auth:
|
- "--exit-on-parent-death"
|
||||||
# vncauth:
|
- "--process-name-prefix={process_name_prefix}"
|
||||||
# enabled: true # Enable auth via /etc/kvmd/vncpasswd
|
- "--notify-parent"
|
||||||
|
- "--no-log-colors"
|
||||||
|
- "--h264-sink=kvmd::ustreamer::h264"
|
||||||
|
- "--h264-sink-mode=0660"
|
||||||
|
- "--jpeg-sink=kvmd::ustreamer::jpeg"
|
||||||
|
- "--jpeg-sink-mode=0660"
|
||||||
|
- "--h264-bitrate={h264_bitrate}"
|
||||||
|
- "--h264-gop={h264_gop}"
|
||||||
|
- "--slowdown"
|
||||||
|
|
||||||
|
vnc:
|
||||||
|
keymap: /usr/share/kvmd/keymaps/ru
|
||||||
|
|
||||||
|
auth:
|
||||||
|
vncauth:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
memsink:
|
||||||
|
jpeg:
|
||||||
|
sink: "kvmd::ustreamer::jpeg"
|
||||||
|
h264:
|
||||||
|
sink: "kvmd::ustreamer::h264"
|
||||||
|
|
||||||
|
otgnet:
|
||||||
|
commands:
|
||||||
|
post_start_cmd:
|
||||||
|
- "/bin/true"
|
||||||
|
pre_stop_cmd:
|
||||||
|
- "/bin/true"
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
http:
|
||||||
|
port: 8080
|
||||||
|
https:
|
||||||
|
port: 4430
|
||||||
|
|
||||||
|
|
||||||
|
languages:
|
||||||
|
console: zh
|
||||||
|
web: zh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user