- Installing Ubuntu on a Sony Vaio VNG-FS115B -
# Author : Vanstals Thomas [Louvain-la-Neuve, Belgium] __ Here are some tips to install Ubuntu on a Sony Vaio VNG-FS115B. All that you can find on this page works fine with the Hoary release of Ubuntu, from April 2005. Keeping using Windows
If you want to continue using windows on your computer, I suggest you to install it manually on a small partition. By default, it will use 40Go of your hard disk. What is Ubuntu ?Ubuntu is an operating system based on Debian and consisting of free and open source softaware. Ubuntu is easy to install, free of viruses, and perfect for laptops, desktops ans servers. Ubuntu is community developed, commercialy supported, and offers free security updates. A new version is released every six months.
You can download it (only 1 disk) in the download section of the Ubuntu official website.
General Hardware Specifications of the Sony Vaio VNG-FS115B
Here is a short table summarizing the most used components of the Sony Vaio VNG-FS115B.
This laptop is operating under Kernel version 2.6.10. DisplayActivating the 1280x800 resolutionHere are the steps to get the wide screen working. 1. Download 915resolution 2. Uncompress and install 915resolution
$ tar -xzf 915resolution-0.2.tar.gz
$ cd 915resolution-0.2/ $ make $ sudo make install 3. List the resolutions available $ sudo 915resolution -l
4. Overwrite a reslotution that you don't use with the 1280x800 one (3c in our case) $ sudo 915resolution 3c 1280 800
5. Check that the change has take effect. $ sudo 915resolution -l
6. Test the new resolution :
login : your_login
- Launch gdm again
Password: your_password $ sudo killall gdm $ sudo gdm
7. The resolution should be ok in the login page, but once logged in, the resolution should come back in 1024x768, due to your personal settings. Just adapt them in the System -> Preferences -> Screen resolution menu. 8. Make the change become permanent (what we have done will be executed at every boot) : $ sudo vi /etc/init.d/bootmisc.sh
Add the line 915resolution 3c 1280 800 after the line :
[ -f /etc/default/rcS ] && . /etc/default/rcS (at aproximatively line 10)
...
[ -f /etc/default/rcS ] && . /etc/default/rcS 915resolution 3c 1280 800 ... 9. Reboot and check everything is ok... Double layer DVD±RW driveActivating the DMAYou have to activate DMA if not activated.Check if activated with the following command :
$ hdparm -d /dev/hdb
If the result look like to :
/dev/hdb:
then, your DMA is not activated.using_dma = 0 (off) Just activate it doing :
$ sudo hdparm -d1 /dev/hdb
Executing
$ hdparm -d /dev/hdb
again, should now give this result :
/dev/hdb:
Finally, make the change become permanent (what we have done will be executed at every boot) :
using_dma = 1 (on) $ sudo vi /etc/init.d/bootmisc.sh
Add the line hdparm -d1 /dev/hdb after the line :
[ -f /etc/default/rcS ] && . /etc/default/rcS (at approximatively line 10)
...
Congratulations, your DMA is now activated. I use K3B
(available in Synaptic) to burn. It works great, even with Gnome.
[ -f /etc/default/rcS ] && . /etc/default/rcS hdparm -d1 /dev/hdb ... Sound cardInstalling ALSA 1.0.9The ALSA version that come with Ubuntu Hoary is 1.0.8.To get the sound card working, you will have to install (at least) the 1.0.9 one, available on the ALSA website (they are still in development). You have to download the Driver, Library, OSS Library, and Utilities packages. The following packages are required to install them : kernel-headers-version, libncurses5-dev and build-essential (available in Synaptic) (uses $ uname -r if you don't know the kernel version you are using). Just install the packages, using those commands (have a look at the README) : 1. Uncompress the Driver package and type those commands in the driver directory :
$ ./configure --with-cards=hda-intel
2. Do the same for the other packages, using those commands :
$ make $ sudo make install
$ ./configure
3. Configure the sound card (agree with everything) and reboot :
$ make $ sudo make install
$ sudo alsaconf
$ sudo reboot Integrated Network Card'sSwitching between card'sI've done my own script : wificonfig.Have a look at this page : wificonfig.html HotkeysGetting the hotkeys working, thanks to pijalu===================================================Some people report me that this works also with : Sony Vaio - FSN-660 - FS-215E =================================================== Requirements : gcc-3.4, linux-headers-... First, download the modified sony_acpi module here and untar it : $ tar xzvf sony_acpi.tar.gz
Complile the sony_acpi.c file and move it to your modules directory :
$ cd sony_acpi
Edit the /etc/modules file and add the line sony_acpi at the end of the file (the module will be lunch at every boot).
$ make $ sudo cp sony_acpi.ko /lib/modules/`uname -r`/kernel/drivers/acpi/ $ sudo vi /etc/modules
Download, compile and move the sonyfn.c file to your /usr/sbin directory.
$ gcc sonyfn.c -o sonyfn
Finally, modify your bootmisc.sh file so that the sonyfn script is executed at every boot :
$ sudo mv sonyfn /usr/sbin $ sudo vi /etc/init.d/bootmisc.sh
Add the line sonyfn & after the line :
[ -f /etc/default/rcS ] && . /etc/default/rcS (at approximatively line 10).It should look like : ...
Now reboot and test if everything is ok.
[ -f /etc/default/rcS ] && . /etc/default/rcS sonyfn & ... Other tipsClosing lidIf you want to change the behavior of Ubuntu after having closed the lid, edit your /etc/acpi/lid.sh file.For example, if you want Ubuntu doing nothing when closing it, just comment every lines of the file (using the # char). __ # Back to Linux on Laptops |