1. Disconnect the negative battery cable.
2. Remove the front door trim.
3. Remove the screws and the power outside mirror switch.

4. Install in the reverse order of removal.
Power outside mirror inspection
Power outside mirror switch inspectionMazda 6 Service Manual: Control Switches
AUTO switch
By pressing the AUTO switch the following functions will be automatically controlled
in accordance with the selected set temperature:
Airflow temperature
Amount of airflow
Selection of airflow mode
Outside/Recirculated air selection
Air conditioner operation
NOTE
AUTO ...
Mazda 6 Service Manual: Solenoid valve removal/installation
1. Disconnect the negative battery cable.
2. Remove the under cover.
3. Remove the control valve body. (See CONTROL VALVE BODY REMOVAL.)
4. Remove the solenoid valve(s).
5. Apply ATF to a new O-ring and install it on the solenoid valve.
6. Install the solenoid valve in the control valve body. ...