ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

> DSDT

Differentiated System Description Table (DSDT) - DSDT is a part of the ACPI specification and it supplies configuration information about a base system. ACPI capable computers come with a preinstalled DSDT from the manufacturer. A common Linux/OS X problem is missing ACPI functionality (fans not running, laptop screens not shutting off, etc.)

This subforum is dedicated to patches/fixes able to be inserted/modified from an extracted dsdt.dsl, which is then compiled into a DSDT.aml for OS X to pick up and use (with a proper bootloader).

These fixes are not permanent, and do not damage your BIOS.

 
Start a new topic Add Reply
> Applelpc Loads But Still Get Lpc Device Initialization Failed And No C-states
drummerboybac
post Jul 20 2011, 08:48 PM
Post #1
Hi all,
I have been working off and on for the last year trying to get C-states to function on my Dell Studio 1535. It is ICH8M based with a T5800 CPU and X3100 graphics, and I am running 10.6.8. I have P-states working via customized DSDT, and in fact have been testing undervolting via DSDT to try to keep heat down while i solve this C-state issue biggrin.gif

So far I have tried the following:

* Manually defining the P and C states in the DSDT.
* Using Chameleon RC5 to Generate them.
* A whole multitude of SMBIOS.plist combinations both of the above Generation methods

What vexes me is this: I can see AppleLPC is loaded if I do ioreg

CODE
macbookfaux:Util monkey$ ioreg | grep LPC
    | |   | +-o AppleLPC  <class AppleLPC, id 0x1000002e7, registered, matched, active, busy 0 (9 ms), retain 5>

and I see the same if I do lspci

CODE
macbookfaux:Util monkey$ lspci | grep LPC
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 04)

and further confirmed with kextstat

CODE
macbookfaux:Util monkey$ kextstat | grep LPC
   75    0 0x5b503000 0x3000     0x2000     com.apple.driver.AppleLPC (1.5.1) <14 5 4 3>


But I still get:

CODE
ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed:

I do not get any _CST evaluation errors and I also see CStateOverride=True.

I am also attaching my latest decompiled DSDT in case there is something I am missing in there.
Attached File  dsdtuv2.zip ( 19.42K ) Number of downloads: 19

I feel like I am close on this but there is something I am missing. Normally I try to solve things on my own but I have reached the end of my rope on this one. Can anyone help?

P.S. I apologize for the huge codeboxes, not sure why that is happening
--------------------
MacBookFaux - 10.6.8- Dell Studio 1535 - ICH8M Based - Processor: Intel Core 2 Duo T5800 2.0Ghz
Graphics: Intel GMA X3100 - Wireless: Dell 1510 - 802.11n - Audio: IDT Audio

Working: Graphics, Sleep, Restart, Shutdown, P-States, Bluetooth, Wireless, Keyboard/Mouse, SD Reader, Webcam, Ethernet, USB ports, VGA out, Sound.

Not Working: HDMI, Fingerprint Scanner, CSTATES!!!!!!!
Slice
post Jul 21 2011, 11:37 AM
Post #2
I think with Dell notebooks it is impossible because of LPC device is differ from Apple's.
Jul 21 15:09:00 MacBook kernel[0]: ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
drummerboybac
post Jul 21 2011, 02:20 PM
Post #3
So I'm guessing you never got it working? :-D

Well, sounds like it is time to focus on other thermal management techniques to make my pathetically worn out battery last a bit longer.

Slice, have you tinkered with undervolting via DSDT much? I have been able to get some gains, but if I try to feed it a value inder 1.00V Stat-i shows me 1.00V regardless. Is there somewhere within the DSDT or elsewhere where one can control the Voltage minimum, or is that something that is defined outside of the DSDT.

--------------------
MacBookFaux - 10.6.8- Dell Studio 1535 - ICH8M Based - Processor: Intel Core 2 Duo T5800 2.0Ghz
Graphics: Intel GMA X3100 - Wireless: Dell 1510 - 802.11n - Audio: IDT Audio

Working: Graphics, Sleep, Restart, Shutdown, P-States, Bluetooth, Wireless, Keyboard/Mouse, SD Reader, Webcam, Ethernet, USB ports, VGA out, Sound.

Not Working: HDMI, Fingerprint Scanner, CSTATES!!!!!!!
Slice
post Jul 22 2011, 11:20 AM
Post #4
QUOTE (drummerboybac @ Jul 21 2011, 06:20 PM) *
So I'm guessing you never got it working? :-D

Well, sounds like it is time to focus on other thermal management techniques to make my pathetically worn out battery last a bit longer.

Slice, have you tinkered with undervolting via DSDT much? I have been able to get some gains, but if I try to feed it a value inder 1.00V Stat-i shows me 1.00V regardless. Is there somewhere within the DSDT or elsewhere where one can control the Voltage minimum, or is that something that is defined outside of the DSDT.

I am not a master of P-states. The voltages are here. Yes It can be written into DTST in Processor sections. But when I tried this I got unstable work so I dropped the experiments.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
tmacyunn1
post Jul 22 2011, 01:25 PM
Post #5
QUOTE (Slice @ Jul 22 2011, 11:20 AM) *
I am not a master of P-states. The voltages are here. Yes It can be written into DTST in Processor sections. But when I tried this I got unstable work so I dropped the experiments.

Hi Slice, do you install the Lion on your dell laptop, does the video card work ? I mean the new driver of lion is too bad, i can the QE & CI function enabled, but when i move cursor a little quick it will jump of freeze. I don't why? and it seems the bug doesn't appear in the MacBook which has the video card.

Windows 7 x64 SP1+ Mavericks 10.9.0
CPU : I5-2450m Ram : 8G=4*2G Graphics : HD3000(Disabled AMD6630m BY DSDT) Ethernet: RTL8136 Wireless: AR9280 Audio Card: ALC269 Clover version: 2330
.
Slice
post Jul 23 2011, 06:44 AM
Post #6
QUOTE (tmacyunn1 @ Jul 22 2011, 05:25 PM) *
Hi Slice, do you install the Lion on your dell laptop, does the video card work ? I mean the new driver of lion is too bad, i can the QE & CI function enabled, but when i move cursor a little quick it will jump of freeze. I don't why? and it seems the bug doesn't appear in the MacBook which has the video card.

Sorry, no.
I have no a reason to install Lion on laptop. AFAIK Lion is always 64bit but X3100 works bad in the mode. Only 32bit.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
гык-sse2
post Jul 23 2011, 08:43 AM
Post #7
QUOTE (Slice @ Jul 23 2011, 10:44 AM) *
Sorry, no.
I have no a reason to install Lion on laptop. AFAIK Lion is always 64bit but X3100 works bad in the mode. Only 32bit.

No. Lion has 32-bit kernel mode, and drivers work in 32-bit. (For example, OpenIntelEthernet on my desktop). But applications work in 64-bit mode.
It doesn't have legacy 32-bit mode where 64-bit applications are forbidden and EM64T is unsupported.
UEFI is a great way to get the best of the best in the world of imagination and creativity. ©Google Scribe
tmacyunn1
post Jul 23 2011, 11:37 AM
Post #8
QUOTE (гык-sse2 @ Jul 23 2011, 08:43 AM) *
No. Lion has 32-bit kernel mode, and drivers work in 32-bit. (For example, OpenIntelEthernet on my desktop). But applications work in 64-bit mode.
It doesn't have legacy 32-bit mode where 64-bit applications are forbidden and EM64T is unsupported.

After replacing the kext AppleIntelGMAX3100.kext from 10.6.8, no more freeze. So still don't know when apple gives up 32bit.
Windows 7 x64 SP1+ Mavericks 10.9.0
CPU : I5-2450m Ram : 8G=4*2G Graphics : HD3000(Disabled AMD6630m BY DSDT) Ethernet: RTL8136 Wireless: AR9280 Audio Card: ALC269 Clover version: 2330
.
drummerboybac
post Jul 23 2011, 07:50 PM
Post #9
QUOTE (Slice @ Jul 22 2011, 11:20 AM) *
I am not a master of P-states. The voltages are here. Yes It can be written into DTST in Processor sections. But when I tried this I got unstable work so I dropped the experiments.



No problem at all, but i figured it didn't hurt to ask. I've got it set up with 5 P-states running at 1.2, 1.4,1.6,1.8 and 2.0GHz, all of which running at 1.05V according to stat-i, while hovering around 45 degrees which works for me. I'm going to be working on a more complete write up for my Studio 1535, as soon as I get some time and/or get my trackpad after sleep issue figured out. Seems like there is a lack of information on Snow Leopard for the 1535, not really sure why.

On that note, does your trackpad work after you come back from sleep? I believe the 1525 and the 1535 share a common trackpad.
--------------------
MacBookFaux - 10.6.8- Dell Studio 1535 - ICH8M Based - Processor: Intel Core 2 Duo T5800 2.0Ghz
Graphics: Intel GMA X3100 - Wireless: Dell 1510 - 802.11n - Audio: IDT Audio

Working: Graphics, Sleep, Restart, Shutdown, P-States, Bluetooth, Wireless, Keyboard/Mouse, SD Reader, Webcam, Ethernet, USB ports, VGA out, Sound.

Not Working: HDMI, Fingerprint Scanner, CSTATES!!!!!!!
Slice
post Jul 24 2011, 12:47 PM
Post #10
QUOTE (drummerboybac @ Jul 23 2011, 11:50 PM) *
On that note, does your trackpad work after you come back from sleep? I believe the 1525 and the 1535 share a common trackpad.

There is my version of trackpad driver that able to wake up.
http://www.projectosx.com/forum/index.php?showtopic=1937
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
drummerboybac
post Jul 24 2011, 05:06 PM
Post #11
I tried it a couple times. once with only the Alps and once with only the VoodooPS2Trackpad.kext loaded. The Alps one caused all sorts of erratic pointer movement, and the VoodooPS2Trackpad,kext worked, but still did not work after sleep. Is there a debug release of the latest version (25 Feb 2011) I can use to research further?

Looking at the code, I recall hearing of a fix where IOSleep(1000); was changed to IOSleep(4000) to allow enough time for the trackpad to wake. I believe that this was originally applied to Synaptics, but I want to see if the same fix will work within Alps. XCode is downloading now and I will let you know how it goes.



This post has been edited by drummerboybac: Jul 24 2011, 05:31 PM
--------------------
MacBookFaux - 10.6.8- Dell Studio 1535 - ICH8M Based - Processor: Intel Core 2 Duo T5800 2.0Ghz
Graphics: Intel GMA X3100 - Wireless: Dell 1510 - 802.11n - Audio: IDT Audio

Working: Graphics, Sleep, Restart, Shutdown, P-States, Bluetooth, Wireless, Keyboard/Mouse, SD Reader, Webcam, Ethernet, USB ports, VGA out, Sound.

Not Working: HDMI, Fingerprint Scanner, CSTATES!!!!!!!

Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: