Jump to content

DSDT Auto-Patcher

DSDT patcher

  • This topic is locked This topic is locked
5755 replies to this topic

#5721
IGP3000

IGP3000

    InsanelyMac Protégé

  • Donators
  • 16 posts

@MaLd0n

The internal Intel HD3000 (HD2000) graphics uses shared RAM of up to 480 (482)MB,
but both IORegistryExplorer and the kext rapports 512MB.

Is it possible to patch / modify the DSDT so the shared RAM can be set to 384MB or 480MB ??
Or even better the current allocated shared RAM value set in the BIOS ??

I believe the graphics distortions / fields with missing graphics are caused by the kexts are using the non-exsistent RAM area between the physical shared RAM and the 512MB the kext uses..

Regards


As there are no answer I deduct that it is either not possible to set the shared RAM value correctly in the DSDT,
or nobody knows how to do it ??

#5722
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Hello MaLd0n!

May I start by saying a huge THANK YOU, for what you are doing here! This kind of help is outstanding and you have a great deal on knowledge on the subject of DSDT patching, which you selflessly share with the community! As someone who has worked with online projects before (xbox modding/emulation scene) I know how much dedication it takes to learn so much about a topic, and also how rewarding, yet time-consuming it can be. So thank you!

Now, I am relatively new to DSDT patching and am having some issues which I would greatly appreciate your help with! Now this may be a rather long post so thank you in advance for reading all of it, I just want to try to give you as much information as necessary to assist me =) My system Specs are as follows:

Lenovo G560
CPU: i5 480M
8GB Ram 1066
Nvidia 310M
Audio: Conexant cx20585

My /E/E/ folder contains:

ACPIMonitor
AppleHDADisabler
FakeSMC
IntelCPUMonitor
LegacyAtheros
LidSleep
VoodooBattery
VoodooPS2Controller

Also I am using Darwin kernel 10.8 on SL 10.6.8, and Mac model 6,1 in smbios.plist.

I have extracted my dsdt.aml with 'DSDTSE' and patched using 'DSDT Auto-Patcher' successfully without errors.

My issues, in order of importance for me, are as follows:

1. C-States not working. I have tried enabling them through Enable C States=True, and have attempted to copy them from SSDT tables without luck. The strange thing is they seemed to work initially on the darwin 10.7 kernel but my geekbench scores were around 20% lower with them enabled. And now when I try to boot with the 10.7 kernel I get stuck at “PCI Configuration begin”? I want to extract my SSDT tables from when they are enabled to attempt to use them with the 10.8 kernel, but now can't seem to get past this error and I dont know what I have changed since to cause this error..

2. Sound only via VoodooHDA in S/L/E, which is "ok" but the sound quality is bad (pops on bass hits etc.) and I get KP's around every 2nd boot.. So if you could patch my DSDT to prepare for modified AppleHDA then that would be great. I intend to patch my AppleHDA using info from here: AppleHDA mic Problem

3. Sleep works, but only on battery. When plugged in it will sleep, but then wakes back up immediately..

4. Graphics works fine with Graphicsenabler=True. If it isn't much trouble then to have this added to the DSDT would be good, but if it's hard or there is no advantage then dont worry about it.

5. P-states work correctly (I think) but there doesn't seem to be any turbo mode? SMC monitor only shows maximum of 2.1Ghz under load? Maybe this value is incorrect, I'm not sure. Either way I'm not too worried because it is fast enough for my purposes.

That's basically it. If I had all of these things working correctly (even just the first 2/3) I would be SO HAPPY! I love my hackintoshes, but to have the Lenovo basically perfect would be AWESOME!

Here is my dsdt.aml: ZacMonkeysdsdt.aml

Thank you so co much in advance! I am waiting eagerly for your response =) And keep up the good work, the community needs more people like you!

Kind regards,

Zac (aka Monkeys)

NativePM
see the first post

Hi MaldOn,

I was wondering if you could please explain to me couple of things:
I have an Asus UL80Jt, which runs perfect with the modified dsdt, thanks to you. However,it seems that cpu speed is being messed up somewhere although the boot loader seems to get the right values, here is the first few lines of bdmesg:


msr(226): platform_info 20010900
msr(230): flex_ratio 00000000
Sticking with [BCLK: 177Mhz, Bus-Ratio: 90]
CPU: Brand String: Intel® Core™ i3 CPU U 330 @ 1.20GHz
CPU: Vendor/Family/ExtFamily: 0x756e6547/0x6/0x0
CPU: Model/ExtModel/Stepping: 0x25/0x2/0x5
CPU: MaxCoef/CurrCoef: 0x0/0x9
CPU: MaxDiv/CurrDiv: 0x0/0x0
CPU: TSCFreq: 1593MHz
CPU: FSBFreq: 177MHz i
CPU: CPUFreq: 1593MHz
CPU: NoCores/NoThreads: 2/4
CPU: Features: 0x000002ff

According to the highlighted line my cpu frequency is 1.2, but when looking at about mac it advertises as 1.59.
This seems to make my cpu run hoter and battery last much less.
It seems to me the problem may be because of defaulting to FSBFreq 177 as opposed to 133, which is the right value based on the intel spec.

Now my questions are, 1) if I can force boot loader to use the right values? if possible could you please give me the right verbs and values to use?

2)What profile of real mac you would suggest better matching this laptop?
FYI, I am using Chameleon-2-0-r1394as my boot loader

Many thanks in advance for your comments andhelp
Artimess

SMexternalclock=xxx


As there are no answer I deduct that it is either not possible to set the shared RAM value correctly in the DSDT,
or nobody knows how to do it ??

"VRAM,totalsize"

#5723
IGP3000

IGP3000

    InsanelyMac Protégé

  • Donators
  • 16 posts

"VRAM,totalsize"


I was aware of that it in IORegistryExplorer under the "AppelIntelSNBGraphicsFB" was a property named "VRAM,totalsize" with data <00 00 00 20> that equals 512MB.

Is it possible to modify the DSDT to tell "AppelIntelSNBGraphicsFB" to use only 384MB.
If possible I am still stuck as I do not know how to do it ;)

#5724
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

I was aware of that it in IORegistryExplorer under the "AppelIntelSNBGraphicsFB" was a property named "VRAM,totalsize" with data <00 00 00 20> that equals 512MB.

Is it possible to modify the DSDT to tell "AppelIntelSNBGraphicsFB" to use only 384MB.
If possible I am still stuck as I do not know how to do it ;)

the correct value...
I do not know

#5725
IGP3000

IGP3000

    InsanelyMac Protégé

  • Donators
  • 16 posts

the correct value...
I do not know


I just found in RevoGirl´s blog a explanation: http://revogirl.word...-vramtotalsize/
So if I pull out some RAM to get down to 4GB I get the 384MB shared RAM...
Quite stupid, but I expect someone finds a fix...

#5726
segen2011

segen2011

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
MaLdOn

Let's say that I'd like to be more self-sufficient.

