From Thewall83
Zhukov: you should edit your first post and specify that it works only on the FJ series of Sony VAIO's laptop.
On the FE under Feisty it doesn't work.
So, you're warned 
Gutsy instructions as well!! Read the post!
Nice!
Feisty instructions! 
Code:
sudo rmmod sony_acpi
Code:
sudo apt-get install libasound2-dev build-essential linux-headers-$(uname -r) gcc-3.4 libxosd-dev checkinstall
Code:
wget http://download.berlios.de/fsfn/sony_acpi.tar.gz
wget http://student.dei.uc.pt/~jpoa/fsfn/fsfn.conf.txt
wget http://student.dei.uc.pt/~jpoa/fsfn/fsfn.txt
Forgot this deb... tsc tsc
Code:
wget http://student.dei.uc.pt/~jpoa/fsfn/fsfn_1.1-1_i386.deb
Code:
sudo dpkg -i fsfn_1.1-1_i386.deb
Code:
tar xvzf sony_acpi.tar.gz
cd sony_acpi
make
Code:
sudo cp sony_acpi.ko /lib/modules/2.6.20-15-generic/kernel/ubuntu/acpi/
Code:
sudo modprobe sony_acpi
Code:
sudo modprobe sony_acpi
Sexy! 
Kudos mainly to Schwieb and also to UbuntuFS for the sony_acpi link (new version I believe).
So now just continue from where you left with the old tutorial
(marked with bold).
Ok, so this is what I did to get the FN keys to work on my Vaio:
First let's install some packages:
Code:
sudo apt-get install libasound2-dev build-essential linux-headers-$(uname -r) gcc-3.4 libxosd-dev checkinstall
Then:
Code:
wget http://student.dei.uc.pt/~jpoa/fsfn/fsfn-1.1-take2.tar.gz
wget http://student.dei.uc.pt/~jpoa/fsfn/fsfn.conf.txt
wget http://student.dei.uc.pt/~jpoa/fsfn/fsfn.txt
Extract and compile:
Code:
tar zxvf fsfn-1.1-take2.tar.gz
cd fsfn-1.1
./configure && make && sudo checkinstall
Don't forget to get back to the initial directory:
Then, just to be sure all modules are loaded:
Code:
sudo rmmod sony_acpi
sudo modprobe sony_acpi
ls /proc/acpi/sony/
And check for:
Code:
brightness brightness_default fnkey
Feisty users continue here!
Then let's copy the configuration file:
Code:
sudo cp fsfn.conf.txt /etc/fsfn.conf
Then edit it as desired:
Code:
sudo gedit /etc/fsfn.conf
For example, I reduce the size of the fonts and use Headphone as the ALSA device.
If you need to activate the FJS hack add this to the beggining of the file:
Code:
BRT_SETDEFAULT=1
BRT_HACK_FJS=1
Now let's test it!
And:
Now try the keys. If everything is ok let's just add it to the boot process:
Code:
sudo chown root:root fsfn.txt && sudo chmod +x fsfn.txt && sudo mv fsfn.txt /etc/init.d/fsfn
And:
Code:
sudo update-rc.d fsfn defaults
!!! UPDATE FOR FRESH GUTSY INSTALLS
!!! This comes from our friend mjpoetic
Kudos man!
You saved my day!
UPDATE:
I have been messing around with this and I managed to install it now. First I unloaded the other sony modules before installing things (i.e., sonypi and sony_laptop). Then when you are compiling the sony_acpi.ko file use:
Code:
Code:
make && sudo make install
Copy the sony_acpi.ko to it's appropriate place:
Code:
Code:
sudo cp sony_acpi.ko /lib/modules/`uname -r`/ubuntu/acpi/
Ill try to clean this post up soon
And that's it! Hope it works for you!
This is basically a summary of this I have NO CREDIT AT ALL!: http://www.ubuntuforums.org/showthread.php?t=88611
Kudos to the developers and original thread creators!
Bookmarks