Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"AAPL,aux-power-connected", /*can be applied standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,backlight-control", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,BacklightMax", /*optional*/
Buffer (0x04)
{
0x64, 0x00, 0x00, 0x00
},
"AAPL,BacklightRestore", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,DisplayConfig", /*standard*/
Buffer (0x20)
{
/* 0000 */ 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
/* 0008 */ 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* 0010 */ 0x41, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* 0018 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
},
"AAPL,HasLid", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,HasPanel", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,NumDisplays", /*standard*/
Buffer (0x04)
{
0x04, 0x00, 0x00, 0x00
},
"AAPL,NumFramebuffers", /*standard*/
Buffer (0x04)
{
0x02, 0x00, 0x00, 0x00
},
"AAPL,SelfRefreshSupported", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL,slot-name", /*test*/
Buffer (0x09)
{
"Built-in"
},
"AAPL00,blackscreen-preferences", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x08
},
"AAPL01,BacklightIntensity", /*standard*/
Buffer (0x04)
{
0x64, 0x00, 0x00, 0x00
},
"AAPL01,blackscreen-preferences", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x08
},
/*
"AAPL01,BootDisplay", //this value never worked for me, scrambled screen
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
*/
"AAPL01,CurrentDisplay", /*standard and esential to properly load of X3100FB*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,DataJustify", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL01,Depth", /*standard*/
Buffer (0x04)
{
0x20, 0x00, 0x00, 0x00
},
"AAPL01,Dither", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,DualLink", /*standard. Should be 0x01 for big resolution display-screen*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
/*
"AAPL01,EDID", //OPTIONAL, my 2A02revC DisplayProductID 0x4545 DisplayVendorID 0x4CA3
Buffer (0x80)
{
/ 0000 / 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
/ 0008 / 0x4C, 0xA3, 0x45, 0x45, 0x00, 0x00, 0x00, 0x00,
/ 0010 / 0x00, 0x11, 0x01, 0x03, 0x80, 0x21, 0x15, 0x78,
/ 0018 / 0x0A, 0x87, 0xF5, 0x94, 0x57, 0x4F, 0x8C, 0x27,
/ 0020 / 0x27, 0x50, 0x54, 0x00, 0x00, 0x00, 0x01, 0x01,
/ 0028 / 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
/ 0030 / 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x12, 0x1B,
/ 0038 / 0x00, 0x88, 0x50, 0x20, 0x10, 0x30, 0x10, 0x30,
/ 0040 / 0x13, 0x00, 0x4B, 0xCF, 0x10, 0x00, 0x00, 0x19,
/ 0048 / 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00,
/ 0050 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0x87, 0x02,
/ 0058 / 0x64, 0x02, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x53,
/ 0060 / 0x41, 0x4D, 0x53, 0x55, 0x4E, 0x47, 0x0A, 0x20,
/ 0068 / 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFE,
/ 0070 / 0x00, 0x4C, 0x54, 0x4E, 0x31, 0x35, 0x34, 0x58,
/ 0078 / 0x33, 0x2D, 0x4C, 0x30, 0x31, 0x0A, 0x00, 0x25
},
*/
"AAPL01,Height", /*standard 800 screen. Esential to properly load of X3100FB*/
Buffer (0x04)
{
0x20, 0x03, 0x00, 0x00
},
"AAPL01,Interlace", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,Inverter", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,InverterCurrent", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,InverterFrequency", /*standard*/
Buffer (0x04)
{
0x08, 0x52, 0x00, 0x00
},
"AAPL01,IODisplayMode", /*standard*/
Buffer (0x04)
{
0x00, 0x10, 0x00, 0x80
},
"AAPL01,LinkFormat", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,LinkType", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,Pipe", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL01,PixelFormat", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,Refresh", /*default 3B = 59HZ from MB4,1. Esential to properly load of X3100FB*/
Buffer (0x04)
{
0x3B, 0x00, 0x00, 0x00
},
"AAPL01,Stretched", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,T1", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,T2", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL01,T3", /*standard*/
Buffer (0x04)
{
0xC8, 0x00, 0x00, 0x00
},
"AAPL01,T4", /*standard*/
Buffer (0x04)
{
0xC8, 0x00, 0x00, 0x00
},
"AAPL01,T5", /*standard*/
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"AAPL01,T6", /*standard*/
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x00
},
"AAPL01,T7", /*standard*/
Buffer (0x04)
{
0x90, 0x01, 0x00, 0x00
},
"AAPL01,Width", /*standard 1280 screen. Esential to properly load of X3100FB*/
Buffer (0x04)
{
0x00, 0x05, 0x00, 0x00
},
"built-in",
Buffer (0x01)
{
0x00
},
"hda-gfx", /*testing*/
Buffer (0x0A)
{
"onboard-1"
},
"device_type", /*testing*/
Buffer (0x08)
{
"display" /*or "GPU"*/
}
/*
"DisplayProductID", //testing
Buffer (0x04)
{
0x5F, 0x9C, 0x00, 0x00
},
"DisplayVendorID", //testing
Buffer (0x04)
{
0x10, 0x06, 0x00, 0x00
},
*/
/* "revision-id",
Buffer (0x04)
{
0x03, 0x00, 0x00, 0x00
},
*/
/*
"saved-timing1",
Buffer ()
{
/ 0000 / 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00,
/ 0008 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0010 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0018 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0020 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0028 / 0x20, 0x6F, 0x21, 0x04, 0x00, 0x00, 0x00, 0x00,
/ 0030 / 0x52, 0x37, 0x21, 0x04, 0x00, 0x00, 0x00, 0x00,
/ 0038 / 0x52, 0x37, 0x21, 0x04, 0x00, 0x00, 0x00, 0x00,
/ 0040 / 0x00, 0x05, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00,
/ 0048 / 0x10, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00,
/ 0050 / 0x20, 0x03, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
/ 0058 / 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
/ 0060 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0068 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0070 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0078 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0080 / 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0088 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0090 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/ 0098 / 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
},
*/
/* "subsystem-id",
Buffer (0x04)
{
0xA2, 0x00, 0x00, 0x00
},
"subsystem-vendor-id",
Buffer (0x04)
{
0x6B, 0x10, 0x00, 0x00
}
*/
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}