Hi,

i would like to know how can i turn on and off a USB port.

My objective is to turn on a lamp/bulb.
The USB has 4 wires, i guess 2 for data ; 1 for + and 1 for -
so i can plug a small motor to make a switch click in a lamp/bulb by coneecting the + and - (pins 1 and 4 i think)

My problem is how to turn on/off the usb motor.
Windows have an option to usb power safe, so i guess it could turn off the usb and on again.... but all usb at the same time(?)

I know i could just unplug the usb, but i want to do it outside my home, like being at work connecting to my home PC (there is software for that) and turn on webcam and also a light in room.

anyone have an idea on how to do it? without any complicated circuits...
thanks