Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-06-24 Thread newway....@gmail.com

Dear Philipp,

first of all thank you for putting up such a useful tutorial!
However I've encountered some problem with the cold switching method 
strictly following your pdf guide.


When I've done everything you said, with my SONY Z11MN/B  turn off an on
(Ubuntu, 2.6.28-11-server) with SPEED mode.  Neither STAMINA nor SPEED 
light turned on.


when I looked at my xorg.conf and the /usr/lib/libGL.so.1
both indicate I am loading the INTEL configuration.

However in my System - Administration - Hardware Drivers
the only item in the list nvidia is green
(this driver is activated and currently in use)

yet System - Administration - NVIDIA X Server Settings
gives You do not appear to be using the NVIDIA driver,
please edit your X conf... ...

only difference before following the tutorial is that my STAMINA light 
used to be lit regardless which mode I choose (STAMINA/SPEED).


Any ideas? Thank you!

Philipp Blanke wrote:

Hello Didine,

I just realized that I forgot the change to the kernel parameter at 
startup. In the attached PDF you will find this near the end.


Cheers,
Philipp

2009/6/7 Didine didi...@gmail.com mailto:didi...@gmail.com

Hello Philipp,

Thanks a lot for this tutorial ! I'll Try it and let you know if
there is any problem.

--
Didine Wayde.



On Sun, Jun 7, 2009 at 4:34 PM, Philipp Blanke
philipp.bla...@googlemail.com
mailto:philipp.bla...@googlemail.com wrote:

Hi all.

I just compiled a tutorial for the configuration of the graphic
cards. See the attached ODT or PDF.

Feedback welcome. Please point out errors.

Cheers,
Philipp

2009/6/3 Didine Wayde didi...@gmail.com mailto:didi...@gmail.com

No one to help ?

Best,
Didine.

On Fri, 2009-05-29 at 23:14 +0200, Didine Wayde wrote:
  Hello,
 
  Klaus, Julius, can you please format a newbie tutorial
with all the
  steps (where to put the script for switching between the
two xorg.conf
  etc.. ) to get this work.
 
  Thanks a lot.
  Best regards,
 
 
  On Fri, 2009-05-29 at 20:20 +0200, Julius Donnert wrote:
   Hi all,
  
   i can confirm, that this works on my Z21WN/B 
  
   Thanks a lot Klaus, how did you find out ?
  
   This is quite a step forward, as we now _dont_ need an
Xp cd /install
   anymore.
  
   Still i am not sure what exactly does the proper
initialisation of the
   nvidia card. I did the following things:
  
   Boot with acpi_osi=!Windows 2006, without nvidia
driver installed and
   with eva  matzes module in speed_stamina=3 mode. i
reloaded it in
   intel/stamina mode
   I quit X, killed gdm and installed the nvidia driver
and modified the
   xorg.conf. A modprobe nvidia gave, that the card was
not properly
   initialised - a known result.
   I did an  sudo halt and at the next start, the nvidia
card was
   working.
  
   Now the question is, can we make this work, so it
recognises the Speed -
   Stamina switch ?
  
   Eva, Matze: Does the boot option give you a hint how to
properly
   initialise the card ?
  
   it would be great, if we somehow managed to make it
work only with a
   script and a reboot. So that the card is chosen on
startup depending on
   the switch setting. Thats the second best option after
on the fly
   switching, and actually as acceptable for me.
Especially as Xorg ppl
   might take some years, until they are getting the
infrastructure set up
   to handle this correctly ..
  
   Ciao
  
   Julius
  
  
  
  
   Klaus Addicks schrieb:
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.

Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-20 Thread Norbert Preining
On Do, 18 Jun 2009, Bernd Eggink wrote:
 iwconfig wlan0 power on

I can confirm that turning power on on wlan0 does actually save a lot of
energy, but ...

 With this setting and a running wlan I get lower power consumption than 
 with a powered down wlan. Without power management, consumption is 1 W 
 higher, and doesn't appear to depend much on the rfkill state.

