v0 configs

This commit is contained in:
Devaev Maxim 2019-05-21 04:38:21 +03:00
parent d5d07c48c0
commit b9e6ffee97
14 changed files with 146 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Author: Maxim Devaev <mdevaev@gmail.com> # Author: Maxim Devaev <mdevaev@gmail.com>
[ -n "$PIKVM_PLATFORM" ] || PIKVM_PLATFORM="v1-vga v1-hdmi" [ -n "$PIKVM_PLATFORM" ] || PIKVM_PLATFORM="v0-vga v0-hdmi v1-vga v1-hdmi"
[ -n "$PIKVM_BOARD" ] || PIKVM_BOARD="rpi2 rpi3" [ -n "$PIKVM_BOARD" ] || PIKVM_BOARD="rpi2 rpi3"

View File

@ -0,0 +1,46 @@
# Don't touch this file otherwise your device may stop working.
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
logging: !include logging.yaml
kvmd:
server:
unix: /run/kvmd/kvmd.sock
unix_rm: true
unix_mode: 0660
auth: !include auth.yaml
hid:
reset_pin: 4
device: /dev/kvmd-hid
atx:
power_led_pin: 24
hdd_led_pin: 22
power_switch_pin: 23
reset_switch_pin: 27
msd:
enabled: false
streamer:
unix: /run/kvmd/ustreamer.sock
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-video"
- "--persistent"
- "--dv-timings"
- "--format=uyvy"
- "--encoder=omx"
- "--workers=3"
- "--quality={quality}"
- "--desired-fps={desired_fps}"
- "--drop-same-frames=30"
- "--unix={unix}"
- "--unix-rm"
- "--unix-mode=0660"
ipmi:
kvmd:
unix: /run/kvmd/kvmd.sock

View File

@ -0,0 +1,47 @@
# Don't touch this file otherwise your device may stop working.
# You can find a working configuration in /usr/share/kvmd/configs.default/kvmd.
logging: !include logging.yaml
kvmd:
server:
unix: /run/kvmd/kvmd.sock
unix_rm: true
unix_mode: 0660
auth: !include auth.yaml
hid:
reset_pin: 4
device: /dev/kvmd-hid
atx:
power_led_pin: 24
hdd_led_pin: 22
power_switch_pin: 23
reset_switch_pin: 27
msd:
enabled: false
streamer:
unix: /run/kvmd/ustreamer.sock
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-video"
- "--tv-standard=pal"
- "--format=yuyv"
- "--encoder=cpu"
- "--quality={quality}"
- "--desired-fps={desired_fps}"
- "--width=720"
- "--height=576"
- "--fake-width=800"
- "--fake-height=600"
- "--unix={unix}"
- "--unix-rm"
- "--unix-mode=0660"
ipmi:
kvmd:
unix: /run/kvmd/kvmd.sock

View File

@ -0,0 +1,8 @@
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=256
start_x=1
enable_uart=1
dtoverlay=tc358743,i2c_pins_28_29=1

View File

@ -0,0 +1,9 @@
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=256
start_x=1
enable_uart=1
dtoverlay=tc358743
dtoverlay=pi3-disable-bt

View File

@ -0,0 +1,6 @@
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=16
enable_uart=1

View File

@ -0,0 +1,7 @@
# See /boot/overlays/README for all available options
initramfs initramfs-linux.img followkernel
hdmi_force_hotplug=1
gpu_mem=16
enable_uart=1
dtoverlay=pi3-disable-bt

View File

@ -0,0 +1,3 @@
s/console=ttyAMA0\,115200//g
s/kgdboc=ttyAMA0\,115200//g
s/rootwait/cma=128M rootwait/g

View File

@ -0,0 +1,2 @@
s/console=ttyAMA0\,115200//g
s/kgdboc=ttyAMA0\,115200//g

View File

@ -0,0 +1 @@
tc358743

View File

@ -0,0 +1,4 @@
# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"

View File

@ -0,0 +1,4 @@
# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"

View File

@ -0,0 +1,4 @@
# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"

View File

@ -0,0 +1,4 @@
# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"