No audio in Ubuntu server 14.04

Asked by prokopis

Hello,
After an upgrade, I have no audio in my computer running Ubuntu Server 14.04.
I have spent the last 3 days investigating and troubleshooting unsuccesfully.
I am not a linux expert, but what has got my attention is that:

aplay: device_list:268: no soundcards found...

Also, when I try to run alsamixer, (which exists in usr/bin):

cannot open mixer: No such file or directory.

I have checked that I am a member of the audio group, I also have 2 audio cards in the system so it is not a hardware failure.
I am pasting some information of my system, for example: "lspci | grep -i audio" says:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]

But I also see that:

Sound cards recognized by ALSA, and activated:
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series] [1002:aa68]

I have also uninstalled and reinstalled alsa several times.

Any ideas how to solve this?
Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
prokopis (prokopis-l) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

execute this command and reboot:

sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

Source:
https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/264115

Revision history for this message
prokopis (prokopis-l) said :
#3

Hi,
Thanks for your reply.
I tried that but nothing changed.
I noticed this though, maybe it is related to the problem:

W: Failed to fetch http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

The messages like

W: Failed to fetch http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found

are caused by the fact that you have enabled a PPA as software source, which does not provide software for your Ubuntu release.

What is the output of the terminal commands

uname -a
lsb_release -crid
grep ubuntu-audio-dev /etc/apt/sources.list /etc/apt/sources.list.d/*.list

(I no not think that this configuration error related to repository sources has anything to do with your sound problem.)

Revision history for this message
prokopis (prokopis-l) said :
#5

Hello,
Here:

Linux prokopis-OptiPlex-745 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

grep ubuntu-audio-dev /etc/apt/sources.list /etc/apt/sources.list.d/*.list:
/etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-trusty.list:deb http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu trusty main
/etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-trusty.list:# deb-src http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu trusty main
/etc/apt/sources.list.d/ubuntu-audio-dev-alsa-daily-trusty.list:# deb-src http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu trusty main
/etc/apt/sources.list.d/ubuntu-audio-dev-ppa-trusty.list:deb http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu trusty main
/etc/apt/sources.list.d/ubuntu-audio-dev-ppa-trusty.list:# deb-src http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu trusty main
/etc/apt/sources.list.d/ubuntu-audio-dev-ppa-trusty.list:# deb-src http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu trusty main
/etc/apt/sources.list.d/ubuntu-audio-dev-ppa-trusty.list:# deb-src http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu trusty main

Thanks.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

sudo rm /etc/apt/sources.list.d/ubuntu-audio-dev-ppa-*

Then retry the command I gave. The PPA doesn't support Trusty.

Revision history for this message
prokopis (prokopis-l) said :
#7

I tried the command again, I got some errors about pulseaudio, which I think I don't have or need, but the problem remains.
I have uploaded the output here: https://drive.google.com/file/d/0B-QF2ofbHD2fR1VmRUVZelpFX3M/view?usp=sharing

I am starting to lose hope.

Revision history for this message
prokopis (prokopis-l) said :
#8

It seems I am the only one having this problem.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

With the number of people using Ubuntu. I very much doubt you are the only person with sound issues in Ubuntu server....

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

If you execute the command sequence

sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

What is its output?

Revision history for this message
prokopis (prokopis-l) said :
#11

Maybe the file: /etc/modprobe.d/alsa-base.conf needs to be configured for my audio card, but I don't know how.

Revision history for this message
prokopis (prokopis-l) said :
#12

Ha!
Good news.
I updated the system once again and it installed a new update "hda.. something" and after a reboot the audio is back. Awesome.

Can you help with this problem?

Provide an answer of your own, or ask prokopis for more information if necessary.

To post a message you must log in.