Hmm, here I do see a difference, I am not sure, hard to test. I left it
running the same way for about 10min and then the usage was mor or less
the same.

BUt it is anyway good to know that turning power on amounts to more or
less the same as turning the device completely off, at least for me.

Thanks

Best wishes

Norbert

---
Dr. Norbert Preining prein...@logic.atVienna University of Technology
Debian Developer prein...@debian.org Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
RECULVER (n.)
The sort of remark only ever made during Any Questions.
--- Douglas Adams, The Meaning of Liff

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-17 Thread Norbert Preining
On Di, 16 Jun 2009, Mario wrote:
 I'm not sure to understand the use of this new module: does it just
 switch off the nvidia card? In this case, I don't understand the
 difference with the old module (when used without parameters it disables
 the nvidia card).

Yes, but if I want dynamic switching using the stamina-speed hardware
switch I need to load the module with speed_stamina=3.

Well, a different solution would be to:
- blacklist the sony-laptop module
- load it only on demand in /etc/init.d/switch-graphics with
  speed-stamina=1|2 depending on the value of the hardware switch

 I guess it switches off the nvidia card only if the hardware button is
 switched in stamina mode. Is it correct?

No idea.

Best wishes

Norbert

---
Dr. Norbert Preining prein...@logic.atVienna University of Technology
Debian Developer prein...@debian.org Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
ADRIGOLE (n.)
The centrepiece of a merry-go-round on which the man with the tickets
stands unnervingly still.
--- Douglas Adams, The Meaning of Liff

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-17 Thread Matthias Welwarsky
On Wednesday 17 June 2009 12:03:54 Norbert Preining wrote:
 On Di, 16 Jun 2009, Mario wrote:
  I'm not sure to understand the use of this new module: does it just
  switch off the nvidia card? In this case, I don't understand the
  difference with the old module (when used without parameters it disables
  the nvidia card).

 Yes, but if I want dynamic switching using the stamina-speed hardware
 switch I need to load the module with speed_stamina=3.

... and you can always switch speed/stamina via sysfs. no need for additional 
modules.


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


Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-17 Thread Norbert Preining
On Mi, 17 Jun 2009, Matthias Welwarsky wrote:
 ... and you can always switch speed/stamina via sysfs. no need for additional 
 modules.

Hmmm, I loaded the module with speed_stamina=3 and I get
$ cat /sys/devices/platform/sony-laptop/speed_stamina
speed
$
although my laptop is currently running the Intel graphics card and I am
running X?

Best wishes

Norbert

---
Dr. Norbert Preining prein...@logic.atVienna University of Technology
Debian Developer prein...@debian.org Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
TULSA (n.)
A slurp of beer which has accidentally gone down your shirt collar.
--- Douglas Adams, The Meaning of Liff

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-17 Thread Norbert Preining
On Mi, 17 Jun 2009, Matthias Welwarsky wrote:
 ... and you can always switch speed/stamina via sysfs. no need for additional 
 modules.

Thanks Matthias,

I can confirm that using this switch-graphics /etc/init.d script:
#!/bin/sh
lspci | grep 00:02.0
# if we find the Intel chipset, use Intel drivers  settings
if [ $? -eq 0 ]; then
logger Setting graphics card to INTEL
cp /etc/X11/xorg.conf.INTEL /etc/X11/xorg.conf
ln -sf /usr/lib/libGL.so.1.INTEL /usr/lib/libGL.so.1
ln -sf /usr/lib/xorg/modules/extensions/libglx.so.INTEL
/usr/lib/xorg/modules/extensions/libglx.so
echo stamina  /sys/devices/platform/sony-laptop/speed_stamina
else
# otherwise use nVidia drivers  settings
logger Setting graphics card to NVIDIA
cp /etc/X11/xorg.conf.NVIDIA /etc/X11/xorg.conf
ln -sf /usr/lib/libGL.so.185.18.14 /usr/lib/libGL.so.1
ln -sf /usr/lib/xorg/modules/extensions/libglx.so.185.18.14
/usr/lib/xorg/modules/extensions/libglx.so
echo speed  /sys/devices/platform/sony-laptop/speed_stamina
fi

