Jump to content

Need help patching my DSDT


  • Please log in to reply
15 replies to this topic

#1
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
I installed iAtkos ML2 on my Toshiba P755-103 (Satellite P755-103 - Toshiba , Atheros AR9002-1NGWB WiFi card, more info) and so far so good. Got most of it working, including my Intel HD3000. I gave up on my GeForce GT540M.
However I'm getting very high temperatures (80ºC+). I was suggested this could be because of the GeForce GT540M, and I should disable it by patching DSDT.
I would do it myself, but everytime I try to patch my DSDT I get tons of errors or an unusable system after reboot.
I'd like to have it patched though to see if I could solve my temp issue.

I attached my DSDT, which currently, only has the HD3000 VGA-out patch. I also attached the SSDT, extracted from Ubuntu.

Attached File  DSDT.aml.zip   22.78KB   8 downloads
Attached File  SSDT.zip   7.48KB   4 downloads

I'd be thankful to anyone who can help me.
Thanks

#2
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
SSDT_v01-OptRef-OptTabl-00001000-INTL-20091112.aml
SSDT_v01-SgRef-SgTabl-00001000-INTL-20091112.aml
These files have the info that is needed.
I'm in the middle of moving, if nobody wants to do it, i'll have a look at it next week.

#3
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts

SSDT_v01-OptRef-OptTabl-00001000-INTL-20091112.aml
SSDT_v01-SgRef-SgTabl-00001000-INTL-20091112.aml
These files have the info that is needed.
I'm in the middle of moving, if nobody wants to do it, i'll have a look at it next week.


K thanks.
If anyone else can help me before that, please do ;)

#4
WhatTheTech

WhatTheTech

    Macmodder Addict

  • Retired
  • 454 posts
  • Gender:Male
Have you give this kext a try?

http://www.osx86.net..._540m_kext.html

#5
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts

Have you give this kext a try?

http://www.osx86.net..._540m_kext.html


I have. The Nvidia gets detected and its name shows up in the system info, plus, more information (like VRAM size). However, one thing is getting Mac OS X to recognize the hardware properly and other thing is making Mac OS X running that hardware properly, you know?
I'm getting extremely high temperatures and the only thing that justifies them is really the GT540M.
Also refer to this post: http://legacy.tonyma...38044&start=150

#6
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands

Have you give this kext a try?

http://www.osx86.net..._540m_kext.html


Notebook, so the NVIDIA will not work, best to disable it by dsdt :)

#7
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
Guess I'll wait for a DSDT patch and see if it's really the GT540M causing the temp issues. :S

#8
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
So, I have been trying to do this myself, and, as far as I can tell, I have to copy the _OFF method from the first SSDT and paste it in the DSDT into the / scope. I try to compile and it fails saying: http://prntscr.com/uwnlp . I have a section on the SSDT, that defines all of the objects: http://prntscr.com/uwnti . I copy all of that to an area before the _OFF method definition on the SSDT. I then get an error: http://prntscr.com/uwo3p. What should I do? Where should I put the piece of code that defines these objects? Thanks

#9
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Well, we had some contact over skype.
Tried to add the patch, had some errors about the objects, methods etc, added them as external. Why i did this, if i fixed 1 problem, i created 20 others.

DSDT attached.

Method PINI added.

Attached Files



#10
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
Ok. So Lejenk did another try (attached attempt in attachment). It was still a no go. He added a PINI () somewhere.

So far Leject did this:

i added the methods, and to the DefinitionBlock, i added the functions that gave errors, because the operating regions would add more errors\



Attached File  DSDT.aml 4.zip   23.09KB   0 downloads

Edited by RCOO, 04 March 2013 - 10:58 PM.


#11
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Method PINI has been added, to the _INI, WAK, _WAK.
Added all the Methods to PEGP, PS0, PS1m PS3 etc, perhaps not adding _ROM could cause the issue of not disabling?

The operating regions gave a lot of errors, so i added the sub functions as external.

#12
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
This DSDT worked:
Attached File  DSDT.aml.zip   24.39KB   13 downloads

The graphics card got disabled. However, I'm still getting high temperatures (check image)! Any more ideas?
http://prntscr.com/v3o32

Thanks

#13
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
Ok.
Some more problems.
The battery icon in the menu bar has an X and says: "No battery is available", "Power Source: battery".

This happens when I only have the AC charger connected, and no battery inserted. I tried replacing AppleACPIPlatform with the one from version 10.6.7, and nothing. The source of the power keeps being indicated as the battery, which isn't even in the laptop.


Besides that: I patched AICPM and removed NullCPUPowerManagement. I have SSDT and it's being loaded according to bdmesg. P and C states are being generated. I am however having P-State stepper error 18.
To try to solve this problem I followed the instructions on this topic (please read english instructions): http://olarila.com/f...start=60#p13534 (my SMBios is MacBookPro8.2. I removed the indicated keys: FanThrottledRPM and FanMax (although the keys appeared in a reverse order comparing to the guide). Attached is the KP generated. I am able to boot if I restore the NullCpuPowerManagement kext.

Attached File  DSCF8049222.jpg   179.51KB   2 downloads

Any clues on how to solve these issues?

#14
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Boot with -v, take another picture please :)

#15
RCOO

RCOO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 157 posts
Ok. New problem when opening apps: http://cl.ly/0K092x0l1F2z Happens only with some apps. Any clues?
About AICPM, I generated an SSDT using Pike's script. Attached File  SSDT.aml.zip   976bytes   1 downloads
After that I reboot and get this KP:
Attached File  DSCF8052.JPG   125.74KB   5 downloads
At the beggining, not visible in the image it complained about P-Stepper error 18, so I applied this fix: http://olarila.com/f...start=60#p13534
I rebooted.
Got the same error, but this time caught the beggining of the kp by not booting verbose:
Attached File  DSCF8054.JPG   125.59KB   4 downloads
Attached File  DSCF8053.JPG   118.99KB   4 downloads

#16
Lejenk

Lejenk

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,381 posts
  • Gender:Male
  • Location:Netherlands
Use the -f flag.
Btw, you are mixing topics, can i close the other?





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