User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Pi Zero USB hub

Fri Nov 27, 2015 4:28 pm

Because the RPi Zero only has a single USB port, and I need keyboard (wired), mouse (wired) and Wifi (at least for initial configuration), I tried using a couple of passive USB hubs I had kicking around. Neither worked. Without the hub, and either keyboard or mouse plugged in directly (via the official uUSB to USB A adapter), all was fine. However, via the hub, even keyboard on it own didn't work.

I tried max_usb_current=1 even though that is an RPi2 specific

Anyone found a passive hub that works or a different way to add keyboard, mouse and dongle to the PiZero.

This is running latest Jessie image.

TIA
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5201
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Pi Zero USB hub

Fri Nov 27, 2015 4:33 pm

You'll need a powered hub.
Director of Communications, Raspberry Pi

User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Re: Pi Zero USB hub

Fri Nov 27, 2015 4:40 pm

Cheers Liz, I was hoping to get away without the mess of wires for the CotswoldJam tomorrow. I'll dig out my 10 port powered from my rat's nest of spares!
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

webuser011
Posts: 1
Joined: Sat Nov 28, 2015 1:12 am

Re: Pi Zero USB hub

Sat Nov 28, 2015 1:14 am

I am using a powered 4 port USB 3.0 hub and I am having the same problem. The peripherals work with the hub but I cannot get more than one peripheral working at a time.

fruitoftheloom
Posts: 20684
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Pi Zero USB hub

Sat Nov 28, 2015 7:20 am

webuser011 wrote:I am using a powered 4 port USB 3.0 hub and I am having the same problem. The peripherals work with the hub but I cannot get more than one peripheral working at a time.
Try a USB2 Mains Powered Hub, this question of USB3 Hubs not enumerating devices has been discussed, this is the short version:

https://www.raspberrypi.org/documentati ... nownissues
Retired disgracefully.....

geev03
Posts: 121
Joined: Thu Jun 07, 2012 12:40 pm
Location: London, UK

Re: Pi Zero USB hub

Sat Nov 28, 2015 8:16 am

liz wrote:You'll need a powered hub.
Yes, I used one for the initial set up.
Image

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Pi Zero USB hub

Sat Nov 28, 2015 11:11 am

geev03 wrote:
liz wrote:You'll need a powered hub.
Yes, I used one for the initial set up.
Image

Where does this display come from?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Brandonjh00
Posts: 1
Joined: Wed Dec 02, 2015 2:57 pm

Re: Pi Zero USB hub

Wed Dec 02, 2015 3:07 pm

I don't know if it's just luck, or what, but I spliced a passive belkin usb hub with a micro usb to reduce to bulky adapter. Have been running with Pivos wifi, Logitech keyboard and mouse dongle, and a thumb drive without any issues.

JANGER
Posts: 2
Joined: Wed Dec 02, 2015 11:36 pm

Re: Pi Zero USB hub

Thu Dec 03, 2015 10:34 am

could you show any link for the hub you used?
Brandonjh00 wrote:I don't know if it's just luck, or what, but I spliced a passive belkin usb hub with a micro usb to reduce to bulky adapter. Have been running with Pivos wifi, Logitech keyboard and mouse dongle, and a thumb drive without any issues.

User avatar
Retroman
Posts: 42
Joined: Sun Jan 29, 2012 6:17 pm

Re: Pi Zero USB hub

Thu Dec 03, 2015 2:39 pm

I'm using a cheap Amazon basics 4 port hub on the Pi Zero. Its not a powered hub and I've a joystick(ms sidewinder), keyboard/mouse combo and edimax wifi dongle hooked up and all working on RetroPie.

So far all is working fine and I used the wifi a lot while setting up RetroPie as well as the Keyboard and jstick.

User avatar
ds18s20
Posts: 81
Joined: Fri Dec 23, 2011 5:44 am
Location: San Francisco

Re: Pi Zero USB hub

Wed Dec 09, 2015 9:51 pm

@Retroman could you show a picture of how that Amazon hub is connected to the Pi Zero? What goes where kind of a picture...? Thanks

