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.


Cargo compartment light inspection
Trunk compartment light bulb removal/installationMazda 6 Service Manual: Illuminated Entry System
When the illuminated entry system operates, the overhead lights, the courtesy
lights, and an ambient light* turn on in the following conditions:
The driver's door is unlocked after the ignition is switched OFF.
The ignition is switched OFF with all doors closed.
NOTE
(Overhead lights) ...
Mazda 6 Service Manual: Combine sensor inspection
Caution
Be careful and do not allow the lateral-G sensor to fall. If by
chance it is subjected to strong impact, replace it.
1. Connect the connector.
2. Turn ignition switch on, verify the voltage between terminals B and E
under the following conditions.
If not within the specifi ...