m_stoops wrote: ↑
Mon Mar 13, 2017 2:07 am
Requiring a powered hub on a zero w just seems ridiculous! So much for the "Zero". Now I need to add all the support around it?!?
Expecting to use a $5 computer like a normal desktop computer is ridiculous. If you want to use a Raspberry Pi like a normal computer with multiple peripherals, then get a Pi3. The PiZero only has a single USB data port, and that's not exactly a secret, so if you bought one thinking that you could connect a keyboard, mouse and another USB device or two, then I suggest you do more research in the future to avoid purchasing the wrong product.
And technically you don't *require* a powered hub. That depends on what you are connecting. Sometimes a passive hub will work fine. In my experience, the number of interconnections is where problems arise. PiZero micro-USB port > micro-USB to USB-A OTG adapter > USB-A to USB Mini-B cable > USB hub > USB hub to whatever device or device connecting cable, etc. Lots of links in that chain to break, and micro-USB connections were not designed to deliver high current (only 500mA by spec).
So yes, a cheap USB hub with a cheap interconnecting cable and a cheap USB OTG adapter may very well be problematic. Then again it may work fine if the cheap components are of decent quality. Better quality components, fewer interconnections or a powered hub are all possible solutions (the latter being the most recommended),
In my case I normally use my PiZero headless with only a USB WiFi dongle. However, at one point I did experiment with connecting multiple USB devices through hubs that I already owned. Using the passive hub as described above with a USB keyboard, mouse and WiFi dongle often resulted in one device not working (usually the WiFi dongle). With a powered hub it was fine. Using a USB mini-B to micro-USB cable between the hub and PiZero (to eliminate the OTG adapter) fixed the problem. So it would seem that the OTG adapter was the problem, but that same OTG adapter works fine with only the WiFi dongle. There are hubs that have a built-in micro-USB cable for the PiZero, and in theory those should work better due to fewer interconnection losses, but I haven't tried any myself.
Bottom line is, passive hubs are always a crapshoot. They are never guaranteed to work. Powered hubs are the best solution when a hub is needed.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?