How many usb hard drives can be plugged into a laptop using a port replicator?External usb 3.0 hard drive is...

Gear reduction on large turbofans

Using only 1s, make 29 with the minimum number of digits

Can we harness gravitational potential energy?

Increment each digit in a number to form a new number

Numbers with a minus sign in a matrix not aligned with the numbers without minus sign

How would an AI self awareness kill switch work?

How to make ice magic work from a scientific point of view?

What evolutionary advantage do viruses have in host specificity?

Graph with overlapping labels

Convert exam marks to overall grade

How to deal with an incendiary email that was recalled

What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?

Why don't hotels mount air conditioning units outside the rooms?

How do I append a character to the end of every line in an Excel cell?

Can you tell from a blurry photo if focus was too close or too far?

Aligning symbols underneath each other neatly

What are the exceptions to Natural Selection?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

Finding a logistic regression model which can achieve zero error on a training set training data for a binary classification problem with two features

When can a QA tester start his job?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

SET NOCOUNT Error in handling SQL call after upgrade

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

Has any human ever had the choice to leave Earth permanently?



How many usb hard drives can be plugged into a laptop using a port replicator?


External usb 3.0 hard drive is not recognised when plugged into usb 3 portHow to troubleshoot slow USB2.0Some devices don't work on 3.0 USB port?USB 3.0 drive not working in Kubuntu 12.10Shell script to check if something is plugged in the wifi USB portUSB 2.0 not working in my Ubuntu 13.04 Dell XPS 13Same USB Port, Same Device: Sometimes Superspeed (USB 3.0) and Sometimes high-speed (USB 2.0)USB 2.0 ports not working 14.04 device descriptor read/64, error -32Ubuntu 15.10 doesn't recognize my USB 3.0 flash driveUbuntu 17.10 does not detect USB 3.0 devices on USB 3.0 port













10















I've got a laptop with 2 USB 2.0 and 1 USB 3.0 ports and I would like to know how many USB hard drives I could plug into it. Is there a hard limit in the Linux kernel?



On the performance side, what is the speed shared across the drives plugged into the port?










share|improve this question




















  • 1





    My dad loves his novelty USB devices. I'll get him some more for his birthday and let you know when he reaches the limit :D

    – Greg
    Jun 4 '11 at 14:32
















10















I've got a laptop with 2 USB 2.0 and 1 USB 3.0 ports and I would like to know how many USB hard drives I could plug into it. Is there a hard limit in the Linux kernel?



On the performance side, what is the speed shared across the drives plugged into the port?










share|improve this question




















  • 1





    My dad loves his novelty USB devices. I'll get him some more for his birthday and let you know when he reaches the limit :D

    – Greg
    Jun 4 '11 at 14:32














10












10








10


1






I've got a laptop with 2 USB 2.0 and 1 USB 3.0 ports and I would like to know how many USB hard drives I could plug into it. Is there a hard limit in the Linux kernel?



On the performance side, what is the speed shared across the drives plugged into the port?










share|improve this question
















I've got a laptop with 2 USB 2.0 and 1 USB 3.0 ports and I would like to know how many USB hard drives I could plug into it. Is there a hard limit in the Linux kernel?



On the performance side, what is the speed shared across the drives plugged into the port?







hardware usb-drive usb-storage






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 12 '11 at 9:19







719016

















asked Jun 4 '11 at 12:55









719016719016

1,4452467110




1,4452467110








  • 1





    My dad loves his novelty USB devices. I'll get him some more for his birthday and let you know when he reaches the limit :D

    – Greg
    Jun 4 '11 at 14:32














  • 1





    My dad loves his novelty USB devices. I'll get him some more for his birthday and let you know when he reaches the limit :D

    – Greg
    Jun 4 '11 at 14:32








1




1





My dad loves his novelty USB devices. I'll get him some more for his birthday and let you know when he reaches the limit :D

– Greg
Jun 4 '11 at 14:32





