Jump to content

DSDT editor and patcher


oldnapalm
 Share

999 posts in this topic

Recommended Posts

Hi oldnapalm/MaLd0n,

 

Thanks for the replies.

 

Today I tried the below but wake up from sleep is NOT fixed yet; I still get the KP with "no HPETs available".

 

- Added the below in com.apple.Boot.plist in /Library/Preferences/SystemConfiguration folder. The addition is done by the GUI - Chemeleon in SystemPreferences. There is no com.apple.Boot.plist file in /Extra directory. This file is being read properly. See below the screen captures.

 

com.apple.Boot.plist

 

<?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">'>http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Boot Graphics</key>

<string>Yes</string>

<key>Default Partition</key>

<string>hd(0,1)</string>

<key>ForceHPET</key>

<string>Yes</string>

<key>GenerateCStates</key>

<string>Yes</string>

<key>GeneratePStates</key>

<string>Yes</string>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string></string>

<key>Legacy Logo</key>

<string>Yes</string>

<key>Quiet Boot</key>

<string>No</string>

<key>Theme</key>

<string>Default</string>

<key>Timeout</key>

<string>8</string>

<key>arch</key>

<string>i386</string>

</dict>

</plist>

 

 

- There is no settings for HPET in my BIOS. I will send an email to ASUS asking whether it is internally enabled or what.

 

- Added the below HPET in DSDT;

 

# Change methods _STA and _CRS into device HPET (to avoid AppleIntelCPUPowerManagement panic)

#

into method label _STA parent_hid PNP0103 remove_entry;

into device name_hid PNP0103 insert

begin

Method (_STA, 0, NotSerialized)\n

{\n

Return (0x0F)\n

}

end;

into method label _CRS parent_hid PNP0103 remove_entry;

into device name_hid PNP0103 insert

begin

Method (_CRS, 0, NotSerialized)\n

{\n

Return (CRS)\n

}

end

 

 

- Deleted Disablee.kext in /Extra & ran the below command to rebult Extensions.mkext in /Extra

 

sudo kextcache -v 2 -t -m /Volumes/MAC\ OS/Extra/Extensions.mkext /Volumes/MAC\ OS/Extra/Extensions/

 

- info.plist for Disabler.kext is as below & it looks like AppleIntelCPUPowerManagement is disabled with that.

 

<?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>CFBundleDevelopmentRegion</key>

<string>English</string>

<key>CFBundleExecutable</key>

<string>Disabler</string>

<key>CFBundleGetInfoString</key>

<string>Kernel Extension Disabler 1.0.1, Copyright © 2008 by Kabyl</string>

<key>CFBundleIdentifier</key>

<string>net.osrom.kext.Disabler</string>

<key>CFBundleInfoDictionaryVersion</key>

<string>6.0</string>

<key>CFBundleName</key>

<string>Kernel Extension Disabler</string>

<key>CFBundlePackageType</key>

<string>KEXT</string>

<key>CFBundleVersion</key>

<string>1.0.1</string>

<key>IOKitPersonalities</key>

<dict>

<key>IntelCPUPowerManagement</key>

<dict>

<key>CFBundleIdentifier</key>

<string>net.osrom.kext.Disabler</string>

<key>IOClass</key>

<string>Disabler</string>

<key>IOMatchCategory</key>

<string>AppleIntelCPUPowerManagement</string>

<key>IOProbeScore</key>

<integer>100</integer>

<key>IOProviderClass</key>

<string>IOResources</string>

<key>IOResourceMatch</key>

<string>IOKit</string>

</dict>

<key>AppleUpstreamUserClientDisabler</key>

<dict>

<key>CFBundleIdentifier</key>

<string>net.osrom.kext.Disabler</string>

<key>IOClass</key>

<string>Disabler</string>

<key>IOMatchCategory</key>

<string>AppleUpstreamUserClientDriver</string>

<key>IOProbeScore</key>

<integer>1000</integer>

<key>IOProviderClass</key>

<string>IOFramebuffer</string>

<key>IOResourceMatch</key>

<string>IOKit</string>

</dict>

<key>Just for loading</key>

<dict>

<key>CFBundleIdentifier</key>

<string>net.osrom.kext.Disabler</string>

<key>IOClass</key>

<string>Disabler</string>

<key>IOMatchCategory</key>

<string>Disabler</string>

<key>IOProviderClass</key>

<string>IOResources</string>

<key>IOResourceMatch</key>

<string>IOKit</string>

</dict>

</dict>

<key>OSBundleLibraries</key>

<dict>

<key>com.apple.kpi.iokit</key>

<string>8.0.0</string>

<key>com.apple.kpi.libkern</key>

<string>8.0.0</string>

</dict>

<key>OSBundleRequired</key>

<string>Root</string>

</dict>

</plist>

 

 

- As a side not/fix, I deleted "VoodooHDA.kext" from /S/L/E folder, applied AD1988B.txt patch in DST & restart with -f but I did not get the audio working. As it is not so important, I installed the VoodooHDA.kext back again via Kext Helper b7 tool.

 

- At the last step, I added IRQs.txt patch to DSDT but still I get KP.

 

Currently, I used the latest patched dsdt & the above com.apple.Boot.plist file but I had to keep the Disabler.kext in /Extra to get the MAC OS UP & no wake up still.

 

 

Please see the attachments here. The white one taken with the current setting at the boot "Wait=yes".

 

I still believe we have few more options to try to get the wake up & if you still have any more ideas, please do let me know.

 

Once again thank you so much for your continued support do far on this.

 

3rd image shows S & P state generated successfully etc. @nd image i NOT clear.

 

Mathew

post-747991-1302874131_thumb.jpg

post-747991-1302874147_thumb.jpg

post-747991-1302877773_thumb.jpg

Link to comment
Share on other sites

About audio, I believe you have to apply the HDEF patch before applying the AD1988B one, I forgot that.

 

Did you try removing ForceHPET=yes from boot.plist after patching HPET in DSDT?

 

Edit: do you have the HPET device in DSDT?

Link to comment
Share on other sites

Hello oldnapalm/MaLd0n

 

I hope you dont mind me jumping into you thread, but I have spent most of the day trying to extract my DSDT from a GMA950 desktop computer (Dell Optiplex GX620 SFF) with only partial success.

 

I think I managed to extract my DSDT in Linux, but could not get it to compile into a DSDT.aml file with IASL because of length errors.

 

I then tried running this DSDT editor in os x. I can extract my DSDT, but when I try to compile it I get 1 error and 19 warnings, which I think are preventing me from compiling it. The error says "2621 error - invalid combination of Length & min/max fixed flags". The "Fix it" button doent seem able to fix this error.

 

Here is the (DSL) file I saved using the DSDT editor in os x:dsl.txt

(I added the .txt suffix so I could upload it)

 

Please excuse my ignorance, this is my first contact with DSDT, rather than distro's & kexts.

 

Any ideas on how I could fix this error, or generate my patched DSDT? (I wanted to use the GMA950 desktop & DTGP patches)

 

I am also wondering if I might have an error in my (A11) bios, requiring re-flashing.

Link to comment
Share on other sites

Many thanks for getting back to me so quickly oldnapalm.

 

I notice you have attached what appears to be a compiled version of my DSL file. I am very grateful, but wondering if it has had the 2 patches I mentioned applied? I will get cracking with it & try to find out for myself.

 

I have been eyeing up this computer as a potential Hackintosh for 3 years now, at last I have it in my hands! :blink:

Link to comment
Share on other sites

Hi oldnapalm,

 

Thank you for your reply again.

 

I just found that HPET device is not in the file - just after extracting it (File->Extract DSDT). I have attached it as a text file before any patching in DSDT. I believe you will be able to find something in there.

 

I did not receive any replies from ASUS so far (due to weekend) for my query on HPET support in the BIOS.

 

Regarding Audio, I added HDEF before AD1988B in DSDT, remove VoodooHDA.kext & rebooted with -f but I got KE at AppleHDA. For me this audio is not so important as audio is working with Voodoo but I will work on that later on to be more native with Apply kexts. Thanks for helping to get that too.

 

