Jump to content

GA-EX58 and GA-X58A DSDT native power management modifications


d00d
1,770 posts in this topic

Recommended Posts

I'm having an issue since installing a BCM943602CS Wifi/Bluetooth card. The problem is described here with a potential fix:

http://www.insanelymac.com/forum/topic/316815-bcm943602cs-combo-card-prevents-sleep-on-sierra/

 

Is there a way to accomplish the same in DSDT?

 

I have the bluetooth plugged into an internal header, ID with IORegExplorer is 3d000000, I believe this is USB0, also cross referencing with a photo of the motherboard, this header is identified as USB1 (usb0 & usb1?), the header next to it is labeled USB2 (usb2 & usb3?).

If this is correct then 

USB0 = BT

USB1 = Front Panel USB

USB2&3 = Empty

ICH10 dont need fix USB UHCI, just inject clock id 1 in EHC1 and clock id2 in EHC2

Do not use the sensors to not affect the operation of the cooler and cooling of the computer, I use my hachintosh to edit movies and this requires a lot of the machine.

ofc, LGA1366 is a monster, old but gold

I'm having an issue since installing a BCM943602CS Wifi/Bluetooth card. The problem is described here with a potential fix:

http://www.insanelymac.com/forum/topic/316815-bcm943602cs-combo-card-prevents-sleep-on-sierra/

 

Is there a way to accomplish the same in DSDT?

 

I have the bluetooth plugged into an internal header, ID with IORegExplorer is 3d000000, I believe this is USB0, also cross referencing with a photo of the motherboard, this header is identified as USB1 (usb0 & usb1?), the header next to it is labeled USB2 (usb2 & usb3?).

If this is correct then 

USB0 = BT

USB1 = Front Panel USB

USB2&3 = Empty

 

This is my USB0 section

Device (USB0)
            {
                Name (_ADR, 0x001D0000)
                Method (_S3D, 0, NotSerialized)
                {
                    If (LEqual (OSFL, 0x02))
                    {
                        Return (0x02)
                    }
                    Return (0x03)
                }
                Name (_PRW, Package (0x02)
                {
                    0x03, 
                    0x03
                })
            }

How can I get this port to show as internal to stop my hack waking as soon as I put it to sleep?

u can try remove...

Name (_PRW, Package (0x02)
                {
                    0x03, 
                    0x03
                })

but u lose wake from mouse in USB without _PRW

  • Like 2
Link to comment
Share on other sites

Ok, thanks for the help Maldon. Can you think of any way to do this without losing mouse wake?

Im not sure how to go about injecting a clock id into ECH1, I don't have an ECH device. I'll post my DSDT so you can see what I mean.

DSDT.aml.zip

Link to comment
Share on other sites

    ICH10  hp z800            for u         ECH1 to EH01  EHC2  into EH02

           

