1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationCustomer Assistance (U.S.A.)
Your complete and permanent satisfaction is our business. We are here to serve
you. All Authorized Mazda Dealers have the knowledge and the tools to keep your
Mazda vehicle in top condition.
If you have any questions or recommendations for improvement regarding the service
of your Mazda vehic ...
Differential [C66 M R]
Purpose, Function
The differential absorbs the rotation speed of the inside and outside wheel
of a wheel set when the vehicle is cornering.
Construction
Operation
Driving in a straight line
Cornering
...
One Way Clutch [Fw6 A EL, Fw6 Ax EL]
Purpose/Function
The one-way clutch operates in 1GR and suppresses the counterclockwise rotation
of the front internal gear (as viewed from torque converter side).
Construction
The one-way clutch consists of a mechanical diode-type one-way clutch, inner
plate, and outer pla ...