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


Sunroof switch removal/installationMazda 6 Service Manual: Mass air flow (maf) sensor inspection
Voltage Inspection
Note
Perform the following inspection only when directed.
1. Visually inspect for the following on the MAF sensor.
Damage
Cracks
Terminal bends
Terminal rust
- If any of the above are found, replace the MAF sensor.
- If the MAF PID value is out of specifi ...
Mazda 6 Service Manual: Locking, Unlocking the Doors
NOTE
The system may not operate if you are too close to the windows or door
handles.
If the key is left in the following areas and you leave the vehicle,
the doors may be locked depending on the radio wave conditions even if the key
is left in the vehicle.
Around the dashboard
...