Ubuntu On Sony Vaio FW Series

Tips & Tricks related to Sony Vaio FW series laptops

Posts Tagged ‘brightness

10.10 with applet

leave a comment »

Who have problems with brightness fn keys in 10.10 ubuntu, please check if gnome brightness applet works for you (right click on gnome panel, add to panel, search brightness).

I see people still having problems with fw4x,fw5x models. I’m not much help here, because for me it just works now.

Written by egaistek

February 12, 2011 at 01:54

Posted in Vaio

Tagged with , , ,

Brightness bug with dual display mode

with 4 comments

So I moved to Lucid. It was a pain to make fglrx work after upgrade. It somehow messed up with nvidia drivers and while Xorg was loading fglrx it was loading glx and dri extensions fron nvidia package. I fixed symlinks and installed fglrx 10.7.
Brighness control works ok while I’m on laptop without external display. But when I’m in dual display mode brightness control works only from power managmer. While using fn keys brightness popup doesn’t move.
Well, it’s time to fix a new bug.

Written by egaistek

August 5, 2010 at 01:00

Posted in Vaio

Tagged with , ,

Brightness solution for Lucid from Vanio

with one comment

As previous solution was not universal as I thought, many people confirm that solution from Vanio works for them. Try it.

While I’m finally moving to 10.04 I will test both solutions later.

Written by egaistek

August 3, 2010 at 14:59

Posted in Vaio

Tagged with , ,

Ubuntu 9.10 Karmic Koala beta

with 47 comments

I just want to inform you, if you have not tried it yet. Brightness control works out of the box. S1 key works, AV key does not. Headphones jack detection works. Built-in microphone does not. Web camera works in Skype.

Dmesg output when using AV key:


sony-laptop: Unknown event: 0x100 0xa1
sony-laptop: Unknown event: 0x100 0x21

I guess sony-laptop module is without our patch or just a new one. I’ll check sources when I have time.

Stay tuned.

Written by egaistek

October 3, 2009 at 08:49

Brightness patch for FW4x models

with 31 comments

Thanks to Olivier Grégoire for supplying DSDT.aml for FW4 model. I have updated quick brightness guide post with new patch links, take a look.

Written by egaistek

July 20, 2009 at 23:22

Posted in Vaio

Tagged with , , , ,

Quick brightness guide for Jaunty

with 62 comments

This little guide is faster an easier version of previous brightness how to. Since Jaunty already have sony-laptop patch included, we need to patch our DSDT bios table only and override default one with patched, while kernel is loading. I saw many people have problems with DSDT compiling, so I removed dsdt-error.patch patches from pack, and changed it with another line in terminal.

I have made a script which will make all what needed, you just need to select right patch for your model. Download new patches pack. Unpack it, then pop up your terminal and go into that directory, where you’ve unpacked it. There is 3 patches included dsdt-ati-fix-fw1x.patch, dsdt-ati-fix-fw2x.patch, dsdt-ati-fix-fw3x.patch. If you have FW3x(x) model, then use dsdt-ati-fix-fw3x.patch and so on for FW1x(x)/FW2x(x). Ok, you’ve made your choice, now just type this in terminal:

Ok, I have changed script and make him choose the right patch for you, just type this in terminal then:

sudo ./dsdt-patch

That’s all 🙂

Here is a source code of that script, for those who interested:

#!/bin/bash
# by Anton Veretenenko
# version: 0.2

patch_temp_dir=vaio_fw_patch
isroot=`whoami`

