Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3763

Troubleshooting • Re: Raspberry PI Zero 2W does not detect connected USB device

$
0
0
g_serial and g_ether won't do anything alone. Oh, the OS will create the relevant devices but if you don't also load the dwc2 devicetree overlay (and module) the USB controller will be locked to USB Host mode.

If you have loaded the dwc2 overlay and have done so with otg_mode=peripheral the controller will be locked to device mode so no USB devices can be detected.

If you did it with otg_mode=host it'll be host only and perform worse than the default driver.

If you didn't specify an otg_mode or specified it as otg, it will depend on the OTG adapter cable you're using. Not all of them pull the ID pin the way they should to signal host mode is required.

There's also only one data enabled USB port on a zero2W - the left most one. It can do device or host (and swap between them) but cannot do both at the same time.

[shameless self promotion]
See also:
USB Ethernet Gadget A Beginner's Guide
USB Mass Storage Gadget - A Beginner's Guide
[/shameless self promotion]

Statistics: Posted by thagrol — Sun Mar 30, 2025 5:14 pm



Viewing all articles
Browse latest Browse all 3763

Trending Articles