← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: asus switcheroo

 

Hi Alex,

This is great news! I did a quick grep on the list of DSDT.dsl files
that we currently have, and there are a bunch of laptops that have the
required _DSM, MXMX and MXDS methods:

Acer.5935g.DSDT.dsl
Acer.Aspire.5935.DSDT.dsl
Asus.K42Jc.DSDT.dsl
Asus.K52Jc.DSDT.dsl
Asus.N53Jf.DSDT.2.dsl
Asus.N53Jf.DSDT.dsl
Asus.N53SN.DSDT.dsl
Asus.N53SV.DSDT.dsl
Asus.N71JV.DSDT.dsl
Asus.P52JC.DSDT.dsl
Asus.U30JC.DSDT.dsl
Asus.U33JC.DSDT.dsl
Asus.U35JC.DSDT.2.dsl
Asus.U35JC.DSDT.dsl
Asus.U36JC.DSDT.dsl
Asus.UL30VT.DSDT.dsl
Asus.UL50VT.DSDT.dsl
Asus.UL80VT.1.0.DSDT.dsl
HP.dm3.DSDT.dsl
HP.SLIC-MPC.DSDT.dsl
Lenovo.T410.2516CTO.DSDT.dsl
Lenovo.T410s.DSDT.2.dsl
Lenovo.T410s.DSDT.dsl
Lenovo.T510.DSDT.dsl
Sony.Vaio.VPCZ136GG.DSDT.dsl
Sony.Vaio.VPCZ13V9E.DSDT.dsl
Sony.VGN-Z51XG.DSDT.dsl
Sony.VPCZ12C5E.DSDT.dsl


On Wed, Apr 20, 2011 at 6:14 AM, Alex Williamson
<alex.l.williamson@xxxxxxxxx> wrote:
> FYI, I just pushed out some changes for this that seem to make using
> the discrete graphics with the nouveau driver feel pretty stable.
> Give it a try and let me know what you find.  Thanks,
>
> Alex
>
> On Sun, Apr 17, 2011 at 8:54 PM, Alex Williamson
> <alex.l.williamson@xxxxxxxxx> wrote:
>> I've been poking around at getting switcheroo working on my Asus
>> UL30VT and decided to drop it into a stand alone kernel module so that
>> it's portable among various distributions and usable with existing
>> kernels.  This is really pretty generic, so I expect eventually we can
>> incorporate it into nouveau_acpi.  You can find the source tree here:
>>
>> git://github.com/awilliam/asus-switcheroo.git
>>
>> If all you want to do is switch the discrete graphics off to save
>> battery, it does that perfectly (note the included suspend/resume
>> script).  It's also able to switch the discrete graphics on with
>> nouveau.  This still has several issues (mostly with the remaining
>> Intel driver).  See the README for details.  Also, if you're dead set
>> on using the proprietary nvidia driver, there's a hack included for
>> that... see the README.  So far this is only tested on x86_64 Fedora
>> 14.  Standard disclaimers apply, this works for me, but use at your
>> own risk.
>>
>> The theory of using a separate switcheroo module is simply that the
>> switcheroo code only accepts one "handler", first come, first served.
>> So, all we need to do is register before nouveau and take that slot.
>> I really don't know what some of thesseem toe MX ACPI method calls do (if
>> anyone can share the MXM spec, please do), but I spent a while looking
>> at the DSDT and poking things with acpi_call to figure out what works.
>>  When enabling the dummy client support for nvidia, we switch over the
>> mux and power up the device, leaving it enabled and unclaimed by
>> drivers for the nvidia driver to take over.  Good luck, patches
>> welcome.  Please report if it works on other Asus laptops.  Thanks,
>>
>> Alex
>>
>
> _______________________________________________
> 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