Using your tool from auto-patcher website (DSDT Editor) I'd like to be able to patch my own DSDT.
My question is, out of all the available patches from that same website (http://http://olarila.com/Patches) how do I know exactly which ones to apply?

I know that when we send you our information, you patch it within minutes ... how do you know what patches to add and what not to?

I am asking for the following system:
System: HP ProBook 4530s (XU015UT#ABA)
CPU: Intel Core i3 2310M(2.10GHz)
Graphics: Intel HD Graphics 3000
MOBO Chipset: Mobile Intel® HM65 Express
Wireless LAN/Bluetooth: Atheros AR9285 Rev 01 (802.11b/g/n WiFi (1 x 1) and Bluetooth 3.0 + HS Combo)
LAN: Realtek RTL8111/8168B PCI-E Gigabit

Thank you.

Attached File  DSDT.zip   46.28KB   2 downloads

#5727
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

MaLdOn

Let's say that I'd like to be more self-sufficient.

Using your tool from auto-patcher website (DSDT Editor) I'd like to be able to patch my own DSDT.
My question is, out of all the available patches from that same website (http://http://olarila.com/Patches) how do I know exactly which ones to apply?

I know that when we send you our information, you patch it within minutes ... how do you know what patches to add and what not to?

I am asking for the following system:
System: HP ProBook 4530s (XU015UT#ABA)
CPU: Intel Core i3 2310M(2.10GHz)
Graphics: Intel HD Graphics 3000
MOBO Chipset: Mobile Intel® HM65 Express
Wireless LAN/Bluetooth: Atheros AR9285 Rev 01 (802.11b/g/n WiFi (1 x 1) and Bluetooth 3.0 + HS Combo)
LAN: Realtek RTL8111/8168B PCI-E Gigabit

Thank you.

Attached File  DSDT.zip   46.28KB   2 downloads

Attached File  dsdt.segen2011.zip   47.06KB   2 downloads

#5728
segen2011

segen2011

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Attached File  dsdt.segen2011.zip   47.06KB   2 downloads


Sigh, thanks MaLdOn, but none of my questions got answered :-(

I realize how busy you are, so I guess I'll just never fully understand this as I'd like to.

Thanks.

#5729
Erdbeeere

Erdbeeere

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
I have uploaded the dsdt with the integrated upload option.

I named it T510 with NVS3100m. (It's a Lenovo ThinkPad)

#5730
mmvie

mmvie

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
Hi Maldon,

Everything works except USB 2.0 ports... (USB 3.0 port does work) I'm looking for this for a week now, need an expert like you to fix it or show me the way...

Really need this funcionality, Thanks in advance !

Attached Files



#5731
RYIK

RYIK

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Ukraine
  • Interests:MacOSX, Windows OS, IT Security
I was installed kexts for USB 3.0 from MutliBeast 3.8 (tonymac)

#5732
ZacMonkeys

ZacMonkeys

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Hey Maldon,

Thank you for the prompt reply. I dont suppose you know anything about the other issues? Such as the sleep only on battery? I have read elsewhere in this forum that someone had a similar problem and you patched their dsdt for them? But maybe you didn't fix that issue..

Anyway, I had another go at getting c-states working via chameleon, with some limited success. But the issue i am having seems very strange and I cant find any information about it elsewhere. They seem to work, but only when using the 10.7.0 kernel, on 10.6.7, and in 32bit mode.. In 64bit mode they are initialized but stuck on the lowest state, or messes up the p-states I'm not sure, but SMC monitior shows 900mhz under load, whereas under 32 bit it will increase to 2100 and geekbench scores are almost normal (though still not as high as without c-states enable at all)

This behaviour seems very strange indeed and is beyond me why it isn't working.. Are there issue with the 10.8.0 kernel and/or 64 bit mode with C-States that you are aware of?

Any information is greatly appreciated.

Regards,

Zac

#5733
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Sigh, thanks MaLdOn, but none of my questions got answered :-(

I realize how busy you are, so I guess I'll just never fully understand this as I'd like to.

Thanks.

use the search forum

Hi Maldon,

Everything works except USB 2.0 ports... (USB 3.0 port does work) I'm looking for this for a week now, need an expert like you to fix it or show me the way...

Really need this funcionality, Thanks in advance !

USBBusFix=Yes

USB3
see the first post

#5734
mmvie

mmvie

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

USBBusFix=Yes


Still nothing on USB 2.0 ports... LegacyAppleAHCIPort maybe ?

#5735
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Still nothing on USB 2.0 ports... LegacyAppleAHCIPort maybe ?

try a clean install
you can try?

LegacyAHCI = info about AHCI in System profiler

#5736
SweetzDesigns_Mac

SweetzDesigns_Mac

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hi,

I had a look at your auto patcher but you don't have my Motherboard listed, I have a Clevo W251HUQ. I was told that if I supply you qith some information you could make me a DSDT? :blink:

Attached Files



#5737
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Hi,

I had a look at your auto patcher but you don't have my Motherboard listed, I have a Clevo W251HUQ. I was told that if I supply you qith some information you could make me a DSDT? :blink:

send me files
http://www.insanelym...p...st&id=81816

#5738
SweetzDesigns_Mac

SweetzDesigns_Mac

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hi Maldon,



I just run that little app that you just gave me, I've attatched it and thank you so so much for doing this for me and taking the time to help other people out. Means a lot =] ;)

Attached Files



#5739
Erdbeeere

Erdbeeere

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
Lenovo T510 with nVidia NVS 3100m:

: Processor
Intel Core i7 620M 2.66 GHz
:: Mainboard
Intel QM57 Express Chipset
:: Memory
4096 MB, DDR3 PC3-8500F (533 MHz)
:: Graphics adapter
NVIDIA NVS 3100M - 512 MB, Core: 606 MHz, Memory: 790 MHz, DDR3, nvlddmkm 8.16.11.8825 (ForceWare 188.25) / Win 7 64
:: Display
15.6 inch 16:9, 1600x900 pixel, LEN40B1, LP156WD1-TLB2, glossy: no
:: Harddisk
Seagate ST9320423AS, 320GB 7200rpm
:: Soundcard
Conexant Cx20585
:: Connections
1 Express Card 34mm, 4 USB 2.0, 1 Firewire, 1 VGA, 1 DisplayPort, 1 Modem, 1 Kensington Lock, 1 eSata, 1 Docking Station Port, Audio Connections: Combo audio socket, Card Reader: 5-in-1, USB/eSATA combo
:: Networking
Intel 82577LM Gigabit Network Connection (10/100/1000MBit), Intel Centrino Ultimate-N 6300 AGN (agn), 2.1 Bluetooth
:: Optical drive
HL-DT-ST DVDRAM GT30N
:: Size
height x width x depth (in mm): 40 x 373 x 279
:: Weight
2.81 kg Power Supply: 0.45 kg
:: Battery
94 Wh Lithium-Ion, 9 cell, 11.1 V, 8.4 Ah
:: Price
1800 Euro
:: Operating System
Microsoft Windows 7 Professional 64 Bit
:: Additional features
Webcam: 2.0 MP, Quick guide, troubleshooting, ThinkVantage Tools, Lenovo Online Data Backup, Burn.Now Lenovo Edition, InterVideo WinDVD, Corel Movie Factory 7, MS Office 2007 Trial, MS Research AutoCollage Touch 2009, MS SQL-Server 2005, 36 Months Warranty, eSATA + 1xUSB-2.0 sind als Kombi-Port realisiert; ein powered USB-2.0-Port


Thanks MaLd0n!

Attached File  send_me.zip   194.93KB   2 downloads

#5740
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,137 posts
  • Gender:Male
  • Location:Rio de Janeiro

Hi Maldon,



I just run that little app that you just gave me, I've attatched it and thank you so so much for doing this for me and taking the time to help other people out. Means a lot =] ;)

Attached File  dsdt.SweetzDesigns_Mac.zip   12.92KB   10 downloads

Lenovo T510 with nVidia NVS 3100m:


Thanks MaLd0n!

Attached File  send_me.zip   194.93KB   2 downloads

Attached File  dsdt.Erdbeeere.zip   26.46KB   4 downloads





Also tagged with one or more of these keywords: DSDT, patcher


1 user(s) are reading this topic

0 members, 1 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