User avatar
leol
Posts: 147
Joined: Fri Jan 13, 2012 4:27 pm
Location: Haute-Vienne, France

Re: Pi Zero USB hub

Thu Dec 10, 2015 8:39 am

Try the Broadcom WiFi adaptor and USB hub. https://shop.pimoroni.com/products/usb- ... fi-adaptor
Works great. I keep a couple in my tool kit for setting up Pis before running them headless.

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: Pi Zero USB hub

Thu Dec 10, 2015 8:24 pm

Okay, so USB 3 hubs can be problematic with the RPi Zero even if the same Hub works with RPi B and RPi 2 B.

I only have the one Hub, and need it to get my Wi-Fi working.

So due to the USB 3 hub, issues, would the SD card for the Zero work in my RPi B, then I can set it up, get it working, so it can run headless, or would the RPi 2 B, be a better option?
Last edited by java on Thu Dec 10, 2015 8:27 pm, edited 1 time in total.

fruitoftheloom
Posts: 20684
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Pi Zero USB hub

Thu Dec 10, 2015 8:26 pm

java wrote:Okay, so USB 3 hubs can be problematic with the RPi ZeZeroeven if the same Hub works with RPi B and RPi 2 B.

I only have the one Hub, and need it to get my Wi-Fi working.

So due to the USB 3 hub, issues, would the SD card for the Zero work in my RPi B, then I can set it up, get it working, so it can run headless, or would the RPi 2 B, be a better option?
Yes the SD Card with Raspbian Jessie is backward compatible....
Retired disgracefully.....

User avatar
startrek.steve
Posts: 383
Joined: Thu Aug 30, 2012 7:19 pm

Re: Pi Zero USB hub

Wed Feb 10, 2016 3:43 pm

Could a Zero power a WiFi dongle and an 8gb usb stick without a powered hub? its fine running the WiFi dongle

Steve
Pi 2 running LibreElec Krypton, Pi 2 running Wheezy Desktop, Pi 1 headless Wheezy, downloading Radio, Pi 1 running Picore headless Media Server, Pi Zero to be an Old Time Radio Project. Pi 3 testing. Pi Zero W downloading Radio shows headless.

User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Re: Pi Zero USB hub

Wed Feb 10, 2016 4:28 pm

I use an unpowered hub on the zero. BUT I use low power USB devices.

My setup:
pi zero
hub
EDIMAX 7811n (wifi)
logitech unified thing ( connects to all their keyboards and mice)


After I've set up wifi and everything else, my setup becomes this:
pi zero
EDIMax 7811n

Everything is controlled thru ssh and wifi.
Antikythera

alphanumeric
Posts: 2065
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Pi Zero USB hub

Wed Feb 10, 2016 4:31 pm

I've plugged a wireless keyboard, WIFI dongle and USB thumb drive into my Zero with an el cheapo NexxTech USB unpowered hub. They all worked OK. Keyboard was a Logitech with the Unifying receiver. WIFI dongle is a LB-Link 802.11 N.

mutley
Posts: 61
Joined: Sat Jan 02, 2016 8:06 pm

Re: Pi Zero USB hub

Thu Feb 11, 2016 5:17 am

I'm not sure on the correct terminology, but you need an active hub or a hub with it's own IC controller, powered vs non-powered is irreverent.
Some USB hubs simple duplicate the signal basically giving the upstream USB controller more ports. Others add a USB controller IC, ie actually register as another USB device with the upstream controller. Since the zero can only support one physical port with it's onboard USB controller IC, a hub without it's own IC controller will not work.

User avatar
startrek.steve
Posts: 383
Joined: Thu Aug 30, 2012 7:19 pm

Re: Pi Zero USB hub

Thu Feb 11, 2016 1:21 pm

OK I tried my Zero with an unpowered hub with Wifi and USB stick in the hub. SSH'd in fine, browsed the stick, all seemed fine, rebooted and got a boot failure to emergency repair menu. pulled the hub out and ran just with just the Wifi on the Zero - all fine again, works fine on a 4 port powered hub with the WiFi and usb stick in the powered hub. I guess the Zero can only take one usb device on its own.

Steve
Last edited by startrek.steve on Wed Feb 24, 2016 1:53 pm, edited 1 time in total.
Pi 2 running LibreElec Krypton, Pi 2 running Wheezy Desktop, Pi 1 headless Wheezy, downloading Radio, Pi 1 running Picore headless Media Server, Pi Zero to be an Old Time Radio Project. Pi 3 testing. Pi Zero W downloading Radio shows headless.

fruitoftheloom
Posts: 20684
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Pi Zero USB hub

Thu Feb 11, 2016 1:35 pm

startrek.steve wrote:OK I tried my Zero with an unpowered hub with Wifi and USB stick in the hub. SSH'd in fine, browsed the stick, all seemed fine, rebooted and got a boot failure to emergency repair menu. pulled the hub out and ran just with just the Wifi on the Zero - all fine again, works fine on a 4 port powered hub with the WiFi and usb stick in the powered hub. I guess the Zero can only take on usb device on its own.

Steve
From the gazillion posts it would appear that it is a minefield whether or not Chinese Cheap Hubs work, it would help others if you posted details of the Hub you used.
Retired disgracefully.....

User avatar
startrek.steve
Posts: 383
Joined: Thu Aug 30, 2012 7:19 pm

Re: Pi Zero USB hub

Thu Feb 11, 2016 3:00 pm

fruitoftheloom wrote:
startrek.steve wrote:OK I tried my Zero with an unpowered hub with Wifi and USB stick in the hub. SSH'd in fine, browsed the stick, all seemed fine, rebooted and got a boot failure to emergency repair menu. pulled the hub out and ran just with just the Wifi on the Zero - all fine again, works fine on a 4 port powered hub with the WiFi and usb stick in the powered hub. I guess the Zero can only take one usb device on its own.

Steve
From the gazillion posts it would appear that it is a minefield whether or not Chinese Cheap Hubs work, it would help others if you posted details of the Hub you used.
The Unpowered one I used was a Freebie from an RM (Research Machines) conference, the powered one was an official 4 port one from Pihut I think, it was the one I bought for my first Pi, it was replaced with another official 7 port one.
Last edited by startrek.steve on Mon Dec 19, 2016 12:03 pm, edited 1 time in total.
Pi 2 running LibreElec Krypton, Pi 2 running Wheezy Desktop, Pi 1 headless Wheezy, downloading Radio, Pi 1 running Picore headless Media Server, Pi Zero to be an Old Time Radio Project. Pi 3 testing. Pi Zero W downloading Radio shows headless.

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: Pi Zero USB hub

Thu Feb 11, 2016 7:08 pm

I use a USB 2, 4 port Targus hub, with a WN725N Wi-Fi adapter, 32Gig. Sandisk Memory stick, keyboard and mouse, works fine. It is an non-powered hub. Can substitute a Chronos USB ethernet adapter, for the Wi-Fi adapter without issues.

My j5create USB 3, powered hub does not work with my RPi Zero.

TheGuyUk
Posts: 60
Joined: Fri Jan 29, 2016 4:08 pm

Re: Pi Zero USB hub

Thu Feb 11, 2016 9:14 pm

My set up if i helps is

A Poundland unpowered white usb 2 hub 4 ports, one usb WiFi dongle widemac, one wireless mini keyboard with Touchpad dongle, connected by a micro usb connector to USB.

You need a strong power supply as mentioned on the OTG.

asandford
Posts: 1997
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Pi Zero USB hub

Thu Feb 11, 2016 11:24 pm

TheGuyUk wrote:
A Poundland unpowered white usb 2 hub 4 ports
Got one of those a couple of weeks back and found that it happily runs a USB3 1Gbps Ethernet adapter, and with an "A" to "A" cable will power the Pi as well - not bad for a quid.

yellowspanner
Posts: 1
Joined: Fri Feb 12, 2016 5:53 pm

Re: Pi Zero USB hub

Fri Feb 12, 2016 6:07 pm

So is the Amazon basics hub a good bet? Going to need to run a keyboard, a mouse and wifi dongle.

Return to “General discussion”