Get started

From box to console in four steps.

One command sets up the board. After that, updates come from the console.

  1. What you need
  2. Install the tool
  3. Set up the board
  4. Open the console

Step 1

What you need

A board and a cable. You also need a computer to run the tool, on macOS or Linux.

  • The Waveshare ESP32-P4-NANO board

    ESP32-P4-NANO, or an equivalent

    The board that becomes the KVM. Get Waveshare's PoE module with it, so a single network cable carries power and data. The network side needs a PoE switch or injector.

    Waveshare shop
  • A USB cable

    From the board's USB-A port to the computer or server you want to control. USB-A to USB-A or USB-C, whichever fits it.

Optional

  • An HDMI-to-CSI adapter with a TC358743 chip

    HDMI-to-CSI adapter and an HDMI cable

    Only needed without the USB display. It captures the machine's HDMI output instead. Use it for a Mac, for the BIOS and start-up screens before the system loads, or for VNC.

    Waveshare shop

Step 2

Install the tool

One command installs kvm32. It needs python3 (3.10 or newer) and curl. Run it in a terminal.

curl -fsSL https://kvm32.com/install.sh | sh

It installs into ~/.kvm32 and adds kvm32 to your command line. Run it again any time to update.

Step 3

Set up the board

Connect the board's USB-C port to your computer, then run:

kvm32 provision

With an Enterprise code or a trial code, add it to activate it on this board:

kvm32 provision --licence KVM32-XXXXX-XXXXX-XXXXX-XXXXX

No code yet? Buy one or start a free trial. The page shows this command with your code filled in.

What it does

  1. Finds the board. If there is more than one, you choose.
  2. Flashes it. It downloads the firmware and writes it. A board that already ran KVM32 keeps its settings, password and certificate.
  3. Waits for the address the network gives the board, by Ethernet or WiFi.
  4. Opens the console in your browser. If it cannot learn the address, it opens https://ip-kvm32.local/.

Unplug other boards and serial adapters first, so the right port is found without a question.

Step 4

Open the console

Now plug in for good: the PoE cable to your network, the USB cable to the computer or server you want to control.

  • Your browser warns once. The board makes its own security certificate. Continue to the site.
  • Set a password first. And keep it.
  • The picture arrives over USB. The computer sees KVM32 as a monitor. See the next section for the display driver.

The picture over USB

The computer needs a small display driver before it will send its screen to KVM32.

  • Windows 10 and 11. Install the signed USB display driver Espressif publishes, then in Display settings choose Duplicate these displays. Left on Extend, windows can end up on the screen you cannot see.
  • Linux. An open driver exists. Mirror the new monitor, or make it the main one.
  • Mac. There is no driver. Use the HDMI adapter instead, with an HDMI cable.

Also use the HDMI adapter to see the BIOS and start-up screens before the system loads, or to use VNC. Choose it in the console under Settings, Video, Picture source.

Careful with the two USB ports

The board's USB-C port is for power, flashing and the log. Its USB-A port goes to the machine you control, and its 5 V is always on. Never connect both ports to the same computer unless the lead to the target blocks the 5 V wire: the computer would see two ports sharing one supply and switch them off.

The other commands

kvm32 ports
Lists the serial ports it would consider, the likely board marked.
kvm32 flash FILE
Flashes a firmware you already have.
kvm32 monitor
Shows the board's log until you press Ctrl-C.
kvm32 update
Installs a newer kvm32.

Options for provision: --licence CODE, --channel stable|beta, --port PATH and --yes.