I know at least one other user has reported hot plugging HDMI or USB devices made their Pi0 reboot.
At first, I thought they were imagining it, because I had never experienced it myself.
However, I think if I find the posts again, I may have to apologise!
I just powered up a brand new Pi0W from 2017 and accidentally powered it via the USB port, and plugged my USB mouse into the Power port and had a peculiar time.
I was using the official raspberry Pi 2.5A power supply.
I noticed that unplugging things didn't matter, but if I plugged USB in, it rebooted.
I tried two different OTG connectors and two different USB hubs, both of which caused a reboot upon plugging them in. Neither were powered externally (though it is available)
One of the hubs has individually switched ports. If I plugged it in before booting and turned the ports on and off, nothing happened.
I also tried plugging the mouse in directly, without using the hub as I had no need for more than one USB port, and that also forced a reboot.
The only thing I can put it down to was accidentally mixing up the ports on the Pi, but... Why? What would cause the Pi to reboot simply by using the wrong port?
As I understand it, the power port does not have the data pins connected.
Last edited by Imperf3kt
on Sun Apr 07, 2019 10:20 pm, edited 1 time in total.