Lenovo G480 (20156)
BIOS VERSION: 62CN41WW
So, using a patched AppleIntelCpuPowerManagement kext. When i try to sleep it, it sleeps , but immediately wakes up.
see dmesg log http://pastebin.com/ENyAwRuq , these lines got my attention,
Wake reason = GLAN EHC2 EHC1
The USB device HubDevice (Port 1 of Hub at 0x1a000000) may have caused a wake by issuing a remote wakeup (2) The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2) [0xffffff80075cce00](0)/(5) Device not responding
So after hours of googling i learned that these EHC2 EHC1 are usb hubs and not correctly recognized in osx so they are waking the system. i cheched the ioreg, EHC2 is the hub and webcam is under it. ECH1 is hub and sdcard reader is under it.
So i learned that i need to edit DSDT to make these device not send Wake call. Need help regarding that.
So far tried,
removing _PRW method from both EHC2 EHC1. No help
patched: added DTGP, EHC2 and EHC1 from this https://raw.github.c...2_DSDTPatch.txt
didn't work, got KP. I think i need to add this _DSM method but need to match device ID's with my system's id. But no idea how to do this, no knowledge about this
Any idea, hint would very helpful.
Is there any option/setting/tweak/hack in OSX that can let me select which which devices to listen to for Wake call ? i can just remove GLAN EHC2 EHC1 from there. No need to listen to these device's wake call.
Attached: my DSDT , removed _PRW from both EHC2 EHC1.