Join Date: Jan 2006
Location: Lawrence, KS - Rock Chalk
Car Year: 2010
Car Model: Legacy 3.6R Limited
Okay I had a chance to look but I didn't have a ton of time on my hands. I pulled off the trim, unlatched the latch rods and with a 12mm open end removed the latch and unplugged it from the harness.
My latch is pretty nasty looking inside. I had a short time to work on the car as I had to be somewhere in an hour so I cleaned up the contact points as best as I could and sprayed the latch with some WD-40 and re installed it. The light is working fine now. After seeing the condition of it I have half a mind to replace it though. It wasn't that hard to do. Near as I can tell the original poster only needed to plug the dangling harness into the latch to get the dome light working with the switch assuming the switch is working properly.
I've attached some photos that will help but it pretty much goes like this if you want to remove the latch and clean it.
First remove the two side trim bits left and right, they will tug off held in by two tabs.
Next remove the grab handle, expose the two Phillips screws by getting a small screw driver under the latch covering the screws. Remove the screws and put the handle aside.
There are three buttons along the bottom edge that need to be removed. Pry out with your fingers each button, removing it completely. Then remove the black fastener part that was under the button.
Now you get your fingers under the trim at the edges and firmly tug the trim part off.
With the trim out of the way, you can unhook the two rods that operate the latch. The rod that comes from the left side (going to the lock) can be removed by rotating the little clip counter clockwise and the rod will release easily. The rod going down to the latch needs to be pried out of the bushing with a flat blade screw driver. It's pressed in unlike the other rod.
Next with a 12mm socket or open end undo the bolts that hold the latch in place. The latch can then be lifted out from the inside and the harness unplugged. Now the latch is free to work on and clean the contact points. I used a wire brush and some contact cleaner spray I have. Then I sprayed it down with some WD-40 and reinstalled it. Have a look at the pics too.
2010 Leg 3.6 R, 2013 OB, 2001 OB, 2001 Forester S and 1999 Miata