Help - Search - Members - Calendar
Full Version: New Dsdt For Dell Inspiron 1525
Project OS X Forums > Snow Leopard Guides & Tutorials > DSDT Patching
xtraa
Hi everyone smile.gif

First hello, cause this is my first post here. Some may or may not know me
from the old insanelymac days. smile.gif

I would like to share my dsdt with you that I edited over a time now. I also
hope that we can maybe put together some more information to make it
better.

There are parts and fixes from many sources, and I bet there are parts from
Slices dsdt, too. So, privet, Slice! Credits and thanks for your knowledge, too smile.gif

So far, I am running Snow Leopard at 32bit with

- native Speedstep
- sleep
- working VGA out
- sound without voodoo drivers

In my extra/extension folder I have reduced the files to five kext, as they are:

fakesmc.kext...................(required for the magic spell)
LegacyHDA.kext..............(required for native sound device ID patching)
OpenHaltRestart.kext.......(well, for halt and restart)
VoodooBattery.kext.........(brings you the battery logo)
IOPCIFamily.kext..............(for moar USB2 support, cardreader works natively now afaik)

The WiFi is patched to AppleAirport thanks to Prasys, so no additional kext needed here.

What I did not get to work is:

- patching the UHCI... I did it but no workie
- display dim... it dims on power/battery (but nearly not remarkable), also fn+num fn+ins doesn't work

What does the zip contain:

com.apple.boot.plist
dsdt.aml
smbios.plist
My extra/extensions folder (except fakesmc, for dcma reasons)

If you like to use these files and get native speedstep, keep the following things in mind:

THIS IS ONLY FOR DELL INSPIRON 1525, I have the 1280x800 MODEL!! The higher solution
model probably won't work with the graphic fix, so take a look at it before booting this dsdt.

1. make sure you are an advanced user tongue.gif
2. this is 32bit only, if you boot at 64bit your keyboard+trackpad+qe+ci won't work
3. remove any non-apple powermanagement related kext from sys/lib/extensions
this has to be done because they prevent native speedstep from working.
4. remove sleepenabler.kext (you won't need it anymore, and it also prevents
native speedstep from working)
5. after a reboot with this dsdt.aml you have to put appleintelcpupowermanagement.kext
back into sys/lib/extensions to get native speedstep, it will NOT panic anymore
6. also AppleHPET.kext musst be in sys/lib/extensions
7. always do a chmod+chown on the files and repair permissions

Well 'nuff said, It would be very much appreciated, if we could collab and or optimize the dsdt
for Dell Inspiron 1525. I know it is not perfect, so I am looking forward to make it better smile.gif

Click to view attachment

Cheers,

xtraa


xtraa
I forgot some research attachments for the coders here that may be interesting:

Here are the dumps for Inspiron 1525. Join them with command cat.

Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment
Click to view attachment

If you need MCFG, OSFR, FACP, FACS or even BOOT, let me know.
joe75
Welcome aboard, xtraa biggrin.gif
xtraa
QUOTE (joe75 @ Jul 3 2010, 03:27 PM) *
Welcome aboard, xtraa biggrin.gif


thank you smile.gif smile.gif
Slice
Here is my latest DSDT for Dell Inspiron 1525 but with screen 1440x900. Core2Duo T8300 2.4GHz.
Click to view attachment
I don't need OpenHaltRestart.
Sleep, Restart, Shutdown works fine.
Brightness works by Fn+Up/Down.
Brightness dims with power changed from AC to battery and back.

Don't change SSDT.aml cause it connected to hidden tables.

Not native kexts:
VoodooHDA
AppleACPIBatteryManager.kext
AppleACPIPS2Nub.kext
ApplePS2Controller.kext
FakeSMC.kext v2.7

Patched
IOPlatformPluginFamily.kext - for Mac Model MacBook4,1
AppleYukon2.kext - for real mac-address.

