Flowchart

Keyless entry system check sheetMazda 6 Service Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...
Mazda 6 Service Manual: Trunk lid removal/installation
Warning
Removing the stay damper without supporting the trunk lid can be
dangerous. The trunk lid may fall and injure you. Open the trunk lid fully
and support it before removing the stay damper.
1. Disconnect the negative battery cable.
2. Disconnect the trunk lid harness connector, p ...