I'd like to avoid the use of external power, simply because I want all of these devices to turn on and off with the PC itself.
I've tried connecting it all up, but it's not going well. With USB devices connected up to the 5m cable (using ATX power), low power devices seem to work just fine, but when I tried an xbox controller, the increase in power draw when the vibration function was on caused it to disconnect. Also, when the USB hub is connected, it's seen by the computer as normal, but any devices connected to it are "not recognised". This is really quite confusing as, really, there's not much that's different from a standard 5M extension lead. The only difference is the source of the power.
I read the theoretical usb lines from a pc should not exceed 3 meters unless power is added up stream via a portable powered hub, my dongle is on a 3 meter extension now. I think you would need to add more power at or past the 3 meter point from voltage and power drops of line distance.
I would be fine if it where me to tap the molex and try that first, but it up to you.
Some interesting info here about USB cable length:
http://www.usb.org/about/faq/ans5
You're right, it seems that hubs almost reset the length of the cable, which is good as I'm going to be using one. It does seem that 5m should be okay, though, going by that article. I might trim it by 50cm, just to be on the safe side.
At 5V you can't afford to lose much voltage, and at 2A and 5m you'll need a relatively heavy gauge wiring.
Dropping 0.25V (5%) over a total of 10m of wire at 2A requires a total R = 0.25V / 2A = 0.125 ohms.
Conductor Area = 0.0175 * 10m / 0.125ohms = 1.4 square milli-metres = 15-16AWG.
This is interesting, and quite important. I'm using an HDMI cable (with the ends cut off) for all of my connections, including the 5v wires. The cable has about five sets of individually screened twisted pairs, and one is dedicated to power transport. It's not particularly thick wire, so do you think that will be an issue? I'd say it was about 26AWG, which is considerably thinner than your calculated ideal.
I do have plenty of left over wires in the HDMI cable, though, so I suppose I could simply use a couple more so that the current is spread out between them.