1. Measure the temperature around the cabin temperature sensor.
2. Measure the resistance between terminals of the cabin temperature sensor.

Cabin temperature sensor removal/installation
Evaporator temperature sensor removal/installationMazda 6 Service Manual: Moonroof (Some models)
The moonroof can be opened or closed electrically only when the ignition is switched
ON.
WARNING
Do not let passengers stand up or extend part of the body through the open
moonroof while the vehicle is moving: Extending the head, arms, or other parts
of the body through the moonroof is dan ...
Mazda 6 Service Manual: Rear door glass removal/installation
1. Fully down the rear door glass.
2. Remove the rear door trim.
3. Remove the hole cover.
4. Pull up the rear door weatherstrip and remove the screw.
5. Remove the bolt.
6. Remove the glass run channel from the rear door glass guide.
7. Lift the rear door glass to the position where the rea ...