Skip to content

USB Relay

USB Relay for ATX Power Management

Requirements

  • Device: LCUS_HID USB Relay
  • Device path: /dev/hidraw0

LCUS_HID USB Relay Front LCUS_HID USB Relay Back

Configuration

When starting the Docker container, you need to:

  1. Map the relay device
  2. Set the environment variable ATX=USBRELAY_HID

Example

Below is a sample deployment for Cumebox 2:

1
2
3
4
5
docker run --name kvmd -itd --privileged=true \
    -v /dev:/dev -v /sys/kernel/config:/sys/kernel/config \
    -v /lib/modules:/lib/modules:ro -e OTG=1 -e VIDEONUM=1 -e ATX=USBRELAY_HID \
    -p 8080:8080 -p 4430:4430 -p 5900:5900 -p 623:623 \
    silentwind0/kvmd

Demo Video