1. Remove the sunroof switch.
2. Inspect for continuity between the sunroof switch terminals using an ohmmeter.


Sunroof switch removal/installationMazda 6 Service Manual: Cup Holder
WARNING
Never use a cup holder to hold hot liquids while the vehicle is moving:
Using a cup holder to hold hot liquids while the vehicle is moving is dangerous.
If the contents spill, you could be scalded.
Do not put anything other than cups or drink cans in cup holders:
Putting objects othe ...
Mazda 6 Service Manual: No.8 no cool air
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while performing the inspection to discover
whether poor contact points are the cause of any intermittent malfunctions.
If there is a problem, check to make sure connectors, terminals ...