summaryrefslogtreecommitdiff
path: root/configs/kvmd/main/v1-vga-rpi2.yaml
blob: c658abfb7141482692ddf2f85e5d1b3e18432168 (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
# 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_led_inverted: true
        hdd_led_inverted: true
        power_switch_pin: 23
        reset_switch_pin: 27

    msd:
        type: relay
        target_pin: 12
        reset_pin: 13
        device: /dev/kvmd-msd

    streamer:
        cap_pin: 17
        conv_pin: 18
        sync_delay: 1.0
        init_delay: 3.0
        init_restart_after: 1.0
        desired_fps: 0
        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}"
            - "--resolution=720x576"
            - "--fake-resolution=800x600"
            - "--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:
    keymap: /usr/share/kvmd/keymaps/en-us

    kvmd:
        unix: /run/kvmd/kvmd.sock

    streamer:
        unix: /run/kvmd/ustreamer.sock