Jump to content

DSDT editor and patcher


oldnapalm
 Share

999 posts in this topic

Recommended Posts

Hey MaLd0n, oSxFr33k was kind enough to help out with a few things, he also said that you might be able to help out create a DSDT file for my Asus G74SX-BBK7.

It'll be really cool if you could. Please!!

 

Just follow the link that oldnapalm posted above. DOwnload that entire zip file your Asus will be there. Then use the DSDT editor from here, the first post on this thread to patch your own virgin DSDT.

 

WHat is also tricky is you have to make sure you already have a virgin DSDT either by booting into a live linux CD or booting into Leopard/Snow/Lion without DSDT already loaded. That is the tricky part the rest is easy.

 

I have not seen a really good step step guide on how to do this. Maybe here and there but never an all inclusive with all the optional ways tutorial that I have ever seen yet.

 

You could get a virgin DSDT from someone who has the EXACT I mean EXACT laptop as yours Model for Model and Hardware for Hardware. Even the kind of memory and amount of memory can make some small differences.

 

Your last resort would be to grab it from where I told you before tonymac DSDT database and take your chances. I personally prefer the one MaLd0n prepared for me.

 

I am not near my laptop but I will PM you sometime this weekend and attach it but I would suggest you not use it. I have 16GB samsung memory in mine and mine is the XT1. The one from Best Buy or Tiger Direct (CompUSA) have a different graphic card and monitor.

 

@oldnapalm,

 

Is there a link to download all the patches in one Zip or RAR file?

 

Thanks

Link to comment
Share on other sites

hi oldnapalm

 

i want to do some work for my nvidia card optimus one

 

so to switch on or off the card i must copy some methods form ssdt of optimus table

rom , ps0 , ps3 , on , off

 

this my working dsdt DSDT.aml.zip

 

and this the ssdt table that i want to copy from it some methods that needed on switching card SSDT-4.aml.zip

 

and here i copied the five methods to the end of dsdt on alone scope to ignore some problems

DSDT.dsl.zip