If you can please check this attached file for HPET to get the wake up fixed, that will be great.

 

Please let me know what you think about HPET in this attached file.

 

Hope we can fix & finish this wake up soon.

 

Mathew

dsdt_efe.txt

Link to comment
Share on other sites

Hi oldnapalm,

 

Thank you again for the reply.

 

Sorry, KP with sound comes when VodooHDA & HDFE+AD1988B patch is applied which is obvious. When VoodooHDA is removed, I do not get the KP & I see the AppleHDA is loaded properly but I do not get the sound.

 

EDIT: Sorry I just realised that I did not use the "AD1988bFix.kext" all these attempts with DSDT audio patching/testing. Am I supposed to just copy it to install with "Kext Helper b7" or replace "AppleHDA.kext with that or what? Also for my knowledge what is the difference that makes with regard to VoodooHDA kext that works for sound?

If you are recommending "AD1988bFix.kext" over VoodooHDA, I will try that with the Audo DSDT patch & I believ it should work.

 

Regarding the sleep, I will NOT get the KP when ForceHPET=yes in a.c.B.plist is present & when I select Apple_Logo->Sleep, it reboots the PC. Before, when I do Apple_logo->Sleep, it goes to sleep but never wake-up. When ForceHPET=yes removed in a.c.b.plist is removed, I get the KP.

 

Is there a way to fix in DSDT with ForceHPET=yes in a.c.B.plist to get the sleep/wake up to work?

I am thinking when ForceHPET=yes in a.c.B.plist is present, there is no KP & I see AppleIntelCPU kext getting loaded properly with out any "no HPET Device" error.

 

I think it could be due to may be not having HPET support in BIOS in my ASUS BOX. Also I applied your new HPET patch today.

 

Patch order & it is attached here now.

 

DTGP->GMA950Desktop->Shutdown_ASUS->RTC->HDFE->AD1988B->LCP->HPET>IRQ.

 

If you see anything wrong in this ALM, please let me know.

 

By the way, do you think SleepEnabler-10.6.7.kext helps me in case no HPET support in my BIOS?

 

In the mean time, I will let you when I get a reply from ASUS.

 

Thanks for your support so far.

 

Mathew

post-747991-1303000495_thumb.jpg

post-747991-1303000554_thumb.jpg

dsdt_17_Apr.aml.zip

Link to comment
Share on other sites

Does KP persist even after applying "New HPET" patch?

 

Patch order doesn't matter, only HDEF must be applied before AD1988B.

 

You should leave original AppleHDA.kext in /S/L/E and put AD1988bFix.kext in /E/E.

Link to comment
Share on other sites

Hi oldnapalm,

 

After applying new HPET patch, I do not get KP when if I set the ForceHPET=yes in c.a.B.p in /L/P/S. But the problem is when I select Sleep from Apple menu, PC reboots. Now I do not have the "Disabler.kext" in /Extra folder.

 

Is there a way to fix this further with your new HPET patch?

 

For the Audio, I copied the AD1988bfix.kext & applied the patch as you said but I do not get Audio. In System Preferences-->Audio, It does not show any Audio Devices to select. I have attached the info on AppleHDA.

 

What am I doing wrong here for audio?

 

Please let me know what should be my next step for sleep/wake up & audio?

Thanks again.

 

The new dsdt.aml created today, I applied in the below order;

 

DTGP-->GMA950Desktop-->Shutdown_ASUS-->RTC-->HDFE-->AD1988B-->LCP_new-->HPET_new-->IRQ

 

192-168-1-101:Extensions mathew$ ls -l

total 0

drwxr-xr-x@ 3 root wheel 102 18 Apr 15:06 AD1988bFix.kext

drwxr-xr-x 4 root wheel 136 11 Apr 23:01 AppleACPIPS2Nub.kext

drwxr-xr-x 3 root wheel 102 9 Mar 2010 VoodooPS2Controller.kext

drwxr-xr-x 3 root wheel 102 15 Feb 2010 fakesmc.kext

192-168-1-101:Extensions mathew$

 

<?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>Boot Graphics</key>
<string>Yes</string>
<key>Default Partition</key>
<string>hd(0,1)</string>
<key>ForceHPET</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Quiet Boot</key>
<string>No</string>
<key>Theme</key>
<string>Default</string>
<key>Timeout</key>
<string>8</string>
<key>arch</key>
<string>i386</string>
</dict>
</plist>

 

 

192-168-1-101:~ mathew$ sudo kextstat -k
Password:
Index Refs Address    Size       Wired      Name (Version) <Linked Against>
  13   12 0x2fa0d000 0x4000     0x3000     com.apple.iokit.IOACPIFamily (1.3.0) <7 6 4 3>
  14   18 0x2fa29000 0x11000    0x10000    com.apple.iokit.IOPCIFamily (2.6) <7 5 4 3>
  15    1 0x2fa77000 0x42000    0x41000    com.apple.driver.AppleACPIPlatform (1.3.5) <14 13 7 6 5 4 3>
  16    0 0x2fb1d000 0x1e000    0x1d000    com.apple.driver.AppleIntelCPUPowerManagement (105.13.0) <7 6 5 4 3 1>
  17   10 0x2fb4d000 0x18000    0x17000    com.apple.iokit.IOStorageFamily (1.6.2) <7 6 5 4 3 1>
  18    0 0x2fb81000 0x11000    0x10000    com.apple.driver.DiskImages (289) <17 7 6 5 4 3 1>
  19    0 0x2fbdc000 0x8000     0x7000     com.apple.nke.applicationfirewall (2.1.11) <7 6 5 4 3 1>
  20    2 0x2fa68000 0x3000     0x2000     com.apple.kext.AppleMatch (1.0.0d1) <4 1>
  21    0 0x2fbe4000 0x5000     0x4000     com.apple.security.quarantine (0) <20 7 6 5 4 2 1>
  22    0 0x2fbe9000 0x8000     0x7000     com.apple.security.sandbox (1) <20 7 6 5 4 2 1>
  23    0 0x2fa6b000 0x3000     0x2000     com.apple.security.TMSafetyNet (6) <7 6 5 4 2 1>
  24    0 0x2faeb000 0x3000     0x2000     com.apple.driver.AppleIntelCPUPowerManagementClient (105.13.0) <7 6 5 4 3 1>
  25    0 0x2fbf1000 0x3000     0x2000     com.apple.driver.AppleAPIC (1.4) <4 3>
  26    0 0x35662000 0x4000     0x3000     com.apple.driver.AppleSMBIOS (1.6) <7 4 3>
  27    7 0x35796000 0x34000    0x33000    com.apple.iokit.IOUSBFamily (4.1.8) <14 7 5 4 3 1>
  28    0 0x2fb3b000 0x10000    0xf000     com.apple.driver.AppleUSBUHCI (4.1.5) <27 14 7 5 4 3 1>
  29    0 0x357f4000 0x6000     0x5000     com.apple.driver.AppleRTC (1.3.1) <13 5 4 3 1>
  30    0 0x2fbf4000 0x3000     0x2000     com.yourcompany.driver.AppleACPIPS2Nub (1.0.0d1) <13 7 5 4 3 1>
  31    0 0x2fbfd000 0x3000     0x2000     com.apple.driver.AppleHPET (1.5) <13 7 5 4 3>
  32    3 0x35820000 0x3c000    0x3b000    com.apple.iokit.IOHIDFamily (1.6.5) <7 6 5 4 3 1>
  33    0 0x3577d000 0x4000     0x3000     com.apple.driver.AppleACPIButtons (1.3.5) <32 15 13 7 6 5 4 3 1>
  34    0 0x35781000 0x4000     0x3000     org.netkas.fakesmc (2) <13 7 4 3>
  35    1 0x35785000 0x3000     0x2000     com.apple.driver.AppleEFIRuntime (1.4.0) <7 6 5 4 3>
  36    0 0x3578d000 0x6000     0x5000     com.apple.driver.AppleEFINVRAM (1.4.0) <35 7 5 4 3>
  37    2 0x35910000 0x17000    0x16000    com.apple.iokit.IONetworkingFamily (1.10) <7 6 5 4 3 1>
  38    0 0x35944000 0x11000    0x10000    com.chucko.driver.RealtekR1000 (2.0.0d1) <37 14 5 4 3 1>
  40    0 0x3595b000 0x16000    0x15000    com.apple.driver.AppleUSBEHCI (4.1.8) <27 14 7 5 4 3 1>
  41    3 0x35971000 0xd000     0xc000     com.apple.iokit.IOATAFamily (2.5.1) <5 4 3 1>
  42    0 0x35993000 0x9000     0x8000     com.apple.driver.AppleIntelPIIXATA (2.5.1) <41 14 5 4 3>
  43    2 0x3599c000 0x43000    0x42000    com.apple.iokit.IOFireWireFamily (4.2.6) <5 4 3 1>
  44    0 0x35a25000 0x27000    0x26000    com.apple.driver.AppleFWOHCI (4.7.1) <43 14 7 6 5 4 3 1>
  45    1 0x35a50000 0x6000     0x5000     org.voodoo.driver.PS2Controller (1.1.0) <13 7 5 4 3 1>
  46    0 0x3567d000 0x2000     0x1000     com.apple.iokit.IOUSBUserClient (4.1.5) <27 7 5 4 3 1>
  47    0 0x35b1c000 0x12000    0x11000    com.apple.driver.AppleUSBHub (4.1.7) <27 5 4 3 1>
  49    0 0x35b33000 0x6000     0x5000     com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>
  50    0 0x35b39000 0x5000     0x4000     com.apple.BootCache (31) <7 6 5 4 3 1>
  51    5 0x35b4d000 0x1a000    0x19000    com.apple.iokit.IOSCSIArchitectureModelFamily (2.6.5) <5 4 3 1>
  52    0 0x35b41000 0x5000     0x4000     com.apple.iokit.IOATAPIProtocolTransport (2.5.1) <51 41 5 4 3 1>
  53    0 0x35eb9000 0x4000     0x3000     org.voodoo.driver.PS2Keyboard (1.1.0) <45 32 7 6 5 4 3 1>
  54    0 0x35ed9000 0xe000     0xd000     com.apple.iokit.IOATABlockStorage (2.6.0) <41 17 5 4 3 1>
  55    0 0x35ebd000 0x3000     0x2000     com.apple.driver.XsanFilter (402.1) <17 5 4 3 1>
  56    3 0x35f1d000 0x8000     0x7000     com.apple.iokit.IOCDStorageFamily (1.6) <17 5 4 3 1>
  57    2 0x35f35000 0x6000     0x5000     com.apple.iokit.IODVDStorageFamily (1.6) <56 17 5 4 3 1>
  58    1 0x35f4a000 0x5000     0x4000     com.apple.iokit.IOBDStorageFamily (1.6) <57 56 17 5 4 3 1>
  59    0 0x35f69000 0x18000    0x17000    com.apple.iokit.IOSCSIMultimediaCommandsDevice (2.6.5) <58 57 56 51 17 5 4 3 1>
  60    0 0x35f98000 0x7000     0x6000     com.apple.iokit.SCSITaskUserClient (2.6.5) <51 17 5 4 3 1>
  61    0 0x35a4c000 0x4000     0x3000     com.apple.driver.AppleUSBComposite (3.9.0) <27 4 3 1>
  62    0 0x35ffc000 0xb000     0xa000     com.apple.iokit.IOUSBMassStorageClass (2.6.5) <51 27 17 5 4 3 1>
  63    0 0x36017000 0x18000    0x17000    com.apple.iokit.IOSCSIBlockCommandsDevice (2.6.5) <51 17 5 4 3 1>
  65    1 0x361c3000 0x7000     0x6000     com.apple.iokit.IOHDAFamily (1.9.9f12) <5 4 3 1>
  66    6 0x361f1000 0x22000    0x21000    com.apple.iokit.IOGraphicsFamily (2.2) <14 7 5 4 3>
  67    0 0x3629d000 0x18000    0x17000    com.apple.driver.AppleHDAController (1.9.9f12) <66 65 14 5 4 3 1>
  68    0 0x3623a000 0x11000    0x10000    com.apple.driver.AppleIntelIntegratedFramebuffer (6.2.6) <66 14 13 7 5 4 3 1>
  69    1 0x3624b000 0xd000     0xc000     com.apple.iokit.IONDRVSupport (2.2) <66 14 7 5 4 3>
  70    0 0x3617b000 0x3000     0x2000     com.apple.driver.AppleLPC (1.4.12) <14 5 4 3>
  71    1 0x3621d000 0xb000     0xa000     com.apple.driver.IOPlatformPluginFamily (4.5.0d5) <6 5 4 3>
  72    2 0x36263000 0xa000     0x9000     com.apple.driver.AppleSMC (3.1.0d3) <13 7 5 4 3>
  73    0 0x36278000 0x10000    0xf000     com.apple.driver.ACPI_SMC_PlatformPlugin (4.5.0d5) <72 71 14 13 7 6 5 4 3>
  74    2 0x36288000 0x9000     0x8000     com.apple.iokit.IOSerialFamily (10.0.3) <7 6 5 4 3 1>
  75    1 0x362f0000 0x9000     0x8000     com.apple.driver.Apple16X50Serial (3.0) <74 14 5 4 3>
  76    0 0x35f15000 0x2000     0x1000     com.apple.driver.Apple16X50ACPI (3.0) <75 13 4 3>
  77    7 0x363f9000 0x2c000    0x2b000    com.apple.iokit.AppleProfileFamily (41) <14 7 6 5 4 3 1>
  78    0 0x36233000 0x7000     0x6000     com.apple.driver.AppleIntelMeromProfile (19) <77 6 5 4 3>
  79    0 0x3634a000 0x9000     0x8000     com.apple.iokit.IOFireWireIP (2.0.3) <43 37 5 4 3 1>
  81    1 0x361ca000 0x4000     0x3000     com.apple.kext.OSvKernDSPLib (1.3) <5 4>
  82    1 0x36332000 0x18000    0x17000    com.apple.iokit.IOAudioFamily (1.8.0fc1) <81 5 4 3 1>
  84    0 0x3650e000 0x36000    0x35000    com.apple.driver.AppleIntelGMA950 (6.2.6) <69 66 14 7 5 4 3 1>
  85    0 0x2fa61000 0x7000     0x6000     com.apple.driver.AppleMCCSControl (1.0.17) <66 14 7 5 4 3 1>
  86    0 0x35f5e000 0x4000     0x3000     com.apple.driver.AudioIPCDriver (1.1.6) <82 5 4 3 1>
  88    0 0x3581a000 0x6000     0x5000     com.apple.iokit.IOUSBHIDDriver (4.1.5) <32 27 5 4 3 1>
  89    0 0x362f9000 0x5000     0x4000     com.apple.driver.AppleUpstreamUserClient (3.5.4) <66 14 13 7 5 4 3 1>
  90    0 0x363f3000 0x6000     0x5000     com.apple.Dont_Steal_Mac_OS_X (7.0.0) <72 7 4 3 1>
  92    0 0x364dc000 0x9000     0x8000     com.apple.iokit.IOBluetoothSerialManager (2.4.0f1) <74 7 5 4 3 1>
  94    0 0x364f6000 0xb000     0xa000     com.apple.iokit.IOSurface (74.2) <7 5 4 3 1>
  95    0 0x2f6f3000 0xa000     0x9000     com.apple.filesystems.autofs (2.1.0) <7 6 5 4 3 1>
  96    3 0x4688f000 0x60000    0x5f000    com.apple.filesystems.ntfs (3.4) <7 6 5 4 1>
  97    0 0x2f6d6000 0x3000     0x2000     com.apple.driver.AppleProfileCallstackAction (20) <77 5 4 3 1>
 100    0 0x2f6cb000 0x3000     0x2000     com.apple.driver.AppleProfileKEventAction (10) <77 4 3 1>
 102    0 0x2f71f000 0x3000     0x2000     com.apple.driver.AppleProfileRegisterStateAction (10) <77 4 3 1>
 103    0 0x2f728000 0x3000     0x2000     com.apple.driver.AppleProfileThreadInfoAction (14) <77 6 4 3 1>
 104    0 0x2f72b000 0x3000     0x2000     com.apple.driver.AppleProfileTimestampAction (10) <77 5 4 3 1>
 105    0 0x2f701000 0x3000     0x2000     com.apple.driver.AppleProfileReadCounterAction (17) <77 6 4 3>
 106    1 0x362c0000 0xd000     0xc000     com.apple.filesystems.msdosfs (1.6.3) <7 5 4 1>
 107    0 0x3673f000 0xe000     0xd000     com.apple.nke.asp_tcp (5.0) <7 6 5 4 3 1>
 108    0 0x46cb5000 0x57000    0x56000    com.apple.filesystems.afpfs (9.7) <7 6 5 4 3 1>
