InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 08-02-2009, 06:57 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
Beware using other people's DSDT

Many newbies don't understand that you shouldn't be using DSDT's generated on other people's computers. I think everyone knows by now that you shouldn't use one from a different make and model, but many noobs assume that one generated on the same make/model is okay.

It ain't.

A DSDT can be very system specific. For example, my DSDT has this code:

Code:
OperationRegion (GNVS, SystemMemory, 0x7F697DBC, 0x0100)
But another one (also with 2GB) has this:

Code:
OperationRegion (BIOS, SystemMemory, 0x7F7AE064, 0xFF)
While one with 1GB may have this:

Code:
OperationRegion (BIOS, SystemMemory, 0x3F7AE064, 0xFF)
If you use one with an incorrect memory specification, you could get all sorts of strange symptoms.

So don't share needles, err... DSDT files. Make your own.

-u

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #2  
Old 08-03-2009, 02:33 PM
Gurruwiwi Gurruwiwi is offline
Tiger
 
Join Date: Jun 2009
Posts: 306
hahahah !!

Got a great laugh out of that last liner!

But so true...

_____________________________________________

Acer 6936g 864G32mn [@ Snow Leopard 10.6.1 32/64bit
C2D 2,4Ghz 4Gb 1066mhz DDR3 9600m GT 512 GDDR3

___Snow Leopard tutorial -> http://www.infinitemac.com/f57/guide...ted-for-t4183/
_________Leopard
tutorial ->http://www.infinitemac.com/f19/guide...-iatkos-t3357/
Reply With Quote
  #3  
Old 08-04-2009, 02:57 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
Thanks. I hope that over time this subforum can be a good repository of DSDT tips & tricks. We should also think about pulling out individual bits (like some of candycane's posts) into individual posts with relevant titles and tags...

-u

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #4  
Old 08-04-2009, 06:16 PM
DocShadow's Avatar
DocShadow DocShadow is offline
Panther
 
Join Date: May 2009
Location: Ottawa, ON, Canada
Posts: 106
So .. are you implying that anytime I change my system hardware I should remake the DSDT or are there only certain hardware changes that affect the file?

Thanks

Gigabyte EX58-UD5 - i7 920 @ 3.2 GHx - eVGA 8800GT
Asus P5Q Deluxe - E8400 @ 3.6 GHz - Asus 7900GT
iMac 2.2 GHz - 4 MB
Reply With Quote
  #5  
Old 08-05-2009, 05:54 PM
uman uman is offline
Panther
 
Join Date: May 2009
Location: USA
Posts: 103
I'm not sure about other types of changes. But if you change the amount of RAM installed, you should remake the DSDT.

Whether you need to do it for things changes to audio, graphics, firewire, etc., will depend on whether you have customized your DSDT to support audio, graphics, firewire etc in some way.

If you don't have extensive customizations to your DSDT then I doubt very much that changing your hard disk, graphics card or audio card, etc., will change your DSDT.

But it's a testable hypothesis. Save your old DSDT.dsl file, and then generate a new one after installing your hardware. Diff the two (if you have Xcode installed, you can use opendif from the Terminal) and see if there's any changes.

If you do find changes, post back here so we can all learn some more mystic DSDT tricks...

-u


Quote:
Originally Posted by DocShadow View Post
So .. are you implying that anytime I change my system hardware I should remake the DSDT or are there only certain hardware changes that affect the file?

Thanks

--
MacBook Pro - have allergy to nickel in the aluminum casing. So my kid gets an expensive toy!

Gateway MX 8738 - Retail, vanilla Snow Leopard 10.6.2 (thanks kizwan!) with Chameleon RC4, modified DSDT. Upgraded to Core 2 CPU (easy to do). Upgraded to 640GB drive. Everything but SD card working. Minor niggles. GMA950 with QE/CI and *no* artifacts.

iMac (luxo/lamp) G4 with Tiger.
Reply With Quote
  #6  
Old 08-05-2009, 06:59 PM
DocShadow's Avatar
DocShadow DocShadow is offline
Panther
 
Join Date: May 2009
Location: Ottawa, ON, Canada
Posts: 106
I just updated my BIOS and made a new DSDT file so I'll practice on that.

Gigabyte EX58-UD5 - i7 920 @ 3.2 GHx - eVGA 8800GT
Asus P5Q Deluxe - E8400 @ 3.6 GHz - Asus 7900GT
iMac 2.2 GHz - 4 MB
Reply With Quote
  #7  
Old 04-01-2010, 04:30 PM
adriangb adriangb is offline
Jaguar
 
Join Date: Jan 2010
Posts: 95
Thank's for the tip. I had been thinking lately that there must be some difference in system's DSDT's (I even read about the RAM one somewhere, but I wasn't sure until I read this, I guess that means I'm still a noob).
It would be nice to have a thread with all those obvious assumptions that noobs not unlike me always make, and are incorrect.
@ DocShadow: I'm pretty sure that SATA info for the drives is on a other table, I remember seeing some SATA code on an SSDT (not the same one that had the CUP0CST etc), It might be that...

Last edited by adriangb; 04-01-2010 at 04:32 PM.
Reply With Quote
  #8  
Old 05-04-2010, 09:44 PM
artimess artimess is offline
Cheetah
 
Join Date: Jul 2009
Posts: 2
Quote:
Originally Posted by uman View Post
Many newbies don't understand that you shouldn't be using DSDT's generated on other people's computers. I think everyone knows by now that you shouldn't use one from a different make and model, but many noobs assume that one generated on the same make/model is okay.

It ain't.

A DSDT can be very system specific. For example, my DSDT has this code:

Code:
OperationRegion (GNVS, SystemMemory, 0x7F697DBC, 0x0100)
But another one (also with 2GB) has this:

Code:
OperationRegion (BIOS, SystemMemory, 0x7F7AE064, 0xFF)
While one with 1GB may have this:

Code:
OperationRegion (BIOS, SystemMemory, 0x3F7AE064, 0xFF)
If you use one with an incorrect memory specification, you could get all sorts of strange symptoms.

So don't share needles, err... DSDT files. Make your own.

-u
Could you please explain to me where those hex numbers are coming from and where, which book or source one can find them. I am not only talking about systemMemory, but there others in any DSDT with some sort of hex addresses.

Thanks
Artimess
Reply With Quote
  #9  
Old 05-18-2010, 05:22 PM
Drule Drule is offline
Puma
 
Join Date: May 2010
Posts: 16
I created my first DSDT file from Windows, using DSDTse for Win, while I still had AHCI disabled. Then after enabling AHCI, disabling the serial and parallel ports in the BIOS, plugging in and turning on all eSata drives I generated another DSDT.dsl from Windows. As I don't have Xcode installed, I can't diff them, but if you like I can upload both DSDT.dsl files (or attach them to a post) if they would be of any use to the pros ....



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply