VerizonLover Posted November 21, 2011 Share Posted November 21, 2011 Sleep works, but a cmos error occurs on restart. I've tried the AppleRTC.kext patch to no avail. Attached is my DSDT. Any help? dsdt.zip Link to comment Share on other sites More sharing options...
LatinMcG Posted November 21, 2011 Share Posted November 21, 2011 os 10.7 ? which rtc patch .. theres 2 or 3. i see this rtc Device (RTC0) { Name (_HID, EisaId ("PNP0B00")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x02, // Length ) }) } what does original look like ? Link to comment Share on other sites More sharing options...
VerizonLover Posted November 21, 2011 Author Share Posted November 21, 2011 Original dsdt attached. Decompiled AML using DSDTESE. That means that the compiler version is dated 2009. Running 10.7.2. I had to get rid of all the IRQ and DMA stuff in the edited one or else it wouldn't sleep. dsdt.zip Link to comment Share on other sites More sharing options...
LatinMcG Posted November 21, 2011 Share Posted November 21, 2011 not original Link to comment Share on other sites More sharing options...
VerizonLover Posted November 22, 2011 Author Share Posted November 22, 2011 I fixed it by applying the following patch to AppleRTC.kext: sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' <AppleRTC binary> I did this to a copy of AppleRTC.kext from the install flash drive. And then copied the copy into place. Link to comment Share on other sites More sharing options...
LatinMcG Posted November 23, 2011 Share Posted November 23, 2011 nice .. seems its using older AppleRTC.kext.. known workaround. the rtc in dsdt.. was it modified ? the length was 06 or 08 originally ? Link to comment Share on other sites More sharing options...
Recommended Posts