Jump to content

I need a DSDT masters help!


  • Please log in to reply
14 replies to this topic

#1
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Basically, i have one dsdt that identifies my GPU, and another dsdt that identifies my audio. I need them both to be combined so i can have both at the same time. Id prefer only the info needed for the GRAPHICS component(the dsdtGPU file) to be added to the "dsdtSOUND" aml, as the "SOUND" dsdt one corectly identifies my CPU also.... Im using AppleHDA.kext for the audio and AppleIntelGMAX3100 for graphics. Im not a good enough dsdt patcher myself to scope out which one to replace. I tried DSDTSE and i keep getting errors...

Any help is GREATLY appreciated, thanks :)

Attached Files



#2
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,051 posts
  • Gender:Male
  • Location:Brazil
There is nothing in DSDT that "identifies" your CPU. The Processor Scope code in your DSDT works with any CPU model that is compatible with your motherboard, and should be left alone.

It is no longer necessary to edit the processor scope code to get native CPU power management working, just use Chameleon 2.0 RC5.
For more information read this thread:
http://www.insanelym...howtopic=225766

Whatever it is, it must be coming from somewhere else.

#3
snackole

snackole

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 412 posts
  • Gender:Male
  • Location:US
Try this out buddy.

Attached Files



#4
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Thanks snackole, i sent you a PM, ill get my post worked out...

@GV,,, yea some weird stuff is going on.... System Profiler USED to report the correct RAM and CPU speed. I reinstalled chameleon to see if anything would change, and its the same...

Would a fresh install help?

#5
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,051 posts
  • Gender:Male
  • Location:Brazil
Did you do a full install or did you just replace /boot ?

You must do a full install for all 2.0 RC5 features to work properly.

#6
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
I just did a full install of rc5

I seem to have found whats tweaking my numbers- im using a tweak to get native resolution on my system.

RC5 reports my RAM speed correctly, but not my CPU- after installing the tweak it reports both wrong and fluctuates each boot-

heres the files im using for the tweaks if you want to take a look, im quite puzzled :)

Attached Files



#7
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,051 posts
  • Gender:Male
  • Location:Brazil
The files in the archive are dated February 2010 - the latest version of Chameleon 2.0 RC5 is rev 750 and it's 13 days old:
http://forge.voodoop...rce/commit/750/

The attached version of Chameleon is very old, it's RC4 with the "915resolution" patch, probably this version:
http://deviato.wordp...-gma-version-2/

What are you saying exactly - did you install Chameleon 2.0 RC5 and then install something from that archive?

It looks like the Meklort's Netbook Installer has the 915Resolution patch. It's recent and has a bunch of other fixes that might be useful to you.
http://www.meklort.com/

The CPU speed fluctuating probably has to do with CPU power management not working right? Read more here:
http://www.insanelym...howtopic=225766

What Mac model identifier are you using? What CPU and chipset is in your laptop?

#8
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Bingo dude... youre awesome-Yes, that is deviato's patch im using.

Yes, i installed RC5, then installed deviato's patch.

ill try installing RC5, and install the new sources you posted.

My CPU is a Pentium Dual-Core T4300 @ 2.1ghz with the Intel GM45 chipset.

Im using NulllCPUpm kext so appleintelCPUpm wont give me problems... is this why my battery life sucks and it cant go to sleep?

Thanks for all your help :angry:
Maybe one day ill be able to make my own patches/kexts/mods instead of using other peoples stuff...

#9
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,051 posts
  • Gender:Male
  • Location:Brazil

Yes, i installed RC5, then installed deviato's patch.

Then you're back to Chameleon RC4! Or at least the 'boot' file from RC4. Installing RC5 is pointless if you're going to do that anyway.
You should try Meklort's Chameleon branch, it is up to date and has 915Resolution built in.

ill try installing RC5, and install the new sources you posted.

Source code doesn't do anything by itself. Source code must be compiled into binaries, which you install and run. A Chameleon boot loader installation consists of three files, nothing more. The rest are hardware specific configuration files, put together by the user.
This is an unmodified build of the latest version of Chameleon: Chameleon 2.0 RC5: Attached File  Chameleon_2.0_RC5_r750.zip   654.83KB   6 downloads
New default theme, GUID, non-EFI partition Chameleon installation guide available in this thread:
http://www.insanelym...p...t&p=1627612
Don't follow the installation guide blindly, first make sure that it will work with your partition type/configuration!
If that means staring at the output from diskutil list for 5 minutes then you should do it. :angry:

My CPU is a Pentium Dual-Core T4300 @ 2.1ghz with the Intel GM45 chipset.
Im using NulllCPUpm kext so appleintelCPUpm wont give me problems... is this why my battery life sucks and it cant go to sleep?

Probably. Try to get native power management going. Again, what model identifier are you using? Using the right one is important.

#10
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Ok, weird stuff is going on again- i have RC5 r750 installed. At boot, chameleon correctly recognizes my hardware- tells me i have:
2+1 gb ram @ 800mhz
T4300 CPU @ 2.1ghz
AND it even tells me my chipset-

