1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationKnock Sensor (Ks)
Purpose/Function
Detects abnormal combustion in the cylinder as basic information for mainly
determining the ignition timing.
Detects abnormal combustion in the combustion chamber and inputs it to the
PCM as a knocking signal.
Construction
Installed on the cylinder ...
Auto Light Sensor
Purpose
The auto light sensor detects the illumination level above and in front of
the vehicle and outputs it to the front body control module (FBCM).
Function
The auto-light sensor uses the upward illumination level sensor to detect
the illumination level above the vehicle ...
Camshaft Position (CMP) Sensor Inspection
Intake CMP Sensor
Visual inspection
CAUTION:
When replacing the CMP sensor, make sure there is no foreign material on
it such as metal shavings. If it is installed with foreign material, the sensor
output signal will malfunction resulting from fluctuation in magnetic flux and
caus ...