192-168-1-101:~ mathew$

AppleHDA_info.tiff

Link to comment
Share on other sites

I have no idea what can be wrong with audio. Did you update your system or only ApplyHDA is from latest version? I have sound working with this legacy since 10.6 and went through all updates. The main difference is that I installed from a retail DVD and you used iATKOS. Maybe your audio codec has something different, if you can attach a codec dump from Linux I can take a look.

 

About sleep, I see some ASUS boards have issues related to this jumper

 

p5gcmxusbwakeup.jpg

 

Are your keyboard and mouse USB or PS/2?

 

Do you need ForceHPET=yes even after applying the new HPET patch?

Link to comment
Share on other sites

Hi oldnapalm,

 

Yes, I need ForceHPET=yes even after applying the patch otherwise, if I remove it, I get the KP.

 

I use a PS/2 keyboard & an USB mouse. I will check & try the USB settings on motherboard. Will update you today.

It looks like OSX wakeup is different to Windows 7 because Windows 7 wake up works.

 

For the audio, I will capture it from a Ubuntu live CD & will send them to you soon.

In the worest case, it does not matter, I can use VoodooHDA as it did not effect updates.

 

Yes, after iATKOCS S3 install (10.6.3), I ran 10.6.6 & 10.6.7 combo to see how things sustain & sound was ok with VoodooHDA but I like all to be much closer to Apple retail.

 

