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


Sunroof switch removal/installationMazda 6 Service Manual: Indication on Display
The Distance Recognition Support System (DRSS) operation status is indicated
in the active driving display or multi-information display. Regarding malfunctions,
check the vehicle conditions or have it inspected by an Authorized Mazda Dealer
according to the content of the displayed message.
R ...
Mazda 6 Service Manual: Panel light control switch removal/installation
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Panel Light Control Switch Removal Note
1. Insert your hand from the lower side of the dashboard and squeeze the tabs
of the panel light control switch.
2. ...