I also use my own bootloader.
FRauANtje
QUOTE (xtraa @ Jul 2 2010, 12:51 PM) *
THIS IS ONLY FOR DELL INSPIRON 1525, I have the 1280x800 MODEL!! The higher solution
model probably won't work with the graphic fix, so take a look at it before booting this dsdt.
3. remove any non-apple powermanagement related kext from sys/lib/extensions
this has to be done because they prevent native speedstep from working.

5. after a reboot with this dsdt.aml you have to put appleintelcpupowermanagement.kext
back into sys/lib/extensions to get native speedstep, it will NOT panic anymore
6. also AppleHPET.kext musst be in sys/lib/extensions

Cheers,

xtraa


Hi,

For me your Extensions work fine in /Extra/Extensions - I have a 1525 with 1440x900.
Thank you.

3 -> How can I identify non-apple powermanagement related kext?
5/6 -> Where can I find those original drivers? I use 10.6.4, my original installation DVD is 10.6(.0)

Greetings,

Frank
freeburma
Thanks for sharing! I'm away from my 1525 at the moment but I have a couple of quick questions. I'm assuming you have to use the 10.6.2 version of AppleHDA along with your LegacyHDA? Which version of Chameleon are you using? What, if anything, are you doing concerning your platform id? Am I correct in thinking I would have to modify the dsdt for my specific cpu (T5450) to get correct native speed stepping? I'm closer to a MacBook3,1 than 4,1 because of my cpu, I don't believe that matters in anyway other than cosmetic given you have not modified your ioplatformpluginfamily extension, is that true? Thanks again!

Answered my own questions...
oceanexplorer
Hi Xtraa,

I have just tried your good work on the DSDT. I have to say that I don't know much about them, but I am learning. I got my system working with minimal kexts and your DSDT, however my only issue is that the brightness adjustment no longer works. Have you come across this and if so found a working solution?

Many thanks for your hard work and sharing it with others.

Regards

Paul
RotateRight
The idea of using a DSDT and a minimal set of kexts is appealing to me.
This would make upgrades in the future easy from Retail and minimal fixes.

The DSDT that is here for the 1440x900 is rather complete! I have a 1280x800 1525. Would anyone (Slice?) have an approach to modify that DSDT such that it would work on the 1280x800 model? What would need to be changed? GFX0? DISPLAY?

Any help would be very kind.

RR
Slice
QUOTE (RotateRight @ Nov 30 2010, 09:24 AM) *
The idea of using a DSDT and a minimal set of kexts is appealing to me.
This would make upgrades in the future easy from Retail and minimal fixes.

The DSDT that is here for the 1440x900 is rather complete! I have a 1280x800 1525. Would anyone (Slice?) have an approach to modify that DSDT such that it would work on the 1280x800 model? What would need to be changed? GFX0? DISPLAY?

Any help would be very kind.

RR

There is a thought that
CODE
                            "AAPL01,DualLink",
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            },

for 1440x900 and larger, and {0x00, 0x00, 0x00, 0x00} for 1280x800.
RotateRight

Absolute brilliance!!! Chanced the DSDT in two places. Recompiled it. Dropped in into /Extra. Wow! This is the closest I've ever been.

Rant ... Just wish I had this two days ago.

One last question. Do you feel like I'm going to need the patched IOPlatformPluginFamily.kext? Somewhere I hit on a thread that said that 8/16 (?) interupts added to DSDT allowed for it not being patched. Don't know if you approached things that way. Things are working fine at the moment with the current one. But, if I might need it, where could I find it?

Rave ... Much, much closer to what I need in an OS, with appreciation to you.

Much thanks!!!



Slice
Since 10.6.5 I didn't patch IOPlatformPluginFamily.kext. All works fine. But OpenHaltRestart needed. sad.gif
hpascheit
QUOTE (Slice @ Nov 30 2010, 07:47 PM) *
Since 10.6.5 I didn't patch IOPlatformPluginFamily.kext. All works fine. But OpenHaltRestart needed. sad.gif


