pikvm-rock64 icon indicating copy to clipboard operation
pikvm-rock64 copied to clipboard

Any advice on GPIO pin mapping for the ATX control board?

Open RebelPhoton opened this issue 3 years ago • 1 comments

Should we just connect the same pins than the official project, or should we remap those pins for different devices? Were is each pin configured? From what I read the Orange Pi Zero pins are layed out similarly but the software/driver numbering is different? How does that work nowadays?

RebelPhoton avatar Jul 08 '21 16:07 RebelPhoton

I'll answer my own question.

TLDR: If using the same physical pins as a raspberry pi add this to /etc/kvmd/override.yaml

kvmd:
    atx:
        type: gpio
        power_led_pin: 18
        hdd_led_pin: 3
        power_switch_pin: 19
        reset_switch_pin: 0

Explanation:

The logical GPIO pin numbers change as indicated here or here. The syntax was copied from here

RebelPhoton avatar Jul 11 '21 16:07 RebelPhoton