c0ke Posted November 2, 2011 Share Posted November 2, 2011 Hi all! Few months ago I managed to have my system almost perfect thanks to a patch mald0n provided for the notebook in my signature. With that patch I've got faster bootup and sleep working. I think also some better use for the cpu since the gpu fan was spinning a little slowly than before. Than I've got an hd failure and burned my backup disk too! :D I was however able to restore a previous backup but I cannot get the patch anymore since the DSDT autopatcher topic on this board was cancelled. Now I've found this patch form another site and tried it after adding <key>GeneratePStates</key> <string>Yes</string> <key>GenerateCStates</key> <string>Yes</string> to my boot plist and removing nullcpupowermanagement, but I've got KP (version mis-match between kernel and CPU PM). My appleintelcpupowermanagement is 142.6.0 (also) patched with speedstepper I think the patch is not the right one for my laptop and maybe I forgot something to get it working. these are my files: send_me_c0ke.zip EDIT: my new system config after some changes: send_me.zip Also, I've got now applehda working with this deviato's patch and would like to continue using it instead of voodoohda. Could anyone please help me with the DSDT patch? Thank you in advance!!!! Link to comment Share on other sites More sharing options...
LatinMcG Posted November 2, 2011 Share Posted November 2, 2011 wrong profile to use MacBookPro4,1.. use MacBookPro6,1 http://www.insanelymac.com/forum/index.php...t&p=1681524 at bottom of first post. smbios.plist for 6,1 Link to comment Share on other sites More sharing options...
c0ke Posted November 3, 2011 Author Share Posted November 3, 2011 wrong profile to useMacBookPro4,1.. use MacBookPro6,1 http://www.insanelymac.com/forum/index.php...t&p=1681524 at bottom of first post. smbios.plist for 6,1 Thank you for your reply! unfortunately it didn't work with MacBookPro6,1 smbios, I've got the same KP when I rempve nullcpuPM from extra/extensions. And I think it's not the proper profile, since as MBP6,1 my soundcard emits some noisy "pops" and my istat menu reveals only one cpu temperature.. I think it needs a proper dsdt patch Link to comment Share on other sites More sharing options...
LatinMcG Posted November 3, 2011 Share Posted November 3, 2011 Thank you for your reply!unfortunately it didn't work with MacBookPro6,1 smbios, I've got the same KP when I rempve nullcpuPM from extra/extensions. And I think it's not the proper profile, since as MBP6,1 my soundcard emits some noisy "pops" and my istat menu reveals only one cpu temperature.. I think it needs a proper dsdt patch i see the dsdt is unpatched.. lpc isnt loading. and god knows what else.. do u have any dsdt for it to compare? (starting point) anyways i changed LPC id from 2815 to 2916 and the HPET returns Zero if OSID is less than 0x10 so i added DRW =0x40 (likely why the version mismatch.. or usb ids? nahh doubt it.) one more thing. u patched but u dont need patch. thats for sandybridge i5 i7. you have ich9 core2 "My appleintelcpupowermanagement is 142.6.0 (also) patched with speedstepper" undo this and try with the dsdt. i believe the hpet patch had a flaw. in the 1545.txt the _CRS returns Zero = bad the usb device ids are ich8 but to make ich10 Device (USB1) { Name (_ADR, 0x001D0000) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, Zero), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x03, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x03, One }) } Return (Package (0x02) { 0x03, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, Zero) } Device (HUB0) { Name (_ADR, Zero) Device (CH00) { Name (_ADR, One) } Device (CH01) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x34, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB2) { Name (_ADR, 0x001D0001) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, One), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x04, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x04, One }) } Return (Package (0x02) { 0x04, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, One) } Device (HUB1) { Name (_ADR, Zero) Device (CH10) { Name (_ADR, One) } Device (CH11) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x35, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB3) { Name (_ADR, 0x001D0002) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x02), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x0C, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x0C, One }) } Return (Package (0x02) { 0x0C, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x02) } Device (HUB2) { Name (_ADR, Zero) Device (CH20) { Name (_ADR, One) } Device (CH21) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x36, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB4) { Name (_ADR, 0x001A0000) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x03), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x0E, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x0E, One }) } Return (Package (0x02) { 0x0E, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x03) } Device (HUB3) { Name (_ADR, Zero) Device (CH30) { Name (_ADR, One) } Device (CH31) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x37, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB5) { Name (_ADR, 0x001A0001) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x04), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x05, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x05, One }) } Return (Package (0x02) { 0x05, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x04) } Device (HUB6) { Name (_ADR, Zero) Device (CH60) { Name (_ADR, One) } Device (CH61) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x38, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB6) { Name (_ADR, 0x001A0002) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x04), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x05, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x05, One }) } Return (Package (0x02) { 0x05, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x04) } Device (HUB7) { Name (_ADR, Zero) Device (CH70) { Name (_ADR, One) } Device (CH71) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x39, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } try MacBook5,1 smbios.plist in /Extra c0keremake.aml.zip Link to comment Share on other sites More sharing options...
c0ke Posted November 3, 2011 Author Share Posted November 3, 2011 i see the dsdt is unpatched.. lpc isnt loading. and god knows what else.. do u have any dsdt for it to compare? (starting point) anyways i changed LPC id from 2815 to 2916 and the HPET returns Zero if OSID is less than 0x10 so i added DRW =0x40 (likely why the version mismatch.. or usb ids? nahh doubt it.) one more thing. u patched but u dont need patch. thats for sandybridge i5 i7. you have ich9 core2 "My appleintelcpupowermanagement is 142.6.0 (also) patched with speedstepper" undo this and try with the dsdt. i believe the hpet patch had a flaw. in the 1545.txt the _CRS returns Zero = bad the usb device ids are ich8 but to make ich10 Device (USB1) { Name (_ADR, 0x001D0000) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, Zero), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x03, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x03, One }) } Return (Package (0x02) { 0x03, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, Zero) } Device (HUB0) { Name (_ADR, Zero) Device (CH00) { Name (_ADR, One) } Device (CH01) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x34, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB2) { Name (_ADR, 0x001D0001) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, One), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x04, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x04, One }) } Return (Package (0x02) { 0x04, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, One) } Device (HUB1) { Name (_ADR, Zero) Device (CH10) { Name (_ADR, One) } Device (CH11) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x35, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB3) { Name (_ADR, 0x001D0002) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x02), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x0C, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x0C, One }) } Return (Package (0x02) { 0x0C, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x02) } Device (HUB2) { Name (_ADR, Zero) Device (CH20) { Name (_ADR, One) } Device (CH21) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x36, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB4) { Name (_ADR, 0x001A0000) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x03), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x0E, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x0E, One }) } Return (Package (0x02) { 0x0E, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x03) } Device (HUB3) { Name (_ADR, Zero) Device (CH30) { Name (_ADR, One) } Device (CH31) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x37, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB5) { Name (_ADR, 0x001A0001) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x04), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x05, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x05, One }) } Return (Package (0x02) { 0x05, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x04) } Device (HUB6) { Name (_ADR, Zero) Device (CH60) { Name (_ADR, One) } Device (CH61) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x38, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB6) { Name (_ADR, 0x001A0002) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x04), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x05, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x05, One }) } Return (Package (0x02) { 0x05, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x04) } Device (HUB7) { Name (_ADR, Zero) Device (CH70) { Name (_ADR, One) } Device (CH71) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x39, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } try MacBook5,1 smbios.plist in /Extra LatinMcG thank you for you precious help!! I've made a couple of tests with the aml you provided above, and I've got the same KP without nullcpuPM. appleintelcpuPM was restored time ago because I suspected the patch was not needed. No way either with this macbook5,1 smbios One interesting fact is that with nullcpuPM and the aml you provided, my 2 leftside usb ports aren't working. Something similar happened with the mald0n's patch I used months ago. Ok, I'm sorry for bad stuff posted before. Here I attach my config until the test reported above. c0ke_before_test.zip I was running with those dsdt.aml and smbios from the last deviato's applehda patch for snoleopard: c0ke_dsdt_smbios.zip unfortunately I've got no other dsdt to look at Link to comment Share on other sites More sharing options...
LatinMcG Posted November 3, 2011 Share Posted November 3, 2011 LatinMcG thank you for you precious help!! I've made a couple of tests with the aml you provided above, and I've got the same KP without nullcpuPM. appleintelcpuPM was restored time ago because I suspected the patch was not needed. No way either with this macbook5,1 smbios One interesting fact is that with nullcpuPM and the aml you provided, my 2 leftside usb ports aren't working. Something similar happened with the mald0n's patch I used months ago. Ok, I'm sorry for bad stuff posted before. Here I attach my config until the test reported above. c0ke_before_test.zip I was running with those dsdt.aml and smbios from the last deviato's applehda patch for snoleopard: c0ke_dsdt_smbios.zip unfortunately I've got no other dsdt to look at ok i removed EHCI patch and used USB1-6 patch only heres the deviato dsdt . in comments at bottom http://deviato.wordpress.com/2010/03/23/en...-inspiron-1545/ one more thing.. youre using a very old fakesmc.. i wonder what else is outdated.. youre following leopard not snow leopard steps ? or files from. /drv/ HypVtd.c:3516 [vtdInit] VTD initialization disabled do you have Vt enabled in bios.. i believe in powermanagement.. or performance. LOL <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SMbiosvendor</key> <string>Apple Inc.</string> <key>SMbiosversion</key> <string>IM111.88Z.0034.B00.0910301727</string> <key>SMbiosdate</key> <string>11/06/2009</string> <key>SMboardmanufacturer</key> <string>Apple Computer, Inc.</string> <key>SMboardproduct</key> <string>Mac-F2268DAE</string> <key>SMfamily</key> <string>Mac Pro</string> <key>SMmanufacturer</key> <string>Apple Inc.</string> <key>SMproductname</key> <string>MacPro11,1</string> <key>SMserial</key> <string>W88033AKY51</string> <key>SMsystemversion</key> <string>1.0</string> <key>SMUUID</key> <string>C0CE2600-93D7-3B41-843A-4D7C8E2C12E2</string> </dict> </plist> what the hell is this mess? try this mbp6,1 http://www.insanelymac.com/forum/index.php...st&id=92907 or this mb4,1 http://www.insanelymac.com/forum/index.php...st&id=92906 or u can change the key info in it for MB5,1 (NOT MacBookPro5,1 !!) c0keremake.aml.zip Link to comment Share on other sites More sharing options...
c0ke Posted November 4, 2011 Author Share Posted November 4, 2011 eheheheh lol hey! as said in the first post I had to restore an old backup with a 10.6.2 incomplete system. Then I posted here the new info Now I'm running fakesmc version 3.1.0 rev 493 Tried your new dsdt with already tried smbios for 4,1 6,1 5,1 without nullcpupm: same KP version mis-match.... ...heres the deviato dsdt . in comments at bottom http://deviato.wordpress.com/2010/03/23/en...-inspiron-1545/ this post is dated 28 march 2010, the one I looked at is from november 2010. I applied the provided 11,1 smbios as suggested to avoid soundcard noises. It simply works. I don't remember how was made the patch from mald0n, but although applehda wasn't working, I was able to boot without nullcpupm neither smbios and to correctly sleep and wake up. The topic is not available anymore, but I'm curious to see how that patch was made... Maybe a good start is to try to load appleLPC Link to comment Share on other sites More sharing options...
LatinMcG Posted November 4, 2011 Share Posted November 4, 2011 eheheheh lol hey! as said in the first post I had to restore an old backup with a 10.6.2 incomplete system. Then I posted here the new info Now I'm running fakesmc version 3.1.0 rev 493 Tried your new dsdt with already tried smbios for 4,1 6,1 5,1 without nullcpupm: same KP version mis-match.... this post is dated 28 march 2010, the one I looked at is from november 2010. I applied the provided 11,1 smbios as suggested to avoid soundcard noises. It simply works. I don't remember how was made the patch from mald0n, but although applehda wasn't working, I was able to boot without nullcpupm neither smbios and to correctly sleep and wake up. The topic is not available anymore, but I'm curious to see how that patch was made... Maybe a good start is to try to load appleLPC if 11,1 is what u need... then us whole smbios.. not mix it. with macpro version mismatch. strange.. can i remote to system (teamviewer).. do u get to boot it? Link to comment Share on other sites More sharing options...
c0ke Posted November 4, 2011 Author Share Posted November 4, 2011 if 11,1 is what u need... then us whole smbios.. not mix it. with macproversion mismatch. strange.. can i remote to system (teamviewer).. do u get to boot it? I get to boot it only with nullcpupm. Maybe tomorrow we could have a remote teamviewer session because I'm at job by now. Link to comment Share on other sites More sharing options...
c0ke Posted November 5, 2011 Author Share Posted November 5, 2011 Found my lpc device id from lspci..: 00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03) tried to inject it with the dsdt patch for ICH9 lpc but no luck. into method label _DSM parent_adr 0x001F0000 remove_entry; into device name_adr 0x001F0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x19, 0x29, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end finally my system loads applelpc by adding the device id directly in its info.plist as <string>pci8086,2919</string> still getting "version mis-match(...)" KP without nullcpupowermanagement Link to comment Share on other sites More sharing options...
LatinMcG Posted November 5, 2011 Share Posted November 5, 2011 Found my lpc device id from lspci..: 00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03) tried to inject it with the dsdt patch for ICH9 lpc but no luck. into method label _DSM parent_adr 0x001F0000 remove_entry; into device name_adr 0x001F0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x02)\n {\n "device-id", \n Buffer (0x04)\n {\n 0x16, 0x29, 0x00, 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end finally my system loads applelpc by adding the device id directly in its info.plist as <string>pci8086,2919</string> still getting "version mis-match(...)" KP without nullcpupowermanagement the proper one is 2916 .. that one loads. hmm whats in your /Extra/* ? do u use sleepenabler ?? remove it. also evoreboot i think u got files mixed up. with old guides.. fresh install with minimal stuff Link to comment Share on other sites More sharing options...
c0ke Posted November 6, 2011 Author Share Posted November 6, 2011 the proper one is 2916 .. that one loads. hmm whats in your /Extra/* ? do u use sleepenabler ?? remove it. also evoreboot i think u got files mixed up. with old guides.. fresh install with minimal stuff mmmh... no, sleepenabler removed since 10.6.7 upgrade... Actually I've got only platformuuid in E/E (tried with or without this one, nothing changes). Maybe I could try to upgrade to lion instead. The system is almost perfect now, except for sleep and for the (gpu) fan management, very noisy, I'm guessing if there's a way to change the thermal zones by dsdt.... Link to comment Share on other sites More sharing options...
LatinMcG Posted November 7, 2011 Share Posted November 7, 2011 mmmh... no, sleepenabler removed since 10.6.7 upgrade... Actually I've got only platformuuid in E/E (tried with or without this one, nothing changes). Maybe I could try to upgrade to lion instead. The system is almost perfect now, except for sleep and for the (gpu) fan management, very noisy, I'm guessing if there's a way to change the thermal zones by dsdt.... platformuuid is obsolete by 1 yr chameleon2 rc4 has it built in Link to comment Share on other sites More sharing options...
c0ke Posted November 12, 2011 Author Share Posted November 12, 2011 Hey some interesting news here! The KP appears to be caused by the wrong version of aicpupm. Tried v.105.13.0 and I was able to boot with the first "remake" version provided here And.... my hackbook was able to go to sleep! Anyway I wasn't able to wakeup (garbled screen and system seems to not respond). Furthermore the right side usb port was working very slowly and the 2 left side ones not working at all. Said that, I upgraded to lion 10.7.2 on a external usb disk backup. Same issues, but everything else seems working like a sharm. (...) the usb device ids are ich8 but to make ich10 Device (USB1) { Name (_ADR, 0x001D0000) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, Zero), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x03, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x03, One }) } Return (Package (0x02) { 0x03, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, Zero) } Device (HUB0) { Name (_ADR, Zero) Device (CH00) { Name (_ADR, One) } Device (CH01) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x34, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB2) { Name (_ADR, 0x001D0001) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, One), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x04, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x04, One }) } Return (Package (0x02) { 0x04, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, One) } Device (HUB1) { Name (_ADR, Zero) Device (CH10) { Name (_ADR, One) } Device (CH11) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x35, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB3) { Name (_ADR, 0x001D0002) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x02), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x0C, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x0C, One }) } Return (Package (0x02) { 0x0C, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x02) } Device (HUB2) { Name (_ADR, Zero) Device (CH20) { Name (_ADR, One) } Device (CH21) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x36, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB4) { Name (_ADR, 0x001A0000) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x03), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x0E, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x0E, One }) } Return (Package (0x02) { 0x0E, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x03) } Device (HUB3) { Name (_ADR, Zero) Device (CH30) { Name (_ADR, One) } Device (CH31) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x37, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB5) { Name (_ADR, 0x001A0001) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x04), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x05, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x05, One }) } Return (Package (0x02) { 0x05, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x04) } Device (HUB6) { Name (_ADR, Zero) Device (CH60) { Name (_ADR, One) } Device (CH61) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x38, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (USB6) { Name (_ADR, 0x001A0002) Method (_PRW, 0, NotSerialized) { Store (UPRW (Zero, 0x04), Local0) If (LEqual (Local0, 0x03)) { Return (Package (0x02) { 0x05, 0x03 }) } If (LEqual (Local0, One)) { Return (Package (0x02) { 0x05, One }) } Return (Package (0x02) { 0x05, Zero }) } Method (_PSW, 1, NotSerialized) { UPSW (Arg0, 0x04) } Device (HUB7) { Name (_ADR, Zero) Device (CH70) { Name (_ADR, One) } Device (CH71) { Name (_ADR, 0x02) } } Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "device-id", Buffer (0x04) { 0x39, 0x3A, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } What did you mean about "the usb device ids are ich8 but to make ich10" ? I believe my board is ICH9... Link to comment Share on other sites More sharing options...
LatinMcG Posted November 13, 2011 Share Posted November 13, 2011 no need to patch usb ids i believe.. only the ehci usualy. Link to comment Share on other sites More sharing options...
c0ke Posted November 14, 2011 Author Share Posted November 14, 2011 no need to patch usb ids i believe.. only the ehci usualy. uhm... removing usb patch sleep doesn't work. the only working patch is the first one you attached. Usually on reboot after forced quit usb aren't working, -f seems to fix it, but only in SL. In lion usb always corrupted. however after wakeup I see a small portion of the screen on both displays with flickering garbage over a desktop corner. The system doesn't respond, but the mouse cursor moves correctly.. Maybe it's an issue with the graphic card... Trying to understand how your first aml is working. which patch did you exactly apply? LPC, HPET, DRW, USB and?.... I think however we're almost there Link to comment Share on other sites More sharing options...
LatinMcG Posted November 14, 2011 Share Posted November 14, 2011 uhm... removing usb patch sleep doesn't work.the only working patch is the first one you attached. Usually on reboot after forced quit usb aren't working, -f seems to fix it, but only in SL. In lion usb always corrupted. however after wakeup I see a small portion of the screen on both displays with flickering garbage over a desktop corner. The system doesn't respond, but the mouse cursor moves correctly.. Maybe it's an issue with the graphic card... Trying to understand how your first aml is working. which patch did you exactly apply? LPC, HPET, DRW, USB and?.... I think however we're almost there RTC .. HPET might need extra irq 11 or 15 Link to comment Share on other sites More sharing options...
c0ke Posted November 18, 2011 Author Share Posted November 18, 2011 a short update: now running lion. tried to modify dsdt starting from deviato's (applehda) one. Only added right LPC device id and DRW as from your first posts. The system loads quickly without nullcpupm. No more usb issue!!! I'm able to go to sleep: everything's off, the power light fades in and out. Perfect. Trying to wake with mouse/keyboard/trackpad, but nothing happens. Only if I click on the logitech usb mouse button its light turns on, but everything else still sleeps. Pushing the power button everything seems to turn back on, fans gradually increase but both display are showing nothing but a square on the top left with its screen portion before sleep flickering. I see the mouse cursor correctly moving on the whole display surfaces. But the system is stuck and not reacting to any other input. I must hold down the power button to shut down. Assuming that it seems a graphic related issue, I tried with GE=no but then I wasn't able to sleep at all. in the kernel log I see Nov 18 14:02:40 myHacky kernel[0]: Wake reason = PBTN LID Nov 18 14:02:40 myHacky kernel[0]: No interval found for . Using 8000000 Nov 18 14:02:40 myHacky kernel[0]: RadeonMonitor: found 9552 Radeon chip Nov 18 14:02:40 myHacky kernel[0]: RadeonMonitor: Unknown DeviceID! Nov 18 14:02:40 myHacky kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1 Nov 18 14:02:40 myHacky kernel[0]: No interval found for . Using 8000000 Nov 18 14:02:41 myHacky kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed Nov 18 14:02:41: --- last message repeated 1 time --- Nov 18 14:02:41 myHacky kernel[0]: AirPort: Link Up on en1 Nov 18 14:02:41 myHacky kernel[0]: AirPort: RSN handshake complete on en1 Nov 18 14:02:41 myHacky kernel[0]: Ethernet [AppleYukon2]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [78ed,6c00,0de1,0000,45e1,0000] Nov 18 14:02:41 myHacky kernel[0]: No interval found for . Using 8000000 Nov 18 14:02:48 myHacky kernel[0]: ** Device in slot: SLOT-1 ** Nov 18 14:02:48 myHacky kernel[0]: ** GPU Debug Info Start ** Nov 18 14:02:49 myHacky kernel[0]: 0x00009552 Nov 18 14:02:49 myHacky kernel[0]: 0x000000cb Nov 18 14:02:49 myHacky kernel[0]: 0x00000001 Nov 18 14:02:49 myHacky kernel[0]: 0x00000018 Nov 18 14:02:49 myHacky kernel[0]: 0x0000f6df Nov 18 14:02:49 myHacky kernel[0]: 0x00000001 (...) (and so on until reboot) What do you think about? Nov 18 14:02:40 myHacky kernel[0]: No interval found for . Using 8000000 Nov 18 14:02:41 myHacky kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed Nov 18 14:02:41: --- last message repeated 1 time --- Nov 18 14:02:41 myHacky kernel[0]: No interval found for . Using 8000000 Nov 18 14:02:48 myHacky kernel[0]: ** Device in slot: SLOT-1 ** Nov 18 14:02:48 myHacky kernel[0]: ** GPU Debug Info Start ** (...) seem strange. Then I get also kernel[0]: ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized on boot. AppleLPC is loading correctly... send_me_11_11.zip Link to comment Share on other sites More sharing options...
LatinMcG Posted November 18, 2011 Share Posted November 18, 2011 LPC device message is normal for dell's. in bios enable usb wakeup so it wakes pc. appleusbcdc .. dont know Link to comment Share on other sites More sharing options...
c0ke Posted November 23, 2011 Author Share Posted November 23, 2011 LPC device message is normal for dell's. in bios enable usb wakeup so it wakes pc. appleusbcdc .. dont know Nothing. I've got bios A11. Usb wakeup is enabled. However nothing changes. I can't actually be sure what is causing the issue. It seems graphic related since the screen goes scrambled. Sleep works perfectly, in the same way as with the mald0n's dsdt months ago althrough now I can't wake it anymore. Link to comment Share on other sites More sharing options...
LatinMcG Posted November 23, 2011 Share Posted November 23, 2011 probably ati issue. redump dsdt cause bios usb wake change might not be in dsdt. Link to comment Share on other sites More sharing options...
KUGLee Posted November 27, 2011 Share Posted November 27, 2011 Hi c0ke! I have the same laptop that you have. mald0n patched my dsdt. If you need it I can send it to you. Everything is working except the cpu fan control. I have high temps, fan running all the time. I've stumbled upon this topic: http://www.projectosx.com/forum/index.php?showtopic=1593&st=80&p=15865entry15865 I didn't have time to try it yet, but it looks promising. Link to comment Share on other sites More sharing options...
Recommended Posts