LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-15-2017, 06:16 PM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
Does a USB 3 hub pass all its 900 mA to USB 2 devices?


Usb 3 devices can run on up to 900 mA whereas usb 2 ones up to 500 mA. Given that the power pins for usb 3 are separate pins from those for usb 2, does this mean that a usb 3 hub that runs on power from a usb 3 port can send a total of 900 mA to usb 2 devices?

Or is it a total of just 500 mA to usb 2 devices because it comes from the usb 2 pins of the usb 3 port powering the hub?

Or is it a total of 500+900=1400 mA to usb 2 devices?

Or does it depend on the hub manufacturer?

An example of a usb 3 hub that delivers all the 900 mA (or even 1400 mA) to usb 2 devices, each device allowed up to 500 mA?

Last edited by Ulysses_; 03-15-2017 at 06:35 PM.
 
Old 03-15-2017, 07:14 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Are you asking about an external or internal hub?

As far as I know 3.x power pins are the same as 2.0.

Per the spec a 2.0 high powered device can only draw a max of 500ma regardless of how much the port can source. A 3.x high powered device can only draw a max of 900ma regardless of how much the port can source.

Charging ports are different.

Last edited by michaelk; 03-15-2017 at 07:20 PM.
 
Old 03-15-2017, 09:51 PM   #3
stanvan
Member
 
Registered: May 2007
Posts: 123

Rep: Reputation: 50
The power pins are the same, as michaelk says. This is part of what ensures backward compatibility from USB 3.1 all the way back to USB 1.1 for Type A connectors. There is also a pair of data pins for compatibility, so a total of 4 pins are required to keep everything working together happily. The voltage remains the same for the power pins (5V), but the source current limits increased for USB 3.0. The older devices should not draw more current than their rating, or more than they need.

An exception: Some power hungry devices, such as an external DVD burner that I have (USB 2.0), may need more current. My drive came with a Y-cable that allows it to plug into two USB ports to get the extra power, but I have never had to use it.
 
Old 03-16-2017, 02:44 AM   #4
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
Can any usb 3 hub deliver all the 900 mA that it receives to usb 2 devices, for example 500 mA to one device and 400 mA to another? Or 500 to one that needs this much and nothing left for the other, as would happen with a usb 2 hub?

Last edited by Ulysses_; 03-16-2017 at 02:53 AM.
 
Old 03-16-2017, 04:58 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Not as far as know. All the system knows is if the device is low or high power and the total in number of unit loads but not how much current is actually sourced.
 
Old 03-16-2017, 06:47 AM   #6
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
What is the design reason for the concept of unit loads and not just talking in terms of mA?
 
Old 03-16-2017, 08:11 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
A unit load is a single low power device. I don't know and I am not a USB expert but I assume the specification was a compromise with hardware and software design complexity. USB enumeration is a complex thing and many devices ignore it and don't limit their current. The host power supply design may just meet the min requirements and so can lead to problems.

When a device is connected via enumeration it tells the host if it is a high power device so the the OS knows how many units are connected to a single port. As far as I know there isn't anything that keeps track of current sourced.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is it ok to use usb 2 and usb 3 devices simultaneously on a usb 3 hub? Ulysses_ Linux - Hardware 3 10-12-2016 06:46 PM
Why some USB devices do not work through a hub and what to do about it? Ulysses_ Linux - Hardware 6 09-16-2012 10:06 PM
Embedded USB hub NOT detecting any usb devices zaks_974 Linux - Embedded & Single-board computer 2 09-16-2010 12:47 AM
USB devices died after USB hub install Twistedlizzard Linux - Hardware 5 07-08-2005 06:17 AM
USB Hub and Multiple Devices acrors Red Hat 5 08-25-2004 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration