NOTE
Arming
The system is armed when the ignition is switched from ON to off.
The security indicator light in the instrument cluster flashes every 2 seconds until the system is disarmed.

Disarming
The system is disarmed when the ignition is switched ON with the correct programmed key. The security indicator light illuminates for about 3 seconds and then turns off. If the engine does not start with the correct key, and the security indicator light remains illuminated or flashing, try the following:
Make sure the key is within the operational range for signal transmission.
Switch the ignition off, and then restart the engine. If the engine does not start after 3 or more tries, contact an Authorized Mazda Dealer.
NOTE
Make sure to bring all the keys to an Authorized Mazda Dealer so that they can be programmed.
Immobilizer System
Theft-Deterrent System (Some models)Mazda 6 Owners Manual: Air intake actuator inspection
1. Connect battery positive voltage to terminal D or F and ground to terminal
F or D of the air intake actuator.
2. Verify that the air intake actuator operates as shown below.
If not as specified, replace the air intake actuator.
...
Mazda 6 Owners Manual: Input/turbine speed sensor removal/installation
1. Disconnect the negative battery cable.
2. Remove the battery and battery tray.
3. Remove the air cleaner component. (See INTAKE-AIR SYSTEM
REMOVAL/INSTALLATION.)
4. Disconnect the input/turbine speed sensor connector.
5. Remove the input/turbine speed sensor.
6. Apply ATF to a new O-ring ...