VisionFive2 power button

Hi,

I have a VisionFive 2 board.

When I power up the board, the system boots up instantly without a power button. In the schematic I saw that it is possible to connect the reset switch as a power button, but the references on the board are missing to identify the components to be modified. Can you help me understand how I can make the power button work?

Another problem occurs during shutdown, the board performs the software shutdown but does not turn off. How can I solve this problem?

Thank you

2 Likes

It affects me, too.

I shut down (poweroff) the System I installed (Ubuntu), but the fan of VF2 board still spins.

I posted the same question on reddit here:

https://www.reddit.com/r/RISCV/comments/1e08qbj/visionfive2_power_button/

user bigtreeman_ replied:

“The little switch near the power USB-C connector switches PWER_EN disabling the 5V regulator, from whence comes all the ergs to make it work. Check the schematic pgs 18, 22.”

this is interesting, but I have to study this a bit.

I use ‘VisionFive 2 Debian 202405 Released’ and ‘Archlinux for VisionFive 2’, It is normal for them to shutdown.

1 Like

It depends on how you connect the fan. For me, if I connect it to the fan connector, the fan will not stop when I shut down the board. However, if I connect it to 3.3v on GPIO, the fan will stop. (I prefer to connect my 5v fan to the 3.3v pin because it is quieter.)

2 Likes

My VisionFive 2 board power switch,cheap,simple,Complete power outage。


1 Like

Schematics pgs 18,22, PCB rev 1.3B
SW1 on pg 18 pulls PWER_EN low
PWER_EN on pg 22 pulls BUCK EN low on NB679, turning the buck regulator off, which powers the whole board.
put a volt meter on any power rail…
as mentioned above there is no software complete power off, which is usual, often allowing for external interrupt , keyboard input, etc to power back up as defined in os power configuration…
It’s actually a pretty harsh ‘reset button’ I’m more used to a reset applying a reset signal to main processor, various peripherals or power supply controller, for a more elegant, controlled restart.