Thanks again for your support so far.

 

EDIT/Update:

 

ASUS repleid to my email regarding HPET support in BIOS saying -->"This option won't be added to this model due to hardware limitation"

 

So it looks like there is no BIOS or hardware support in my ASUS MB/box for HPET.

 

Do you have any other suggestions to get the sleep/wakeup? Any idea for SleepEnabler10.6.7 as an alternative fix?

 

By the way, see below the attached MB setting & I checked they are with default (+5VSB) & BIOS settings is with S3

 

Mathew

post-747991-1303188220_thumb.jpg

Link to comment
Share on other sites

Do you have any other suggestions to get the sleep/wakeup? Any idea for SleepEnabler10.6.7 as an alternative fix?

I guess SleepEnabler won't help, as it just re-enables AppleIntelPowerManagement for those who use a disabler kext (NullCPUPowerManagement) which is not your case, but you can try.

Link to comment
Share on other sites

Hi Oldnapalm,

 

Thank you again for the prompt reply.

 

I could not get the Audio information today & I will use a Ubuntu Desktop Live CD to do that tomorrow. I will reply back with that details so that we may be able to fix the Audio also in DSDT.

 

Today I tried SleepEnabler 10.6.7 - copied into /E/E folder but when I select Sleep from Apple menu, PC reboots.

