OneCloud GPIO
OneCloud GPIO Pin Reference¶
The OneCloud board exposes multiple GPIO pads for power control and other functions. The Wi-Fi pad numbering starts from the bottom-left and increases counter-clockwise.
GPIO Pin Mapping¶
Available GPIO pads:
GPIO Example¶
Using pad 26 as an example to determine GPIO config:
-
Find pad 26 on the board. The sysfs GPIO number is gpio-436.
- Note: Linux kernel 6.x and above require a +91 offset, so it becomes gpio-527.
-
Based on the software label "J2 Header Pin 16", the corresponding gpioinfo entry is gpiochip0 line7.
-
Use the following commands in
/etc/kvmd/custom_atx/gpio.shto control this GPIO:
Direct GPIO Wiring¶
Notes
- This method may not work for non-standard ATX power management hardware.
-
For Huanan Jingo X99-F8 and K9-ETH boards:
- GPIO must connect to power switch pin 7 and GND to pin 9 (not the usual 5/7). Incorrect wiring may prevent boot or break the reset button.
This method works for both old and new OneCloud versions, using GPIOs reserved by the IR header for power control:
- Use one GPIO (3.3V)
-
Solder two wires to the IR header pads:
- GPIO-420 to power switch positive
- GND to power switch negative
Optocoupler Isolation¶
For better safety, you can use an optocoupler isolation board:





