Jump to content

Latitude E4310 DSDT debugging


Jedis
 Share

17 posts in this topic

Recommended Posts

Hello,

 

I ran DSDTSE v1.4.3 to dump my Dell Latitude E4310's DSDT. When I compile it, I get a few remarks and 1 warning. Would anyone be able to help me fix this? Log file is below, and attached is my DSDT source.

 

Any help is greatly appreciated, thank you!

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

/Users/tom/Library/Application  Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl   151:			 Store  (STDG (Local1, Arg1, Arg2), Arg2)
Remark   5074 -																   Recursive method call ^  (STDG)

/Users/tom/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  7265:			 Name (_T_0, Zero)
Remark   5111 -														  Use of compiler reserved name ^  (_T_0)

/Users/tom/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  7318:			 Name (_T_0, Zero)
Remark   5111 -														  Use of compiler reserved name ^  (_T_0)

/Users/tom/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  7387:			 Name (_T_0, Zero)
Remark   5111 -														  Use of compiler reserved name ^  (_T_0)

/Users/tom/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl  9871:			 Method (_SRS, 1, Serialized)
Warning  1088 -													 Not all control paths return a value ^  (_SRS)

/Users/tom/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 11365:			 Name (_T_0, Zero)
Remark   5111 -														  Use of compiler reserved name ^  (_T_0)

ASL  Input:  /Users/tom/Library/Application  Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 12158 lines, 333047 bytes,  3904 keywords
AML Output: /Users/tom/Library/Application  Support/EvOSoftware/DSDT/DSDTFiles/./dsdt.aml - 38930 bytes, 1214 named  objects, 2690 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 5 Remarks, 3 Optimizations

I tried fixing them myself with DSDTSE and DSDT Editor, and got it down to just one remark:

/Users/tom/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 151: Store (STDG (Local1, Arg1, Arg2), Arg2)
Remark 5074 - Recursive method call ^ (STDG)

I tried Googling this error, but I can't find this specific error with STDG in it.

 

Any ideas? Also, by getting rid of the other errors, it has broken the battery status indicator in the top menu bar. It's gone completely. I am using VoodooBattery.kext.

 

When I use the DSDT.aml from here for the E6410, the battery indicator works fine with VoodooBattery.kext. However, I wanted to generate my own DSDT and get it working for my E4310. The E4310 and E6410 are almost identical, and running a compare on the decompiled DSDT, there are only minor differences. I tried copying all of the battery sections that I could find out of the E6410 and overwrote the same sections in the E4310 DSDT, but that did not work.

 

Sleep doesn't seem to work and I suspect it is because of the DSDT.

 

Any help is greatly appreciated, thanks!

dsdt.zip

Link to comment
Share on other sites

dsdt.Jedis.zip

EHCI

IRQs

PNLF

RTC

SMBUS

SHUTDOWN

FIX WARNINGS

 

Use native Power manegement

Chameleon RC5

read it

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

 

Thank you.

 

So I just drop this compiled DSDT.aml file into my /Extra folder and reboot to see the changes? The stuff in caps is what you fixed in my DSDT?

 

By using native power management, i should remove the NullCPUPowerManagement.kext and leave the rest?

0 drwxrwxrwx   3 tom   admin  102 Dec 22 03:22 ACPIMonitor.kext
0 drwxr-xr-x@  3 root  admin  102 Feb  9 23:23 AppleACPIPS2Nub.kext
0 drwxrwxrwx@  3 tom   admin  102 Feb 12 06:33 AppleACPIThermal.kext
0 drwxr-xr-x@  3 root  admin  102 Feb  9 23:23 ApplePS2Controller.kext
0 drwxrwxrwx   3 tom   admin  102 Feb 12 06:33 FakeSMC.kext
0 drwxrwxrwx   3 tom   admin  102 Dec 23 02:46 IntelCPUMonitor.kext
0 drwxrwxrwx   3 tom   admin  102 Jan  6 08:29 IntelThermal.kext
0 drwxr-xr-x@  3 root  admin  102 Feb  9 23:23 NullCPUPowerManagement.kext
0 drwxr-xr-x@  3 root  admin  102 Feb  9 23:23 PlatformUUID.kext
0 drwxrwxrwx   3 tom   admin  102 Jan  6 10:04 SuperIOFamily.kext
0 drwxr-xr-x@  3 tom   admin  102 Feb  9 23:23 VoodooBattery.kext

 

I read the post you linked, but don't see any packages to download, only source code. I have Chameleon RC5, but am not sure which revision it is.

To enable native power management you should use proper mac model + HPET  enabled. To enable C-States you must have LPC working on your system.  It could be enabled via DSDT mod or injector. 

To activate P-States generation add "[b]GeneratePStates[/b]"="[b]Yes[/b]" option into boot.plist. To activate C-States generation add "[b]GenerateCStates[/b]"="[b]Yes[/b]" option into boot.plist. Those features are not activated by default!

Not sure what Mac model I should be using nor what HPET is. Same with LPC. Do I need to edit the DSDT you supplied to enable this? I can handle editting the boot.plist file to add those two lines :)

 

Thanks for your response. Hoping you can clear up some confusion before I do something to mess up my triple boot.

Link to comment
Share on other sites

Thanks! I loaded it and the battery indicator is still working.

 

Info added to boot.plist file. How do I know if it's working?

 

Also, should I remove the NullCPUPowerManagement.kext file? If I choose Sleep, the cursor poofs and it appears to be locked up. If I hit the power on/off button on my keyboard, the cursor comes back to life with the shutdown box up on the screen.

 

Any ideas about that?

 

Thanks a ton man. You've been super helpful. I've been working on this for almost a month now, so really do appreciate your help.

Link to comment
Share on other sites

Thanks! I loaded it and the battery indicator is still working.

 

Info added to boot.plist file. How do I know if it's working?

 

Also, should I remove the NullCPUPowerManagement.kext file? If I choose Sleep, the cursor poofs and it appears to be locked up. If I hit the power on/off button on my keyboard, the cursor comes back to life with the shutdown box up on the screen.

 

Any ideas about that?

 

Thanks a ton man. You've been super helpful. I've been working on this for almost a month now, so really do appreciate your help.

 

remove NullCPUPowerManagement.kext

send me a kextstat again(after remove null)

and

ioreg -lw0 | grep CSTInfo

Link to comment
Share on other sites

remove NullCPUPowerManagement.kext

send me a kextstat again(after remove null)

and

ioreg -lw0 | grep CSTInfo

 

I moved NullCPUPowerManagement.kext out of the /Extra/Extensions folder and rebooted.

 

Then I got the below kernel panic:

post-515595-1297574577_thumb.jpg

Link to comment
Share on other sites

I moved NullCPUPowerManagement.kext out of the /Extra/Extensions folder and rebooted.

 

Then I got the below kernel panic:

 

I moved the NullCPUPowerManagement.kext back into /Extra/Extensions and am able to boot again.

 

I do need to reboot before running those commands, to ensure it's unloaded from memory, correct? Any ideas about how to get around the kernel panic?

Link to comment
Share on other sites

I moved the NullCPUPowerManagement.kext back into /Extra/Extensions and am able to boot again.

 

I do need to reboot before running those commands, to ensure it's unloaded from memory, correct? Any ideas about how to get around the kernel panic?

what is your processor?

Link to comment
Share on other sites

smbios.plist.zip

 

boot.plist? generate P and C states?

 

Ok. Dropped smbios.plist and overwrote what I had in /Extra.

 

com.apple.Boot.plist is below:

 

<?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>Kernel</key>
<string>/Extra/mach_kernel</string>
<key>Kernel Flags</key>
<string>arch=i386</string>
<key>DSDT</key>
<string>/Extra/DSDT.aml</string>
<key>Legacy Logo</key>
<string>No</string>
<key>Graphics Mode</key>
<string>1366x768x32</string>
<key>Default Partition</key>
<string>hd(0,0)</string>
<key>Timeout</key>
<string>1</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
</dict>
</plist>

Link to comment
Share on other sites

;)

 

HPET enable in bios

 

I don't see an option in my BIOS to enable HPET. What section is it normally in and could it be called anything else? I looked through every option in there (there's quite a few) and didn't see it.

 

EDIT: It looks like the Latitude laptops do not have that option available.

Link to comment
Share on other sites

  • 1 year later...
 Share

×
×
  • Create New...