If your dome light works correctly when you have the courtesy socket removed you are real close to finding the probelm. There is a ground connection being made there and simulating a door switch ground connection. Wrong or broken socket perhaps. Wire grounded? Let us know what you find.
|