Hello folks!
I would like to shed some insight into a problem I ran into and which I think many of you would have or eventually run into.
I setup Ubuntu 8.04 LTS on my HP Compaq NX7300 laptop. I have always wanted to try out linux and I liked Ubuntu a lot. The installation was a breeze and after I setup my system, the update manager kicked in and updated my system. I plug in my Creative 24bit Live External USB sound card, Ubuntu automatically installs the drivers and I was all set. At least thats what I thought!
The sound plays brilliantly well via my Bose Companion system while I use applications such as Rythmbox or Totem. But in Firfeox, all the sound from flash sites like Youtube or Imeem was playing via the laptop speakers which was annoying. So I go to System/Preferences/Sound to look up the settings. It looked correct and the tests ran fine. I then started doing what anyone else would do – google this problem up!
I came across an excellent resource here: Simple guide to Sound Solutions for Hardy,Intrepid and Jaunty Jackalope Users
To make it easier for you folks, let me reproduce the content here:
1. Open the terminal and type the following command
sudo apt-get install asoundconf-gtk alsa-oss libasound2 libasound2-plugins padevchooser gstreamer0.10-pulseaudio ubuntu-restricted-extras
2. Close any application that may be trying to use sound and do the following:
Go to System/Preferences/Sound and set all the preferences from automatic to PulseAudio except Default Mixer Tracks which you should set to your sound card.
Go to System/Preferences/Default Sound Card and choose pulseaudio. Next, right click on the little speaker on the top panel, that is the Panel Volume Control. Click Open Volume Control and make sure it is set to the same thing as the Default Mixer Tracks in the previous step
Click on Preferences and make sure that Master and PCM and whatever else you want to control are selected. Make sure that any boxes labeled SPDIF or IEC958 are not checked. Close the Preferences box.
Push up the sliders in the volume control and make sure the little speakers do not have little red mute marks on them. Go to Applications/Sound and Video/GNOME ALSA Mixer and see if there is anything you missed because sometimes, for some cards, not all the
options are in the Panel Volume Control.
Go to Applications/Sound and Video and select Pulse Audio Device Chooser. This will put a little icon on the panel near the Panel Volume Control.
Click on the new icon and choose Volume Control. This will open the Pulse Audio Volume Control. Go to Output devices and see if your sound card is there, it will be listed as ALSA PCM on front:…(ALC8 via DMA or whatever your sound card is. If you have a usb device it will be listed as ALSA PCM on front:…(USB Audio) via DMA or something like that. Make sure the sliders are up and the device is not muted.
If any of the above is giving you problems, try rebooting.
3. Now, open Rythmbox and play something. If you have nothing handy just play one of the radio stations, you should hear something. In the Pulse Audio Volume Control/Playback you should see something like this Rythmbox: Playback Stream and some Volume sliders that you can adjust.
That did it for me. The sound now rocks! If you have more than one device and would like to configure sound to play on all devices, I would recommend you to follow the above link and get the procedure there.
Credits to the original author for creating an excellent tutorial. Hope that helps you all out.
Have fun!