Ubuntu on Sony VAIO VGN-FE21B


Installing [UBUNTU] on [SONY VAIO VGN-FE21B]

Last updated: 13/01/2007

General Hardware Specifications of [SONY VAIO VGN-FE21B]:

Hardware Components
Status under Linux
Notes
Pentium
T2300 @ 1.66 GHz
Works No special procedure required during installation.
15.4″ LCD Works No special procedure required during installation
NVIDIA 7400 Works No special procedure required during installation
If you want xgl, compiz or beryl download and install NVIDIA drivers see procedure here and X11 configuration here
VGA output and S-video output not tested
1GB, RAM, 2DIMMs Works No special procedure required during installation
80 GB SATA Hard Drive Works No special procedure required during installation
Integrated 5-1 Memory Card Reader Should Works Not tested should work
Integrated Bluetooth Works No special procedure required during installation
Integrated PCMCIA Works No special procedure required during installation
Integrated IEEE1384 Works No special procedure required during installation
Internal V92 Modem Should Work Not tested should work
see http://www.linuxant.com/drivers/
DVD-RW Unit Works No special procedure required during installation
Internal Intel WIFI Works No special procedure required during installation
Internal Intel Ethernet Works No special procedure required during installation
Intel HDA SoundCard Works No special procedure required
during installation for PLAYBACK
If you want to CAPTURE with integrated microphone see instructions here

This laptop is operating under Kernel version [Linux boucaron-laptop 2.6.17-10-generic #2 SMP]

Basic Installation of [UBUNTU]:
  • Why to use [UBUNTU]
    • Because only one live CD that we can install, good support for auto detection of hardware
  • Obtaining [UBUNTU]
  • Installing
  • Post-Install modifications/tweaks see below
Setting up additional features for [UBUNTU]
NVIDIA LAST DRIVER WORKING WITH UBUNTU
  • Download and install NVIDIA Drivers
  • However if you reboot now you will do not have X11 working, actually because in UBUNTU nvidia is a “restricted” module and UBUNTU is having a service run at startup called /etc/init.d/linux-restricted-modules-common that “copy” files from /lib/linux-restricted-modules/2.6.17-10-generic/nvidia (our case) into the appropriate place in the /lib/modules/2.6.17-10-generic/.
  • The trick is the following after installing NVIDIA driver we just have to copy the nvidia.ko file from /lib/modules/2.6.17-10-generic/ into /lib/linux-restricted-modules/2.6.17-10-generic/nvidia/ after removed present files in this directory. Take care also to remove /lib/linux-restricted-modules/2.6.17-10-generic/nvidia_legacy.
Configuration Files
  • X11 Configuration for xgl, beryl
  • # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Oct 16 22:13:07 PDT 2006

    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
    # (Type “man /etc/X11/xorg.conf” at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg

    Section “ServerLayout”
    Identifier     “Default Layout”
    Screen         “Default Screen” 0 0
    InputDevice    “Generic Keyboard”
    InputDevice    “Configured Mouse”
    InputDevice    “stylus” “SendCoreEvents”
    InputDevice    “cursor” “SendCoreEvents”
    InputDevice    “eraser” “SendCoreEvents”
    InputDevice    “Synaptics Touchpad”
    EndSection

    Section “Files”

    # path to defoma fonts
    FontPath        “/usr/share/X11/fonts/misc”
    FontPath        “/usr/share/X11/fonts/cyrillic”
    FontPath        “/usr/share/X11/fonts/100dpi/:unscaled”
    FontPath        “/usr/share/X11/fonts/75dpi/:unscaled”
    FontPath        “/usr/share/X11/fonts/Type1″
    FontPath        “/usr/share/X11/fonts/100dpi”
    FontPath        “/usr/share/X11/fonts/75dpi”
    FontPath        “/usr/share/fonts/X11/misc”
    FontPath        “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
    EndSection

    Section “Module”
    Load           “i2c”
    Load           “bitmap”
    Load           “ddc”
    Load           “extmod”
    Load           “freetype”
    Load           “glx”
    Load           “int10″
    Load           “type1″
    Load           “vbe”
    EndSection

    Section “InputDevice”
    Identifier     “Generic Keyboard”
    Driver         “kbd”
    Option         “CoreKeyboard”
    Option         “XkbRules” “xorg”
    Option         “XkbModel” “pc105″
    Option         “XkbLayout” “fr”
    Option         “XkbOptions” “lv3:ralt_switch”
    EndSection

    Section “InputDevice”
    Identifier     “Configured Mouse”
    Driver         “mouse”
    Option         “CorePointer”
    Option         “Device” “/dev/input/mice”
    Option         “Protocol” “ExplorerPS/2″
    Option         “ZAxisMapping” “4 5″
    Option         “Emulate3Buttons” “true”
    EndSection

    Section “InputDevice”
    Identifier     “Synaptics Touchpad”
    Driver         “synaptics”
    Option         “SendCoreEvents” “true”
    Option         “Device” “/dev/psaux”
    Option         “Protocol” “auto-dev”
    Option         “HorizScrollDelta” “0″
    EndSection

    Section “InputDevice”

    # /dev/input/event
    # for USB
    Identifier     “stylus”
    Driver         “wacom”
    Option         “Device” “/dev/wacom”          # Change to
    Option         “Type” “stylus”
    Option         “ForceDevice” “ISDV4″               # Tablet PC ONLY
    EndSection

    Section “InputDevice”

    # /dev/input/event
    # for USB
    Identifier     “eraser”
    Driver         “wacom”
    Option         “Device” “/dev/wacom”          # Change to
    Option         “Type” “eraser”
    Option         “ForceDevice” “ISDV4″               # Tablet PC ONLY
    EndSection

    Section “InputDevice”

    # /dev/input/event
    # for USB
    Identifier     “cursor”
    Driver         “wacom”
    Option         “Device” “/dev/wacom”          # Change to
    Option         “Type” “cursor”
    Option         “ForceDevice” “ISDV4″               # Tablet PC ONLY
    EndSection

    Section “Monitor”
    Identifier     “Generic Monitor”
    HorizSync       28.0 – 64.0
    VertRefresh     43.0 – 60.0
    Option         “DPMS”
    EndSection

    Section “Device”

    #Driver “nv”
    Identifier     “NVIDIA Corporation NVIDIA Default Card”
    Driver         “nvidia”
    #    Option  “XAANoOffscreenPixmaps”
    Option “TripleBuffer” “True”
    EndSection

    Section “Screen”
    Identifier     “Default Screen”
    Device         “NVIDIA Corporation NVIDIA Default Card”
    Monitor        “Generic Monitor”
    DefaultDepth    24
    Option         “RenderAccel” “true”
    Option         “AllowGLXWithComposite” “true”
    SubSection     “Display”
    Depth       1
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       4
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       8
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       15
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       16
    Modes      “1280×800″
    EndSubSection
    SubSection     “Display”
    Depth       24
    Modes      “1280×800″
    EndSubSection
    Option “AddARGBGLXVisuals” “True”
    EndSection

    Section “Extensions”
    Option “Composite” “Enable”
    EndSection

    Section “DRI”
    Mode 0666
    EndSection
  • Modules options for sound card, append this to /etc/modprobe.d/alsa-base
    options snd-hda-intel model=vaio position_fix=0
Contact Information
  • julien DOT boucaron AT free DOT fr
Links:

Plus other useful things I may have forgotten

Linux on Laptops

No Warranties: This information is provided “as is” without any warranty, condition, or representation of any kind, either express or implied, including but not limited to, any warranty respecting non-infringement, and the implied warranties of conditions of merchantability and fitness for a particular purpose. All logos or trademarks on this site are the property of their respective owner. In no event shall linux-laptop.net, linux-on-laptops.com, or any directors, trustees, associates, or employees thereof be liable for any direct, indirect, special, incidental, consequential or other damages howsoever caused whether arising in contract, tort, or otherwise, arising out of or in connection with the use or performance of the information contained on this web site.

Comments are closed.