Trying to mount/unmount USB camera w/ transistor?


I’m trying to use arduino to mount/unmount my camera on my mac, without physically unplugging the USB cable.

So I guess what I need is arduino to interrupt the usb connection between my digital camera and computer. I was thinking of putting a transistor on the D+ and D- pins. Does that seem feasable? Am I risking burning anything out on the computer or arduino by trying it?


I needed the NPN transistor on the 5v+ not the data pins. Works now!