Device (EH01)
{
Name (_ADR, 0x001D0007) // _ADR: Address
Method (_PRW, 0, Serialized) // _PRW: Power Resources for Wake
{
Name (PUE1, Package (0x02)
{
0x0D,
0x03
})
If (LNot (S3AV))
{
Store (One, Index (PUE1, One))
}

Return (PUE1)
}

Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
{
Return (0x03)
}

Method (S5D, 0, NotSerialized)
{
Return (0x03)
}

Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package (0x0F)
{
"device-id",
Buffer (0x04)
{
0x3A, 0x3A, 0x00, 0x00
},

"AAPL,clock-id",
Buffer (One)
{
0x0A
},

"built-in",
Buffer (One)
{
0x00
},

"device_type",
Buffer (0x06)
{
"EH01"
},

"AAPL,current-available",
0x04B0,
"AAPL,current-extra",
0x02BC,
"AAPL,current-in-sleep",
0x03E8,
Buffer (One)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (EH02)
{
Name (_ADR, 0x001A0007) // _ADR: Address
Method (_PRW, 0, Serialized) // _PRW: Power Resources for Wake
{
Name (PUE2, Package (0x02)
{
0x0D,
0x03
})
If (LNot (S3AV))
{
Store (One, Index (PUE2, One))
}

Return (PUE2)
}

Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
{
Return (0x03)
}

Method (S5D, 0, NotSerialized)
{
Return (0x03)
}

Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package (0x0F)
{
"device-id",
Buffer (0x04)
{
0x3C, 0x3A, 0x00, 0x00
},

"AAPL,clock-id",
Buffer (One)
{
0x0A
},

"built-in",
Buffer (One)
{
0x00
},

"device_type",
Buffer (0x06)
{
"EH02"
},

"AAPL,current-available",
0x04B0,
"AAPL,current-extra",
0x02BC,
"AAPL,current-in-sleep",
0x03E8,
Buffer (One)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Link to comment
Share on other sites

ye ;)


Ok, thanks for the help Maldon. Can you think of any way to do this without loosing mouse wake?

Im not sure how to go about injecting a clock id into ECH1, I don't have an ECH device. I'll post my DSDT so you can see what I mean.

send me ur config.plist and ioreg 

http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606

  • Like 2
Link to comment
Share on other sites

 

I want to thank you very much for your help in resolving this problem that really bothered me.

 
If possible, what changes were made to DSDT to solve the problem?

 

edit ur full DSDT with good patches, essencial ;)

u can use diff for compare

see my signature, same patches to other chipset

  • Like 1
Link to comment
Share on other sites

i can attach my dsdt you can use it as reference

DSDT.Rockey12.zip

LMU, u need a fakesmc mod

FakeSMC.LMU.zip

full sbus with Mikey driver

Pnlf with MCCSControl

What and where I find this patches

today is a copy of the past

u can find patches etc etc here

http://www.insanelymac.com/forum/topic/235523-dsdt-auto-patcher/ :)

  • Like 1
Link to comment
Share on other sites

send me ur config.plist and ioreg

Thanks Maldon

 

Auto-sleep works when it feels like it, manual sleep hardly ever works. Also, sometimes when I shut the computer down it'll turn back on straight away for no apparent reason

James.zip

Link to comment
Share on other sites

hi MaLdon replying back since 2 days i'm using the patched dsdt what you did for me and also FakeSMC kext every thing work perfect thank you so much

 

i like the way you work trying to help everyone 

 

well done Maldon   :thumbsup_anim:

  • Like 1
Link to comment
Share on other sites

kextstat.command 


 


(:


(:


   34    1 0xffffff7f8166e000 0x4000     0x4000     com.apple.iokit.IOSMBusFamily (1.1) 185F0EBF-0262-3370-BD47-8FE4C8AA726E <5 4 3>


   98    1 0xffffff7f81f87000 0xe000     0xe000     com.apple.driver.AppleSMBusController (1.0.15d1) E1A1152A-1A83-3EE8-8E58-3483462779BC <34 12 11 5 4 3>


(:


   97    1 0xffffff7f82159000 0x1a000    0x1a000    com.apple.driver.AppleHDAController (2.6.0f1) 75C89447-A390-3C8C-9189-3074B972B3FD <96 81 12 7 6 5 4 3 1>


  116    0 0xffffff7f8225c000 0x90000    0x90000    com.apple.driver.AppleHDA (2.6.0f1) 6E9414B6-A952-3A0B-9467-DEFB73D82EAE <115 113 100 97 96 81 6 5 4 3 1>


(:


   13    1 0xffffff7f823e3000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) FB729ABB-093F-386D-8A99-0CC2D2F39B6E <12 11 7 6 5 4 3 1>


   39    0 0xffffff7f82453000 0x4000     0x4000     com.apple.driver.AppleACPIButtons (5.0) A0FF1F0B-F2A9-3DC9-8983-2F1382815828 <38 15 13 11 7 6 5 4 3 1>


(:


Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>


   25    0 0xffffff7f8306b000 0x19000    0x19000    org.netkas.driver.FakeSMC (1421) 8252BBE6-2A73-35AC-919C-10AF2BE3909B <11 7 5 4 3 1>


   89    0 0xffffff7f80c11000 0x4000     0x4000     com.intel.driver.EnergyDriver (2.0) 4E0262A2-B79C-3386-8824-C106A5DFAF94 <7 5 4 3>


  117    0 0xffffff7f81c5f000 0x6000     0x6000     org.tw.CodecCommander (2.4.0) 7134FF3E-A6B0-36CE-9817-D33B255AD9E7 <113 12 4 3 1>


(:


   92    0 0xffffff7f81fd2000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <91 12 5 4 3>


(:


   24    0 0xffffff7f820ab000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) DA42A380-2795-392D-96A7-356FAB75E0A4 <7 6 5 4 3 1>


   31    0 0xffffff7f820a6000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>


   88    0 0xffffff7f82053000 0x2000     0x2000     com.apple.driver.AppleIntelSlowAdaptiveClocking (4.0.0) 6FE984DD-A1FE-309E-83CF-B346989A6F17 <87 4 3>


(:


(:


   32    0 0xffffff7f823b1000 0x3000     0x3000     com.apple.driver.AppleAPIC (1.7) BC2E6D01-BCBB-3525-BF38-BF99C3F1EC46 <4 3>


(:


(:


(:


  123    0 0xffffff7f820e7000 0xa000     0xa000     com.apple.driver.AppleHV (1) B18CFD59-98DB-32E6-8FBE-947F898E81D6 <7 6 5 4 3 1>


 


 


 kextstat | grep LPC


 


   92    0 0xffffff7f81fd2000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <91 12 5 4 3>




 


 


 


 


kextstat | grep AppleIntel


 


   24    0 0xffffff7f820ab000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) DA42A380-2795-392D-96A7-356FAB75E0A4 <7 6 5 4 3 1>


   31    0 0xffffff7f820a6000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>


   88    0 0xffffff7f82053000 0x2000     0x2000     com.apple.driver.AppleIntelSlowAdaptiveClocking (4.0.0) 6FE984DD-A1FE-309E-83CF-B346989A6F17 <87 4 3>




 


Link to comment
Share on other sites

 

24    0 0xffffff7f820ab000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) DA42A380-2795-392D-96A7-356FAB75E0A4

   31    0 0xffffff7f820a6000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765

 

 

 92    0 0xffffff7f81fd2000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E

its nice

but, how to check frequency in lga 1366?

 

try a AppleIntelInfo by Pike

 

put in desktop

AppleIntelInfo.kext.zip

and run

sudo chown -R 0:0 ~/Desktop/AppleIntelInfo.kext
sudo chmod -R 755 ~/Desktop/AppleIntelInfo.kext
sudo kextload ~/Desktop/AppleIntelInfo.kext

and for full log

sudo cat /tmp/AppleIntelInfo.dat
Link to comment
Share on other sites

×
×
  • Create New...