USB Hub - poor USB connectivity [Resolved]
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
USB Hub - poor USB connectivity [Resolved]
Weird problem here. I can only use usb devices every 5-8 power cycles. I have a wired PS4 controller, a USB mini-keyboard and a KVM keyboard and mouse set up. They either all work or none of them work. Any pointers on where to start investigating? I've switched ports, pressed keys during power on and switched devices.
Also, does the Reset button on the MISTer reset to the same degree as a power-cycle? I mean it's all solid-state...
Also, does the Reset button on the MISTer reset to the same degree as a power-cycle? I mean it's all solid-state...
- Threepwood
- Posts: 133
- Joined: Mon May 25, 2020 9:14 am
- Has thanked: 4 times
- Been thanked: 23 times
Re: USB Hub - poor USB connectivity
The issues you are experiencing could be due to a faulty USB-board or bad power connection, but the official USB-Hub-Board is simply not well designed.
See this thread: viewtopic.php?f=8&t=2116&p=19149 :
Does USB work when you only plug in one or two devices? The board most likely has a power LED at the back, does that light up? Do you have a strong enough power supply (4A or more)?
If the board has (enough) power and it only fails when you plug in all your devices, but works with one or two, then I would try a professionally implemented USB-Hub instead.
See this thread: viewtopic.php?f=8&t=2116&p=19149 :
Update: Someone on the MiSTer FPGA Computer Facebook group said this,
The MiSTer USB HUB v2.1 is known for having a 2-layer layout, without a reference ground plane under the upstream USB port which concentrates all the traffic with the DE10-Nano. Wrong return path in GND and wrong 90-differential impedance transmission lines without the reference ground plane on that upstream port... and other “features” implemented for DIY “AS IS”...
That board works well for low-speed connections and few USB endpoints.
If you are intended to mix full-speed and several high-speed peripherals you better use an external USB HUB, professionally implemented by any hardware manufacturer.
Hope this comment helps understand your MiSTer related issue.
Does USB work when you only plug in one or two devices? The board most likely has a power LED at the back, does that light up? Do you have a strong enough power supply (4A or more)?
If the board has (enough) power and it only fails when you plug in all your devices, but works with one or two, then I would try a professionally implemented USB-Hub instead.
Re: USB Hub - poor USB connectivity
I never heard of this before.Update: Someone on the MiSTer FPGA Computer Facebook group said this,
The MiSTer USB HUB v2.1 is known for having a 2-layer layout, without a reference ground plane under the upstream USB port which concentrates all the traffic with the DE10-Nano. Wrong return path in GND and wrong 90-differential impedance transmission lines without the reference ground plane on that upstream port... and other “features” implemented for DIY “AS IS”...
That board works well for low-speed connections and few USB endpoints.
If you are intended to mix full-speed and several high-speed peripherals you better use an external USB HUB, professionally implemented by any hardware manufacturer.
Hope this comment helps understand your MiSTer related issue.
Also professionally implemented is a garbage term. So many commercial products are obviously not "professionally implemented" at all.
It is my great regret that we live in an age that is proud of machines that think and suspicious of people who try to.
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
Re: USB Hub - poor USB connectivity
My thanks to you Threepwood. It appears the problem is that the USB ports have too much 'wiggle' and if the PS3 controller connector is not aligned dead straight, then none of the USB peripherals work. That explains some of the random results. It was while testing whether single devices work that I found the problem, so they were good diagnostic pointers.
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
Re: USB Hub - poor USB connectivity - Problem Persists
My previous response advising all resolved was a little hasty and I'm still looking for some guidance.
My MISTer was working fine for the first few months and I was getting a lot out of it. In the last couple of months, with no other significant changes, the MISTer just does not accept input reliably. I only have a single USB device connected - keyboard.
None of the USB ports on my MISTer respond. I might get a few keypresses in every few reboots but nothing reliable. All the connections seem firm, and nothing significant has changed in my setup.
My PSU is 5.0V 3A. I see the Threepwood recommended a 4A PSU and I will give this a try but the MISTer worked fine for months on this PSU...
What else can I try? Is there some diagnostic software I can run? An error log I can examine?
My MISTer has become a very expensive paperweight.
My MISTer was working fine for the first few months and I was getting a lot out of it. In the last couple of months, with no other significant changes, the MISTer just does not accept input reliably. I only have a single USB device connected - keyboard.
None of the USB ports on my MISTer respond. I might get a few keypresses in every few reboots but nothing reliable. All the connections seem firm, and nothing significant has changed in my setup.
- I've tried different keyboards and controllers, bluetooth and direct
- I've reseated the USB bridge
- I unplugged the bridge and tried connecting directly to the MISTer I/O USB port
- I've run the Update All script (with some difficulty)
My PSU is 5.0V 3A. I see the Threepwood recommended a 4A PSU and I will give this a try but the MISTer worked fine for months on this PSU...
What else can I try? Is there some diagnostic software I can run? An error log I can examine?
My MISTer has become a very expensive paperweight.
- legacypixels
- Posts: 91
- Joined: Sun May 24, 2020 9:20 pm
- Has thanked: 25 times
- Been thanked: 25 times
Re: USB Hub - poor USB connectivity
How is your USB board powered?
Can you post a picture of it?
Have you talked to the builder of your board?
Can you post a picture of it?
Have you talked to the builder of your board?
US based seller of MiSTer addon boards. Visit https://www.legacypixels.com/mister
Re: USB Hub - poor USB connectivity
The problems you describe sound pretty similar to the issue I am currently facing.
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
Re: USB Hub - poor USB connectivity
Thanks for your interest, Legacy Pixels, I appreciate it.
I use the power splitter method with an inline switch.
Yes, I can.
No, not yet. I was hoping for some "turn it upside-down for 30 mins" or "use the 1st USB on the left and look at logfile.txt" or even "reverse the polarity of the neutron flow" type suggestions.
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
Re: USB Hub - poor USB connectivity
Yes, the symptoms do sound very similar but, because I'm using the power splitter, it shouldn't be the same root cause. However, I'll open 'er up and have a look. Thanks for the tip!PQR wrote: ↑Sat Jul 03, 2021 7:17 pm The problems you describe sound pretty similar to the issue I am currently facing.
- RealLarry
- Top Contributor
- Posts: 883
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 386 times
Re: USB Hub - poor USB connectivity - Problem Persists
Try changing the PSU. I'd a somewhat similar issue that "low-power devices" (like keyboard, mouse and a simple joystick) were working without any problems, but other devices, which are consuming "more power" (ie Arduino for tty2oled, ~400mA) were failing after a (short) time.zorrobandito wrote: ↑Sat Jul 03, 2021 6:26 amMy PSU is 5.0V 3A. I see the Threepwood recommended a 4A PSU and I will give this a try but the MISTer worked fine for months on this PSU...
Tried some brand PSU's with a 5V/4A (stable and regulated) but I could see a voltage drop down to 4.7V. Changed the PSU for a MeanWell GST40A05 then and all problems are gone.
- legacypixels
- Posts: 91
- Joined: Sun May 24, 2020 9:20 pm
- Has thanked: 25 times
- Been thanked: 25 times
Re: USB Hub - poor USB connectivity
Hmmm, OK.
0) Inline switch- Possible source of voltage drop, try leaving that out and testing
1) Picture: A pic of the top of the actual USB board itself if possible.
2) Terminal foo: From Menu, hit F9, login (l:root,p:1), type "dmesg -w" plug in various USB devices, look for failures or disconnects
0) Inline switch- Possible source of voltage drop, try leaving that out and testing
1) Picture: A pic of the top of the actual USB board itself if possible.
2) Terminal foo: From Menu, hit F9, login (l:root,p:1), type "dmesg -w" plug in various USB devices, look for failures or disconnects
US based seller of MiSTer addon boards. Visit https://www.legacypixels.com/mister
Re: USB Hub - poor USB connectivity
Things is I'm not sure whether it's a problem with power on my setup. Just a first guess and I was interested what other people might say. I do have my device connected to a Mean Well 5V 4A adapter.zorrobandito wrote: ↑Sun Jul 04, 2021 2:30 amYes, the symptoms do sound very similar but, because I'm using the power splitter, it shouldn't be the same root cause. However, I'll open 'er up and have a look. Thanks for the tip!PQR wrote: ↑Sat Jul 03, 2021 7:17 pm The problems you describe sound pretty similar to the issue I am currently facing.
Please keep us posted when you find out more.
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
Re: USB Hub - poor USB connectivity
All,
I've ordered the 5V 5A Meanwell PSU recommended by RealLarry.
I've also contected the seller, MisterAddOns, for some assistance.
I've ordered the 5V 5A Meanwell PSU recommended by RealLarry.
I've also contected the seller, MisterAddOns, for some assistance.
I can't. The splitter won't run without the switch.legacypixels wrote: ↑Sun Jul 04, 2021 3:07 pm 0) Inline switch- Possible source of voltage drop, try leaving that out and testing
Also prevented. The MISTer case appears to have tamper-proof screws on top. I can get the bottom open but all I see is the back of the USB board - not much help.legacypixels wrote: ↑Sun Jul 04, 2021 3:07 pm 1) Picture: A pic of the top of the actual USB board itself if possible.
'Scuse my ignorance, but is this connecting remotely? eg via Putty or similar?legacypixels wrote: ↑Sun Jul 04, 2021 3:07 pm 2) Terminal foo: From Menu, hit F9, login (l:root,p:1), type "dmesg -w" plug in various USB devices, look for failures or disconnects
- legacypixels
- Posts: 91
- Joined: Sun May 24, 2020 9:20 pm
- Has thanked: 25 times
- Been thanked: 25 times
Re: USB Hub - poor USB connectivity
Cool, Porkchop makes good stuff.zorrobandito wrote: ↑Mon Jul 05, 2021 9:19 am
I've also contected the seller, MisterAddOns, for some assistance.
US based seller of MiSTer addon boards. Visit https://www.legacypixels.com/mister
-
- Posts: 79
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 65 times
- Been thanked: 19 times
Re: USB Hub - poor USB connectivity
FYI. The new PSU arrived today, a Meanwell Desktop Adapter 25W 5V 5A 2.1mm DC jack (GST40A05-P1J)
It's early days but everything seems to be working again!
Interesting that everything worked fine with the original adapter for many months...
Many thanks to everyone who contributed to the trouble-shooting.
It's early days but everything seems to be working again!
Interesting that everything worked fine with the original adapter for many months...
Many thanks to everyone who contributed to the trouble-shooting.
- RealLarry
- Top Contributor
- Posts: 883
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 386 times
Re: USB Hub - poor USB connectivity
Ha! I knew it! I've seen this and similar issues so many times, even at my own site, and it was mostly the PSU.zorrobandito wrote: ↑Thu Jul 08, 2021 12:03 pm FYI. The new PSU arrived today, a Meanwell Desktop Adapter 25W 5V 5A 2.1mm DC jack (GST40A05-P1J)
It's early days but everything seems to be working again!
Interesting that everything worked fine with the original adapter for many months...
Many thanks to everyone who contributed to the trouble-shooting.
Glad you have your setup working again. You may toast me later. Cheeerioooh!