A USB 2.0 cable should have 4 wires: VCC, D+, D- and Ground.
Will only disconnecting the VCC OR ground wires damage the connected device or the data wires?
I currently have a USB SD card reader that I like to disconnect and connect. The reader is mounted on the table, so to disconnect the reader, I would plug off the USB cable connecting the reader and the computer.
To solve this problem, I would like to place a switch in the power lines, but I wonder if this will break the device since the data wires are still connected but the power lines are disconnected.