overdue-scratch

Author Topic: Sigmatel STAC9227X  (Read 5757 times)

0 Members and 1 Guest are viewing this topic.

hank

  • Entrant
  • Posts: 4
Sigmatel STAC9227X
« on: April 26, 2009, 12:31:16 AM »
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: [Select]
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)
                }
            }

I would be very grateful for the help, thank you!
« Last Edit: April 26, 2009, 12:42:32 AM by hank »