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: I'm not an EE/USB expert. Would this work?  (Read 953 times)

0 Members and 1 Guest are viewing this topic.

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
I'm not an EE/USB expert. Would this work?
« on: March 28, 2006, 07:16:40 pm »
I'm looking to solve the problem with Windows sometimes recognizing my player 2 joystick before my player 1 joystick and be able to disconnect my joysticks and reconnect them and have windows recorgnize them in the correct order.

To do this I see 2 viable options:

1) The HARD way: make a USB controller and hub that will transpose a unique identification header to each port, uniquely identifying them in Windows XP. Since USB is packet based, I don't see this as being TOO much different than NAT, for example, but implemented on a chip. This way would take Windows out of the equation so it may end up being more reliable. This option also might be HID-only (maybe even HID-type-specific?) though, I'm not sure.

2) The EASY way: Make/modify a USB hub so that it when you turn it on it sequentially provides power to each port, forcing Windows to recognize each device in sequence. This option still relies on Windows to be speedy in recognizing the devices, otherwise you either have a long delay before all your devices are recognized or the Windows might trip over itself and still not recognize them in order.

I'm looking for a good starter EE project and if option 2 proves viable then I'm going to head down that path.

What do you guys think?


2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: I'm not an EE/USB expert. Would this work?
« Reply #1 on: March 28, 2006, 08:08:05 pm »
I'm looking to solve the problem with Windows sometimes recognizing my player 2 joystick before my player 1 joystick and be able to disconnect my joysticks and reconnect them and have windows recorgnize them in the correct order.
Why don't you start with describing your OS and HW.  Also, just to verify you have to be able to unplug and replug in your joysticks?  Can you plug them into the same port and in the same order or is that not guaranteed?


Quote
To do this I see 2 viable options:

1) The HARD way: make a USB controller and hub that will transpose a unique identification header to each port, uniquely identifying them in Windows XP. Since USB is packet based, I don't see this as being TOO much different than NAT, for example, but implemented on a chip. This way would take Windows out of the equation so it may end up being more reliable. This option also might be HID-only (maybe even HID-type-specific?) though, I'm not sure.
Good luck with that.  You'd end up implementing the USB spec and still might not work.


Quote
2) The EASY way: Make/modify a USB hub so that it when you turn it on it sequentially provides power to each port, forcing Windows to recognize each device in sequence. This option still relies on Windows to be speedy in recognizing the devices, otherwise you either have a long delay before all your devices are recognized or the Windows might trip over itself and still not recognize them in order.
Doable, but may not solve the problem and may not be necessary.

Quote
I'm looking for a good starter EE project and if option 2 proves viable then I'm going to head down that path.

What do you guys think?

I'm assuming they are the exact same joysticks.

First here are a few things that can help the situation, not guaranteed.
1. With devices unplugged, Go to Device Manager.
2. View show hidden devices.
3. Delete all instances of your joysticks.

Now, assuming what you said in your second option you can use a hub, and have the joysticks plugged into that hub in the same spots.
4. Get a hub, plug it in and have windows recognize it.
5. Plug joystick 1 into the first port.  (Hopefully, this will be the first port of the hub ic as well, you can actually check this if you want to go through a few more steps later)
6. Plug joystick 2 into the second port.

Leave them that way and do some testing to see if it works.

There's more if it doesn't work, but try this first.