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


Sunroof switch removal/installationMazda 6 Service Manual: Adaptive Front Lighting System (AFS) (Some models)
The adaptive front lighting system (AFS) automatically adjusts the headlight
beams to the left or right in conjunction with the operation of the steering wheel
after the headlights have been turned on and the vehicle speed is about 2 km/h (2
mph) or higher.
A system malfunction or operation c ...
Mazda 6 Service Manual: Front lower arm (front) inspection
1. Remove the lower arm (front) from the vehicle.
2. Inspect for damage, cracks, and bending.
3. Inspect the ball joint rotation torque.
(1) Rotate the ball joint five times.
(2) Measure the rotation torque using a suitable allen socket and a
torque wrench.
If not within the speci ...