You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to share my experience using what seems to be a slightly newer version of the XH-HK4401 4-port switch.
The main difference is it uses 3.3V non-inverted UART protocol for the remote control.
This is actually great, because it eliminates need of using an inverting FTDI adapter, and also allows to connect the switch control interface directly to Pi's UART without using any extra circuitry.
The markings on PCBs are:
HDMI switch board: PCB-HK4501-V0.2-A1-HDMI
USB/Control board: PCB-HK4401-V2.0-B-USB
Connecting this switch using the current guide for the XH-HK4401 won't work because of the different control interface implementation, so here are some instructions on how to do it.
I think, adding this information to the docs may help people with newer HK4401 switches.
Before interfacing the switch with Raspberry using the following guide, one should first check the voltage levels on the control interface, because the manufacturer can change the implementation at any moment!!! If you accidentally connect a 5V version to your Pi, you can permanently damage it!
Using with FTDI adapter
I successfully used a $1 fake FTDI adapter from Aliexpress which looks like this:
FTDI adapter
Switch the jumper on the FTDI adapter to the position 3.3V
Connect wires:
GND to USB GND (and shield, if present on cable)
TX to USB D- (white)
RX to USB D+ (green)
Remount the filesystem in read-write mode using the rw command
Append the following lines to /etc/kvmd/override.yaml:
I'd like to share my experience using what seems to be a slightly newer version of the XH-HK4401 4-port switch.
The main difference is it uses 3.3V non-inverted UART protocol for the remote control.
This is actually great, because it eliminates need of using an inverting FTDI adapter, and also allows to connect the switch control interface directly to Pi's UART without using any extra circuitry.
The markings on PCBs are:
PCB-HK4501-V0.2-A1-HDMI
PCB-HK4401-V2.0-B-USB
Connecting this switch using the current guide for the XH-HK4401 won't work because of the different control interface implementation, so here are some instructions on how to do it.
I think, adding this information to the docs may help people with newer HK4401 switches.
Before interfacing the switch with Raspberry using the following guide, one should first check the voltage levels on the control interface, because the manufacturer can change the implementation at any moment!!! If you accidentally connect a 5V version to your Pi, you can permanently damage it!
Using with FTDI adapter
I successfully used a $1 fake FTDI adapter from Aliexpress which looks like this:
FTDI adapter
3.3V
rw
command/etc/kvmd/override.yaml
:override.yaml
ro
systemctl restart kvmd
Using with direct UART connection
rw
commandconsole=serial0,115200
parameter from/boot/cmdline.txt
/etc/kvmd/override.yaml
:override.yaml
The text was updated successfully, but these errors were encountered: