As all of you can tell from the title, I need help understanding how to communicate to a USB port. Basically I need to send some bits to a usb micro controller and to do so I need to understand how you do it in C for both a Windows and Linux computers. I'm going to be creating my own interface (still figuring that out) which basically works by having the micro controller send out a signal so I can figure out what port it's on and from then on I just start sending the bits to it.
So here's a breakdown of what I need to know.
1. When the data exits the port to the device, will it have the port address with it when the device reads in the data?
2. I'm going to be working with Ubuntu and Win XP, what things will I need to utilize from the OS?
3. Would you recommend a better way to interface to USB?
4. Do I have to repeatedly send a signal when trying to find which usb port the device is on?
As you can tell I'm kind of jumping into this without know what I'm getting myself into. I'm open to any suggestions (other than giving up).