thank you arochester I have looked at it and tried every thing in it.
tiresia, I tried tinkering with alsamixer but nothing happened.
yesterday I found the solution at this link.
apparently you have to add this line "options snd_hda_intel model=lenovo" at the end of this file /etc/modprobe.d/alsa-base.
http://ubuntuforums.org/archive/inde...t-842700.html\
http://ubuntuforums.org/showthread.php?t=1043568
I think these two links will solve the sound problem for any laptop running ubuntu 7.10 or 8.04 or 8.10
thank you guys for the help.