Jump to content

DSDT Patch needed - Detect display is an original iMac display


Hameer Abbasi
 Share

4 posts in this topic

Recommended Posts

I need a basic guide/directions on how to patch my DSDT so my display is detected as an original iMac 12,1 display screen. I know I'll have to put something in the GFX0 portion here, but I'm not sure exactly what:

		    Device (GFX0)
		    {
			    Name (_ADR, Zero)
			    Name (_SUN, One)
			    Method (_DSM, 4, NotSerialized)
			    {
				    Store (Package (0x1E)
					    {
						    "AAPL,slot-name",
						    "PCI x16",
						    "@0,compatible",
						    Buffer (0x0B)
						    {
							    "NVDA,NVMac"
						    },
						    "@0,connector-type",
						    Buffer (0x04)
						    {
							    0x00, 0x08, 0x00, 0x00
						    },
						    "@0,device_type",
						    Buffer (0x08)
						    {
							    "display"
						    },
						    "@0,name",
						    Buffer (0x0F)
						    {
							    "NVDA,Display-A"
						    },
						    "@1,compatible",
						    Buffer (0x0B)
						    {
							    "NVDA,NVMac"
						    },
						    "@1,connector-type",
						    Buffer (0x04)
						    {
							    0x00, 0x08, 0x00, 0x00
						    },
						    "@1,device_type",
						    Buffer (0x08)
						    {
							    "display"
						    },
						    "@1,name",
						    Buffer (0x0F)
						    {
							    "NVDA,Display-B"
						    },
						    "NVCAP",
						    Buffer (0x18)
						    {
							    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
							    /* 0008 */    0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A,
							    /* 0010 */    0x00, 0x00, 0x00, 0x00
						    },
						    "VRAM,totalsize",
						    Buffer (0x04)
						    {
							    0x00, 0x00, 0x00, 0x80
						    },
						    "device_type",
						    Buffer (0x0C)
						    {
							    "NVDA,Parent"
						    },
						    "model",
						    Buffer (0x13)
						    {
							    "GeForce GTX 550 Ti"
						    },
						    "rom-revision",
						    Buffer (0x0F)
						    {
							    "70.26.29.00.54"
						    },
						    "hda-gfx",
						    Buffer (0x0A)
						    {
							    "onboard-1"
						    }
					    }, Local0)
				    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				    Return (Local0)
			    }
		    }

Anyone help me with this?

Link to comment
Share on other sites

I see no advantage of your intention. As you might change the display i would not do this via dsdt. I would just create a folder and file at /System/Library/Displays/Overrides to change the Display name.

Link to comment
Share on other sites

Use this guide as reference: http://www.insanelymac.com/forum/index.php?showtopic=208410

Eddit the file to match your display and set your wanted name:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	 <key>DisplayProductID</key>
	 <integer></integer>
	 <key>DisplayProductName</key>
	 <string></string>
	 <key>DisplayVendorID</key>
	 <integer></integer>
	 </dict>
</plist>

Link to comment
Share on other sites

 Share

×
×
  • Create New...