No sound in Ubuntu 14.04 after I tried to get rid of pulseaudio

Asked by Satori

I recently tried to uninstall pulseaudio (because of crackling and stuff) and then screwed up because the sound disappeared
I also dual boot Ubuntu 14.04 and Windows 7 in the event I screw up *ahem*

My "additional drivers" thing also said that my sound card wasn't working, but I doubt that because it was working before I screwed up, and it is also working in windows.

Stuff I ran to get rid of pulseaudio
$ sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
$ sudo apt-get autoremove
$ sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui
$ sudo apt-get install esound esound-clients esound-common libesd-alsa0 gnome-alsamixer

I also tried to (mistakenly) install OSS4
sudo dpkg-reconfigure linux-sound-base
sudo apt-get install oss4-base oss4-dkms oss4-source oss4-gtk
I had already uninstalled pulseaudio by then so I just needed to change the stuff in gstreamer-properties

I eventually reinstalled everything back but the sound doesnt come back
Also tried lots of other stuff which eventually escalated to
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`
But it still didn't work

Here's the basic information: http://www.alsa-project.org/db/?f=ba8d2ccb87b601140fcf463bd766d00f3839eede
Some other stuff:
$ sudo alsa force-reload
Unloading ALSA sound driver modules:.
Loading ALSA sound driver modules: (none to reload).

$ pulseaudio
E: [pulseaudio] module-ladspa-sink.c: Master sink not found
E: [pulseaudio] module.c: Failed to load module "module-ladspa-sink" (argument: "sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=mbeq_1197 label=mbeq control=0.0,0.0,0.0,0,0,0,0,0,0,0,0,0,0,0,0"): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.

$ alsamixer
cannot open mixer: No such file or directory

$ lspci -v | grep Audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

$ sudo lspci -v
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0
 Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 I/O behind bridge: 0000e000-0000efff
 Memory behind bridge: f6000000-f70fffff
 Prefetchable memory behind bridge: 00000000e0000000-00000000f1ffffff
 Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device 1587
 Capabilities: [80] Power Management version 3
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [a0] Express Root Port (Slot+), MSI 00
 Capabilities: [100] Virtual Channel
 Capabilities: [140] Root Complex Link
 Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 47
 Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
 Memory at d0000000 (64-bit, prefetchable) [size=256M]
 I/O ports at f000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [d0] Power Management version 2
 Capabilities: [a4] PCI Advanced Features
 Kernel driver in use: i915

00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 11
 Memory at cfe08000 (64-bit, non-prefetchable) [size=32K]
 Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [d0] Power Management version 3
 Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, medium devsel, latency 0, IRQ 43
 Memory at f7a00000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: [70] Power Management version 2
 Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
 Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 48
 Memory at f7a22000 (64-bit, non-prefetchable) [size=16]
 Capabilities: [50] Power Management version 3
 Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, medium devsel, latency 0, IRQ 16
 Memory at f7a20000 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] Debug port: BAR=1 offset=00a0
 Capabilities: [98] PCI Advanced Features
 Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
 Subsystem: ASUSTeK Computer Inc. Device 108f
 Flags: bus master, fast devsel, latency 0, IRQ 3
 Memory at f7a18000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 2
 Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
 Capabilities: [100] Virtual Channel
 Capabilities: [130] Root Complex Link

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
 Capabilities: [40] Express Root Port (Slot+), MSI 00
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1587
 Capabilities: [a0] Power Management version 2
 Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
 Memory behind bridge: f7900000-f79fffff
 Capabilities: [40] Express Root Port (Slot+), MSI 00
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1587
 Capabilities: [a0] Power Management version 2
 Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
 I/O behind bridge: 0000d000-0000dfff
 Memory behind bridge: f7800000-f78fffff
 Prefetchable memory behind bridge: 00000000f2100000-00000000f21fffff
 Capabilities: [40] Express Root Port (Slot+), MSI 00
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1587
 Capabilities: [a0] Power Management version 2
 Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, medium devsel, latency 0, IRQ 23
 Memory at f7a1f000 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] Debug port: BAR=1 offset=00a0
 Capabilities: [98] PCI Advanced Features
 Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, medium devsel, latency 0
 Capabilities: [e0] Vendor Specific Information: Len=0c <?>
 Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 45
 I/O ports at f0b0 [size=8]
 I/O ports at f0a0 [size=4]
 I/O ports at f090 [size=8]
 I/O ports at f080 [size=4]
 I/O ports at f060 [size=32]
 Memory at f7a1e000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA v1.0
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: medium devsel, IRQ 10
 Memory at f7a1d000 (64-bit, non-prefetchable) [size=256]
 I/O ports at f040 [size=32]

00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 10
 Memory at f7a1c000 (64-bit, non-prefetchable) [size=4K]
 Capabilities: [50] Power Management version 3

01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 635M] (rev a1) (prog-if 00 [VGA controller])
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 49
 Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
 Memory at e0000000 (64-bit, prefetchable) [size=256M]
 Memory at f0000000 (64-bit, prefetchable) [size=32M]
 I/O ports at e000 [size=128]
 [virtual] Expansion ROM at f7000000 [disabled] [size=512K]
 Capabilities: [60] Power Management version 3
 Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [78] Express Endpoint, MSI 00
 Capabilities: [b4] Vendor Specific Information: Len=14 <?>
 Capabilities: [100] Virtual Channel
 Capabilities: [128] Power Budgeting <?>
 Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
 Kernel driver in use: nvidia

03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
 Subsystem: AzureWave Device 2c97
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at f7900000 (64-bit, non-prefetchable) [size=512K]
 Expansion ROM at f7980000 [disabled] [size=64K]
 Capabilities: [40] Power Management version 2
 Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
 Capabilities: [70] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Virtual Channel
 Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
 Kernel driver in use: ath9k

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 44
 Memory at f7800000 (32-bit, non-prefetchable) [size=64K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [70] Express Endpoint, MSI 00
 Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
 Capabilities: [d0] Vital Product Data
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Virtual Channel
 Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
 Kernel driver in use: rtsx_pci

04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
 Subsystem: ASUSTeK Computer Inc. Device 1587
 Flags: bus master, fast devsel, latency 0, IRQ 46
 I/O ports at d000 [size=256]
 Memory at f2104000 (64-bit, prefetchable) [size=4K]
 Memory at f2100000 (64-bit, prefetchable) [size=16K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [70] Express Endpoint, MSI 01
 Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
 Capabilities: [d0] Vital Product Data
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [160] Device Serial Number 21-00-00-00-68-4c-e0-00
 Kernel driver in use: r8169

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
graemewalker (graemewalker) said :
#1

Congratulations on removing pulseaudio, but if you have the PCI device (lspci -v | grep -i audio) and no ALSA devices (aplay -L | grep CARD) then the udev mechanism has failed to install the relevant modules (lsmod | grep snd_). By my reading "alsa force-reload" is not going to help because it only loads what it previously unloaded. I would try "sudo modprobe -v snd_hda_intel" followed by "dmesg | tail" for more diagnostics.

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

You should remove the settings you added to make this happen and reboot:

snd_hda_intel: model=auto
snd_hda_intel: model=auto probe_mask=1

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

If it is no good after the reboot then try adding:

options snd-hda-intel model=generic

Instead

Revision history for this message
Satori (jaryl-x) said :
#4

root@Chireiden:/home/koishik# modprobe -v snd_hda_intel
insmod /lib/modules/3.13.0-49-generic/kernel/sound/core/snd-timer.ko
insmod /lib/modules/3.13.0-49-generic/kernel/sound/core/snd-page-alloc.ko
install /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
insmod /lib/modules/3.13.0-49-generic/kernel/sound/core/snd-pcm.ko
insmod /lib/modules/3.13.0-49-generic/kernel/sound/core/snd-hwdep.ko
insmod /lib/modules/3.13.0-49-generic/updates/dkms/snd-hda-core.ko
insmod /lib/modules/3.13.0-49-generic/updates/dkms/snd-hda-codec.ko
insmod /lib/modules/3.13.0-49-generic/updates/dkms/snd-hda-controller.ko
insmod /lib/modules/3.13.0-49-generic/updates/dkms/snd-hda-intel.ko model=auto model=auto probe_mask=1
root@Chireiden:/home/koishik# dmesg | tail
[ 80.521543] systemd-hostnamed[3652]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[ 411.960697] snd_hda_intel 0000:00:1b.0: Probing card using HDA DKMS, version 0.201504161201~ubuntu14.04.1
[ 411.961057] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
[ 412.038022] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC270: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 412.038026] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 412.038028] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 412.038029] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 412.038030] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 412.038032] snd_hda_codec_realtek hdaudioC0D0: Mic=0x12
[ 412.043488] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.