if [ ! $# -eq 0 ]
then
echo “Use: sudo ./dsdt-patch”
exit
fi

if [ ! “$isroot” == “root” ]
then
echo “Error: Make sure you run this script with sudo”
exit
fi

echo “Creating temp directory”
mkdir “/tmp/$patch_temp_dir”

if [ ! -x /usr/sbin/dmidecode ]
then
# if dmidecode isn’t found, let’s install it too
echo “Installing dmidecode”
apt-get install dmidecode
else
echo “dmidecode found”
fi

isfw1=`dmidecode –type system | grep -i -c -P -e “Product Name: VGN-FW(1).*”`
isfw2=`dmidecode –type system | grep -i -c -P -e “Product Name: VGN-FW(2).*”`
isfw3=`dmidecode –type system | grep -i -c -P -e “Product Name: VGN-FW(3).*”`
isfw4=`dmidecode –type system | grep -i -c -P -e “Product Name: VGN-FW(4).*”`
if [ “$isfw1” == “1” ]
then
patch_file=dsdt-ati-fix-fw1x.patch
elif [ “$isfw2” == “1” ]
then
patch_file=dsdt-ati-fix-fw2x.patch
elif [ “$isfw3” == “1” ]
then
patch_file=dsdt-ati-fix-fw3x.patch
elif [ “$isfw4” == “1” ]
then
patch_file=dsdt-ati-fix-fw4x.patch
else
echo “Could not select the right patch for you, does it FW model? Contact me.”
rm -rfd “/tmp/$patch_temp_dir/”
exit
fi

if [ ! -r “$patch_file” ]
then
echo “Error: Could not read $patch_file file”
rm -rfd “/tmp/$patch_temp_dir/”
exit
else
echo “Selected $patch_file patch for you”
fi

cp “$patch_file” “/tmp/$patch_temp_dir/”
cd “/tmp/$patch_temp_dir”

if [ ! -x /usr/bin/iasl ]
then
# if iasl isn’t found, let’s install it
echo “Installing iasl”
apt-get install iasl
else
echo “iasl found”
fi

if [ ! -x /usr/bin/acpidump ]
then
# if acpidump isn’t found, let’s install it too
echo “Installing acpidump”
apt-get install acpidump
else
echo “acpidump found”
fi

if [ ! -x /usr/bin/patch ]
then
echo “Installing patch command”
apt-get install patch
else
echo “patch command found”
fi

echo “Dumping DSDT table to DSDT.aml”
acpidump -b -t DSDT -o DSDT.aml
if [ ! $? -eq 0 ]
then
# if acpidump failed, show error
echo “acpidump failed”
rm -rfd “/tmp/$patch_temp_dir/”
exit
fi

echo “Decompiling DSDT.aml to DSDT.dsl”
iasl -d DSDT.aml
rm DSDT.aml
if [ ! $? -eq 0 ]
then
# if iasl failed, show error
echo “iasl failed”
rm -rfd “/tmp/$patch_temp_dir/”
exit
fi

echo “Patching DSDT.dsl with $patch_file”
patch < "$patch_file" if [ ! $? -eq 0 ] then # if patching failed, show error echo "$patch_file patch failed" rm -rfd "/tmp/$patch_temp_dir/" exit fi echo "Fixing _T_0 errors in DSDT.dsl" sed -i 's/_T_0/T_0/g' DSDT.dsl if [ ! $? -eq 0 ] then # if sed failed, show error echo "_T_0 fixing failed" rm -rfd "/tmp/$patch_temp_dir/" exit fi echo "Compiling patched DSDT" iasl DSDT.dsl if [ -f DSDT.aml ] then echo "Compilation successfull, updating initramfs" cp DSDT.aml /etc/initramfs-tools/ dpkg-reconfigure linux-image-`uname -r` else echo "Error: DSDT compilation error" fi # deleting temp dir rm -rfd "/tmp/$patch_temp_dir/" if [ -f /etc/initramfs-tools/DSDT.aml ] then echo "DSDT patch applied, you should reboot your system now" fi [/sourcecode]

Written by egaistek

May 28, 2009 at 03:54

Posted in Vaio

Tagged with , , , , , ,

On Jaunty

with 47 comments

Just updated.
Brightness works out of the box if you have patched dsdt in initramfs =)
Sound works and not integrated mic.
Video/3D works with fglrx.
S1/AV and fn keys works.
I saw that usb flash/hdd drives are fast now but system load too much.

I guess I have problems with wireless, poor performance. I’ve noticed it because I’m using NFS shares through wifi, e.g. watching movies. And on Jaunty nautilus and player hangs more of a time. Something wrong there. Do you have such problems?

Written by egaistek

April 27, 2009 at 17:02

Posted in Vaio

Tagged with , , ,