ianmc81, on Sep 28 2011, 09:34 PM, said:
I think there are a number of issues at play and I think some users of genuine Macs are unhappy with the way that Wake on Demand behaves with non-Apple network services (there are a number of complaints over on Macrumours about things like SSH and LogMeIn). I would be intrigued to know if the kernel param improves matters for them (not sure if you can even pass them on real macs?).
Could be true. Maybe it won't even stay awake when being accessed on real Macs. I might try and test if that is true.
ianmc81, on Sep 28 2011, 09:34 PM, said:
When I started looking into this I thought powerd was to blame, now I actually think this whole mechanism lives within the kernel, but I could be wrong about this - am not a kernel guru. If you look in IOPMrootDomain.cpp in the latest XNU sources I think you should be able to find the logic for this by seeing where "darkwake" pops up. Maybe with some digging you could re-map the wake reasons at this level (or make them more broad) if you were so inclined. There are a number of guides out there describing how to get the XNU sources to build.
I'll look into the kernel sources and see what I can find. I've already managed to get XNU to build. I hardly have any C or hardware programming experience tho.
ianmc81, on Sep 28 2011, 09:34 PM, said:
Personally, I'd rather just switch the whole thing off as that seems cleaner to me. I am not bothered if my monitor turns on every time I access some network service or other... it did on Snow Leopard and I managed OK then :-)
My selfbuilt Mac is in my bedroom, and the bonjour proxy wakes the Mac at some interval to keep the bonjour services updated. So I wouldn't mind if it was ultimately possible to get dark wake working perfectly.