-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSHTech/Rosonway 16 port 100W hub #276
Comments
|
Thanks for your report! Your output shows only USB 2 usage. |
This is first time I see 5x daisy chaining. Most I've seen before was 3x for 10 port hubs. |
In a USB3 port (I only put it in a USB2 port on the pi for simplicity as I am just using it for power control)
I had mapped out the ports (above), but have tried a few things in this USB3 mode and different ports are turning off than I would guess (but they are turning off). Here are two attempts turning things off based on this connection but this affected a different port to my guess and I didn't have much time to investigate. If there is something you would like me to check out let me know!
|
Since this seems to be a smaller vendor, I'd be happy to reach out to them and explain what they need to change for future hardware revisions if you could summarise it for me? Worth a shot, anyway! |
Sure. Per USB 3 spec, each hub in USB2/USB3 virtual pair must have bos container id, which must match for the pair, but be globally unique otherwise. E.g. if you run |
Reply from the hub support team enclosed, I will also post my reply - in which I will direct them to this issue because I am not qualified to answer all of their questions!
5.Can you tell us the detailed steps and results of the test? So that our solution providers can simultaneously test and compare. Attached the software we downloaded from the website, please help to check if it is complete. |
My response: Thank you for looking into this issue for me.
|
The RSHTech support team have come back, would appreciate some assistance with any reply since there is a difference in view of the specifications (ie whether each container id should be different in this kind of compound device). Here below is the reply from our IC maker:
|
Per USB 3.2 specification at https://www.usb.org/document-library/usb-32-specification-released-september-22-2017-and-ecns: 9.6.2.3 Container ID
There is nothing in a sepc talking about assigning the same container id to multiple USB chips inside daisy chained hub. But, there is a requirement that unique container ID be provided by the same physical device whether it operates in USB 3 or USB 2 mode. I understand that vendor does not want to change device behavior and to do any firmware changes, and I am willing to provide hacks on uhubctl side to make it work properly without workarounds. |
I'm trying to use this hub on a Pi4 hoping to connect 16 externally powered hard drives to it. When its plugged into a USB3 port on the Pi4, I could only plug in 6 HDs before the OS complained xHCI max of 32 was reached and unable to allocate new ID. If I plug the hub into a USB2 port, I could plug in 12 HDs with a keyboard also plugged in to a USB2 port, and 13 HDs if I unplug that keyboard and free up a USB2 port (and ssh into the Pi4). I reached out to RSHtech support and they referred me to this page. Is what I'm trying to do possible on a Pi4? |
That could be linux kernel bug, just judging by the error message you are observing regarding 32 max for xhci - per USB standard maximum number of devices on a given USB bus has a limit of 127. I'm not sure why linux is limiting it for xhci (aka USB 3). I would recommend trying to attach this hub to other Linux host or different is like Mac or FreeBSD, and see if you could connect all of your 16 drives on USB 3. |
This is from a Ubuntu developer on xHCI:The 32 devices is an xhci limitation. No way around it (/me thinks). And then you have a tiered structure with hubs so the number of
|
I tried connecting this hub to a USB2 port on the Pi4, and could plug in a total of 13 hard drives (after I unplugged the keyboard from the other USB2 port, otherwise the max would have been 12). Ubuntu complains xHCI limit of 32 was reached and unable to allocate new ID to the additional drive. |
|
@jayhohoho2019, this article explains xhci limits pretty well: https://acroname.com/blog/how-many-usb-devices-can-i-connect |
I got all 16 ports recognized by plugging it into the usbC port. A few things needed to happen in advance for that to work. 1. Supply power through PoE (or GPIO on the Pi4). 2. Switch the USB C port to host mode, and using the dwc2 driver. 3. Reboot Pi4. It's down to USB2.0 speed though but it doesn't have the same limit as xHCI. |
There is another batch of RSH-A16 is currently sold in some places, it may not work 100% - more in issue #411. |
This 16-port hub works great - Powered USB Hub RSHTECH 16 Port 100W USB 3.0
https://www.amazon.co.uk/gp/product/B08FDRZPDL/
I believe this is the same as these, but I ordered mine from UK
https://www.amazon.de/-/en/RSHTECH-Aluminium-Multiport-Professional-Business/dp/B08FDTGSYF
https://www.amazon.com/Rosonway-Aluminum-Splitter-Certified-Individual/dp/B08DKQQ6MR
The text was updated successfully, but these errors were encountered: