EchoAudio – How to Get Sound in Ubuntu With Echo Audio Layla 20

Your running Ubuntu studio 10.04 on a Dell 8200. Your problem is with your Echoaudio Layla20 audio card. It seems totally undetected.

If you run lshw in a terminal it is not mentioned by name, just “unclaimed multimedia”. Your Linux knowledge is small and you just moved over from XP. Ideally, you are looking for a script that you can run to do a whole setup in case you have to reinstall an operating system again.

You have spent ages going through forums, but you dont know Linux, MS DOS is ok and general PC knowledge. Please verify what version of ALSA sound driver you have installed on your Ubuntu studio 10.04. Type this command cat /proc/asound/version into a terminal window. An output should look similar to:

Advanced Linux Sound Architecture Driver Version 1.0.21.

If you have version 1.0.23 then you don’t need to upgrade your version of ALSA. If it is 1.0.22 or below you should uprade it. Upgrading to 1.0.23 and then rebooting your computer might fix your issue.

Here is instructions on running an Alsa upgrade script. Download Alsa upgrade script and save it. You will need to create an account on ubuntuforums.org in order to access that script.

cd
tar xvf AlsaUpgrade-1.0.23-2.tar
sudo ./AlsaUpgrade-1.0.23-2.sh -d
sudo ./AlsaUpgrade-1.0.23-2.sh -c
sudo ./AlsaUpgrade-1.0.23-2.sh -i
sudo shutdown -r 0

After reboot you can type:

$ cat /proc/asound/version

This will let you know if you’re running new version. Make sure that all your channels are unmuted and volume is up. Type in a terminal:

$ aplay -l

If you still have no sound then type in a terminal:

$ aplay -l

Then type a following command to see if your soundcard was detected:

$ cat /proc/asound/cards

If you see your soundcard, you’re almost finished. To test your soundcard, type for example (where X is your soundcard):

$ aplay -Dplughw:X,0 -fcd /”your-music-directory”/”replace-this-with-your-soundfile”.wav

or for example:

$ speaker-test -Dplughw:X,0 -c2

Replace an X with an index of your soundcard index , which you find out by typing “aplay -l” and look for your soundcard “X”.

You can test a multichannel soundcard a following way, type:

$aplay -L to find out about your pcm device ie. “surround51”. That is a upper case L.

$speaker-test -D surround51 -c6

EchoAudio

Note: If a channel mapping should be wrong you need to adjust it in .asoundrc

Check if your alsamixer channels are activated and unmuted in “Gnome Mixer” then “Volume Control” then “Preferences”. Very often there are headphone jack, SPDIF, or microphone issues reported. Usually this has something to do with wrong alsamixer settings or more seldom with a wrong model id assigned to your sound driver in /etc/modprobe.d/alsa-base.conf.

If you’re lacking certain controls in alsamixer or your driver is not even being loaded, you should check out your model id in attached HD-Audio-Models.txt file. I strongly recommend to try similar model id’s matching your codec to checkout if your faulty function gets working.

Edit your alsa-base.conf file:

sudo gedit /etc/modprobe.d/alsa-base.conf

Look for “options snd-hda-intel index=-2”. Lookup your model in HD-Audio-Models.txt and change entry accordingly:

options snd-hda-intel index=-2 model=XXXXX

Save, exit, and reboot your computer.

If tt seems to have found your sound card. In a sound mixer panel go to “Playback, Internal Audio Analog Stereo (PulseAudio Mixer)” add a master control to that panel and then un-mute it. Test to see if you have audio.

Also, if you still have no sound, try starting pulseaudio by typing:

$pulseaudio

Test to see if you have sound now. If you do then pulse audio is not configured to start on bootup. Another thing to try is to adjust alsamixer volume.

Type:

$ alsamixer

Check if it says “MM” under any of some playback devices such as Master, Speaker, etc. “MM” means a left+right stereo channels are muted. You can toggle muting on or off by pressing a “m” key, use arrow keys to navigate and change it to “OO”. Also, if still no sound you can try removing and reinstalling pulse audio.

$ sudo apt-get remove –purge alsa-base

$ sudo apt-get remove –purge pulseaudio

$ sudo get clean && sudo apt-get autoremove

$ sudo apt-get install alsa-base

$ sudo apt-get install pulseaudio

If your system has two audio devices, you may need to disable your onboard audio device in your BIOS. Ubuntu should find both devices, but it might be worth disabling your onboard audio to get your echoaudio card working. It looks as if card 1 is your onboard audtio and card 0 would be your echoaudio card.

card 1: I82801BAICH2 [Intel 82801BA-ICH2], device 0: Intel ICH [Intel 82801BA-ICH2]
Subdevices: 1/1
Subdevice #0: subdevice #0

Please run:

$ aplay -L

That is a capital “L”, which will search for a multichannel sound card. Using aplay with a lower case “l” looks for single channel cards. To install alsa mixer if its not already installed run:

$ sudo apt-get install alsa-mixer

10 Replies to “EchoAudio – How to Get Sound in Ubuntu With Echo Audio Layla 20”

  1. I thought it was going to be some boring old post, but I’m glad I visited. I will post a link to this page on my blog. I am sure my visitors will find that very useful.

Comments are closed.