1. Remove the intake manifold. (See INTAKE-AIR SYSTEM REMOVAL/INSTALLATION.)
2. Remove the knock sensor attachment bolt to remove the knock sensor.

3. Install in the reverse order of removal.
Tightening torque 16.2-23.8 N·m
{1.66-2.42 kgf·m, 12.0-17.5 ft·lbf}
Knock sensor inspection
Heated oxygen sensor (ho2s) inspectionMazda 6 Service Manual: Dtc clearing procedure
1. Start the on-board diagnostic test mode.
2. First press the POWER button, then simultaneously press AUDIO CONT button
for 2 seconds or more.
Caution
Before clearing the DTCs, be sure to enter all of them displayed
in the on-board diagnostic test mode in the Audio Repair Order Form. ...
Mazda 6 Service Manual: Foreword
When the customer reports a vehicle malfunction, check the malfunction
indicator lamp (MIL) indication and diagnostic trouble code (DTC), then
diagnose the malfunction according to following flowchart.
- If a DTC exists, diagnose the applicable DTC inspection. (See DTC
TABLE.)
- ...