Well, I don't want to go too far into detail. I guess we all know what USB is about and most of us have used USB hardware at one time or another.
You should note that USB has its own homepage. You can download the complete specification there. So in case your questions aren't answered here,
they most probably will be answered there.
http://www.usb.org
First of all it is wonderful, that there is a standard numbering of the wires (and contacts) with standard colors and standard functions.
# | color | Function |
---|---|---|
1 | red | VBus (P5V) |
2 | white | D- (Data-) |
3 | green | D+ (Data+) |
4 | black | GND |
If you plan to experiment with USB, I recommend building a plug-to-cable device. Simple solder some wires (use the right color to make life easier) to
a connector. That way you can "quick-solder" the wires to a device when you need them (for experimenting).
I also was lucky enough to get one of those
"forbidden" cables with a USB-A-plug on both sides with a camera. (They are "forbidden" for a reason: They look like PC-PC-connectors
but are very likely to cause fire when used as such). I can use them as a gender changer so I can solder whatever connector I want to try. You might
want to build such a cable yourself but I recommend building a second plug-to-cable device with the other plug.
It might be easiest cutting an USB-extension-cable in half. So if you can spare such a cable, save the soldering until needed.
The Microsoft XBox is sold as a game console, but in reality is a standard PC with some non-standard tidbits.
The XBox-Linux-homepage has more information about this, also XBox-scene.org can be very helpful. Of course, you can also search the web
The XBox has rather few connectors. On the back there is:
# | color | Function |
---|---|---|
1 | red | P5V |
2 | white | D- (Data-) |
3 | green | D+ (Data+) |
4 | yellow | ??? Microsoft |
5 | black | GND |
Question 1: Why would someone want to use USB-hardware at the XBox?
Unfortunately hardly any hardware is supported by the XBox natively.
Joysticks, Mice, Keyboard, Ethernet... most of those are simply ignored by the Box.
There are - however - some exceptions: (This list might be incomplete)
Question 2: Why would someone want to use XBox-hardware at the PC?
There is not much available hardware for the XBox, so let's look at them one by one:
Well, let's move on further to the Pads themselves. If you follow the cable from the XBox to the controller you will find a small block (in europe).
This is for shielding the cable. After that there is another small connector.
It's round, about Mini-Din-Size (like most PC keyboards and mice) with a small board in the middle. 3 pins up and 2 pins down (depending on your perspektive).
I decided against painting that small thing. It is pretty simple and you can get the pin numbers out easily. If you could buy that plugs anywhere, soldering
adapters would be easier, but I haven't yet found them anywhere.
I don't know why MS decided to put another plug in there. Still there are only five contacs so it has to be the same connections as above.
Okay... sometimes it pays to read the original manual. Due to this, this plug is called "Inline release" and it is a
safety feature. If the cable is pulled, it is supposed to disconnect at exactly that inline release.
If the XBox would be pulled with the cable, it could disconnect at the power cable, the video cable.
It could also fall from the table (or wherever you put it). If it falls, it could injure people (Yeah, the manual warns about small children),
but also could be damaged itself from the fall. We all know why we don't throw hard disks to the floor, so we don't want it to happen
accidently. Also some of us tend to sometimes operate the XBox open and unscrewed, so some components might fall out... Doesn't sound healthy.
So do yourself a favour and "Never tape, glue or otherwise prevent an inline release from pulling apart"
Congratulations, Microsoft! You just definded another non-standard connector for USB (which has a standard for connectors).
With the one on the XBox itself this makes two.
There might be another shielding block just before the XPad. After that you finally reached the controller.
As there are several different XPads (from several manufactorer), there are different designs inside. On some the soldering pads are easily accessible
(I have one where I can easily solder to all connectors), on some, soldering is pretty difficult.
That also means the location of the input wires are different.
Follow the input wires to find the right soldering pads.
Right another surprise: Right after the cable moves into the Pad, it hits an USB-Hub.
Well, it's not as bulky as your PC USB-Hubs, it is somewhere in these wires, but
it definitely is there. Connect a XPad to your PC and the PC will happily report a new USB Hub.
That Hub has 3 ports. One port is hard-wired to the actual controller.
(This is the "Unknown Device" reported). With the right drivers you can use the Controller Pad.
The other two ports are lead to the outside of the XPad again.
Those are the memory slots on top of the Controller. So those connectors also almost are standard USB-ports.
As the position and connection of those connectors are the same on most (all?) XPads, also the soldering pads will be very much the same:
The upper row is for the upper connector (you can see the connection), the lower row is for the lower connector (you need to unscrew the board to see
that a similar connection is on the lower side.
Position | # | Function | color |
---|---|---|---|
leftmost | 5 | GND | black |
2nd from left | 4 | ??? Microsoft | yellow |
middle | 3 | D+ (Data+) | green |
2nd from right | 2 | D- (Data-) | white |
rightmost | 1 | VBus (P5V) | red |
Regarding the information from above, the memory card connector looks like this:
Yet another congratulations to Microsoft: As this is a standard USB port again, MS has three different (non-standard) connectors for the USB-standard.
It might seem logical that MS memory cards are standard USB-Storage devices (with MS-Logo, a different connector and a higher price) and if you connect
such a card to the PC it will even be recognized as USB-Storage (the usb-storage driver claims the device). Unfortunately I wasn't able to access the card.
It can't be mounted or fdisked like other USB-Storage devices. Perhaps MS has some kind of own protocol for this.
Perhaps it is not SCSI-compatible or something.
I can say for (relatively) sure that the card doesn't use the yellow wire.
Some people use the wire to add a reset button to controller or their card and they
didn't collide with some MS function. Also I opened my memory card and the pin for yellow wire isn't connected at all.