InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 09-02-2009, 10:33 AM
kDawg kDawg is offline
Puma
 
Join Date: Feb 2009
Posts: 25
DSDT editing tips

EDITING
I wanted to share a DSDT editing tip with everyone. Since these files are thousands of lines long it drives me crazy trying to edit everything. BareBones software makes BBEdit. You can download a free 30 day trial so get all your DSDT editing done in 30 days.
http://www.barebones.com/products/bbedit/

This app lets you "fold" sections of code so what you end up with is a very readable file when completely folded.

Open your DSDT.dsl file in the menu goto Edit>Text Options

Select the ActionScript profile because the DSDT closely resembles AS. Don't worry it won't affect your file or change the extension on you. This is strictly for syntax coloring and folding.
prefs.jpg

Folded:
folded.jpg

Unfolded:
unfolded.jpg

NICE! Now can actually start to see the hierarchy this way. If only the free TextWrangler offered folding. Can't have everything. I'll expand this thread with other tips I've found helpful. Such as finding any PCI address with gfxutil, the references I use and more.

COMPARING DSDTs
BBEdit has a built in compare feature. You can access it via contextual menu:
contextual compare.png

Or via search menu:
menu.jpg

Another great FREE compare utility is called DiffMerge. This does a better job at comparing two or more documents at the same time but since the majority of my time is spent in BBEdit I just use BBEdit's built in feature.
http://www.sourcegear.com/diffmerge/


Last edited by kDawg; 09-02-2009 at 12:39 PM.
Reply With Quote
  #2  
Old 09-04-2009, 10:55 AM
EnzoFX's Avatar
EnzoFX EnzoFX is offline
Puma
 
Join Date: Sep 2009
Posts: 19
In BIOS, I disable all legacy ports, i.e. printer, serial, ps/2, etc. But my dsdt.aml file has them all included. Could this cause some sort of conflict?

Maybe I should edit my dsdt with those things off, but the thought of going through that thing and being ever so careful still seems daunting... Thanks for the tip however.
Reply With Quote
  #3  
Old 09-05-2009, 12:49 AM
kDawg kDawg is offline
Puma
 
Join Date: Feb 2009
Posts: 25
The DSDT is what it is. It wont change when you turn those settings off.
Reply With Quote
  #4  
Old 09-05-2009, 08:10 AM
Snow's Avatar
Snow Snow is offline
Tiger
 
Join Date: Jan 2008
Posts: 263
Thx for the info m8, I'll check them out!

Snow Leopard 10.6.7  Gigabyte GA-P35-DS3P  Intel Q6600 @ 3Ghz  Corsair CM2X2048-6400DHX  Gigabyte HD5770 Silent Cell  Samsung SyncMaster 2494SW  ALC889a  Creative T5400 5.1  Maxtor 380215AS  Pioneer DVR-215D  Presonus Inspire 1394  KRK Rokit 5  Wacom Bamboo One 
 SL USB Guide => http://www.infinitemac.com/f57/guide...k-drive-t3705/ 
Reply With Quote
  #5  
Old 09-26-2009, 10:45 PM
EnzoFX's Avatar
EnzoFX EnzoFX is offline
Puma
 
Join Date: Sep 2009
Posts: 19
Any tips on how to remove my injected GFX from my dsdt? I want to switch back to EFI string for GFX, seeing as it might fix a graphical lag issue I have with Spaces related animations. (Though it might be OS X, or maybe my card "incompatibility"?)
Reply With Quote
Reply