i do not know go to a car stereo install ... store
i have the same problem on acura opens but will not close it closed once may be loose wire or switch is bad.
Try taking a cheap test light and check for power at the switch. If ti powers up both directions, you may have a shorted, or broken wire. Or the motor could be bad. If there is no power, it may be the switch needs replaced.
If it is a 2-wire switch- yes If it is a 3-wire switch- no
If it is an after market stereo, sound as if someone spliced the stereo power source wire (Hot Wire) into the wire going to the headlight switch.
You will have to remove the sunroof motor, and the sunroof glass. Then you can move the guide tracks seperately until they are in the closed position. Then you can put the glass and motor back in, remove the power source (fuse or disconnect wire harness) to prevent any accidental opening until you can get it fixed. Chances are that a guide track or cable is broken, this can be a costly fix. Do not take it to the dealership, they will only want to install a whole sunroof unit. Take it to a local shop that installs aftermarket sunroofs.
To wire a single pole light switch, first turn off the power to the circuit. Then, connect the black wire from the switch to the hot wire in the electrical box, and the white wire to the neutral wire. Finally, connect the ground wire to the green screw on the switch. Turn the power back on to test the switch.
To wire a light switch to a light, first turn off the power to the circuit. Connect the black wire from the switch to the black wire from the light. Connect the white wire from the switch to the white wire from the light. Finally, connect the ground wire from the switch to the ground wire from the light. Secure all connections with wire nuts and cover with electrical tape. Turn the power back on and test the switch to ensure it is working properly.
A 4-wire light switch typically includes a ground wire, a hot wire, a neutral wire, and a traveler wire. The wiring diagram for a 4-wire light switch will show how these wires are connected to the switch terminals to control the light fixture.
To wire a single light switch, first turn off the power to the circuit. Remove the cover plate and switch from the electrical box. Connect the black wire from the power source to the black wire on the switch, and the white wire to the white wire. Connect the ground wire to the green screw on the switch. Secure the switch back into the electrical box, replace the cover plate, and turn the power back on to test the switch.
To wire multiple lights to one switch, you can connect the lights in parallel by running a cable from the switch to each light fixture. Make sure to connect the hot wire from the switch to the hot wire of each light, and the neutral wire from the switch to the neutral wire of each light. This will allow you to control all the lights with a single switch.
Wire the switch to the hot/black lead.