but there are to errors while compiling about this two lines

 

    OperationRegion (BPCI, SystemMemory, EBAS (0x1000), Field (BPCI, ByteAcc, NoLock, Preserve)


    OperationRegion (BPC1, SystemMemory, EBAS (0x2000), Field (BPC1, ByteAcc, NoLock, Preserve)

 

can you please compile it for me :)

Link to comment
Share on other sites

I want to download all the patches as one big file rather than downloaded each individually. I would like to have them as reference or use if I ever get that hardware be able to have it conveniently tucked away for future referral rather than downloaded each when needed. WHo knows how long they will be available is the other reason.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Hi

 

I'm a complete noob when it comes to DSDTs.

 

I've got an Acer 6930g which I can get to 10.6.7 and run nice and stable. But obviously that's not enough - I want Lion!

 

Now a very helpful chap called Marchrius (over at http://hackbookpro.altervista.org/en/) has managed to get Lion running with the wifi working and everything. The main turn off for me using mine with SL is I've always had to use a wifi dongle which is just a pain. I've got a Broadcom BCM94321 card apple branded so I know it's Airport capable. I've also installed a bluetooth module into my laptop.

 

Whenever I try to install Lion and get errors relating to either bluetooth or airport, so I'm sure this can be worked around with a DSDT.

 

My questions, simply, are these;

 

1. If I use this thread's DSDT editor/patcher in Mac OSX to make a DSDT, it has no affect on the errors I receive, would making a DSDT in Linux change this since both wifi and bluetooth work using Ubuntu?

2. How the hell do I use the Linux version (or even the windows one, doesn't matter)? I just get a folder with files in it and don't know what I need to do to turn it into a running program.

 

Any help would be appreciated and free e-beers gladly bought :D

Link to comment
Share on other sites

Hi All, I’m in desperate need of a kext or DSDT for my Toshiba Satellite hackintosh. I am dual booting Mac OS X Snow Leopard 10.6.7 and Windows 7. On the hackintosh, I have it all working except a few things. To be specific my laptop is the Satellite L755-S5214. I can get internet through the Ethernet, but not through my WIFI adapter. Also, I can’t get sound, or the graphics card to work. I used ###### and installed the kexts, but still a no go on those particular things. Is there somewhere online where I could go when I’m on the hackintosh, plugged in to the Ethernet cable and have it recognize my hardware and find the right drivers/kext for them to work? Or do I have to do it through a customer DSDT? Can anyone help me here!?!? Also, one other issue, I can boot only with the ###### disk. If I take it out, I get stuck at the white apple screen. Thanks in advance for any help!!

 

All of what I know about my system:

Toshiba Satellite L755-S5214

Intel i3-2310M

4 GB DDR3 Ram

Intel Graphics card 3000

Realtek RTL8188CE Lan Wireless Card

Link to comment
Share on other sites

Please guys, no "please do it for me" posts in this topic.

 

Post here only if you wanna do it yourself and need help, or if you have questions/suggestions about DSDT Editor.

 

I sincerely hope my post wasn't misunderstood...I just want to know how to get the program working in Windows/Linux? I can't find an executable file that runs, just a load of different files. I'm sure it's something obvious but I'm afraid I don't have a clue! :|

Link to comment
Share on other sites

It doesn't matter which version you use, the result will be the same. What matters is the patching you do, not the OS where you are running the editor.

 

The multi-platform version has a .jar file, if you have Java installed, this file type should be associated with JRE.

Link to comment
Share on other sites

Hi there,

 

I installed OS 10.6 on an Advent 4213 netbook using NBI 0.84 RC1. I had problems upgrading to 10.6.8 mainly to do with the GMA950 IGP (see link). I was advised to patch the DSDT file.

 

I tried to manually add the GMA950 laptop patch with DSDTSE first, and I had 60+ errors. I'm trying now with DSDT editor under Windows. I used the auto-patch feature. When I compile the file the compiler shows 9 warnings and 1 error. Clicking on the 'Fix errors' button doesn't fix the error. Below is a list of the warnings and the error. What should I do to fix it?

 

Error message: Object does not exist (DGTP)

Warning 1: Not all control paths return a value (_DOD)

Warning 2: Reserved method must return a value (Package required for _DOD)

Warning 3 to 9: Possible operator timeout is ignored
Link to comment
Share on other sites

Apply the DTGP patch too.

Done

 

Thanks. I've applied all of the following patches:

 

GMA950_laptop

DTGP

RTC Fix

HPET Fix

New HPET

HDEF

PIC & TIMR devices (manual patch)

 

How do I know if this is enough or if I have to apply more patches?

Link to comment
Share on other sites

  • 3 weeks later...

There is a serious bug with this app.

 

If you inadvertently misplace a { or } and close the dsl document before fixing it you are royally screwed!

It will discard all code after the } which closes the definition block. Why the hell would you discard any code if it's in dsl form.

 

Just lost 5 days work I am fn fuming right now!

 

Is the source code for this app available?

Link to comment
Share on other sites

Hi, can anyone edit my dsdt for me?

I'm sort of a half-noob at it...I tried before and didn't get too far...

My motherboard is the Asus Rampage III Formula

 

I have tried using the auto patcher and it worked but not too well.

The hpet edits didn't help and I still needed the nullcpupowermanagment kext

Also the audio fix didn't work when I installed the ALC8xx kext (at the time I didn't try a rollback to 10.6.2 though)

Sleep still needed a sleep enabler, I don't know if thats how it always is...but I think its from the fact that the hpet

edits didn't work and I wasn't using the applecpupowermanagment kext and instead I was using nullcpupowermanagment

kext which, as I heard, kills native sleep...

 

Anyway, Is anyone here skilled enough to do a correct edit that would fix most of my issues so I can use less kexts?

I know I'm asking for a lot...but it would mean a lot for us rampage iii formula users...

 

I need the cmos reset fix, the reboot/shutdown fix, hda fix, sleep, hpet, and any other fixes that this mobo might need...

The sound chipset is ALC889, The lan controller is an Intel controller so I always use a kext for that...

 

So if anyone is able to do this nice thing and patch the dsdt for my board I would really appreciate it.

If anyone is willing to try, I can post a non-edited dsdt from my board.

Thanks.

Link to comment
Share on other sites

Ok sorry guys, never mind what I asked...I don't need any help anymore lol...

 

I just sat down again and figured it all out...

I now have a perfect dsdt system with correctly patched hpet and hdef...and native sleep!

Thanks to everyone who put work into developing the patches and the patcher itself! ;)

Link to comment
Share on other sites

Hi,

Before shutdown fix patch, my board shut down 1 out 10 times approximately.

and after patch shut down works very well.

I patched my board with gigabyte shutdown fix,although my board is evga x58.

because no other patches worked.

But now my power and hard disk LED light of my case never turns off.

Is there any fix for this?

Thanks

Link to comment
Share on other sites

Hello all anyone could help me build my DSDT???

ask for the information you need

 

Mynotebook is

 

Hp Pavillon DV6 6169sl CPU i7-2670QM @ 2.20GHz - Bios F1B

Schede Video Intel HD 3000 e ATI Radeon HD 6770M

Audio IDT High Definition

Ethernet Realtek PCIe

Wi-Fi Broadcom 4313

Link to comment
Share on other sites

Hi

I'm having a few problems with my advent 4213. I'm runing Win7 and Mac OS X 10.6.8 on it. The issue I'm having is when using the battery all of the following are off: webcam, WiFi, 3G, and bluetooth. To make the battery last longer, I think, the BIOS is set to turn them off when the AC adapter is unpluged. In Win 7 all I have to do is to use the right combination of Fn+Function key to switched them back. In Mac OS Fn+Function key does not work. I current work arround is to boot into Win7, switch them on, restart and then boot into make OS.

 

I'm wondering can I get Mac OS to switch them OS by editing my DSDT table?

 

Also, SleepEnabler for 10.6.8 doesn't seem to work on this netbook. When I put the netbook to sleep, the screen switches off for 1 or 2 seconds and then the netbook wakes. It doesn't freeze.

What part of the DSDT table I need to modify?

 

I doubt that there are any patches for this netbook, so I've to patch it myself. I hope I can get the necessary guidance to do it.

 

Thanks

 

Edit:

I reverted to an older version of the BIOS and everything is okay now.

Link to comment
Share on other sites

Message to El Coniglio,

 

Could you please release the source code so I other ppl can improve on it,

There is a FREAKING annoying bug that erases code because of a misplaced {, } OR {/*.

 

No matter how careful I am it still happens even if you get an error free AML compile prior to saving.

Or if you can fix it it would be perfect.

When there is an extra { or } on save it will discard all code after the { or }.

When adding comments and you type it like this {/*it also discards code on save but in a weird way. 

If you put the /* on a different line then it's ok.

 

To recap, an extra { or } and comments like this {/*  discards codes on save or when you do an update tree.

Link to comment
Share on other sites

Hey everybody,

 

I really am a noob at this hackintosh thing

 

I finally got snow leapord 10.6.3 Installed and every thing is working but my audio.

 

I went ahead and updated to 10.6.8, audio still doesn't work but now my internet stopped working too. So now I'm wondering if maybe a dsdt file would help.

 

Is it possible for anybody to take a look at my dsdt and patch it correctly because i have no idea how to do it?

My internet was working until i upgraded from 10.6.3 to 10.6.8

My system specs are:

 

Motherboard: GA-790FXTA-UD5

Processor: AMD Phenom II x4 965 Black Edition

Memory: 2 x 4 gb DDR3 1333 Corsair = 8 Gb total

Graphics: Radeon HD 5670

Audio: Realtec ALC889 codec

3 x Samsung spinpoint F3 1 Tb (1 drive each for Wn 7, Ubuntu 11.10, and Osx 10.6.8)

 

Thank you so much!!

 

send_me.zip

Link to comment
Share on other sites

hi oldnapalm i want to do some work for my nvidia card optimus one so to switch on or off the card i must copy some methods form ssdt of optimus table rom , ps0 , ps3 , on , off this my working dsdt DSDT.aml.zip and this the ssdt table that i want to copy from it some methods that needed on switching card SSDT-4.aml.zip and here i copied the five methods to the end of dsdt on alone scope to ignore some problems DSDT.dsl.zip but there are to errors while compiling about this two lines
 OperationRegion (BPCI, SystemMemory, EBAS (0x1000), Field (BPCI, ByteAcc, NoLock, Preserve) OperationRegion (BPC1, SystemMemory, EBAS (0x2000), Field (BPC1, ByteAcc, NoLock, Preserve) 

can you please compile it for me :)

 

Hi guys! I've just posted on http://www.projectosx.com forum (as Thrashaxe) - would appreciate if you could provide any feedback on it.

http://www.projectos...indpost&p=17573

 

I am copying this post here for ease of reference and responding! Thanks a lot in advance !!!!

 

Based on all the info contained in this topic - If my only goal for the video adapter card GT 525M (on Dell n5110) is to power the card down at start-up and make sure it does not power up when waking up from sleep - would doing the following be enough? (please give your advice).

 

1. Inserting this method into DSDT.dsl

 

Method (PINI, 0, NotSerialized)

{

\_SB.PCI0.PEG0.PEGP._ON ()

\_SB.PCI0.PEG0.PEGP._PS0 ()

}

 

2. Put PINI() at the beginning of the _WAK method and _INI method (the _INI within device PEG0).

 

3. Copy methods _PS0 and _ON from SSDT-4 and SGON from SSDT-3 to the end of my DSDT.dsl

 

4. Copy methods _PS3 and _OFF from SSDT-4 and SGOF from SSDT-3 to the end my DSDT.dsl

 

5. Hardcode LEqual parameters following the example shown by DoiX in this topic for the methods copied from SSDT-4 and SSDT-3 into my DSDT.dsl.

 

6.Compile and debug if there are any errors.

 

And please let me ask a few more questions:

1. What would be different if instead of the PINI above we used this?:

 

Method (PINI, 0, NotSerialized)

{

\_SB.PCI0.PEG0.PEGP._OFF ()

\_SB.PCI0.PEG0.PEGP._PS3 ()

}

 

2. Would it be sufficient to copy only _PS3 and _OFF from SSDT-4 and SGOF from SSDT-3 to DSDT.dsl if the only goal to have the card powered down at all times to avoid excessive battery drain and heat? It seems that methods _PS0 and _ON and SGON affect the “POWERED ON” state of the card’s power state (please correct me if I am wrong).

 

3. Is it ok to place _PS0, _ON, SGOF, _PS3, _OFF, SGON at the very end of DSDT – or they should be at the end of PEG0 section – or maybe some other specific place?

 

4. When querying functions in AIDA64 to determine the values that should be hardcoded – is using the “Quick query” button enough? Just use the value as it is provided as a result – e.g. 0x00000001 or whatever goes after ”0x”?

 

Many thanks in advance for your feedback and advice!!!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...