After a successful install of OpenSuse 11.1 on Sony VAIO Z550N I’ve decided to write a detailed how-to and will update it with all new info I will able to find.
Installing OpenSUSE 11.1 on Sony VAIO Z550N
The best way to start installation is to start it using STAMINA mode, the result will be fully working INTEL graphic card. Later you can make NVIDIA work.
What works «out of the box»:
1.Right screen resolution (if you have installed it in STAMINA mode)
4.All additional ports and connections(except HDMI, which you can use after installing NVIDIA drivers)
5.SD card reader
6.Standby and Hibernate
7.Adjusting of CPU frequency
8.«All beautiful things»
Adjust right after installation**
Please update, and if you like you may install KDE 4.3.1 and later. Everithing is working flawlessly, I have no problems with 3D support and so on stuff.
So let’s move on to the real adjustment
For the right acpi support^ in order to adjust screen brightness and also to switch between graphic cards you have to install kernel module “sony-laptop”. The one from reps is not made for Z series so you should download it from this site:
After downloading it you have to unzip it and put it here
where "sony-laptop in the final folder where all files from archive shold be copied, not folder, files)). I think it is clear that if you have anouther kernel or smth els the route names will differ.
After it we have to execute the following commands in terminal:
make -C /usr/src/linux-obj/i386/pae/sony-laptop M=sony-laptop
make install -C /usr/src/linux-obj/i386/pae/sony-laptop M=sony-laptop
**Doing so **we will get the opportunity to turn on and off all wireless devices, adjust screen brightness and smth more)))
There is a perfect program called Killswitch applet, which can control rfkill devices from tray! =)
The best way to check if the new module works is to check /sys/class/rfkill/ after reboot. If there are several devices, it works if there is only one, you’ve missed smth
Implementing a graphic cards switch**
Check /etc/modprobe.d/sony-laptop.conf and if there is no such a file please create it and add the following:
options sony-laptop speed_stamina=3
To turn on NVIDIA card we have to make several steps:
1.in /usr/lib copy file libGL.so.1.2 and paste it here as libGL.so.INTEL
**2.in ** /usr/lib/xorg/modules/extensions copy libglx.so and paste as libglx.INTEL
3.We also have to create 2 copies of xorg.conf’а, in order to make our future script working.
in /etc/X11/ copy xorg.conf and paste as xorg.INTEL and as xorg.NVIDIA. (so generally you will got 2 copies made by you)
For xorg.INTEL plz check
BoardName "Mobile Intel GM45 Express Chipset"
Option "monitor-LVDS" "Monitor"
For xorg.NVIDIA plz check
VendorName "NVIDIA Corporation"
BoardName "GeForce 9300M GS"
Option "monitor-LVDS" "Monitor"
**4.Installing NVIDIA drivers via 1-click install. **
NVIDIA - openSUSE
5.Creating and activating a script
lspci | grep "00:02.1"
if $? -eq 0 ]; then
cp /etc/X11/xorg.INTEL /etc/X11/xorg.conf
ln -sf /usr/lib/libGL.so.INTEL /usr/lib/libGL.so.1
ln -sf /usr/lib/libGL.so.INTEL /usr/X11R6/lib/libGL.so.1
ln -sf /usr/lib/xorg/modules/extensions/libglx.so.INTEL /usr/lib/xorg/modules/updates/extensions/libglx.so
ln -sf /usr/lib/xorg/modules/extensions/libglx.so.INTEL /usr/lib/xorg/modules/extensions/libglx.so
cp /etc/X11/xorg.NVIDIA /etc/X11/xorg.conf
ln -sf /usr/X11R6/lib/libGL.so.190.42 /usr/X11R6/lib/libGL.so.1
ln -sf /usr/lib/xorg/modules/updates/extensions/libglx.so.190.42 /usr/lib/xorg/modules/updates/extensions/libglx.so
(NVIDIA drivers version number (190.42), as well as all names of xorg are to be added as they are in your etc/X11 folder)
Set this file as an executable, copy it to /etc/init.d/ and execute the following command:
That is all, our script is ready to use and will function during every load of the computer.
In order to have an opportunity to switch between cards you have to:
1.Before switching fully turn the computer off.
2.Add to a bootloader the following parameter: acpi_osi=«!Windows 2006» (there should be another quotes )
If you made everything correct, after turning the computer off, switching the mode and turning it on again the green led have to indicate it to you.
Если Вы все сделали правильно, то при выключении, переключении режима и включении компа, должен загореться индикатор режима SPEED, а по окончании загрузки, должен промелькнуть сплешскрин нвидии и загрузиться иксы. Все прочие настройки уже на Ваше усмотрение)
С такими параметрами у меня работает все правильно, есть поддержка 3D, а также работают «красивости».
Screen brightness control and other adjustments
You can control screen brightness using the following commands:
setpci -s 00:02.0 F4.B=FF (max)
setpci -s 00:02.0 F4.B=01 (min)
Donload program zenity and create script for screen brightness adjustment:
value=$(zenity --scale --text "Screen brightness" --min-value=10 --max-value=100 --value=10)
if $value = 100 ]
then sudo /sbin/setpci -s 00:02.0 F4.B=FF
else sudo /sbin/setpci -s 00:02.0 F4.B=$value
After this, install keytouch and keytouch editor. In editor you can bind S1, S2, and a key for ejecting dvd-rom. Launch keytouch and load you pattern you have created in keytouch-editor. You now can set ouw script on S1 or other key. I have set it on S1 with command:
(In order to have a permission to execute this script you have to go to sudo control and permit command “setpci” to be executed. So you will be able to use this script as a user, not root.
That’s all as for the main adjustments. You can also download “powertop” and add some command or create new powersave script.
In YaST in “sound configuration” you have to set the model of your card as:
after it in kmix and alsamixer real mic will appear.
- After booting windows the first boot of linux without X system, it’s ok, just reboot.
- In order to get the right resolution using NVIDIA card you have to set it in system configuration every time you boot.
- May be some other…
But of course there is a solution of all these bugs. Just have to test for some more time.
I’ll be glad to answer you questions and correct my article if I made a mistake.
Since OpenSuse 11.2 will be available soon I will update this thread with new and adequate test results!
Sources, which I’ve used for writing this how-to:
as well as all sources mentioned in these articles.
I would like to express my gratitude to the authors of these articles!
Great friends, great!