← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Hello, from new user with ThinkPad E520 (1143CTO)

 

This model seems to come with these two methods for switching the
discrete card off/on:

    External (\_SB_.PCI0.PEG0.PEGP._OFF, MethodObj)    // 0 Arguments
    External (\_SB_.PCI0.PEG0.PEGP._ON_, MethodObj)    // 0 Arguments

echo '\_SB_.PCI0.PEG0.PEGP._OFF' > /proc/acpi/call

echo '\_SB_.PCI0.PEG0.PEGP._ON_' > /proc/acpi/call

I am also guessing that there are 3 voltage levels for the card, LVL0,
LVL1 and LVL2, that can be chosen with acpi calls:

      Method (SGPO, 2, Serialized)
        {
            ShiftRight (Arg0, 0x07, Local3)
            And (Arg0, 0x7F, Arg0)
            If (LEqual (Local3, Zero))
            {
                Not (Arg1, Local3)
                And (Local3, One, Local3)
            }

            If (LLess (Arg0, 0x20))
            {
                ShiftLeft (Local3, Arg0, Local0)
                ShiftLeft (One, Arg0, Local1)
                And (\_SB.PCI0.PEG0.PEGP.LVL0, Not (Local1), Local2)
                Or (Local2, Local0, \_SB.PCI0.PEG0.PEGP.LVL0)
            }
...

On Fri, Aug 26, 2011 at 8:34 PM, Stefan Dröge <stefan@xxxxxxxxxx> wrote:
> Hi, I'm Stefan, and I'm new on the mailinglist.
> Here is something about my Hardware:
>
> stefan@TE520:~/acpiinfo$ sudo dmidecode -s system-product-name && sudo
> dmidecode -s system-version
> 1143CTO
> ThinkPad E520
> stefan@TE520:~/acpiinfo$  lspci -vnnn | perl -lne 'print if
> /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
> 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd
> Generation Core Processor Family Integrated Graphics Controller
> [8086:0126] (rev 09) (prog-if 00 [VGA controller])
> 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc NI
> Whistler [AMD Radeon HD 6600M Series] [1002:6741] (prog-if 00 [VGA
> controller])
>
> I also posted my DSDT file to the bugreport mentioned on
> http://linux-hybrid-graphics.blogspot.com/
>
> Regards, Stefan!
>
> _______________________________________________
> 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
>


Follow ups

References