PDA

View Full Version : DSDT + ALC888 in leopard snow?


elitaliano
12-20-2009, 01:34 PM
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.

Ianxxx
12-20-2009, 10:47 PM
I'm not quite sure what you want to know but you don't need pin configurations, this is my code for alc888 on ga-p35-ds3l

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

OperationRegion (HDCS, PCI_Config, 0x54, 0x04)
Field (HDCS, DWordAcc, NoLock, Preserve)
{
, 15,
PMES, 1
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x08)
{
"subsystem-id",
Buffer (0x04)
{
0xA0, 0x00, 0x00, 0x00
},

"subsystem-vendor-id",
Buffer (0x04)
{
0x6B, 0x10, 0x10, 0x10
},

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

"PinConfigurations",
Buffer (Zero) {}
}, Local0)
MCDP (Arg2, RefOf (Local0))
Return (Local0)
}
}
}

elitaliano
12-21-2009, 12:35 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).