Note
1. Open the bonnet.
2. Disconnect the negative battery cable.
3. Remove the radiator grille.
4. Disconnect the bonnet switch connector.
5. Check the continuity between the bonnet switch terminals A and B using an ohmmeter.

6. Lock the bonnet lock using a flat-head screwdriver or equivalent as shown.

7. Check the no continuity between the bonnet switch terminals A and B using an ohmmeter.
Caution
Theft-deterrent control module removal/installationMazda 6 Service Manual: Antilock Brake System (ABS)
The ABS control unit continuously monitors the speed of each wheel. If one wheel
is about to lock up, the ABS responds by automatically releasing and reapplying
that wheel's brake.
The driver will feel a slight vibration in the brake pedal and may hear a chattering
noise from the brake system ...
Mazda 6 Service Manual: To Operate the System
The High Beam Control System (HBC) operates to switch the headlights automatically
between high and low beams after the ignition is switched ON and the headlight switch
is in the AUTO and high beam position.
The High Beam Control System (HBC) determines that it is dark based on the brightness
...