← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: please report successful apci_call on nvidia optimus laptops

 

I am envious :( Tired of my lap being on fire because I can't shut off my
nvidia GPU :(

aargh.. my kingdom for a working ACPI method on my Alienware M11XR2!!

[doc@docsnotebook] acpicall $ egrep 'Scope |Device |Method ' DSDT.dsl
    Method (OSMI, 1, NotSerialized)
    Scope (_SB)
        Device (PCI0)
            Method (^BN00, 0, NotSerialized)
            Method (_BBN, 0, NotSerialized)
            Method (_PRT, 0, NotSerialized)
            Method (_CRS, 0, Serialized)
            Method (_OSC, 4, Serialized)
            Device (GFX0)
                Method (PCPC, 0, NotSerialized)
                Method (PAPR, 0, NotSerialized)
                Method (_DOS, 1, NotSerialized)
                Method (_DOD, 0, NotSerialized)
                Device (DD01)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                    Method (_BCL, 0, NotSerialized)
                    Method (_BCM, 1, NotSerialized)
                    Method (_BQC, 0, NotSerialized)
                Device (DD02)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Device (DD03)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Device (DD04)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Device (DD05)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Device (DD06)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Device (DD07)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Device (DD08)
                    Method (_ADR, 0, Serialized)
                    Method (_DCS, 0, NotSerialized)
                    Method (_DGS, 0, NotSerialized)
                    Method (_DSS, 1, NotSerialized)
                Method (SDDL, 1, NotSerialized)
                Method (CDDS, 1, NotSerialized)
                Method (NDDS, 1, NotSerialized)
                Scope (^^PCI0)
                Method (GSCI, 0, Serialized)
                    Method (GBDA, 0, Serialized)
                    Method (SBCB, 0, Serialized)
                Method (PDRD, 0, NotSerialized)
                Method (PSTS, 0, NotSerialized)
                Method (GNOT, 2, NotSerialized)
                Method (GHDS, 1, NotSerialized)
                Method (GLID, 1, NotSerialized)
                Method (GDCK, 1, NotSerialized)
                Method (PARD, 0, NotSerialized)
                Method (AINT, 2, NotSerialized)
                Method (SCIP, 0, NotSerialized)
                Method (GAD1, 1, NotSerialized)
                Method (GADD, 0, NotSerialized)
                Method (GCAD, 0, NotSerialized)
            Device (P0P2)
                Method (_PRT, 0, NotSerialized)
                Device (PEGP)
            Device (P0P1)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (LPCB)
                Scope (\_SB)
                    Device (LNKA)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKB)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKC)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKD)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKE)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKF)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKG)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LNKH)
                        Method (_DIS, 0, Serialized)
                        Method (_CRS, 0, Serialized)
                        Method (_SRS, 1, Serialized)
                        Method (_STA, 0, Serialized)
                    Device (LID0)
                        Method (_LID, 0, NotSerialized)
                        Method (_PSW, 1, NotSerialized)
                    Device (PWRB)
                Method (ECOK, 0, NotSerialized)
                Device (EC0)
                    Method (_REG, 2, NotSerialized)
                    Method (_Q11, 0, NotSerialized)
                    Method (_Q12, 0, NotSerialized)
                    Method (_Q1D, 0, NotSerialized)
                    Method (_Q1F, 0, NotSerialized)
                    Method (_Q24, 0, NotSerialized)
                    Method (_Q25, 0, NotSerialized)
                    Method (_Q26, 0, NotSerialized)
                    Method (_Q28, 0, NotSerialized)
                    Method (_Q2E, 0, NotSerialized)
                    Method (_Q2F, 0, NotSerialized)
                    Method (_Q37, 0, NotSerialized)
                    Method (_Q38, 0, NotSerialized)
                    Method (_Q2D, 0, NotSerialized)
                    Method (_Q2C, 0, NotSerialized)
                    Method (_Q31, 0, NotSerialized)
                    Method (FANG, 1, NotSerialized)
                    Method (FANW, 2, NotSerialized)
                    Method (TUVR, 1, NotSerialized)
                    Method (THRO, 1, NotSerialized)
                    Method (CLCK, 1, NotSerialized)
                    Method (PCLK, 0, NotSerialized)
                    Method (TPAF, 0, NotSerialized)
                    Scope (\_SB)
                        Method (OPPC, 0, NotSerialized)
                Device (ACAD)
                    Method (_PSR, 0, NotSerialized)
                Device (BAT1)
                    Method (_STA, 0, NotSerialized)
                    Method (_BIF, 0, NotSerialized)
                    Method (_BST, 0, NotSerialized)
                Device (DMAC)
                Device (FWHD)
                Device (HPET)
                    Method (_STA, 0, NotSerialized)
                    Method (_CRS, 0, Serialized)
                Device (IPIC)
                Device (MATH)
                Device (LDRC)
                Device (RTC)
                Device (TIMR)
                Device (PS2K)
                Device (PS2M)
            Device (EHC1)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                Method (_PRW, 0, NotSerialized)
            Device (USB1)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                Method (_PRW, 0, NotSerialized)
            Device (USB2)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                Method (_PRW, 0, NotSerialized)
            Device (USB3)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
            Device (USB4)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
            Device (EHC2)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
            Device (USB5)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
            Device (USB6)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
            Device (USB7)
                Method (_PSW, 1, NotSerialized)
                Method (_S3D, 0, NotSerialized)
                Method (_S4D, 0, NotSerialized)
                Device (HUBN)
                    Device (PRT1)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
                    Device (PRT2)
                        Method (_RMV, 0, NotSerialized)
                        Method (_DSM, 4, Serialized)
            Device (HDEF)
                Method (_PRW, 0, NotSerialized)
            Device (RP01)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (RP02)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (RP03)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (RP04)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (RP05)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
                Device (J380)
                    Method (_STA, 0, NotSerialized)
                Device (J381)
                Device (J382)
                Device (J383)
                Device (J384)
            Device (RP07)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (RP08)
                Device (PXSX)
                Method (_PRW, 0, NotSerialized)
                Method (_PRT, 0, NotSerialized)
            Device (GLAN)
                Method (_PRW, 0, NotSerialized)
            Device (IO10)
            Device (IO1X)
            Device (IIO0)
            Device (IIOX)
            Device (PEG3)
                Method (_PRT, 0, NotSerialized)
            Device (PEG5)
                Method (_PRT, 0, NotSerialized)
            Device (PEG6)
            Device (ACC)
                Method (_STA, 0, NotSerialized)
                Method (_CRS, 0, Serialized)
                Method (_SRS, 1, Serialized)
        Device (EMSC)
            Method (NTFY, 0, NotSerialized)
            Method (GOPS, 1, NotSerialized)
            Method (SOPS, 1, NotSerialized)
    Scope (_PR)
    Device (_SB.PCI0.LPCB.TPM)
        Method (_INI, 0, NotSerialized)
        Method (_STA, 0, NotSerialized)
        Method (HINF, 3, NotSerialized)
        Method (TPPI, 3, NotSerialized)
        Method (SMBS, 3, NotSerialized)
        Method (_DSM, 4, NotSerialized)
        Method (PTS, 1, NotSerialized)
    Method (P8XH, 3, Serialized)
    Method (_PIC, 1, NotSerialized)
    Method (_PTS, 1, NotSerialized)
    Method (_WAK, 1, Serialized)
    Method (GETB, 3, Serialized)
    Method (PNOT, 0, Serialized)
    Method (TRAP, 2, Serialized)
    Scope (_SB)
        Device (AMW0)
            Method (WMIC, 3, NotSerialized)
            Method (WMIE, 4, NotSerialized)
            Method (STBY, 3, NotSerialized)
            Method (STWD, 3, NotSerialized)
            Method (STDW, 3, NotSerialized)
            Method (CLBY, 1, NotSerialized)
            Method (WED0, 1, NotSerialized)
            Method (WCAA, 1, NotSerialized)
            Method (WQAA, 1, NotSerialized)
            Method (WSAA, 2, NotSerialized)
            Method (WMBA, 3, NotSerialized)
            Method (_WED, 1, NotSerialized)
    Scope (_SB.PCI0)
        Method (_INI, 0, NotSerialized)
        Method (NHPG, 0, Serialized)
        Method (NPME, 0, Serialized)
    Scope (\)
    Method (CMSW, 2, NotSerialized)
    Method (CMSR, 1, NotSerialized)
    Scope (_SB.PCI0)
        Device (PDRC)
            Method (_CRS, 0, Serialized)
    Method (HKDS, 1, Serialized)
    Method (LSDS, 1, Serialized)
    Method (BRTN, 1, Serialized)
    Scope (\)
        Method (GPI0, 4, NotSerialized)
        Method (GDMA, 2, NotSerialized)
        Method (SFLG, 5, NotSerialized)
        Method (SPIO, 3, NotSerialized)
        Method (SDMA, 3, NotSerialized)
        Method (SETT, 3, Serialized)
    Scope (_SB.PCI0)
        Device (DOCK)
            Method (_EJ0, 1, NotSerialized)
            Method (_STA, 0, NotSerialized)
            Method (_DCK, 1, NotSerialized)
        Device (SAT0)
            Method (_STA, 0, NotSerialized)
            Device (PRT0)
                Method (_STA, 0, NotSerialized)
                Method (_SDD, 1, NotSerialized)
                Method (_GTF, 0, NotSerialized)
        Device (SBUS)
            Method (SSXB, 2, Serialized)
            Method (SRXB, 1, Serialized)
            Method (SWRB, 3, Serialized)
            Method (SRDB, 2, Serialized)
            Method (SWRW, 3, Serialized)
            Method (SRDW, 2, Serialized)
            Method (SBLW, 4, Serialized)
            Method (SBLR, 3, Serialized)
            Method (STRT, 0, Serialized)
            Method (COMP, 0, Serialized)
            Method (KILL, 0, Serialized)
    Scope (_GPE)
        Method (_L01, 0, NotSerialized)
        Method (_L02, 0, NotSerialized)
        Method (_L06, 0, NotSerialized)
        Method (_L07, 0, NotSerialized)
        Method (_L1D, 0, NotSerialized)
        Method (_L09, 0, NotSerialized)
        Method (_L0B, 0, NotSerialized)
        Method (_L0D, 0, NotSerialized)
        Method (_L03, 0, NotSerialized)
        Method (_L04, 0, NotSerialized)
        Method (_L0C, 0, NotSerialized)
        Method (_L0E, 0, NotSerialized)
        Method (_L05, 0, NotSerialized)
        Method (_L20, 0, NotSerialized)
        Method (_L25, 0, NotSerialized)
        Method (_L1B, 0, NotSerialized)
    Scope (_SB)
        Device (CPBG)
            Method (_CRS, 0, Serialized)
            Device (IMCH)
    Scope (_SB.PCI0.EHC1)
        Device (RHUB)
            Device (PRT1)
                Device (PRT4)
                Device (PRT6)
    Scope (_SB.PCI0.EHC2)
        Device (RHUB)
            Device (PRT1)
                Device (PRT2)


