Captivate restart when I plug usb cable or charger

view story

http://androidforums.com – Hi, I have this problem, when I connect my charger or connect it to the computer, the screen goes off and when I press the power button, nothing happens. If remove the usb cable from the phone, it restarts with the at&t logo. apart from that everything works fine. Please give me a solution. thanks. (General)