1. Connect WDS or equivalent to the vehicle DLC-2 16-pin connector located as shown in the figure.

2. Perform KOEO/KOER self-test.
After repair procedureMazda 6 Service Manual: Cruise Control (Some models)
With cruise control, you can set and automatically maintain any speed of more
than about 25 km/h (16 mph).
WARNING
Do not use the cruise control under the following conditions: Using
the cruise control under the following conditions is dangerous and could result
in loss of vehicle control.
...
Mazda 6 Service Manual: Front drain hose installation
Caution
If the front drain hose is pinched or bent anywhere, the water in the hose
may not discharge and enter the inside of the vehicle. During and after
installation of the trims and the headliner, always make sure there is no
interference with the front drain hose. Fix any problem if found ...