como criar um site


Computer hardwares shop

Wednesday, August 24, 2011

Asus U41SV hybrid graphics linux -- acpi_call DSDT info

One of the team members posted the DSDT info for a ASUS U41SV laptop. The two calls to turn on/off the card are like this:
                                                    \_SB.PCI0.PEG0.GFX0.DOFF
                                                    \_SB.PCI0.PEG0.GFX0.DON
Code snippet:
        If (LEqual (_T_0, 0x03))
                                        {
                                            And (Local0, 0x03, Local0)
                                            If (LEqual (Local0, 0x01))
                                            {
                                                \_SB.PCI0.PEG0.GFX0.DON ()
                                                Return (0x01)
                                            }
                                            Else
                                            {
                                                If (LEqual (Local0, 0x02))
                                                {
                                                    \_SB.PCI0.PEG0.GFX0.DOFF ()
                                                    Return (0x00)
                                                }
                                                Else
                                                {
                                                    Return (\_SB.PCI0.PEG0.GFX0.DSTA ())
                                                }
                                            }
                                            Return (0x01)
                                        }


Artikel Terkait:

0 comments:

Post a Comment