To use the vanity mirror, lower the sunvisor.
If your vehicle is equipped with a vanity mirror light, it will illuminate when you open the cover.
To prevent the battery from being discharged, the vanity mirror will only illuminate in the tilt range shown in the figure.

Sunvisors
Interior LightsMazda 6 Owners Manual: Dtc b1318
Caution
When attaching the tester lead to the ABS (ABS/TCS) HU/CM harness
connector, the SST (49 G066 001) must be used. (See ABS (ABS/TCS) HU/CM
INSPECTION.)
Diagnostic procedure
...
Mazda 6 Owners Manual: Door switch removal/installation
Front
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Rear
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal. ...