Zero 2W reboots when plugging/unplugging micro USB OTG cable
(Double posted, so reply to your list) To anyone with Raspberry Pi Zero 2W... I just got Zero 2W + mini HDMI adapter + micro USB OTG cable combo, from Amazon last week. All seem to be working. *Except*, whenever I plug or unplug OTG cable, the Zero 2W *reboots*. Nothing is connected to the USB cable, so it's not "power" issue. I don't know if the problem is Zero 2W side or USB cable side. Does your Zero 2W reboot, when you plug/unplug OTG cable? It's strange that plugging/unplugging just USB cable, would cause a reboot.
It could be a power issue... the adapter may have large decoupling capacitors, and plugging in will drain a lot of power to charge those capacitors, and it can lead to a brownout or a reset. If you have an oscilloscope you can probe the power rails and check if there's a large voltage drop when you plug the adapter. But it would not explain why it reboots while unplugging... Mauro https://www.maurosouza.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. On Mon, Dec 22, 2025 at 4:25 PM William Park via Talk <talk@lists.gtalug.org> wrote:
(Double posted, so reply to your list)
To anyone with Raspberry Pi Zero 2W...
I just got Zero 2W + mini HDMI adapter + micro USB OTG cable combo, from Amazon last week. All seem to be working. *Except*, whenever I plug or unplug OTG cable, the Zero 2W *reboots*. Nothing is connected to the USB cable, so it's not "power" issue. I don't know if the problem is Zero 2W side or USB cable side.
Does your Zero 2W reboot, when you plug/unplug OTG cable? It's strange that plugging/unplugging just USB cable, would cause a reboot. ------------------------------------ Description: GTALUG Talk Unsubscribe via Talk-unsubscribe@lists.gtalug.org Start a new thread: talk@lists.gtalug.org This message archived at https://lists.gtalug.org/archives/list/talk@lists.gtalug.org/message/BFIVR64...
William Park wrote:
(Double posted, so reply to your list)
To anyone with Raspberry Pi Zero 2W...
I just got Zero 2W + mini HDMI adapter + micro USB OTG cable combo, from Amazon last week. All seem to be working. *Except*, whenever I plug or unplug OTG cable, the Zero 2W *reboots*. Nothing is connected to the USB cable, so it's not "power" issue. I don't know if the problem is Zero 2W side or USB cable side.
Does your Zero 2W reboot, when you plug/unplug OTG cable? It's strange that plugging/unplugging just USB cable, would cause a reboot.
Same behavior on my Zero 2W using keyboard HID over USB OTG. Power appears to route through microusb data port when OTG is enabled. Note, I'm using Alpine Linux in diskless mode (running entirely in RAM), so improper shutdowns or reboots aren't an issue to me. /Balrog
On 2025-12-29 03:09, Andre via Talk wrote:
William Park wrote:
(Double posted, so reply to your list)
To anyone with Raspberry Pi Zero 2W...
I just got Zero 2W + mini HDMI adapter + micro USB OTG cable combo, from Amazon last week. All seem to be working. *Except*, whenever I plug or unplug OTG cable, the Zero 2W *reboots*. Nothing is connected to the USB cable, so it's not "power" issue. I don't know if the problem is Zero 2W side or USB cable side.
Does your Zero 2W reboot, when you plug/unplug OTG cable? It's strange that plugging/unplugging just USB cable, would cause a reboot. Same behavior on my Zero 2W using keyboard HID over USB OTG. Power appears to route through microusb data port when OTG is enabled. Thanks for testing. I feel better now, that mine is not defective. I looked into logs (journalctl), but it's clean reset. Absolutely nothing in the log.
Note, I'm using Alpine Linux in diskless mode (running entirely in RAM), so improper shutdowns or reboots aren't an issue to me. Diskless? How do you put Alpine into RAM? Do you do network boot?
William Park wrote:
Thanks for testing. I feel better now, that mine is not defective. I looked into logs (journalctl), but it's clean reset. Absolutely nothing in the log.
Note, I'm using Alpine Linux in diskless mode (running entirely in RAM), so improper shutdowns or reboots aren't an issue to me. Diskless? How do you put Alpine into RAM? Do you do network boot?
No network boot, typical Alpine Linux install to SD card, but setup to load OS to RAM therefore OS is fast and extending SD life dramatically as it's only used to write when running lbu(Alpine backup tool) for persistent changes to the OS, effectively making it like a quasi appliance. link for the authoritative way: https://wiki.alpinelinux.org/wiki/Diskless_Mode Personally don't follow this, too complicated. There are better guides on the interweb, but have my own way which is simpler.
participants (3)
-
amvaron@gmail.com -
Mauro Souza -
William Park