Jump to content

[Solved] DSDT Patching for Sleep (possibly wake too?) - Dell Precision 670


Hervé
 Share

2 posts in this topic

Recommended Posts

Any charitable soul would know how to patch my attached DSDT to get my workstation to sleep ?

 

All I see it do right now is put screens + USB ports briefly to sleep (computer & fans stay up) but wake immediately afterwards... Reason I know USB ports go to sleep is because I see "disk not ejected properly..." message on screen if I keep a USB key in when trying to put computer to sleep via Apple menu.

 

Many thanks in advance!

 

Link to comment
Share on other sites

Ok, well solution turned out quicker than I thought!

  • On RampageDev's recommendation, I removed all code I had previously added for Device (FRWR) and which was just cosmetic. Modifying Firewire device does break sleep, no doubts about that...
  • On Bronxteck's recommendation, I added the following code to each of the 4 USB devices:
            Method (_DSM, 4, NotSerialized)
            {
                Store (Package (0x0B)
                    {
                        "AAPL,clock-id", 
                        Buffer (One)
                        {
                             0x01
                        }, 
                        "device_type", 
                        Buffer (0x05)
                        {
                            "USBn" /* Where n=0 to 3 */
                        }, 
                        "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)
            }

After adding SleepEnabler kext, I get full sleep & wake in SL 10.6.8 with absolutely no adverse effect. Brilliant! That basically closes the only outstanding functionality I needed sorted on that Hack.

 

Fully_Patched_WS670_dsdt.dsl.zip Fully_Patched_WS670_dsdt.aml.zip

 

 

EDIT: Sleep & wake work natively and without SleepEnabler with above patch under ML and Mav.

Link to comment
Share on other sites

 Share

×
×
  • Create New...