together with loading sony-laptop originally with speed_stamina=3 makes
everything work as expected:
- intel and nvidia can be selected with hardware switch when laptop is
  turned off
- energy usage is down to low levels:
  when I have gnome running, but all wireless modules turned off with
  rfkill switches and running only powertop with all suggestions I come
  down to
~10W with Intel card
~12W with nVidia card
  That is *very* fine.

Thanks a lot!!!

Best wishes

Norbert

---
Dr. Norbert Preining prein...@logic.atVienna University of Technology
Debian Developer prein...@debian.org Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
CORFU (n.)
The dullest person you met during the course of your holiday. Also the
only one who failed to understand that the exchanging of addresses at
the end of a holiday is merely a social ritual and is absolutely not
an invitation to phone you up and turn up unannounced on your doorstep
three months later.
--- Douglas Adams, The Meaning of Liff

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-16 Thread Mario
Norbert Preining wrote:
 When loading sony-laptop with speed_stamina=3 nothing is touched at the
 graphics card side, so the other (not working) graphics card is not
 actually turned off, means it takes much more energy.

 Fortunately Matthew has written a simple module
   nvidia_control
 that turns off the nvidia graphic card.

I'm not sure to understand the use of this new module: does it just
switch off the nvidia card? In this case, I don't understand the
difference with the old module (when used without parameters it disables
the nvidia card).
I guess it switches off the nvidia card only if the hardware button is
switched in stamina mode. Is it correct?

Thanks,
Mario


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


Re: [Sony-vaio-z-series] Nvidia/Intel switching and energy saving

2009-06-16 Thread Albert Vilella
Sorry to add more questions than answers but, will this new nvidia_control.c
code to switch off
the nvidia card with no reboot? Even if Xorg is still eons away from being
able to deal with
the hot switching, it would be great to have a hot hardware switch working
that could be
then coupled with an xserver restart, instead of a cold reboot.

Looking forward to it,

Cheers,

Albert.

On Tue, Jun 16, 2009 at 6:14 PM, Mario mario@gmail.com wrote:

 Norbert Preining wrote:
  When loading sony-laptop with speed_stamina=3 nothing is touched at the
  graphics card side, so the other (not working) graphics card is not
  actually turned off, means it takes much more energy.
 
  Fortunately Matthew has written a simple module
nvidia_control
  that turns off the nvidia graphic card.

 I'm not sure to understand the use of this new module: does it just
 switch off the nvidia card? In this case, I don't understand the
 difference with the old module (when used without parameters it disables
 the nvidia card).
 I guess it switches off the nvidia card only if the hardware button is
 switched in stamina mode. Is it correct?

 Thanks,
 Mario


 ___
 Mailing list: 
 https://launchpad.net/~sony-vaio-z-serieshttps://launchpad.net/%7Esony-vaio-z-series
 Post to : sony-vaio-z-series@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~sony-vaio-z-serieshttps://launchpad.net/%7Esony-vaio-z-series
 More help   : https://help.launchpad.net/ListHelp

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-06-08 Thread Anthony Colebourne

Hi,

Concerning reboots: I can't say how many reboots are necessary. Since I 
forgot one thing or the other during setup, I shut down and booted a 
couple of times until it worked. If someone can confirm your observation 
I will of course include it.


I'm pretty sure you need to shutdown with the kernel parameter set. So 
1st boot sets the parameter, then shutdown. 2nd boot everything works.


... obviously the dance around the desk is optional, but I certainly 
included this step too :-)


-- Anthony.

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-06-07 Thread Didine
Hello Philipp,

Thanks a lot for this tutorial ! I'll Try it and let you know if there is
any problem.

--
Didine Wayde.


