The Problem : The headphone / earphone jack is being ignored by Ubuntu 9.04 on the Sony Vaio VGN-FW11E. Sound continues to play through the lap-top speakers even when the headphone is plugged in.
The Solution: Edit the file /etc/modprobe.d/alsa-base.conf and include this line at the end:
options snd-hda-intel model=sony-assamd
Save the file and reboot your machine.
In case the problem still exists try this one:
options snd-hda-intel model=vaio