InfiniteMac OSx86  


 
 
Thread tools Display modes
Prev Previous Post   Next Post Next
  #1  
Old 12-20-2009, 01:34 PM
elitaliano elitaliano is offline
Cheetah
 
Join Date: Dec 2009
Posts: 2
DSDT + ALC888 in leopard snow?

Greetings to all.
I want to inject audio to my DSDT and do not know where to draw some parameters.
The code to be injected is:

================================================== ==========================

Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D,
0x05
})
}
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0A) //including 5 of "xxxxxx" times 2 = 10 -- HEX of 10 is 0x0A
{

"built-in", //This one can be absented. If you don't use this, Store (Package (0x08).
Buffer (0x01) //
{ //
0x01 //
}, //


"codec-id",
Buffer (0x04)
{
0x88, 0x08, 0xEC, 0x10

},

"layout-id",
Buffer (0x04)
{
0x78, 0x03, 0x00, 0x00
},

"device-type",
Buffer (0x10)
{
"Realtek ALC888 "
},

"PinConfigurations",
Buffer (0x28) //there are 40 of XxXX -- HEX of 40 is 0x28
{
/* 0000 */ 0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,
/* 0008 */ 0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02, // ==> / *0008 */ counted to 8 of XxXX ==> HEX 8
/* 0010 */ 0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01, // ==> / *0010 */ counted to 16 of XxXX ==> HEX 10
/* 0018 */ 0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01, // ==> / *0018 */ counted to 24 of XxXX ==> HEX 18
/* 0020 */ 0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01

}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}



================================================== ==========================

The lines of code do not understand (I'm new to editing DSDT) are those that are in red:

"Store (Package (0x0A)"
"built-in,
"PinConfigurations" <<this is almost all the code.

I just want to know where those lines of code and then add them to my DSDT.

My Team:

PLATE: MSI - MS-7358
Audio: Realtek HDA - ALC888
RED: INTEL PRO 100/82566 - 82566DC-2 Gigabit
CHIP: Intel Bearlake G33 - ICH9R
IDE: Marvell 88SE6111 - MS-7358
INTEL QUAD-CORE 2.46 Ghz
4 GB 667 MHz RAM
NVIDIA 8400GS 256 MB

Thank you all.

P, d: I edit the theme again because I think he held out something in the former, we apologize for the inconvenience.

Last edited by elitaliano; 12-20-2009 at 05:05 PM.
Reply With Quote