If you have any idea, please let me know or let me know where to get that kind of help in the forum.

 

I am looking for how to get the Sleep/wakeup fix with SleepEnabler.kext.

 

Regards

Link to comment
Share on other sites

Hi,

 

I compared your codec dump with mine, there are some differences. It's the same codec but has other revision ID, you will need changes in the legacy kext.

 

Here are some links about patching AppleHDA

http://www.insanelymac.com/forum/index.php?showtopic=149128

http://www.projectosx.com/forum/index.php?showtopic=465

 

This is my codec dump

codec.txt

 

Actually if VoodooHDA works fine for you, I don't see a big advantage in using AppleHDA.

Link to comment
Share on other sites

Hi oldnapalm,

 

Thank you for your reply and all the support to get the DSDT fixes to get my system up.

Yes, with VoodooHDA, all the audio is working fine & I will keep that that way. It is working & no impacts with updates too.

 

I will now focus on sleep/wake up issue - last item to be fixed but I will do that slowly.

 

Once that is fixed, I will post a full guide on this sites for others benefits.

 

For your information, it looks to me that my sleep issue related to USB kexts or some sort. I am not sure yet.

But all my USB ports are working & I thing their speed is 2.0 - I do not feel slow when I copy files.

 

Thanks so much - great support.

 

