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 devices dropping, stuttering, etc  (Read 1361 times)

0 Members and 1 Guest are viewing this topic.

Toadie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:December 30, 2013, 09:29:51 pm
  • I want to build my own arcade controls!
USB devices dropping, stuttering, etc
« on: December 23, 2013, 12:55:15 pm »
I'm sort of puzzled right now, maybe some of you have seen this?

I load up, run Hyperspin, and one of three things happen:

1.  Everything works perfect
2.  The FE will go into attract mode and for some reason my keyboard can't interrupt it.  Almost like the USB keyboard isn't working but the status lights function on and off.
3.  A game will start and either the USB joysticks or buttons will stop working, or come in and out.

Is there a problem with my USB bus or is it not fast enough or  ???

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7016
  • Last login:Yesterday at 02:26:33 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: USB devices dropping, stuttering, etc
« Reply #1 on: December 23, 2013, 01:08:40 pm »

Go into the gaming controls panel and make sure your controls are working there, and use notepad to verify the keyboard is doing what it should.  If it all checks out, there's some kind of software problem.

The general rule is to always check at the desktop to rule out hardware issues and take it from there.

Toadie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:December 30, 2013, 09:29:51 pm
  • I want to build my own arcade controls!
Re: USB devices dropping, stuttering, etc
« Reply #2 on: December 23, 2013, 01:42:01 pm »
Yeah, I did that and everything seems to be working fine.

Joysticks work in the game control panel
Buttons type out keys on notepad

It's literally like someone is unplugging and plugging the device back in but across multiple devices.  In the background I can hear that "device recognized" beep.  When I exit HS the balloon message is that a USB device malfunctioned.

oh so close lol

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7016
  • Last login:Yesterday at 02:26:33 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: USB devices dropping, stuttering, etc
« Reply #3 on: December 23, 2013, 01:50:53 pm »
Yeah, I did that and everything seems to be working fine.

Joysticks work in the game control panel
Buttons type out keys on notepad

It's literally like someone is unplugging and plugging the device back in but across multiple devices.  In the background I can hear that "device recognized" beep.  When I exit HS the balloon message is that a USB device malfunctioned.

oh so close lol

Ok, then the first thing I would ask at this point is how many and what type of devices you have on that particular USB port, and whether the FE activates any of them which are not active at the desktop.  In particular, any lighting controllers or similar devices which start pulling more current when activated by the FE.

Toadie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:December 30, 2013, 09:29:51 pm
  • I want to build my own arcade controls!
Re: USB devices dropping, stuttering, etc
« Reply #4 on: December 23, 2013, 06:48:55 pm »
Well I think it's all the same bus so I don't think the order matters but if it does let me know and I can tell you exact ports.  Here's all of them

Keyboard - plugged into the CPU
Mouse - Plugged into the keyboard - never seems to have an issue
LEDWIZ
2P iPac
Joystick 1 - ultrimarc 360
Joystick 2 - ultirmard 360
Trackball
Turbo Twist Spinner
External Harddrive - never seems to have an issue


One thought I had and I'm not sure if it holds any water is would rapid button fire going through the iPac flood or confuse the USB communications?

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7016
  • Last login:Yesterday at 02:26:33 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: USB devices dropping, stuttering, etc
« Reply #5 on: December 23, 2013, 09:18:02 pm »

If all of this is on the same physical port, and you are powering LED's from the USB port, which are active in the attract mode for the FE, then there's very likely too much power being pulled from USB port.  This can certainly cause the issues you are seeing.

The remedy is to distribute the devices between multiple physical ports (keeping in mind that each physical port can have two or more connectors), use a powered hub, and/or power your LEDs directly from a power supply instead of the USB power.

Toadie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:December 30, 2013, 09:29:51 pm
  • I want to build my own arcade controls!
Re: USB devices dropping, stuttering, etc
« Reply #6 on: December 23, 2013, 10:30:58 pm »
well technically they are all physically plugged into separate ports but maybe I'm misunderstanding?  There are a total of I think 8 USB ports on the CPU.  You may have a point though on the power draw.  I have a separate 5V from a power supply going to a terminal block powering all the LED's but whatever power the LEDWiz needs is coming from the USB connection.  A powered hub might be the way to go.  I suppose if that's the case I could also test the theory by unplugging some of the devices?

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7016
  • Last login:Yesterday at 02:26:33 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: USB devices dropping, stuttering, etc
« Reply #7 on: December 23, 2013, 11:37:28 pm »
well technically they are all physically plugged into separate ports but maybe I'm misunderstanding?  There are a total of I think 8 USB ports on the CPU.  You may have a point though on the power draw.  I have a separate 5V from a power supply going to a terminal block powering all the LED's but whatever power the LEDWiz needs is coming from the USB connection.  A powered hub might be the way to go.  I suppose if that's the case I could also test the theory by unplugging some of the devices?

That should take the LEDs out of the equation, but the total of the USB devices could be more than the port can supply.  Unplugging a couple of devices would be a very good way to determine if that is the issue.