On Sun, Jun 7, 2009 at 4:34 PM, Philipp Blanke 
philipp.bla...@googlemail.com wrote:

 Hi all.

 I just compiled a tutorial for the configuration of the graphic cards. See
 the attached ODT or PDF.

 Feedback welcome. Please point out errors.

 Cheers,
 Philipp

 2009/6/3 Didine Wayde didi...@gmail.com

 No one to help ?

 Best,
 Didine.

 On Fri, 2009-05-29 at 23:14 +0200, Didine Wayde wrote:
  Hello,
 
  Klaus, Julius, can you please format a newbie tutorial with all the
  steps (where to put the script for switching between the two xorg.conf
  etc.. ) to get this work.
 
  Thanks a lot.
  Best regards,
 
 
  On Fri, 2009-05-29 at 20:20 +0200, Julius Donnert wrote:
   Hi all,
  
   i can confirm, that this works on my Z21WN/B 
  
   Thanks a lot Klaus, how did you find out ?
  
   This is quite a step forward, as we now _dont_ need an Xp cd /install
   anymore.
  
   Still i am not sure what exactly does the proper initialisation of the
   nvidia card. I did the following things:
  
   Boot with acpi_osi=!Windows 2006, without nvidia driver installed
 and
   with eva  matzes module in speed_stamina=3 mode. i reloaded it in
   intel/stamina mode
   I quit X, killed gdm and installed the nvidia driver and modified the
   xorg.conf. A modprobe nvidia gave, that the card was not properly
   initialised - a known result.
   I did an  sudo halt and at the next start, the nvidia card was
   working.
  
   Now the question is, can we make this work, so it recognises the Speed
 -
   Stamina switch ?
  
   Eva, Matze: Does the boot option give you a hint how to properly
   initialise the card ?
  
   it would be great, if we somehow managed to make it work only with a
   script and a reboot. So that the card is chosen on startup depending
 on
   the switch setting. Thats the second best option after on the fly
   switching, and actually as acceptable for me. Especially as Xorg ppl
   might take some years, until they are getting the infrastructure set
 up
   to handle this correctly ..
  
   Ciao
  
   Julius
  
  
  
  
   Klaus Addicks schrieb:
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-serieshttps://launchpad.net/%7Esony-vaio-z-series
Post to : sony-vaio-z-series@lists.launchpad.net
Unsubscribe : 
https://launchpad.net/~sony-vaio-z-serieshttps://launchpad.net/%7Esony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp
   
   
  
  
  
   ___
   Mailing list: 
   https://launchpad.net/~sony-vaio-z-serieshttps://launchpad.net/%7Esony-vaio-z-series
   Post to : sony-vaio-z-series@lists.launchpad.net
   Unsubscribe : 
   https://launchpad.net/~sony-vaio-z-serieshttps://launchpad.net/%7Esony-vaio-z-series
   More help   : 

Re: [Sony-vaio-z-series] Nvidia/Intel switching

2009-05-31 Thread Klaus Addicks
Am Sonntag 31. Mai 2009 15:52:45 schrieb Bernd Eggink:
 IMHO this method is mainly a progress for those using nvidia most of the
 time, or for those who can't (or don't want to) boot into Windows. The
 double boot could of course be automated, but frankly said, the
 Boot-Windows-For-Three-Seconds method is still faster than a complete
 Linux boot.

Hmm.. I don't have to boot twice. I can switch between Intel and Nvidia the 
same way like using Windows XP. Just switch to preferred mode when laptop is 
poweroff and the selected card works right away (at first boot!).
You only have to boot a second time after your very first boot with acpi_osi 
parameter.

 Another problem is the missing backlight control for nvidia, or has
 anybody got that working? 

You can adjust brightness of the backlight with nvclock -S level (level is a 
value between 15 and 100 or a delta like +10/-10).

 As long as it doesn't work, I prefer
 running nvidia under Windows, and that's why I would be more interested
 in being able to boot from Linux/stamina directly into Windows/speed.

That works on my configuration as well.

Btw, i am using Debian sid based distribution (sidux.com) with kernel 2.6.29 
on Vaio VGN-Z21ZN.

Greets, Klaus



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


Re: [Sony-vaio-z-series] Nvidia/Intel switching

2009-05-31 Thread Bernd Eggink

