← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Nvidia/Intel switching nightmare.

 

Thank a LOT !

It works and that's great !
The intel card looks like something is working (all worked until the login screen where it freezes, the mouse responds, but nothing else does...)... It might be the shared libs between nvidia and intel. I'll try to separate them and use start script to chose the good one to use.

Now, I'm trying to install the sony-laptop module. I'm on Fedora 10 (until F11 is ok).

[xion@localhost sony-laptop-zseries-0.9]$ make
make -C /lib/modules/2.6.27.24-170.2.68.fc10.i686.PAE/build SUBDIRS=/home/xion/Documents/linux/sony-laptop-zseries-0.9 modules make[1]: entrant dans le répertoire « /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686.PAE »
  CC [M]  /home/xion/Documents/linux/sony-laptop-zseries-0.9/sony-laptop.o
/home/xion/Documents/linux/sony-laptop-zseries-0.9/sony-laptop.c: In function ?sony_nc_add?: /home/xion/Documents/linux/sony-laptop-zseries-0.9/sony-laptop.c:1475: erreur: implicit declaration of function ?acpi_video_backlight_support? make[2]: *** [/home/xion/Documents/linux/sony-laptop-zseries-0.9/sony-laptop.o] Erreur 1 make[1]: *** [_module_/home/xion/Documents/linux/sony-laptop-zseries-0.9] Erreur 2 make[1]: quittant le répertoire « /usr/src/kernels/2.6.27.24-170.2.68.fc10.i686.PAE »
make: *** [default] Erreur 2

[xion@localhost sony-laptop-zseries-0.9]$ uname -a
Linux localhost.localdomain 2.6.27.24-170.2.68.fc10.i686.PAE #1 SMP Wed May 20 22:58:30 EDT 2009 i686 i686 i386 GNU/Linux

I've installed kernel-headers and kernel-devel for my specific kernel. Doesn't compile correctly...
I'm missing something ?

Thanks a lot in all cases !
It sounds even logical since the dsdt hack is on the same parameter. I didn't know there was an acpi kernel parameter for that !

Alexandre Kaspar

Klaus Addicks <klaus@xxxxxxxxxxxxxxxxxx> a écrit :

Hi all,

switching works like a harm.
Just load Evas sony-laptop module with speed_stamina=3.
In my case i created a file called /etc/modprobe.d/sony-laptop.conf with
following line: options sony-laptop speed_stamina=3
You have to boot with this kernel parameter: acpi_osi="!Windows 2006"
Just put it in the kernel command line of your bootmanager.
Now you can switch between stamina and speed without booting to Windows.
But your laptop have to be completely poweroff!
For loading the correct xorg.conf, i use this little script before starting
xserver:

#!/bin/sh
lspci | grep "00:02.1"
if [ $? -eq 0 ]; then
    cp /etc/X11/xorg.INTEL /etc/X11/xorg.conf
else
    cp /etc/X11/xorg.NVIDIA /etc/X11/xorg.conf
fi

Greetings,
Klaus


Am Mittwoch 27. Mai 2009 21:58:08 schrieb Alexandre Kaspar:
The problem is actually that the module is great as long as you just
want to use the intel graphic card.
However, I suppose most people who bought the vaio-z did it since
there was a possibility of using good advanced graphics (nvidia) as
well as offering good running life (intel).

Then, if you just get the running life (intel) working, you're missing
something important (that's the case for me). Actually, I'm mostly
using the nvidia card since I'm computing some opengl programs which
need it. Therefore, I haven't even tested the module for the intel
card since I know I currently have to be often on the nvidia switch.
And since there's actually no way to switch from one to the other
without going on win xp or using DSL, then I just stay on the nvidia
state with acpi=ht.
That's a problem since I can't use the intel one which would make the
computer really useful. Now I can use the computer, but it isn't as
portable (thinking of the battery life) as it should.

However, I hope there'll be a solution. Some day, maybe...

Alexandre Kaspar


_______________________________________________
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp




--
http://www.wox-xion.ch/