It&#39;s works on a muxless Clevo B7130  intel / nvidia GT425M. It has also been tested<br>on the legacy optimus call, although that crashed X <a href="http://pastebin.com/9Sum3tT3">http://pastebin.com/9Sum3tT3</a><br>That bug is said to be fixed<br>
<a href="http://cgit.freedesktop.org/xorg/xserver/commit/?id=fb22a408c69a84f81905147de9e82cf66ffb6eb2">http://cgit.freedesktop.org/xorg/xserver/commit/?id=fb22a408c69a84f81905147de9e82cf66ffb6eb2</a><br><br><div class="gmail_quote">
2011/12/19 Omar Andrés Zapata Mesa <span dir="ltr">&lt;<a href="mailto:andresete.chaos@gmail.com">andresete.chaos@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tested on toshiba m645 optimus intel/nvidia 310m<br>output<br>bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.P0P2.VGA_<br>[21832.787656] bbswitch: detected an Optimus _DSM function<br>[21832.787664] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on<br>




but dont work nvidia video card.  do it work with not mux optimus?<div><br></div><div><br><div class="gmail_quote"><div><div class="h5">On Sat, Dec 17, 2011 at 5:50 PM, Lekensteyn <span dir="ltr">&lt;<a href="mailto:lekensteyn@gmail.com" target="_blank">lekensteyn@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

Hello guys,<br><div class="gmail_quote"><br>I&#39;ve prepared a patch based on my findings for the bbswitch module<br>(<a href="https://github.com/Lekensteyn/acpi-stuff/tree/master/bbswitch" target="_blank">https://github.com/Lekensteyn/acpi-stuff/tree/master/bbswitch</a>). This adds a proper<br>






check whether a _DSM function is supported or not and make OFF / ON for<br>vga_switcheroo work for nVidia Optimus models. The patch is based against the<br>mainline kernel.<br><br>It has been tested on my Clevo B7130 laptop running kernel 3.2 which has a GT425M<br>






dGPU:<br># cat /sys/kernel/debug/vgaswitcheroo/switch<br>0:IGD:+:Pwr:0000:00:02.0<br>1:DIS: :Pwr:0000:01:00.0<br># tee /sys/kernel/debug/vgaswitcheroo/switch &lt;&lt;&lt;OFF<br>OFF<br># cat /sys/kernel/debug/vgaswitcheroo/switch<br>






0:IGD:+:Pwr:0000:00:02.0<br>1:DIS: :Off:0000:01:00.0<br># tee /sys/kernel/debug/vgaswitcheroo/switch &lt;&lt;&lt;ON<br>ON<br># cat /sys/kernel/debug/vgaswitcheroo/switch<br>0:IGD:+:Pwr:0000:00:02.0<br>1:DIS: :Pwr:0000:01:00.0<br>






<br>The iGPU/dGPU LEDS on the keyboard also change as a result.<br><br>A second patch to make the device stay off after suspend is in progress.<br><br>Regards,<br>Peter<br>
</div><br>
<br></div></div>_______________________________________________<br>
Nouveau mailing list<br>
<a href="mailto:Nouveau@lists.freedesktop.org" target="_blank">Nouveau@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/nouveau" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nouveau</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Omar Andres Zapata Mesa</span><div>




<span style="border-collapse:collapse;font-family:arial,helvetica,sans-serif;font-size:13px;line-height:19px;white-space:pre-wrap">Fundamental Interaction Phenomenology Gruop (Gfif)</span><br><span style="border-collapse:collapse;font-size:13px"><div style="font-family:arial,sans-serif">




Head Developer </div><div style="font-family:arial,sans-serif"><font face="arial, helvetica, sans-serif"><a href="http://gfif.udea.edu.co/" style="color:rgb(64,100,128)" target="_blank">http://gfif.udea.edu.co</a><br></font></div>




</span><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Gfif Developers (Gfif Dev)</span><span style="border-collapse:collapse;font-size:13px"><div style="font-family:arial,sans-serif">Division of computer science </div>




<div style="font-family:arial,sans-serif"><a href="http://gfifdev.udea.edu.co/" style="color:rgb(64,100,128)" target="_blank">http://gfifdev.udea.edu.co</a></div><div style="font-family:arial,sans-serif"><div>System Engineering Student</div>




<div>Universidad de Antioquia At Medellin - Colombia</div><div>Usuario Linux  #490962</div></div></span></div></span><br>
</font></span></div>
</blockquote></div><br>