I have just bought a Macbook 5,1 Unibody Late-2008 (the Macbook which looks like a Macbook Pro).
The seller told me that the WiFi was not working anymore. The Bluetooth isn't working either so I presume the Airport Card is broken.
I have added a USB WiFi adapter and it works correctly, but when I close my laptop it goes into sleep, the light gently fades once, and then the sleep light shines and no more sleep...
I have looked in the pmset logs and found that the computer made DarkWakes but without telling reasons.
If I look in syslog, I see
Wake Reason: ?
I have not found anyone experiencing the same behaviour with their computer.
Could the broken Airport card make the computer wakes from sleep?
Can I remove the Airport Card to make it totally disappear from the system? I have seen an iFixit tutorial to change the card but first I would try to disconnect it. Do you think just removing the Camera cable is enough to switch Airport off completely?
I have tried to install several OS from Moutain Lion to El Capitan and the results are the same, the computer doesn't stay on sleep. And now, after two days of work and installations, the computer doesn't want to shut down anymore. Instead, when I choose Shut Down, it restarts ..
I don't know what to do.
Just a small note, the previous owner had replaced the Optical Drive with a 1TB hard drive. The hard drive works correctly.