Help - Search - Members - Calendar
Full Version: Dsdt + Alc888 In Leopard Snow?
Project OS X Forums > Snow Leopard Guides & Tutorials > New Users Discussion
elitaliano
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, 0x0
1
}
}, 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.
18seven
QUOTE (elitaliano @ Dec 20 2009, 07:38 AM) *
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:


AFIK pin injection for audio does not work but I may be wrong. Regardless, you should go here and learn how to extract the info needed to make an attempt.

You had a bracket issue corrected below:

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, 0x0
1
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

}

elitaliano
Thanks for your help.
Discuss in the end I was unable to walk the audio via DSDT (the kext of tarunga leaves me sound after waking the computer).
In the end I gave him another opportunity to other kexts and I've found that I voodoo.kext works perfectly and is even able to awaken from sleep mode.

It was all he wanted (audio, network, graphics and sleep mode ....) so now my team is working with all the hardware! wink.gif

A greeting and thanks to all the forum (not your post would not have gotten my DSDT "almost" perfect).
EDDIE8348
QUOTE (elitaliano @ Dec 21 2009, 12:36 PM) *
Thanks for your help.
Discuss in the end I was unable to walk the audio via DSDT (the kext of tarunga leaves me sound after waking the computer).
In the end I gave him another opportunity to other kexts and I've found that I voodoo.kext works perfectly and is even able to awaken from sleep mode.

It was all he wanted (audio, network, graphics and sleep mode ....) so now my team is working with all the hardware! wink.gif

A greeting and thanks to all the forum (not your post would not have gotten my DSDT "almost" perfect).

congratulations!!
It's also working on my ALC888.
THANKS!! ^^
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.