- Joined
- May 12, 2011
- Messages
- 13
- Motherboard
- Asus Desktop
- CPU
- Core 2 Duo E6550
- Graphics
- NV 9600GT
- Mac
- Classic Mac
- Mobile Phone
CHECK BELOW FOR GUIDE FOR WORKING HDMI and LVDS
Hi Everybody!
I finally managed to get the display working on my Toshiba Portege R835-P56X
I have an Intel Core i5-2410 with Intel HD Graphics 3000
Here is my laptop:
OSX_LVDS_working_4.jpg
Sysinfo:
OSX_LVDS_working_3.jpg
Now here come the details:
First of all I would like to point out that the work is not finished. You get LVDS with full QE/CI, but there are still bugs in the DSDT that I haven't had time to remove and cause the HDMI to have wrong EDID.
I started working with a MacBook Air 4,1 smbios as this has the same resolution as my Toshiba.
I added the following code to my DSDT.
To the beginning:
Code:
Method (DTGP, 5, NotSerialized)
{
If (LEqual (Arg0, Buffer (0x10)
{
/* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
/* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
}))
{
If (LEqual (Arg1, One))
{
If (LEqual (Arg2, Zero))
{
Store (Buffer (One)
{
0x03
}, Arg4)
Return (One)
}
If (LEqual (Arg2, One))
{
Return (One)
}
}
}
Store (Buffer (One)
{
0x00
}, Arg4)
Return (Zero)
}
and to the GFX0 device:
Code:
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x28)
{
"device_type",
Buffer (0x08)
{
"display"
},
"model",
Buffer (0x13)
{
"Intel HD Graphics 3000"
},
"built-in",
Buffer (One)
{
0x01
},
"device-id",
Buffer (0x04)
{
0x16, 0x01, 0x00, 0x00
},
"AAPL,backlightRestore",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,HasLid",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,HasPanel",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,NumDisplays",
Buffer (0x04)
{
0x04, 0x00, 0x00, 0x00
},
"AAPL,NumFramebuffers",
Buffer (0x04)
{
0x02, 0x00, 0x00, 0x00
},
"AAPL,SelfRefreshSupported",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,aux-power-connected",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,backlight-control",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL00,blackscreen-preferences",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x08
},
"AAPL01,BacklightIntensity",
Unicode ("d"),
"AAPL01,blackscreen-preferences",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x08
},
"AAPL01,BootDisplay",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL01,DualLink",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL00,DualLink",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"@0,override-no-edid",
Buffer (0x80)
{
/* 0000 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
/* 0008 */ 0x51, 0xF3, 0x91, 0x50, 0x04, 0x00, 0x00, 0x00,
/* 0010 */ 0x0E, 0x10, 0x01, 0x03, 0x80, 0x1D, 0x11, 0xFF,
/* 0018 */ 0x2F, 0x00, 0x00, 0xA0, 0x57, 0x49, 0x9B, 0x26,
/* 0020 */ 0x10, 0x48, 0x4F, 0x00, 0x00, 0x00, 0x01, 0x01,
/* 0028 */ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
/* 0030 */ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xC6, 0x1D,
/* 0038 */ 0x56, 0x02, 0x51, 0x00, 0x0C, 0x30, 0x22, 0x70,
/* 0040 */ 0x12, 0x00, 0x27, 0xA6, 0x10, 0x00, 0x00, 0x18,
/* 0048 */ 0xDA, 0x13, 0x56, 0x02, 0x51, 0x00, 0x0C, 0x30,
/* 0050 */ 0x22, 0x70, 0x12, 0x00, 0x27, 0xA6, 0x10, 0x00,
/* 0058 */ 0x00, 0x18, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x49,
/* 0060 */ 0x6E, 0x74, 0x65, 0x72, 0x6E, 0x61, 0x6C, 0x20,
/* 0068 */ 0x4C, 0x43, 0x44, 0x0A, 0x00, 0x00, 0x00, 0xFD,
/* 0070 */ 0x00, 0x00, 0x3C, 0x00, 0x3D, 0x08, 0x00, 0x00,
/* 0078 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA7
},
"AAPL01,override-no-edid",
Buffer (0x80)
{
/* 0000 */ 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
/* 0008 */ 0x51, 0xF3, 0x91, 0x50, 0x04, 0x00, 0x00, 0x00,
/* 0010 */ 0x0E, 0x10, 0x01, 0x03, 0x80, 0x1D, 0x11, 0xFF,
/* 0018 */ 0x2F, 0x00, 0x00, 0xA0, 0x57, 0x49, 0x9B, 0x26,
/* 0020 */ 0x10, 0x48, 0x4F, 0x00, 0x00, 0x00, 0x01, 0x01,
/* 0028 */ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
/* 0030 */ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xC6, 0x1D,
/* 0038 */ 0x56, 0x02, 0x51, 0x00, 0x0C, 0x30, 0x22, 0x70,
/* 0040 */ 0x12, 0x00, 0x27, 0xA6, 0x10, 0x00, 0x00, 0x18,
/* 0048 */ 0xDA, 0x13, 0x56, 0x02, 0x51, 0x00, 0x0C, 0x30,
/* 0050 */ 0x22, 0x70, 0x12, 0x00, 0x27, 0xA6, 0x10, 0x00,
/* 0058 */ 0x00, 0x18, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x49,
/* 0060 */ 0x6E, 0x74, 0x65, 0x72, 0x6E, 0x61, 0x6C, 0x20,
/* 0068 */ 0x4C, 0x43, 0x44, 0x0A, 0x00, 0x00, 0x00, 0xFD,
/* 0070 */ 0x00, 0x00, 0x3C, 0x00, 0x3D, 0x08, 0x00, 0x00,
/* 0078 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA7
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
Now as you can see the code contains two EDID overrides because at the beginning this was the only way to get a recognized LVDS. As this is a work in progress I hope I can remove one of them and get the HDMI back. (I will work on it some more after my phd )
If we include an AAPL01, DisplayConfig key, the screen is recognized as built-in, but not one but two built-in screens are "recognized". I don't currently know what the values mean and I need help to find out. Also most of the code in the GFX0 section is not working yet, or maybe not needed at all.
I will work on it some next week. Until then anybody with time can experiment with it. And please share your findings.
Oliver
PS. in the zip file is my dsdt, smbios and boot plist