I had the same trouble with Debian Etch, except I am running gnome. The below link is what solved my problem. I do not know how Ubuntu handles apt, and I'm sure you have different sources, but the packages listed under the Sound Mixing and Multimedia should help you get audio:
http://www.ehomeupgrade.com/2006/07/...er-processing/
You can probably skip the gnome packages. Also, you might need to unmute the alsa mixer as it is sometimes muted by default:
amixer set Master 100% unmute
amixer set PCM 100% unmute
HTH