My dad loves his novelty USB devices. I'll get him some more for his birthday and let you know when he reaches the limit :D

– Greg
Jun 4 '11 at 14:32










3 Answers
3






active

oldest

votes


















13














Theoretically you can have up to 127 devices connected to one host PC but there are practical power and data bandwidth limitations that would prevent that. These 127 devices can be arranged in a tiered network of hubs up to seven levels, counting the PC host as level 1 and the farthest device as level 7. The PC supplies 5 units of power to a hub. Each unit is 100 mA and each port requires a minimum of 1 unit. The hub itself consumes one, leaving 4 units for up to 4 ports. So you will never find a bus-powered hub with more than four ports.



Bus-powered hubs have a further limitation. Since each port has only a single unit of power, they can only connect downstream to a single device. You cannot connect them to another hub for expansion because that hub requires an additional 5 units. And not all devices can run off a single unit. A low-power device like a mouse will work, but a high power device can claim up to 5 units. High power USB devices will only work when plugged directly into a PC host or a self-powered hub that can supply 5 units to the port.



When you connect a device, the PC queries the device for its capabilities and requirements. So, for example, the PC knows that it is connected to a 4-port bus-powered hub which means that each port can only drive one unit. If you try to plug a high power device into that hub, the OS will throw up an error message and refuse to enable the device.



Bus-powered hubs are generally a bad idea because of these limitations and are intended mainly for mobile, not desktop use.



On the other hand, if the devices that are plugged into the port are themselves self-powered, then they may not need more then one unit from the hub. For example external disk drives have their own power so should work okay on a bus-powered hub.



A self-powered hub will be able to supply 5 units to each port, allowing high-power devices and further levels of hubs. So you could plug in one 7-port self-powered hub and then seven more 7-port hubs into that, giving you 49 available ports at just the fourth tier.



Some self-powered hubs will allow you to use them also in bus-powered mode, but if you try to plug in too many devices, the OS will give you an error message.



Most hub controller chips have 4 ports so you commonly see 4-port hubs. When they want to build a bigger hub, they just use two 4-port chips. But they have to daisy chain them with the first chip connected to the host and the second connected to one of the downstream ports on the first chip. This leaves only seven ports left for the user, three on the first chip and four on the second -- hence the common 7-port hub.



USB is plug-and-play in the sense you don't have to know any of this stuff when you connect things up. The OS keeps track of the power budget of each hub and device, will tell you if the connection will not work, and that you need to use a self-powered port.



edit: USB packets look like this:



Token:
Packet ID: 8 bits
Address: 7 bits
Endpoint: 4 bits
CRC: 5 bits

Start of frame:
Packet ID: 8 bits
Frame Number: 11 bits
CRC: 5 bits

Data Packet:
Packet ID: 8 bits
Data: 0-1023 bytes
CRC: 16 bits

Handshake:
Packet ID: 8 bits


Since the address is only 7 bits, you can only have 128 devices on the entire bus (with 7 bits that can each be on and off, there are only 128 total different combinations of bits possible). This includes your computer, so that leaves 127 other things you can attach to it.






share|improve this answer





















  • 2





    Where does the 127 limit come from? Just wondering.

    – crazy2be
    Jun 4 '11 at 16:58











  • @crazy2be: you ask, I edit :)

    – Rinzwind
    Jun 4 '11 at 17:01






  • 1





    @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

    – crasic
    Jun 4 '11 at 18:04











  • 127 usb sticks is possible. 128 hard disc? Don't think so :D

    – Rinzwind
    Jun 4 '11 at 18:06











  • how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

    – 719016
    Jun 4 '11 at 21:49



















0














So, you will find out that with USB3 chipsets, you will actually hit a limit at 30 devices or so, due to a hard 32 device limit (really 96 endpoint limit) on USB3 chipsets.