Slice, I have started to use your DSDT on my inspiron 1525 (1280x800 resolution) - thanks for providing it for download, much appreciated. Before applying your DSDT, I needed to use VoodooPowerMini and sleepenabler to get my machine to sleep and wake properly. Now with your DSDT I have been able to use native power management, however, I still am not able to wake from sleep sometimes, which was a problem I was hoping to rid myself of by using native power management. My problems waking from sleep are completely random, but usually within 2-4 days of sleeping/waking I will have a wake error. My console error message is as follows:

"Wake: Drivers Failure - AC - ISAB PCIE USB1 USB2 USB3 USB4 USB5 EHC2 EHCI IDE0 IDE1 AZAL VID RP01 RP02 RP05
com.apple.message.domain: com.apple.powermanagement.wake
com.apple.message.signature: Drivers Failure
com.apple.message.result: Failure"

This can also happen when the system is on battery.

I have been following the inspiron 1525 osx86 community for almost 2 years and know that you have a really excellent grasp on everything. If you have any ideas/tips on how I can solve my annoying wake problem, I would really appreciate it.

Thanks,

HAnDZ
Slice
I also corrected /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/MacBook4_1.plist
and using my bootloader
Click to view attachment
hpascheit
QUOTE (Slice @ Dec 6 2010, 06:39 AM) *
I also corrected /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/MacBook4_1.plist
and using my bootloader
Click to view attachment


Slice,

I changed my model identifier from 3,1 to 4,1 and applied your modified macbook4_1.plist as you instructed. Also, I downloaded your bootloader and applied it to my system. However, this resulted in a kernel panic when booting. After doing some trial and error I found that when I used rc5 instead of your bootloader, the system would not go into kernel panic. On the plus side, the native power management seems to be correctly speed stepping, but I still use "coolbook" because I find it to throttle more effectively.

Thanks again, I will let you know if the MacBook4_1.plist makes any changes to my wake from sleep errors (I will have to run it for a while to see if it's fixed)

HANDZ
Slice
One news.
I made brightness working by Apple's key with Sun on the screen and with slider in Display panel.
Thanks to ivik

PS. Restart works not good.
hpascheit
QUOTE (Slice @ Dec 6 2010, 07:32 PM) *
One news.
I made brightness working by Apple's key with Sun on the screen and with slider in Display panel.
Thanks to ivik

PS. Restart works not good.


Slice,
So my system just froze from waking from sleep (it wakes up with a black screen), but strangely it does not produce any console messages like it did before. Anyways, if you have any free time to look over my system setup I have attached a zip containing my EXTRA and SLE (system/library/extensions) that I currently use.

My system is an inspiron 1525 1.83 gHz core 2 duo with 1280x800 resolution, currently running 10.6.5
- I have had this wake problem ever since I installed Snow leopard (all 10.6 versions), it never used to happen when I was running IPC's 10.5.6

I would really appreciate if you had any other ideas

Thanks again

hpascheit
QUOTE (hpascheit @ Dec 6 2010, 08:38 PM) *
Slice,
So my system just froze from waking from sleep (it wakes up with a black screen), but strangely it does not produce any console messages like it did before. Anyways, if you have any free time to look over my system setup I have attached a zip containing my EXTRA and SLE (system/library/extensions) that I currently use.

My system is an inspiron 1525 1.83 gHz core 2 duo with 1280x800 resolution, currently running 10.6.5
- I have had this wake problem ever since I installed Snow leopard (all 10.6 versions), it never used to happen when I was running IPC's 10.5.6

I would really appreciate if you had any other ideas

Thanks again

hpascheit
For some reason I could not upload a file so here is a link:

http://rapidshare.com/files/435317402/My_Setup.zip
Slice
QUOTE (hpascheit @ Dec 6 2010, 11:45 PM) *
For some reason I could not upload a file so here is a link:

http://rapidshare.com/files/435317402/My_Setup.zip

I can't use rapidshare
http://www.projectosx.com/forum/index.php?...;f=142&id=7
hpascheit
QUOTE (Slice @ Dec 7 2010, 09:07 AM) *


Here it is:Click to view attachment
Slice
I have quite different setup.
/Extra/Extensions is empty
MacBook4,1 (corrected plist inside platform plugins)
Use vanilla kexts for
CODE
    AppleIntelPIIXATA.kext
    ATAPortInjector.kext
    IOATAFamily.kext

FakeSMC.kext - placed in /s/l/e
No nVClock inside (I have no nVidia card!)

No these kexts
CODE
    AppleHDA.kext
    HDAEnabler.kext
    LegacyHDA.kext

cause I use VoodooHDA 2.7.2


VoodooBattery.kext -> AppleACPIBatteryManager
VoodooPS2Controller.kext -> ApplePS2Controller
hpascheit
QUOTE (Slice @ Dec 8 2010, 12:20 PM) *
I have quite different setup.
/Extra/Extensions is empty
MacBook4,1 (corrected plist inside platform plugins)
Use vanilla kexts for
CODE
    AppleIntelPIIXATA.kext
    ATAPortInjector.kext
    IOATAFamily.kext

FakeSMC.kext - placed in /s/l/e
No nVClock inside (I have no nVidia card!)

No these kexts
CODE
    AppleHDA.kext
    HDAEnabler.kext
    LegacyHDA.kext

cause I use VoodooHDA 2.7.2


VoodooBattery.kext -> AppleACPIBatteryManager
VoodooPS2Controller.kext -> ApplePS2Controller


Slice,
Thanks for the tips, I will first remove the kexts I have placed in my Extra folder to see if I get any positive changes. I'll keep you posted on my findings.
Mahesh Kondraju
Hi Slice,

It would be great if u could attach your latest and current DSDT for reference, as am working on my native speed stepping. It helps me a lot in optimizing & correcting my DSDT with few cosmetic changes which u have.

My laptop is some what 8 to 10 degrees hotter with native speed stepping when compared to the use of Voodoo Pstate & mini kexts.

Regards,
Mahesh Kondraju
Slice
QUOTE (Mahesh Kondraju @ Jun 7 2011, 11:44 AM) *
Hi Slice,

It would be great if u could attach your latest and current DSDT for reference, as am working on my native speed stepping. It helps me a lot in optimizing & correcting my DSDT with few cosmetic changes which u have.

My laptop is some what 8 to 10 degrees hotter with native speed stepping when compared to the use of Voodoo Pstate & mini kexts.

Regards,
Mahesh Kondraju

No change since post#5. 10.6.7 works fine.
xtraa
Hello, privet, bonjour, hola smile.gif

Here is a new version of the DSDT.

Basically, it is just a rework of a melange of Slices very good DSDT and parts of my old one, BUT - this time also with some fixes after renaming all the components to match the MacBook4,1 specs. I don't now exactly what made the difference, but since I use this DSDT my Dell doesn't get hot anymore, and it is really much faster. Also, some wake-up issues are gone now.

to sum it up:

PRO:
- I have to say, here it speeds up my Dell up to 1/4 by having constant temperatures around 30 degree celsius on both cpus while browsing the we
- added FAN Speed detection (iStat nano etc.)


CONS:
I have not tested it with 10.6.8 or lion, because I feel lucky with 10.6.7. So maybe just rename the DSDT and give it a try. Simply type DSDT=NAMEOFFILE at the bootprompt to boot the desired one.

I also put my boot.plist and the smbios in the package so that you can see where differences might be. I use dropssdt=yes and generate c-states for
example.

maybe you might give it a try smile.gif

Download (updated on sunday 26.)

Click to view attachment

Cheers,
xtraa
Slice
Thank you for the effort, I will try little later when I will be with the notebook.
xtraa
QUOTE (Slice @ Feb 24 2012, 05:28 AM) *
Thank you for the effort, I will try little later when I will be with the notebook.


Hi Slice,

please trash this one and download again, I made a few more fixes and updated the DSDT.

Now USB and erm... sound are working again biggrin.gif

Changes:

- Renamed EHCI to EHC1
- Moved stuff to LPCB
- Set KBR to EC


This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.