On Sat, Aug 28, 2010 at 11:09 AM, charles <aquasync@xxxxxxxxx> wrote:

> Same results here - using " \_SB.PCI0.PEG1.GFX0._OFF" drops the power
> usage on my U35J (as measured by BAT0/state) from 22358 mW to 15904 mW
> (30%!). Still using a lot more power than yours though Olivier (?).
>
> Also for reference my nvidia card becomes "rev ff" in lspci too...
>
> On Wed, Aug 25, 2010 at 1:31 PM, Olivier Robert <robby57@xxxxxxxxx> wrote:
> > Hi guys,
> >
> > Here's for the Asus U35JC that works successfully with
> > \_SB.PCI0.PEG1.GFX0._OFF saving ~ 3654 mW !!! (see test below)
> >
> > Noticed the revision change in the lspci output from "rev a2" to "rev
> ff".
> > Any one else noticed this? If someone has a clue why, I'd be happy to be
> > educated :-)
> >
> > ============================================
> > [root@optimus acpi_call]# cat /proc/acpi/battery/BAT0/state
> > present:                 yes
> > capacity state:          ok
> > charging state:          discharging
> > present rate:            14056 m
> > remaining capacity:      79562 mWh
> > present voltage:         16330 mV
> > [root@optimus acpi_call]# lspci | grep nVidia
> > 01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce
> 310M]
> > (rev a2)
> > [root@optimus acpi_call]# insmod acpi_call.ko
> > [root@optimus acpi_call]# ./test_off.sh
> > Trying \_SB.PCI0.P0P1.VGA._OFF: failed
> > Trying \_SB_.PCI0.OVGA.ATPX: failed
> > Trying \_SB_.PCI0.OVGA.XTPX: failed
> > Trying \_SB.PCI0.P0P2.PEGP._OFF: failed
> > Trying \_SB.PCI0.MXR0.MXM0._OFF: failed
> > Trying \_SB.PCI0.PEG1.GFX0._OFF: works!
> > [root@optimus acpi_call]# cat /proc/acpi/battery/BAT0/state
> > present:                 yes
> > capacity state:          ok
> > charging state:          discharging
> > present rate:            10402 mW
> > remaining capacity:      79478 mWh
> > present voltage:         16346 mV
> > [root@optimus acpi_call]# lspci | grep nVidia
> > 01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce
> 310M]
> > (rev ff)
> > [root@optimus acpi_call]#
> > ============================================
> >
> > Thanks and regards,
> >
> > ++
> > Robby
> >
> > 2010/8/25 Michal Kottman <k0mpjut0r@xxxxxxxxx>
> >>
> >> On Tue, 2010-08-24 at 15:27 +0100, Albert Vilella wrote:
> >> > Thanks,
> >> >
> >> > Asus N71jv
> >> > Asus N82JV
> >> > Asus U30JC
> >> >
> >> > so far.
> >>
> >> You can add my Asus K52JC with Gf310m to this list
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> >> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~hybrid-graphics-linux
> > Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> More help   : https://help.launchpad.net/ListHelp
>

References