what are usb power ports used for? i mean, what devices use them, or is it that devices should use them for some reason?
There is also a handshake, but that's separate and (as of the 3GS) only displays a "product not designed for iPhone" warning - even if it displays the warning, it still lets you use the device.
In the case of wall-transformers for iPods, phones, etc, they're either using an unstandardized handshake (such as the phone shorting its two data lines, which can be recognized by the transformer with just a relay), or they provide power all the time, which could damage a low-power device that was inadvertently plugged in.