Skip to content

Instantly share code, notes, and snippets.

@therevoman
Created March 11, 2025 18:04
Show Gist options
  • Save therevoman/bacb9851e3cc28f445cd3fbbc95b50ff to your computer and use it in GitHub Desktop.
Save therevoman/bacb9851e3cc28f445cd3fbbc95b50ff to your computer and use it in GitHub Desktop.
blikvm pikvm override.yaml
# taken from multiple places
# - https://docs.pikvm.org/xh_hk4401/#switching-between-hosts-in-the-ui
# - https://wiki.blicube.com/blikvm/en/switch-guide/#software-configuration
# - https://wiki.blicube.com/blikvm/en/modify_pikvm_image/
otg:
devices:
serial:
enabled: true
start: false
kvmd:
### disable fan socket check ###
info:
fan:
unix: ''
atx:
hdd_led_pin: 22
power_led_pin: 24
power_switch_pin: 23
reset_switch_pin: 27
type: gpio
gpio:
drivers:
hk:
type: xh_hk4401
protocol: 2
device: /dev/ttyUSB0
scheme:
__v3_usb_breaker__:
pin: 5
mode: output
initial: false
pulse:
delay: 0
ch0_led:
driver: hk
pin: 0
mode: input
ch1_led:
driver: hk
pin: 1
mode: input
ch2_led:
driver: hk
pin: 2
mode: input
ch3_led:
driver: hk
pin: 3
mode: input
ch0_button:
driver: hk
pin: 0
mode: output
switch: false
ch1_button:
driver: hk
pin: 1
mode: output
switch: false
ch2_button:
driver: hk
pin: 2
mode: output
switch: false
ch3_button:
driver: hk
pin: 3
mode: output
switch: false
view:
table:
- ["#Input 1", ch0_led, ch0_button]
- ["#Input 2", ch1_led, ch1_button]
- ["#Input 3", ch2_led, ch2_button]
- ["#Input 4", ch3_led, ch3_button]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment