1. Connect the WDS or equivalent to the DLC-2.
2. Measure the PID value.
Note
PID/DATA MONITOR AND RECORD function table

Dtc p0841
TroubleshootingMazda 6 Service Manual: Camshaft position (cmp) sensor inspection
Caution
When foreign material such as an iron chip is on the CMP sensor,
it can cause abnormal output from the sensor because of flux turbulence and
adversely affect the engine control. Be sure there is no foreign material on
the CMP sensor when replacing.
Note
Perform the follow ...
Mazda 6 Service Manual: Solenoid valve removal/installation
1. Disconnect the negative battery cable.
2. Remove the under cover.
3. Remove the control valve body. (See CONTROL VALVE BODY REMOVAL.)
4. Remove the solenoid valve(s).
5. Apply ATF to a new O-ring and install it on the solenoid valve.
6. Install the solenoid valve in the control valve body. ...