VoodooHDA > General Discussion
Sigmatel STAC9227X
(1/1)
hank:
Hi, I make a dump. Need help, how to make a device entry, output. Mute not fully working. Determined only by an external microphone.
I may incorrectly write parameters in DSDT.aml file?
--- Code: ---Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x07,
0x03
})
}
OperationRegion (AZPM, PCI_Config, 0x55, One)
Field (AZPM, ByteAcc, NoLock, Preserve)
{
AZWE, 1
}
Method (_PSW, 1, NotSerialized)
{
If (LEqual (Arg0, Zero))
{
Store (Zero, AZWE)
}
If (LEqual (Arg0, One))
{
Store (One, AZWE)
}
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0A)
{
"codec-id",
Buffer (0x04)
{
0x18, 0x76, 0x84, 0x83
},
"layout-id",
Buffer (0x04)
{
0x04, 0x00, 0x00, 0x00
},
"device_type",
Buffer (0x14)
{
"HD Audio Controller"
},
"PinConfigurations",
Buffer (0x20)
{
/* 0000 */ 0x1F, 0x41, 0x21, 0x02, 0x10, 0x40, 0x01, 0x01,
/* 0008 */ 0x40, 0x90, 0xA1, 0x01, 0x20, 0x30, 0x81, 0x01
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
--- End code ---
I would be very grateful for the help, thank you!
Navigation
[0] Message Index
Go to full version