Jump to content
oldnapalm

DSDT editor and patcher

Recommended Posts

i have installed Mac OS X (IATKOS L2), i have no problem (almost!!) with my hardware, except for video, this is a GMA950 :


Chipset Model: Desktop GMA950

Type: GPU

Bus: Built-In

VRAM (Total): 64 MB of Shared System Memory

Vendor: Intel (0x8086)

Device ID: 0x2772

Revision ID: 0x0002

Kernel Extension Info: No Kext Loaded

Displays:

Display:

Resolution: 1024 x 768

Pixel Depth: 32-Bit Color (ARGB8888)

Main Display: Yes

Mirror: Off

Online: Yes

But i cant see my monitor native resolution, i probe many kexts(in 10.6.3, have native resolution), but none make it work, my question is. what type of patch i need, to avoid problems. Because Kexts dont work

this is because need 32 bits mode, but in this mode the display show a white or a mouse pointer only dont show a desktop.

System Profile

C2D 1.8 Ghz.

4 Gb (667Mhz) DDR2

GMA 950(2772)

Display = HP w1907

motherboard > Asus Leonite (hp 8050LA)

Thanks for the help in advance...

HP Media Center 8050LA

C2D 1.8 Ghz

4 Gb RAM (4 x1gb)

WD Caviar Blue (80GB), WD Green (160Gb), Matrix Storage (80 Gb) Samsung (500G)

DVD-RW

GMA950 (2772)

ALC888

Ralink 3070

Iatkos L2 / Mint Debian / One Disk to Play with OS

Link to comment
Share on other sites

Apply the patches "GMA950 desktop" and "DTGP" http://Olarila.com/forum/viewtopic.php?f=19&t=634


Put DSDT.aml in /Extra.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

there are error of the compilation, can you help me ..

i save the text.. on the attachment.. thanks in advance

Untitled.tiff

dsdt.aml.zip

HP Media Center 8050LA

C2D 1.8 Ghz

4 Gb RAM (4 x1gb)

WD Caviar Blue (80GB), WD Green (160Gb), Matrix Storage (80 Gb) Samsung (500G)

DVD-RW

GMA950 (2772)

ALC888

Ralink 3070

Iatkos L2 / Mint Debian / One Disk to Play with OS

Link to comment
Share on other sites

I put the File in Extras and rebooted but show only a KP

photos:

"Unable to find a Driver for this platform"

52B09CCABB754B0E992C4DAD79571F0C-0000342120-0002871180-00800L-220833906958415F83B10D312DE87881.jpg

A4B9D50E637A4842AE1849F204477EB2-0000342120-0002871176-00800L-73A6D74733354E168BC7D289071E635C.jpg

E801D274D0E3444291AC356739586BCB-0000342120-0002871178-00800L-FEAB12EAB8D34AB4820B4471E0859761.jpg

i need to enter a Live CD to delete the file to gain access .

ay solution.

Note: sorry for the bad pics...

HP Media Center 8050LA

C2D 1.8 Ghz

4 Gb RAM (4 x1gb)

WD Caviar Blue (80GB), WD Green (160Gb), Matrix Storage (80 Gb) Samsung (500G)

DVD-RW

GMA950 (2772)

ALC888

Ralink 3070

Iatkos L2 / Mint Debian / One Disk to Play with OS

Link to comment
Share on other sites

Watch the video to see how to apply patches.


You can't use "save DSL" and save with .aml extension, you must compile and use "IASL - save AML".

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

ok.. sorry

i save it (twice)... one for post here and one to put in extras

but i put in extras that one isn't compiled sorry... but THANKS!!

is now with my resolution

and again thanks...

screenshot.png.4a39962ac1e5e26efb764753138ab74d.png

HP Media Center 8050LA

C2D 1.8 Ghz

4 Gb RAM (4 x1gb)

WD Caviar Blue (80GB), WD Green (160Gb), Matrix Storage (80 Gb) Samsung (500G)

DVD-RW

GMA950 (2772)

ALC888

Ralink 3070

Iatkos L2 / Mint Debian / One Disk to Play with OS

Link to comment
Share on other sites

Here's my Spech:

GA990FXA-UD7

Phenom II X6 1090T

Gygabite 6850 OC

16 GB Of RAM...


Sound sometime like freeze...anybody help me patch my mobo with DSDT


screenshot20120526at915.png

GA990FXA-UD7 | GIGABYTE GV-R685OC-1GD | Vengeance CML16GX3M4A1600C9B | AMD PHENOM X6 1090T | SEASONIC M12II-620Bronze

Link to comment
Share on other sites

Actually the boot loader (no matter if it's Chameleon or Chimera) loads the patched DSDT from file (dsdt.aml) and passes it to the OS, instead of passing the original DSDT from BIOS.


The needed patches depends on hardware, here are some examples

http://Olarila.com/Patches/

 

Hello Friend i have check out the patches url but could not find gigabyte g1. sniper m3 mobo. There is g1. sniper, will it work for my mobo.

For ref. of my mobo http://www.gigabyte.us/products/product-page.aspx?pid=4168&dl=#sp

Link to comment
Share on other sites

I'm wondering what method/command the DSDT editor use to extract the DSDT. It gives me a lot of errors and warnings.


As an alternative, I tried to obtain my DSDT through ioreg/terminal:

 

sudo perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

 

The terminal command gives me a cleaner DSDT (the same DSDT as Ubuntu gives me) with 0 warning and just 1 error:

 

Error 4095 -    ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK

 

Can someone clarify this to me?

I can do the DSDT editing in TextMate. I don't necessary need DSDT Editor.


Thank you!

Link to comment
Share on other sites

DSDT Editor extracts DSDT exactly the same way as the command you posted, from ioreg.


You can use any text editor and iasl command line tool to compile/decompile, you don't need to use DSDT Editor.


Once you fix the "one error" of your "cleaner DSDT" you will get all the same errors and warnings (unless you use older version of iasl, which doesn't show as many warnings and errors as the newer versions).

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Yes, sorry. You're perfectly right.

I built the latest iasl from sources (20121114) and I have 200 errors.


I have this code in my DSDT (HP 4540s laptop, i5, intel hd3000):

 

If (CondRefOf (FPED))
{
 FPED ()
}

 

I commented out the code:

 

// If (CondRefOf (FPED))
// {
//  FPED ()
//}

 

All 200 errors fixed. I'm wondering what does this FPED thing do.

Link to comment
Share on other sites

It's not FPED that causes the errors, but the IF. There can't be IF/ELSE directly inside a device, it must be inside a method. This syntax error causes all other errors.


The correct fix would be moving that code block into method _INI, which is called when the device is started.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Thank you so much! Should I insert the original code like this? :

Method (_INI, 0, NotSerialized)  // _INI: Initialize
{
   Store (0x01, INIM)
   DKET ()
   Store (\_SB.SBRC (), Local0)
   Or (Local0, 0x80000000, \_SB.PCI0.GFX0.BCLP)
   Store (0x00, WDSA)
   Store (0x00, WDST)
   Store (0x00, WDGN)
	If (CondRefOf (FPED))
   {
      FPED ()
   }
}

 

or just call the function directly without the conditional?

 

Method (_INI, 0, NotSerialized)  // _INI: Initialize
{
   Store (0x01, INIM)
   DKET ()
   Store (\_SB.SBRC (), Local0)
   Or (Local0, 0x80000000, \_SB.PCI0.GFX0.BCLP)
   Store (0x00, WDSA)
   Store (0x00, WDST)
   Store (0x00, WDGN)
   FPED ()    // <---- calling the function (IF REMOVED)
}

Link to comment
Share on other sites

Hello guys...


Need some help on making my bcm943224hmb working...

It's a wifi + bluetooth module...

For now, I'm using the DSDT.aml compiled by Maldon for scorpioserve from here : http://www.Olarila.com/forum/viewtopic.php?f=17&t=264#p2295

My card has Vendor ID : 14e4 Product ID : 4353 subsys vendor ID : 103c subsys product id : 1510...

I think the card has been succesfully identified as in my ioreg -l output :

ioreg.rar

but there is no wifi icon appears... When I tried to run assist me from Network, it says that my wifi is turned off and needs to be turned on... When I clicked at turn on, there is no wifi available listed... At least at my home, there is ONE that should be available...


So for now, I'm trying to inject Airport Extreme subsys vendor ID and product ID into the DSDT by using the information provided here : http://www.projectosx.com/forum/index.php?s=dd6109c56b71b3be298a95e635ce4228&showtopic=852&st=0&p=4241entry4241 and did like this :

into device name_adr 0x001C0000 insert
begin
Device (WLAN)\n
{\n
   Name (_ADR, 0x00)\n
   Method (_DSM, 4, NotSerialized)\n
   {\n
       Store (Package ()\n
           {\n
               "AAPL,slot-name", \n
               Buffer (0x08)\n
               {\n
                   "AirPort"\n
               }, \n
               "device_type", \n
               Buffer (0x08)\n
               {\n
                   "AirPort"\n
               }, \n
               "model", \n
               Buffer (0x29)\n
               {\n
                   "Broadcom 802.11 a/b/g/n Wireless Adapter"\n
               }, \n
               "subsystem-id", \n
               Buffer (0x04)\n
               {\n
                   0xE9, 0x00, 0x00, 0x00\n
               }, \n
               "subsystem-vendor-id", \n
               Buffer (0x04)\n
               {\n
                   0x6B, 0x10, 0x00, 0x00\n
               }\n
           }, Local0)\n
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
       Return (Local0)\n
   }\n
}
end

and the result is just the same as before...

Do I need to put extra method or something like _PRW? Or changing the code? Any helps? Ehehehe :D

OSX Mountain Lion : 10.8.2

HP Envy 17

1.60 GHz Intel Core i7-720QM

8GB DDR3 RAM

2TB HDD (2x1TB)

ATI Mobility Radeon HD 5850

43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)

Link to comment
Share on other sites

Hey Guys;


Im new on the hacintosh. So can anyone tell me how can i make my own dsdt file?

My laptop is toshiba Satellite Pro C850-128 ?


I look at the compatibilty with Kexts.Jar. It's showing me working, expect wireless. It doesnt matter wireless.


I want to start with install. Can someone help me for make dsdt files?

1.thumb.JPG.364e918b928827c4c1ee124d6921e755.JPG

Link to comment
Share on other sites

You don't need a patched DSDT to install OS X.


You may need it after installing to get some things working or to fix issues. Read http://Olarila.com/forum/viewtopic.php?f=19&t=634

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

This is not an error, it's a normal message.


Open a new topic, post a picture of the screen and a description of your installation method.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...