← Back to team overview

sony-vaio-z-series team mailing list archive

Manual Installation Vaio Z Series

 

Hey Guys,
I hate to disturb you guys with such a noob problem but im having some
difficulties which Id like help with. Any help will be greatly appretiated.
I own a 3 year old VGN-Z620N and use 64-bit Ubuntu 10.04 uptil now very
successfully using the janitor script. I had everything working, static
switching both graphics cards, function buttons etc. The only problem I
have is every time I receive updates for the nvidia drivers it breaks my
nvidia for some reason I don't understand. This recently happened when
295.20 got released. Mr. Raphaels website is down and id wait for the
janitor script to be up again and fix it with that but I work outside and
need my battery which is completely drained with both cards running so i'm
trying to do it all manually and failed many times. If someone could please
help me step by step i'd really appretiate it.

Some background information.

$ uname -a
Linux vaio 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012
x86_64 GNU/Linux

Apart from Ubuntu 10.04, I use the ppa *ppa:ubuntu-x-swat/x-updates *for
the newest xorg versions and newest nvidia drivers when I used the janitor
script. I also use the lucid-bleed ppa.

Here is how I attempt to do it. So first step would be to make directory
/usr/share/sony-laptop and download the sony-laptop-zseries-0.9np5 module
here. Next I would make symlink between /usr/share and /usr/src using:

ln -sf  /usr/share/sony-laptop/sony-laptop-zseries-0.9np5
/usr/src/sony-laptop-zseries-0.9np5

then

dkms add -m sony-laptop-zseries -v 0.9np5
/etc/init.d/dkms_autoinstaller start

Then get root:
sudo -i
oi='false'; o='options sony-laptop speed_stamina=3'
for cf in ${m:=/etc/modprobe.d}/*.conf; do
grep -q "^$o$" $cf && oi='true'; done
$oi || echo "$o">>$m/sony-laptop.conf

Everything is fine till this point. I can install the module and add
speed_stamina=3.

After this I install the nvidia driver using:

sudo apt-get install nvidia-common jocky-gtk nvidia-settings
/usr/bin/jockey-gtk

This will install the newest nvidia driver because i have the ppa.

After this I don't know what else to do. I don't have the switch-x-to
script and dont know where to put it. In the old instruction it also says
make symlink between /usr/local/sbin/switch-x-to and
/usr/share/sony-laptop/switch-x-to. I also dont know how to add upstart
jobs /etc/init/switch-x-to and /etc/init/nvidia-settings.conf.

If someone could please help document this manual install for someone new
to ubuntu like me it would be of alot of help in making us understand
better. Thank you for all your help.

Sohrab

Follow ups