I dealt with this problem too and it took me a while to find the real problem and solutions. It's a long page, so you can go read it there http://marc.merlins.org/perso/linux/post_2018-12-20_Getting-Around-USB3-xhci-32-Device-Limit-Max-number-of-devices-this-xHCI-host-supports-is-32.html



Basically, it boils down to these things

1) there is a 96 endpoint limit with USB3 (which translates to 32 devices only)

2) you lose further endpoints due to hubs, using a USB2 cable to a USB3 hub gives you a few slots back

3) more generally you should disable USB3 if you can do without it (remove the USB3 kernel driver, or easier if you can, disable USB3 in your bios). Using a USB3 chip in USB2 mode does not help, you have to disable the USB3 so that your motherboard reroutes the port to a USB2 controller that doesn't have that endpoint limit
4) if you cannot disable USB3, get a USB2 only PCIe card and that one will truly give you 120 devices or so.



Further resources:
https://www.spinics.net/lists/linux-usb/msg175224.html
https://forums.intel.com/s/question/0D50P00004905stSAA/hardware-limitations-on-usb-endpoints-xhci?language=en_US






share|improve this answer








New contributor




Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




























    -2














    From personal experience, my webcam will only work if connected directly to my PC's USB ports. It wouldn't work connected to a powered hub. That would imply to me that you will run into bandwidth limitations before running into a number of devices limit.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f46885%2fhow-many-usb-hard-drives-can-be-plugged-into-a-laptop-using-a-port-replicator%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      13














      Theoretically you can have up to 127 devices connected to one host PC but there are practical power and data bandwidth limitations that would prevent that. These 127 devices can be arranged in a tiered network of hubs up to seven levels, counting the PC host as level 1 and the farthest device as level 7. The PC supplies 5 units of power to a hub. Each unit is 100 mA and each port requires a minimum of 1 unit. The hub itself consumes one, leaving 4 units for up to 4 ports. So you will never find a bus-powered hub with more than four ports.



      Bus-powered hubs have a further limitation. Since each port has only a single unit of power, they can only connect downstream to a single device. You cannot connect them to another hub for expansion because that hub requires an additional 5 units. And not all devices can run off a single unit. A low-power device like a mouse will work, but a high power device can claim up to 5 units. High power USB devices will only work when plugged directly into a PC host or a self-powered hub that can supply 5 units to the port.



      When you connect a device, the PC queries the device for its capabilities and requirements. So, for example, the PC knows that it is connected to a 4-port bus-powered hub which means that each port can only drive one unit. If you try to plug a high power device into that hub, the OS will throw up an error message and refuse to enable the device.



      Bus-powered hubs are generally a bad idea because of these limitations and are intended mainly for mobile, not desktop use.



      On the other hand, if the devices that are plugged into the port are themselves self-powered, then they may not need more then one unit from the hub. For example external disk drives have their own power so should work okay on a bus-powered hub.



      A self-powered hub will be able to supply 5 units to each port, allowing high-power devices and further levels of hubs. So you could plug in one 7-port self-powered hub and then seven more 7-port hubs into that, giving you 49 available ports at just the fourth tier.



      Some self-powered hubs will allow you to use them also in bus-powered mode, but if you try to plug in too many devices, the OS will give you an error message.



      Most hub controller chips have 4 ports so you commonly see 4-port hubs. When they want to build a bigger hub, they just use two 4-port chips. But they have to daisy chain them with the first chip connected to the host and the second connected to one of the downstream ports on the first chip. This leaves only seven ports left for the user, three on the first chip and four on the second -- hence the common 7-port hub.



      USB is plug-and-play in the sense you don't have to know any of this stuff when you connect things up. The OS keeps track of the power budget of each hub and device, will tell you if the connection will not work, and that you need to use a self-powered port.



      edit: USB packets look like this:



      Token:
      Packet ID: 8 bits
      Address: 7 bits
      Endpoint: 4 bits
      CRC: 5 bits

      Start of frame:
      Packet ID: 8 bits
      Frame Number: 11 bits
      CRC: 5 bits

      Data Packet:
      Packet ID: 8 bits
      Data: 0-1023 bytes
      CRC: 16 bits

      Handshake:
      Packet ID: 8 bits


      Since the address is only 7 bits, you can only have 128 devices on the entire bus (with 7 bits that can each be on and off, there are only 128 total different combinations of bits possible). This includes your computer, so that leaves 127 other things you can attach to it.






      share|improve this answer





















      • 2





        Where does the 127 limit come from? Just wondering.

        – crazy2be
        Jun 4 '11 at 16:58











      • @crazy2be: you ask, I edit :)

        – Rinzwind
        Jun 4 '11 at 17:01






      • 1





        @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

        – crasic
        Jun 4 '11 at 18:04











      • 127 usb sticks is possible. 128 hard disc? Don't think so :D

        – Rinzwind
        Jun 4 '11 at 18:06











      • how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

        – 719016
        Jun 4 '11 at 21:49
















      13














      Theoretically you can have up to 127 devices connected to one host PC but there are practical power and data bandwidth limitations that would prevent that. These 127 devices can be arranged in a tiered network of hubs up to seven levels, counting the PC host as level 1 and the farthest device as level 7. The PC supplies 5 units of power to a hub. Each unit is 100 mA and each port requires a minimum of 1 unit. The hub itself consumes one, leaving 4 units for up to 4 ports. So you will never find a bus-powered hub with more than four ports.



      Bus-powered hubs have a further limitation. Since each port has only a single unit of power, they can only connect downstream to a single device. You cannot connect them to another hub for expansion because that hub requires an additional 5 units. And not all devices can run off a single unit. A low-power device like a mouse will work, but a high power device can claim up to 5 units. High power USB devices will only work when plugged directly into a PC host or a self-powered hub that can supply 5 units to the port.



      When you connect a device, the PC queries the device for its capabilities and requirements. So, for example, the PC knows that it is connected to a 4-port bus-powered hub which means that each port can only drive one unit. If you try to plug a high power device into that hub, the OS will throw up an error message and refuse to enable the device.



      Bus-powered hubs are generally a bad idea because of these limitations and are intended mainly for mobile, not desktop use.



      On the other hand, if the devices that are plugged into the port are themselves self-powered, then they may not need more then one unit from the hub. For example external disk drives have their own power so should work okay on a bus-powered hub.



      A self-powered hub will be able to supply 5 units to each port, allowing high-power devices and further levels of hubs. So you could plug in one 7-port self-powered hub and then seven more 7-port hubs into that, giving you 49 available ports at just the fourth tier.



      Some self-powered hubs will allow you to use them also in bus-powered mode, but if you try to plug in too many devices, the OS will give you an error message.



      Most hub controller chips have 4 ports so you commonly see 4-port hubs. When they want to build a bigger hub, they just use two 4-port chips. But they have to daisy chain them with the first chip connected to the host and the second connected to one of the downstream ports on the first chip. This leaves only seven ports left for the user, three on the first chip and four on the second -- hence the common 7-port hub.



      USB is plug-and-play in the sense you don't have to know any of this stuff when you connect things up. The OS keeps track of the power budget of each hub and device, will tell you if the connection will not work, and that you need to use a self-powered port.



      edit: USB packets look like this:



      Token:
      Packet ID: 8 bits
      Address: 7 bits
      Endpoint: 4 bits
      CRC: 5 bits

      Start of frame:
      Packet ID: 8 bits
      Frame Number: 11 bits
      CRC: 5 bits

      Data Packet:
      Packet ID: 8 bits
      Data: 0-1023 bytes
      CRC: 16 bits

      Handshake:
      Packet ID: 8 bits


      Since the address is only 7 bits, you can only have 128 devices on the entire bus (with 7 bits that can each be on and off, there are only 128 total different combinations of bits possible). This includes your computer, so that leaves 127 other things you can attach to it.






      share|improve this answer





















      • 2





        Where does the 127 limit come from? Just wondering.

        – crazy2be
        Jun 4 '11 at 16:58











      • @crazy2be: you ask, I edit :)

        – Rinzwind
        Jun 4 '11 at 17:01






      • 1





        @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

        – crasic
        Jun 4 '11 at 18:04











      • 127 usb sticks is possible. 128 hard disc? Don't think so :D

        – Rinzwind
        Jun 4 '11 at 18:06











      • how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

        – 719016
        Jun 4 '11 at 21:49














      13












      13








      13







      Theoretically you can have up to 127 devices connected to one host PC but there are practical power and data bandwidth limitations that would prevent that. These 127 devices can be arranged in a tiered network of hubs up to seven levels, counting the PC host as level 1 and the farthest device as level 7. The PC supplies 5 units of power to a hub. Each unit is 100 mA and each port requires a minimum of 1 unit. The hub itself consumes one, leaving 4 units for up to 4 ports. So you will never find a bus-powered hub with more than four ports.



      Bus-powered hubs have a further limitation. Since each port has only a single unit of power, they can only connect downstream to a single device. You cannot connect them to another hub for expansion because that hub requires an additional 5 units. And not all devices can run off a single unit. A low-power device like a mouse will work, but a high power device can claim up to 5 units. High power USB devices will only work when plugged directly into a PC host or a self-powered hub that can supply 5 units to the port.



      When you connect a device, the PC queries the device for its capabilities and requirements. So, for example, the PC knows that it is connected to a 4-port bus-powered hub which means that each port can only drive one unit. If you try to plug a high power device into that hub, the OS will throw up an error message and refuse to enable the device.



      Bus-powered hubs are generally a bad idea because of these limitations and are intended mainly for mobile, not desktop use.



      On the other hand, if the devices that are plugged into the port are themselves self-powered, then they may not need more then one unit from the hub. For example external disk drives have their own power so should work okay on a bus-powered hub.



      A self-powered hub will be able to supply 5 units to each port, allowing high-power devices and further levels of hubs. So you could plug in one 7-port self-powered hub and then seven more 7-port hubs into that, giving you 49 available ports at just the fourth tier.



      Some self-powered hubs will allow you to use them also in bus-powered mode, but if you try to plug in too many devices, the OS will give you an error message.



      Most hub controller chips have 4 ports so you commonly see 4-port hubs. When they want to build a bigger hub, they just use two 4-port chips. But they have to daisy chain them with the first chip connected to the host and the second connected to one of the downstream ports on the first chip. This leaves only seven ports left for the user, three on the first chip and four on the second -- hence the common 7-port hub.



      USB is plug-and-play in the sense you don't have to know any of this stuff when you connect things up. The OS keeps track of the power budget of each hub and device, will tell you if the connection will not work, and that you need to use a self-powered port.



      edit: USB packets look like this:



      Token:
      Packet ID: 8 bits
      Address: 7 bits
      Endpoint: 4 bits
      CRC: 5 bits

      Start of frame:
      Packet ID: 8 bits
      Frame Number: 11 bits
      CRC: 5 bits

      Data Packet:
      Packet ID: 8 bits
      Data: 0-1023 bytes
      CRC: 16 bits

      Handshake:
      Packet ID: 8 bits


      Since the address is only 7 bits, you can only have 128 devices on the entire bus (with 7 bits that can each be on and off, there are only 128 total different combinations of bits possible). This includes your computer, so that leaves 127 other things you can attach to it.






      share|improve this answer















      Theoretically you can have up to 127 devices connected to one host PC but there are practical power and data bandwidth limitations that would prevent that. These 127 devices can be arranged in a tiered network of hubs up to seven levels, counting the PC host as level 1 and the farthest device as level 7. The PC supplies 5 units of power to a hub. Each unit is 100 mA and each port requires a minimum of 1 unit. The hub itself consumes one, leaving 4 units for up to 4 ports. So you will never find a bus-powered hub with more than four ports.



      Bus-powered hubs have a further limitation. Since each port has only a single unit of power, they can only connect downstream to a single device. You cannot connect them to another hub for expansion because that hub requires an additional 5 units. And not all devices can run off a single unit. A low-power device like a mouse will work, but a high power device can claim up to 5 units. High power USB devices will only work when plugged directly into a PC host or a self-powered hub that can supply 5 units to the port.



      When you connect a device, the PC queries the device for its capabilities and requirements. So, for example, the PC knows that it is connected to a 4-port bus-powered hub which means that each port can only drive one unit. If you try to plug a high power device into that hub, the OS will throw up an error message and refuse to enable the device.



      Bus-powered hubs are generally a bad idea because of these limitations and are intended mainly for mobile, not desktop use.



      On the other hand, if the devices that are plugged into the port are themselves self-powered, then they may not need more then one unit from the hub. For example external disk drives have their own power so should work okay on a bus-powered hub.



      A self-powered hub will be able to supply 5 units to each port, allowing high-power devices and further levels of hubs. So you could plug in one 7-port self-powered hub and then seven more 7-port hubs into that, giving you 49 available ports at just the fourth tier.



      Some self-powered hubs will allow you to use them also in bus-powered mode, but if you try to plug in too many devices, the OS will give you an error message.



      Most hub controller chips have 4 ports so you commonly see 4-port hubs. When they want to build a bigger hub, they just use two 4-port chips. But they have to daisy chain them with the first chip connected to the host and the second connected to one of the downstream ports on the first chip. This leaves only seven ports left for the user, three on the first chip and four on the second -- hence the common 7-port hub.



      USB is plug-and-play in the sense you don't have to know any of this stuff when you connect things up. The OS keeps track of the power budget of each hub and device, will tell you if the connection will not work, and that you need to use a self-powered port.



      edit: USB packets look like this:



      Token:
      Packet ID: 8 bits
      Address: 7 bits
      Endpoint: 4 bits
      CRC: 5 bits

      Start of frame:
      Packet ID: 8 bits
      Frame Number: 11 bits
      CRC: 5 bits

      Data Packet:
      Packet ID: 8 bits
      Data: 0-1023 bytes
      CRC: 16 bits

      Handshake:
      Packet ID: 8 bits


      Since the address is only 7 bits, you can only have 128 devices on the entire bus (with 7 bits that can each be on and off, there are only 128 total different combinations of bits possible). This includes your computer, so that leaves 127 other things you can attach to it.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jun 4 '11 at 17:01

























      answered Jun 4 '11 at 14:48









      RinzwindRinzwind

      207k28398528




      207k28398528








      • 2





        Where does the 127 limit come from? Just wondering.

        – crazy2be
        Jun 4 '11 at 16:58











      • @crazy2be: you ask, I edit :)

        – Rinzwind
        Jun 4 '11 at 17:01






      • 1





        @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

        – crasic
        Jun 4 '11 at 18:04











      • 127 usb sticks is possible. 128 hard disc? Don't think so :D

        – Rinzwind
        Jun 4 '11 at 18:06











      • how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

        – 719016
        Jun 4 '11 at 21:49














      • 2





        Where does the 127 limit come from? Just wondering.

        – crazy2be
        Jun 4 '11 at 16:58











      • @crazy2be: you ask, I edit :)

        – Rinzwind
        Jun 4 '11 at 17:01






      • 1





        @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

        – crasic
        Jun 4 '11 at 18:04











      • 127 usb sticks is possible. 128 hard disc? Don't think so :D

        – Rinzwind
        Jun 4 '11 at 18:06











      • how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

        – 719016
        Jun 4 '11 at 21:49








      2




      2





      Where does the 127 limit come from? Just wondering.

      – crazy2be
      Jun 4 '11 at 16:58





      Where does the 127 limit come from? Just wondering.

      – crazy2be
      Jun 4 '11 at 16:58













      @crazy2be: you ask, I edit :)

      – Rinzwind
      Jun 4 '11 at 17:01





      @crazy2be: you ask, I edit :)

      – Rinzwind
      Jun 4 '11 at 17:01




      1




      1





      @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

      – crasic
      Jun 4 '11 at 18:04





      @crazy2be keep in mind that while you are allowed 127 devices per controller, your pc will be unlikely to provide enough current to power 127 hardrives. If each drive has its own power supply it should be fine but don't expect a laptop to source so much power.

      – crasic
      Jun 4 '11 at 18:04













      127 usb sticks is possible. 128 hard disc? Don't think so :D

      – Rinzwind
      Jun 4 '11 at 18:06





      127 usb sticks is possible. 128 hard disc? Don't think so :D

      – Rinzwind
      Jun 4 '11 at 18:06













      how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

      – 719016
      Jun 4 '11 at 21:49





      how about data transfer? If I have 1 hard-drive at X GBps, would an 8 port replicator transfer to X/8 to each hard-drive? And X/127 in the max configuration?

      – 719016
      Jun 4 '11 at 21:49













      0














      So, you will find out that with USB3 chipsets, you will actually hit a limit at 30 devices or so, due to a hard 32 device limit (really 96 endpoint limit) on USB3 chipsets.



      I dealt with this problem too and it took me a while to find the real problem and solutions. It's a long page, so you can go read it there http://marc.merlins.org/perso/linux/post_2018-12-20_Getting-Around-USB3-xhci-32-Device-Limit-Max-number-of-devices-this-xHCI-host-supports-is-32.html



      Basically, it boils down to these things

      1) there is a 96 endpoint limit with USB3 (which translates to 32 devices only)

      2) you lose further endpoints due to hubs, using a USB2 cable to a USB3 hub gives you a few slots back

      3) more generally you should disable USB3 if you can do without it (remove the USB3 kernel driver, or easier if you can, disable USB3 in your bios). Using a USB3 chip in USB2 mode does not help, you have to disable the USB3 so that your motherboard reroutes the port to a USB2 controller that doesn't have that endpoint limit
      4) if you cannot disable USB3, get a USB2 only PCIe card and that one will truly give you 120 devices or so.



      Further resources:
      https://www.spinics.net/lists/linux-usb/msg175224.html
      https://forums.intel.com/s/question/0D50P00004905stSAA/hardware-limitations-on-usb-endpoints-xhci?language=en_US






      share|improve this answer








      New contributor




      Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























        0














        So, you will find out that with USB3 chipsets, you will actually hit a limit at 30 devices or so, due to a hard 32 device limit (really 96 endpoint limit) on USB3 chipsets.



        I dealt with this problem too and it took me a while to find the real problem and solutions. It's a long page, so you can go read it there http://marc.merlins.org/perso/linux/post_2018-12-20_Getting-Around-USB3-xhci-32-Device-Limit-Max-number-of-devices-this-xHCI-host-supports-is-32.html



        Basically, it boils down to these things

        1) there is a 96 endpoint limit with USB3 (which translates to 32 devices only)

        2) you lose further endpoints due to hubs, using a USB2 cable to a USB3 hub gives you a few slots back

        3) more generally you should disable USB3 if you can do without it (remove the USB3 kernel driver, or easier if you can, disable USB3 in your bios). Using a USB3 chip in USB2 mode does not help, you have to disable the USB3 so that your motherboard reroutes the port to a USB2 controller that doesn't have that endpoint limit
        4) if you cannot disable USB3, get a USB2 only PCIe card and that one will truly give you 120 devices or so.



        Further resources:
        https://www.spinics.net/lists/linux-usb/msg175224.html
        https://forums.intel.com/s/question/0D50P00004905stSAA/hardware-limitations-on-usb-endpoints-xhci?language=en_US






        share|improve this answer








        New contributor




        Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.























          0












          0








          0







          So, you will find out that with USB3 chipsets, you will actually hit a limit at 30 devices or so, due to a hard 32 device limit (really 96 endpoint limit) on USB3 chipsets.



          I dealt with this problem too and it took me a while to find the real problem and solutions. It's a long page, so you can go read it there http://marc.merlins.org/perso/linux/post_2018-12-20_Getting-Around-USB3-xhci-32-Device-Limit-Max-number-of-devices-this-xHCI-host-supports-is-32.html



          Basically, it boils down to these things

          1) there is a 96 endpoint limit with USB3 (which translates to 32 devices only)

          2) you lose further endpoints due to hubs, using a USB2 cable to a USB3 hub gives you a few slots back

          3) more generally you should disable USB3 if you can do without it (remove the USB3 kernel driver, or easier if you can, disable USB3 in your bios). Using a USB3 chip in USB2 mode does not help, you have to disable the USB3 so that your motherboard reroutes the port to a USB2 controller that doesn't have that endpoint limit
          4) if you cannot disable USB3, get a USB2 only PCIe card and that one will truly give you 120 devices or so.



          Further resources:
          https://www.spinics.net/lists/linux-usb/msg175224.html
          https://forums.intel.com/s/question/0D50P00004905stSAA/hardware-limitations-on-usb-endpoints-xhci?language=en_US






          share|improve this answer








          New contributor




          Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          So, you will find out that with USB3 chipsets, you will actually hit a limit at 30 devices or so, due to a hard 32 device limit (really 96 endpoint limit) on USB3 chipsets.



          I dealt with this problem too and it took me a while to find the real problem and solutions. It's a long page, so you can go read it there http://marc.merlins.org/perso/linux/post_2018-12-20_Getting-Around-USB3-xhci-32-Device-Limit-Max-number-of-devices-this-xHCI-host-supports-is-32.html



          Basically, it boils down to these things

          1) there is a 96 endpoint limit with USB3 (which translates to 32 devices only)

          2) you lose further endpoints due to hubs, using a USB2 cable to a USB3 hub gives you a few slots back

          3) more generally you should disable USB3 if you can do without it (remove the USB3 kernel driver, or easier if you can, disable USB3 in your bios). Using a USB3 chip in USB2 mode does not help, you have to disable the USB3 so that your motherboard reroutes the port to a USB2 controller that doesn't have that endpoint limit
          4) if you cannot disable USB3, get a USB2 only PCIe card and that one will truly give you 120 devices or so.



          Further resources:
          https://www.spinics.net/lists/linux-usb/msg175224.html
          https://forums.intel.com/s/question/0D50P00004905stSAA/hardware-limitations-on-usb-endpoints-xhci?language=en_US







          share|improve this answer








          New contributor




          Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered 10 mins ago









          Marc MerlinMarc Merlin

          101




          101




          New contributor




          Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Marc Merlin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.























              -2














              From personal experience, my webcam will only work if connected directly to my PC's USB ports. It wouldn't work connected to a powered hub. That would imply to me that you will run into bandwidth limitations before running into a number of devices limit.






              share|improve this answer




























                -2














                From personal experience, my webcam will only work if connected directly to my PC's USB ports. It wouldn't work connected to a powered hub. That would imply to me that you will run into bandwidth limitations before running into a number of devices limit.






                share|improve this answer


























                  -2












                  -2








                  -2







                  From personal experience, my webcam will only work if connected directly to my PC's USB ports. It wouldn't work connected to a powered hub. That would imply to me that you will run into bandwidth limitations before running into a number of devices limit.






                  share|improve this answer













                  From personal experience, my webcam will only work if connected directly to my PC's USB ports. It wouldn't work connected to a powered hub. That would imply to me that you will run into bandwidth limitations before running into a number of devices limit.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jun 4 '11 at 22:51









                  fragosfragos

                  2,67721623




                  2,67721623






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f46885%2fhow-many-usb-hard-drives-can-be-plugged-into-a-laptop-using-a-port-replicator%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                      Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                      Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...