Klaus Addicks schrieb:

Am Sonntag 31. Mai 2009 15:52:45 schrieb Bernd Eggink:

IMHO this method is mainly a progress for those using nvidia most of the
time, or for those who can't (or don't want to) boot into Windows. The
double boot could of course be automated, but frankly said, the
Boot-Windows-For-Three-Seconds method is still faster than a complete
Linux boot.


Hmm.. I don't have to boot twice. I can switch between Intel and Nvidia the 
same way like using Windows XP. Just switch to preferred mode when laptop is 
poweroff and the selected card works right away (at first boot!).
You only have to boot a second time after your very first boot with acpi_osi 
parameter.


You're right, it was my fault. I had different entries in my boot menu 
for speed and stamina, and the one for stamina missed the acpi_osi 
parameter. Works great now (with one entry)!



Another problem is the missing backlight control for nvidia, or has
anybody got that working? 


You can adjust brightness of the backlight with nvclock -S level (level is a 
value between 15 and 100 or a delta like +10/-10).


Just downloaded it from http://www.linuxhardware.org/nvclock/. Compiles 
and works perfectly, except that it says


Xlib:  extension NV-CONTROL missing on display :0.0.

(I guess that can be ignored.)

Greetings,
Bernd


--
Bernd Eggink
http://sudrala.de

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


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-05-30 Thread Guillaume BINET
 BOOT_IMAGE=Linux ro root=801 acpi_osi=!Windows 2006

perhaps the quotes are important ?

I have that in my grub.conf:

title gentoo 2.6.29-r4
root (hd0,0)
kernel /boot/gentoo root=/dev/sda1 rootfstype=ext4 acpi_osi=!Windows 2006 
quiet

Guillaume

On Saturday 30 May 2009, Zuzanna K. Filutowska wrote:
 Dnia piątek 29 maj 2009, Klaus Addicks napisał:
  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

 Well, it doesn't work for me. Still getting unable to copy vbios error on
 Nvidia, and only intel graphics works.

 boadicea:/home/platyna$ cat /proc/cmdline
 BOOT_IMAGE=Linux ro root=801 acpi_osi=!Windows 2006

 boadicea:/home/platyna$ cat /etc/modprobe.conf | grep sony
 options sony-laptop speed_stamina=3

 boadicea:/home/platyna$ cat /etc/default/acpi-support
 DOUBLE_CONSOLE_SWITCH=true -- This is to make scroll in touchpad to work
 after hibernation.

 Regards.


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


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-05-29 Thread Klaus Addicks
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-05-29 Thread Klaus Addicks
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-05-29 Thread Guillaume BINET
Damned ! It works.

I tried it a long time ago and I just realized why it didn't work:
*The thing is it doesn't work for the first off/on cycle from the intel mode 
(set by the module)*.

So the trick is to shutdown at least once with this configuration and you are 
done.

yeehaaa you really made my day !

Guillaume.





On Friday 29 May 2009, Klaus Addicks wrote:
 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~sony-vaio-z-series
 More help   : https://help.launchpad.net/ListHelp


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


Re: [Sony-vaio-z-series] Nvidia/Intel switching nightmare.

2009-05-26 Thread Zuzanna K. Filutowska
Dnia wtorek 26 maj 2009, Albert Vilella napisał:
 Hi Zuzanna,

 There are some ways to switch that don't require the Windows hack. Some are
 documented here:
 https://launchpad.net/~sony-vaio-z-serieshttps://launchpad.net/%7Esony-vai
o-z-series

 Some are more detailed in other emails in the mailing list:
 https://lists.launchpad.net/sony-vaio-z-series/

Can you be more precise when giving such advices? 

If you are speaking about DSDT hack, it also doesn't work.

Regards.

-- 
Zuzanna K. Filutowska
Home page: http://platyna.platinum.linux.pl/.
NIC-HDL: ZKF-RIPE, IRC nick: Platyna, Linux RU: #289909.
Well? I will go far, As the echo of the devout bell goes. --Sarah Brightman

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