Skip to content

Instantly share code, notes, and snippets.

@dgladkov
Created December 19, 2009 21:17
Show Gist options
  • Save dgladkov/260247 to your computer and use it in GitHub Desktop.
Save dgladkov/260247 to your computer and use it in GitHub Desktop.
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0A)
{
"built-in",
Buffer (One)
{
0x01
},
"codec-id",
Buffer (0x04)
{
0x85, 0x08, 0xEC, 0x10
},
"layout-id",
Buffer (0x04)
{
0x75, 0x03, 0x00, 0x00
},
"device-type",
Buffer (0x10)
{
"Realtek ALC889a"
},
"PinConfigurations",
Buffer (0x28)
{
/* 0000 */ 0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,
/* 0008 */ 0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02,
/* 0010 */ 0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01,
/* 0018 */ 0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01,
/* 0020 */ 0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment