@OP:
Can you confirm that you are using the correct USB port on the zero2w. The data port is the one nearest the mini HDMI port.
Definitely using thge USB data port (closest to HDMI)
Have you tested with a different microUSB B male to USB A female adapter? Your current one may be the point of failure.
Yes, I tried a different OTG microUSB B male to USB A female adapter, and also replaced the USB cable from the powered hub that connects to the USB A female adapter
Can you try after adding the following to your config.txt. This isn't recommended long term as it will impact performance. It should use a different driver and force host only mode on the controller.
I added:
dtoverly=dwc2,dr_mode=host
to the /boot/firmware/config.txt in the "[all]" section, however I changed "dtoverly" to "dtoverlay" because I was assuming it was a typo. I rebooted and it did not change the symptoms and I have since commented it back out:
[all]
# troubleshoot non-working USB port
# dtoverlay=dwc2,dr_mode=host
# end troubleshoot section
Regards,
Steve
Glad you got it working.
A word to the wise: Can you please learn how to use the forum's quote feature and tags. Or find some other way to indicate which bits of your post are from yourself and which bits are by someone else. Several of your posts are difficult to parse regarding who wrote which bits - like the one I just quoted in this reply.
You might want to learn about code tags too while you're at it. Those are essential if you ever need to post python code.
(No, I'm not being picky or intentionally unreasonably. It's important to know which bits are the question and which the answer. And that may not be be immediately obvious.)
Statistics: Posted by thagrol — Sat Jan 18, 2025 12:09 am