Regards

Link to comment
Share on other sites

Hi oldnapalm,

 

Just coming back to you with a quick question.

 

Can I know whether I can get the native power management without HPET in BIOS support but with the below in in c.a.B.plist with Chameleon RC5 (r748)?

 

ForceHPET=Yes

 

For your information, I did not have any success with Sleepnabler so far & I am thinking whether I can get the native power management with your new HPET patch & the above in c.a.B.plist.

 

Because last time, I got the AppleIntelCPUPowerManagement.kext loaded with your new HPET patch & above in c.a.B.p file but I had problem in wake up.

 

I am thinking of trying the new VoodooPS2Controller/kext to get the KB & mouse so that no USB devices on MB.

I hope we can trigger a wake up with PS/2 KB or PS/2 mouse.

 

Thanks to let me know what you think.

 

Sorry for troubling you again.

 

 

Mathew

Link to comment
Share on other sites

Hi oldnapalm,

 

I will check the output of your power application tomorrow & let you know the result.

 

By the way, when I ran Ubuntu Linus on this box, I saw the below;

 

Do you think your new HPET patch is alriight with the below.

 

 

mathew@Ubuntu:~$ cat /var/log/dmesg | grep HPET

[ 0.181068] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000

[ 0.187214] HPET: 3 timers in total, 0 timers will be used for per-cpu timer

mathew@Ubuntu:~$

 

 

Here is your new HPET path I applied. Do you think we need any changes to it before I test again with your power test app?

 

into device name_hid PNP0103 parent_adr 0x001F0000 remove_entry;

into device name_adr 0x001F0000 insert

begin

Device (HPET)\n

{\n

Name (_HID, EisaId ("PNP0103"))\n

Name (CRS, ResourceTemplate ()\n

{\n

IRQNoFlags ()\n

{0}\n

IRQNoFlags ()\n

{8}\n

Memory32Fixed (ReadOnly,\n

0xFED00000, // Address Base\n

0x00000400, // Address Length\n

_Y09)\n

})\n

Method (_STA, 0, NotSerialized)\n

{\n

Return (0x0F)\n

}\n

Method (_CRS, 0, NotSerialized)\n

{\n

Return (CRS)\n

}\n

}

end

 

 

Thanks to let me know.

 

Mathew

Link to comment
Share on other sites

mathew@Ubuntu:~$ cat /var/log/dmesg | grep HPET

[ 0.181068] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000

[ 0.187214] HPET: 3 timers in total, 0 timers will be used for per-cpu timer

mathew@Ubuntu:~$

 

 

Here is your new HPET path I applied. Do you think we need any changes to it before I test again with your power test app?

 

into device name_hid PNP0103 parent_adr 0x001F0000 remove_entry;

into device name_adr 0x001F0000 insert

begin

Device (HPET)\n

{\n

Name (_HID, EisaId ("PNP0103"))\n

Name (CRS, ResourceTemplate ()\n

{\n

IRQNoFlags ()\n

{0}\n

IRQNoFlags ()\n

{8}\n

Memory32Fixed (ReadOnly,\n

0xFED00000, // Address Base\n

0x00000400, // Address Length\n

_Y09)\n

})\n

Method (_STA, 0, NotSerialized)\n

{\n

Return (0x0F)\n

}\n

Method (_CRS, 0, NotSerialized)\n

{\n

Return (CRS)\n

}\n

}

end

Yes, I believe the DSDT patch is correct.

 

You can also try this HPETDevice kext

http://netkas.org/?p=262

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...