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: Disconnection of the negative battery cable
Before beginning any work, turn the ignition switch to LOCK position,
then disconnect the negative battery cable and wait for more than 1 minute
to allow the backup power supply of the SAS unit to deplete its stored
power. Disconnecting the battery cable will delete the memories of the
...
Mazda 6 Service Manual: Basic power window system inspection
Manual Mode Function Inspection
Automatic Mode Function Inspection
Automatic Window Return Function Inspection
IG OFF Timer Function Inspection
Two-step Down Function Inspection
The distance the door glass opens can be changed using the two-step down
function. (Approximately 20- ...