So should i just get rid of NullCPUPM and AppleIntelCPUPM.... what about sleep enabler(it never worked for me anyway because of having those 2 installed)...?

whats the model identifier?.... sorry im such a noob -__-

#11
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,051 posts
  • Gender:Male
  • Location:Brazil

should i just get rid of NullCPUPM and AppleIntelCPUPM....

AppleIntelCPUPM is an Apple kernel extension that drives CPU power management, if you delete it you can't have native CPU power management!

NullCPUPM is a community provided kernel extension that prevents AppleIntelCPUPM from loading, so those with incompatible hardware don't have to delete it or using other means to prevent it from getting installed again when updating their OS.

Follow the link I posted in post #2 and start reading to learn how to use Chameleon to get native CPU power management going. A bunch of other requirements must be met as well - read the thread.

whats the model identifier?.... sorry im such a noob -__-

Read this: http://www.everymac....machine-id.html
On a Hackintosh, the model identifier determines which Mac model OS X thinks it's running on. This mainly affects power management. It's generally a good idea to use a model identifier from a Mac that has hardware similar to yours - mainly the CPU family - don't use a model identifier from a Mac that has a Nehalem CPU if yours has a Core 2 Duo CPU. And you should use a model identifier from a laptop if you have a laptop etc etc.

On a hackintosh we fake this information via /Extra/smbios.plist. Google/forum search for more information.

Looks like MacBook4,1 could be a good match for your laptop, it uses GMA X3100 graphics and has a Core 2 Duo CPU.
http://www.everymac....ords=MacBook4,1
But it has ICH8 and Intel 96x chipset. Maybe there is a better match - do your own research. See what others who have hardware similar to yours are using. It's possible that MacBook4,1 isn't a good idea at all for some reason unknown to me - I'm just posting this as an example.

To find the data to use for smbios.plist, google "modelidentifierx,y DMI" (no quotes) and follow the links to Linux bug report sites. These bug reports from real Macs are great resources and will usually contain all the information you need.

For example, this is the MacBook4,1: https://bugs.launchp...nux/ bug/524467 found by googleing "MacBook4,1 DMI".
The bug itself is not important, what matters is the accurate hardware information contained in the bug report and its attached files at the bottom. You can look in LSPCI.txt for more detailed hardware information. Not all bug reports have those files attached though. The smbios.plist data is this part:
dmi.bios.date: 02/09/08
 dmi.bios.vendor: Apple Inc.
 dmi.bios.version: MB41.88Z.00C1.B00.0802091535
dmi.board.name: Mac-F22788A9
dmi.board.vendor: Apple Inc.
dmi.product.name: MacBook4,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
Redundant information removed - the above is all you need. Google 'smbios.plist' to learn more.

#12
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Lots of info to soak up here :)

I changed my smbios to MB4,1 - it changed system profiler to report my CPU and RAM specs correctly. Still no Native cpuPM. IntelCPUPM panics without nullCPUPM.... are there other kexts i can use in place of intelCPUPM for native power management?

In chameleon, i have restart fix and generate P/C states..... what about drop ssdt.... or does that have nothing to do with this?

Do i keep searching for the right MI to use in the smbios?

#13
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,051 posts
  • Gender:Male
  • Location:Brazil
I can't say from here why you're getting kernel panics with AppleIntelCPUblablabla loaded. It could be anything. I don't know enough about your configuration and I have no experience at all with installing OS X on laptop PCs. Power management is much more elaborate than on a desktop PC - you have to deal with the battery, screen dimming etc etc.

Some people need to patch the HPET device in their DSDT, but I can't say if that's your problem.

It's possible that it has to do with the model identifier as well, as I said OS X sets up power management based on the model identifier.

Your best bet is finding someone with hardware similar to yours and see what they are doing.

I don't believe that DropSSDT and/or dumping your SSDT tables will be useful to you for now, none of that is likely to fix your kernel panic.
Concentrate your efforts on getting AppleIntelCPUblabla to load at least without causing KPs.

If you really want to give up, you can use VoodooPower or VoodooPowerMini. I don't know if they will still work, they are not supported anymore, the author has abandoned the project.

You don't need to set restartfix=y in your /Extra/com.apple.Boot.plist, it is enabled by default.

#14
eggmcmuffin

eggmcmuffin

    InsanelyMac Protégé

  • Members
  • PipPip
  • 81 posts
Zomg....


ive researched all i could, and AICPUPM still wont load...it seems to be an hpet issues and thats why(?) it panics.
I actually had such issues i reinstalled snow leo.

Changing the topic once again... could chameleon be changing how my graphics are loaded(ive tried countless versions of chameleon)? I have the infamous GMA x4500, and i was able to get the right dsdt, and the x3100 kexts to load, but after the reinstall, the x3100 kexts load about 1% of the time usually resulting in a scrambled screen after boot... they seem to load after i leave my laptop alone for more than an hour or two... consecutive boots it wont load.

im stumped now :)

#15
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
x4500 = NO QE/CI





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy