A friend had ubuntu 10.04 running on Sony Vaio CW1BGN. There were two problems that needed to be fixed.
1. The microphone was not working.2. The webcam was working in applications like cheese but not in skype
Fixing the microphone required the following to be written in /etc/modprobe.d/sound.conf
options snd slots=snd-hda-inteloptions snd-hda-intel model=toshiba-s06alias snd-card-0 snd-hda-intel