mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
v0-hdmi-zerow
This commit is contained in:
parent
10be8339d4
commit
83f9406fa0
1
PKGBUILD
1
PKGBUILD
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
|
|
||||||
_variants=(
|
_variants=(
|
||||||
|
v0-hdmi:zerow
|
||||||
v0-hdmi:rpi
|
v0-hdmi:rpi
|
||||||
v0-hdmi:rpi2
|
v0-hdmi:rpi2
|
||||||
v0-hdmi:rpi3
|
v0-hdmi:rpi3
|
||||||
|
|||||||
62
configs/kvmd/main/v0-hdmi-zerow.yaml
Normal file
62
configs/kvmd/main/v0-hdmi-zerow.yaml
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# 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.yaml
|
||||||
|
|
||||||
|
logging: !include logging.yaml
|
||||||
|
|
||||||
|
kvmd:
|
||||||
|
server:
|
||||||
|
unix: /run/kvmd/kvmd.sock
|
||||||
|
|
||||||
|
auth: !include auth.yaml
|
||||||
|
|
||||||
|
hid:
|
||||||
|
type: serial
|
||||||
|
reset_pin: 4
|
||||||
|
device: /dev/kvmd-hid
|
||||||
|
|
||||||
|
atx:
|
||||||
|
type: gpio
|
||||||
|
power_led_pin: 24
|
||||||
|
hdd_led_pin: 22
|
||||||
|
power_switch_pin: 23
|
||||||
|
reset_switch_pin: 27
|
||||||
|
|
||||||
|
msd:
|
||||||
|
type: disabled
|
||||||
|
|
||||||
|
streamer:
|
||||||
|
unix: /run/kvmd/ustreamer.sock
|
||||||
|
cmd:
|
||||||
|
- "/usr/bin/ustreamer"
|
||||||
|
- "--device=/dev/kvmd-video"
|
||||||
|
- "--persistent"
|
||||||
|
- "--dv-timings"
|
||||||
|
- "--format=uyvy"
|
||||||
|
- "--encoder=omx"
|
||||||
|
- "--glitched-resolutions=720x480,720x576"
|
||||||
|
- "--workers=1"
|
||||||
|
- "--quality={quality}"
|
||||||
|
- "--desired-fps={desired_fps}"
|
||||||
|
- "--drop-same-frames=30"
|
||||||
|
- "--last-as-blank=0"
|
||||||
|
- "--unix={unix}"
|
||||||
|
- "--unix-rm"
|
||||||
|
- "--unix-mode=0660"
|
||||||
|
- "--exit-on-parent-death"
|
||||||
|
- "--process-name-prefix={process_name_prefix}"
|
||||||
|
- "--notify-parent"
|
||||||
|
- "--no-log-colors"
|
||||||
|
|
||||||
|
ipmi:
|
||||||
|
kvmd:
|
||||||
|
unix: /run/kvmd/kvmd.sock
|
||||||
|
|
||||||
|
vnc:
|
||||||
|
kvmd:
|
||||||
|
unix: /run/kvmd/kvmd.sock
|
||||||
|
|
||||||
|
streamer:
|
||||||
|
unix: /run/kvmd/ustreamer.sock
|
||||||
9
configs/os/boot-config/v0-hdmi-zerow.txt
Normal file
9
configs/os/boot-config/v0-hdmi-zerow.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# See /boot/overlays/README for all available options
|
||||||
|
initramfs initramfs-linux.img followkernel
|
||||||
|
|
||||||
|
hdmi_force_hotplug=1
|
||||||
|
gpu_mem=64
|
||||||
|
start_x=1
|
||||||
|
enable_uart=1
|
||||||
|
dtoverlay=tc358743,i2c_pins_28_29=1
|
||||||
|
dtoverlay=disable-bt
|
||||||
1
configs/os/cmdline/v0-hdmi-zerow.sed
Normal file
1
configs/os/cmdline/v0-hdmi-zerow.sed
Normal file
@ -0,0 +1 @@
|
|||||||
|
s/rootwait/cma=64M rootwait/g
|
||||||
4
configs/os/udev/v0-hdmi-zerow.rules
Normal file
4
configs/os/udev/v0-hdmi-zerow.rules
Normal 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=="20801000.csi|20801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd"
|
||||||
|
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"
|
||||||
Loading…
x
Reference in New Issue
Block a user