Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: USB Issues  (Read 1425 times)

0 Members and 1 Guest are viewing this topic.

TheShaner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 451
  • Last login:December 23, 2017, 10:42:25 pm
  • Shut your noise tube filthy Taco Human!
USB Issues
« on: July 25, 2012, 05:33:16 pm »
I am starting to think I have too many USB devices running.  Things can get a little flakey at times.  USB devices pick up and drop here and there.  So where I have the trackball at mouse1 at first, later on in a session, it might have dropped and picked back up as mouse3. 

I do have a crappy chinese made USB hub, which is being replaced by a Belkin 4 port here in the next day or two, but I am still leery.  All of these are just coming off of one USB Channel on the motherboard I think.  (The 4 that are there are really just a distribution of 1 port actually on the board I believe if I understand my technology correctly.)  So I am debating whether that is really an issue or not, and if so, whether I should go pick up a couple of PCI Express USB extenders to give me some more ports without just throwing hubs all over the place. 

Anyone have any experience in this realm?

MacGyver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:December 18, 2023, 12:49:00 am
    • Project Build
Re: USB Issues
« Reply #1 on: July 25, 2012, 05:40:09 pm »
Happens to the best of us, check out drventure's excellent tool designed to hide the issue in MAME called "ControllerRemap".
http://forum.arcadecontrols.com/index.php?topic=108767.0

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: USB Issues
« Reply #2 on: July 25, 2012, 05:44:48 pm »
Oh yeah. Just a bit.

The main things to keep in mind

1) cheap hubs tend to be cheap hubs. They'll work fine if they're the only thing in the chain, but if not watch out.
2) Unpowered hubs are generally your enemy. Use powered hubs as much as possible.

Also keep in mind that most USB hub power supplies won't provide anywhere near the max power to all ports.

I've found 7 port hubs with a 1000mw power supply before. Since each port could theoretically draw upto about 500mw, that'd be way underpowered if you actually connected 7 high draw devices.

That should relieve most problems.

If you actually DO unplug and reconnect devices though, windows WILL renumber them, often in ways that break everything. That's the whole reason for my ControllerRemap utility (see my sig)

Opps, looks like MacGuyver already mentioned it....

TheShaner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 451
  • Last login:December 23, 2017, 10:42:25 pm
  • Shut your noise tube filthy Taco Human!
Re: USB Issues
« Reply #3 on: July 25, 2012, 05:51:19 pm »
Cool, good advice.  I should have my belkin tomorrow, which is powered and hopefully that will help.  I am going to read more into your software right now, I'm intrigued ...

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9677
  • Last login:Today at 04:23:15 am
  • Designated spam hunter
Re: USB Issues
« Reply #4 on: July 25, 2012, 11:00:45 pm »
2) Unpowered hubs are generally your enemy. Use powered hubs as much as possible.

Also keep in mind that most USB hub power supplies won't provide anywhere near the max power to all ports.

I've found 7 port hubs with a 1000mw power supply before. Since each port could theoretically draw upto about 500mw, that'd be way underpowered if you actually connected 7 high draw devices.

Very true, but for certain portable applications you might want to use an unpowered hub.

The USB current draw spec for an unpowered 4-port hub is 100 mA per port, though most manufacturers don't always restrict it that much.

It is easy to exceed that, but you can work around it if you're careful.

I built a USB 5V lighting circuit for a portable modular panel with 3 LEDs (trackball) and 14 12V LED buttons from Paradise.  It only draws 81 mA instead of the 340 mA you would expect if you ran the buttons at 12V with no additional current limiting resistor beyond the resistors built into the LED buttons.


Scott

Nephasth

  • Guest
  • Trade Count: (0)
Re: USB Issues
« Reply #5 on: July 25, 2012, 11:33:47 pm »
I've got a USB PCI card. It has added 5 USB ports to my computer. Right now I have a total of 7 USB devices hooked up (8 when I use my thumb drive for updating), 4 on the PCI card and 3 in the "stock" USB ports (4) of the mobo. I'll probably be adding 4 more USB devices in the near future, at which point I will be picking up another PCI card. Never had any USB problems with this setup.

TheShaner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 451
  • Last login:December 23, 2017, 10:42:25 pm
  • Shut your noise tube filthy Taco Human!
Re: USB Issues
« Reply #6 on: July 26, 2012, 12:45:19 am »
I'm thinking along the same lines Neph.

Drnick

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1642
  • Last login:June 21, 2024, 03:32:31 pm
  • Plodding Through Life
Re: USB Issues
« Reply #7 on: July 26, 2012, 02:42:31 am »
Powered USB Hubs or PCI Expansion cards are definitely the way to go on this one. Talking of which I really need to find my powered hub :)