Jump to content

DSDT/SSDT editing questions - HP Pavilion P6230it


Glaedr
 Share

23 posts in this topic

Recommended Posts

Hello everybody,

My machine is a HP Pavilion P6230it with the addition of a TP-LINK TG-3468 LAN interface, and I'm running OS X 10.9.3. I'm approaching DSDT and SSDT editing in order to get as many features as possible to work natively without the need of patched kexts of sort. As of my understandment of the practice its two goals are:

1 - To update the code so that it matches the latest iASL compiler syntax and standars.

2 - To modify the names and specifications of listed devices to match the names that the system natively expects to find.

Still I can't find an exhaustive list of global or common modifications, providing explanations so that I understand what I'm turning into what and why. For example, I'm trying to get the devices to match those contained into the iMac11,1, which seems to me close enough to my machine. In a previous attempt to edit AGPM.kext to set better fitting thresholds I found that the graphic device is listed as GFX0:

post-547006-0-09337000-1402568858_thumb.png

Which leads me into thinking that's the name given by Apple to graphic devices at least in this Mac. In my current DSDT the graphic device is also listed as GFX0, does this mean I should leave it as it is for the OS to find it? Am I getting this right?

Thanks in advance.

Link to comment
Share on other sites

Hello everybody,

My machine is a HP Pavilion P6230it with the addition of a TP-LINK TG-3468 LAN interface, and I'm running OS X 10.9.3. I'm approaching DSDT and SSDT editing in order to get as many features as possible to work natively without the need of patched kexts of sort. As of my understandment of the practice its two goals are:

1 - To update the code so that it matches the latest iASL compiler syntax and standars.

2 - To modify the names and specifications of listed devices to match the names that the system natively expects to find.

Still I can't find an exhaustive list of global or common modifications, providing explanations so that I understand what I'm turning into what and why. For example, I'm trying to get the devices to match those contained into the iMac11,1, which seems to me close enough to my machine. In a previous attempt to edit AGPM.kext to set better fitting thresholds I found that the graphic device is listed as GFX0:

attachicon.gifSchermata 2014-06-12 alle 12.24.28.png

Which leads me into thinking that's the name given by Apple to graphic devices at least in this Mac. In my current DSDT the graphic device is also listed as GFX0, does this mean I should leave it as it is for the OS to find it? Am I getting this right?

Thanks in advance.

On Macs, GFX0 is for discrete card and IGPU is for Intel integrated.

Link to comment
Share on other sites

So what should I do with it now, should I leave the section as it is?

Not enough information as you don't provide detailed specs on your computer.

 

If you have Intel integrated graphics, then generally you rename GFX0 to IGPU in DSDT/SSDTs.

Link to comment
Share on other sites

Not enough information as you don't provide detailed specs on your computer.

 

If you have Intel integrated graphics, then generally you rename GFX0 to IGPU in DSDT/SSDTs.

Sorry, I assumed you would rather check the detailed specs yourself by searching the PC model. It is a MSi GeForce GT 220.
Link to comment
Share on other sites

Sorry, I assumed you would rather check the detailed specs yourself by searching the PC model. It is a MSi GeForce GT 220.

No, I'll let you check the specs yourself. You have the machine, right?

  • Like 1
Link to comment
Share on other sites

I mean, having a discrete NVidia card, should I edit something? What could I need to modify?

Discrete cards in PC DSDT are usually under PEG0.PEGP (not GFX0).

 

Look in ioreg to verify (use IORegistryExplorer).

Link to comment
Share on other sites

The DSDT

As long as you didn't have a patched DSDT installed at the time of extract under OSX and are using no Clover "auto patches" for DSDT, the DSDT you get is the same as if you extracted on Linux or Windows. It is not possible to extract native DSDT under OS X if the bootloader is providing a replacement.

Link to comment
Share on other sites

As long as you didn't have a patched DSDT installed at the time of extract under OSX and are using no Clover "auto patches" for DSDT, the DSDT you get is the same as if you extracted on Linux or Windows. It is not possible to extract native DSDT under OS X if the bootloader is providing a replacement.

 

Well I'm booting with Chameleon and I made sure to delete any ACPI table and reboot before extracting it. Anyway, this is what I get:

post-547006-0-58577600-1402586756_thumb.png

I compiled the DSDT and put it in /Extra, made sure it was loaded by checking bdmesg after reboot, but I get this error during boot:

[AGPM Controller] unknownPlatform

This post suggests that the names of the devices don't match.

As I said before, my SMBios is iMac11,1 and thus AGPM.kext should be looking for a device named GFX0, which as you can see the DSDT is providing. Where am I wrong?

Link to comment
Share on other sites

So should I rename it to IGPU (just for the sake of it) and look it out in my SSDTs?

Your real focus is on renaming the discrete object to GFX0. Of course, to be able to do that, you'll need to rename your existing GFX0 (which is your integrated device) to something else. IGPU is a good choice.

Link to comment
Share on other sites

Your real focus is on renaming the discrete object to GFX0. Of course, to be able to do that, you'll need to rename your existing GFX0 (which is your integrated device) to something else. IGPU is a good choice.

How do I tell if the device I find is the discreet card or the integrated one? 

Link to comment
Share on other sites

How do I tell if the device I find is the discreet card or the integrated one?

How do I tell if the device I find is the discreet card or the integrated one?

You said you only had discrete (nvidia). Is that not the case?

 

As far as DSDT, GFX0 is integrated. Discrete will be something like PEGP or DGFX...

Link to comment
Share on other sites

You said you only had discrete (nvidia). Is that not the case?

 

As far as DSDT, GFX0 is integrated. Discrete will be something like PEGP or DGFX...

Yes but my question was about the DSDT. How could you tell that code I posted was describing an integrated card?

Link to comment
Share on other sites

Yes but my question was about the DSDT. How could you tell that code I posted was describing an integrated card?

0x20000 is always memory address for integrated graphics. IGDM probably stands for Integrated Graphics Device Memory.

 

The ACPI definitions for your discrete card will be in one of the SSDTs.

Link to comment
Share on other sites

0x20000 is always memory address for integrated graphics. IGDM probably stands for Integrated Graphics Device Memory.

 

The ACPI definitions for your discrete card will be in one of the SSDTs.

So what text should I look for in my SSDT?
Link to comment
Share on other sites

 Share

×
×
  • Create New...