No audio at all. Ubuntu Karmic Koala, Realtek ALC888

Asked by Eduardo Rodríguez

Hi,

This is the first time I install Ubuntu in this computer, so I'm not sure if prior versions have the same issue. After installing Karmic Koala 9.10 I found that there is no sound at all. I've tried a few small modifications to the alsa-base.conf without any success.

I'm not sure what information should I post, so I'll post lspci, and the alsa-base.conf

Any help will be greatly appreciated since I need to get this issue corrected as soon as possible (not my computer ^^)

lspci:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)

alsa-base.conf:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Power down HDA controllers after 10 idle seconds
#options snd-hda-intel power_save=10 power_save_controller=N

options snd-hda-intel model=3stack-6ch-intel

That's all, I've commented the power_save line at the bottom of the line and added the last line as I saw in Ubuntu forums, however, still no results. I'll appreciate some help greatly. Please let me know if I need to provide any more files.

Thank you a lot.

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
Mark Rijckenberg (markrijckenberg) said :
#1

Please send us output from step 3 and step 4 from the following procedure:

https://help.ubuntu.com/community/SoundTroubleshootingProcedure

Please also specify the exact model and make of pc that you are using.

Revision history for this message
Eduardo Rodríguez (agalryunaer) said :
#2

Hi,
thanks for your time, here are the results of the tests you asked me to run. This computer is homemade, so there is no actual vendor or manufacture, however the mainbord model is an Intel Desktop Board DG33BU Core 2 Quad. The Realtek ALC888 audio card that is integrated to the mainboard.

Again, thank you for your help. If there is any more info I should provide, please let me know.

Pastebin:
http://pastebin.ca/1667919

My ALSA version (I think is the latest):
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Nov 7 2009 for kernel 2.6.31-15-generic (SMP).

After a reboot:
http://pastebin.ca/1667931

Step 4 results:
**** Lista de PLAYBACK Dispositivos Hardware ****
tarjeta 0: Intel [HDA Intel], dispositivo 0: ALC888 Analog [ALC888 Analog]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
tarjeta 0: Intel [HDA Intel], dispositivo 1: ALC888 Digital [ALC888 Digital]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
  *-multimedia
       description: Audio device
       product: 82801I (ICH9 Family) HD Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=HDA Intel latency=0
       resources: irq:31 memory:e03a0000-e03a3fff
total 0
crw-rw----+ 1 root audio 116, 33 2009-11-12 05:34 timer
crw-rw----+ 1 root audio 116, 1 2009-11-12 05:34 seq
crw-rw----+ 1 root audio 116, 26 2009-11-12 05:34 pcmC0D2c
crw-rw----+ 1 root audio 116, 6 2009-11-12 05:34 hwC0D2
crw-rw----+ 1 root audio 116, 0 2009-11-12 05:34 controlC0
drwxr-xr-x 2 root root 60 2009-11-12 05:34 by-path
drwxr-xr-x 3 root root 240 2009-11-12 05:34 .
crw-rw----+ 1 root audio 116, 17 2009-11-12 05:34 pcmC0D1p
crw-rw----+ 1 root audio 116, 25 2009-11-12 05:34 pcmC0D1c
crw-rw----+ 1 root audio 116, 16 2009-11-12 05:34 pcmC0D0p
crw-rw----+ 1 root audio 116, 24 2009-11-12 05:34 pcmC0D0c
drwxr-xr-x 17 root root 3880 2009-11-12 05:43 ..
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux ERCH 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 UTC 2009 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xe03a0000 irq 31

Audio devices:
0: ALC888 Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: Realtek ALC888
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82G33/G31 Express Integrated Graphics Controller [8086:29c2] (rev 02)
00:03.0 Communication controller [0780]: Intel Corporation 82G33/G31/P35/P31 Express MEI Controller [8086:29c4] (rev 02)
00:19.0 Ethernet controller [0200]: Intel Corporation 82566DC-2 Gigabit Network Connection [8086:294c] (rev 02)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IH (ICH9DH) LPC Interface Controller [8086:2912] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller [8086:2920] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller [8086:2926] (rev 02)
02:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface [11ab:6101] (rev b2)
06:03.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) [104c:8023]
/sbin/alsactl
                     USUARIO ORDEN DE ACCESO PID
/dev/snd/controlC0: eduardo 1593 F.... pulseaudio
dpkg: no se encontró *bin/slmodemd*.
snd_hda_codec_realtek 276644 1
snd_hda_intel 31264 2
snd_hda_codec 89888 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 9448 1 snd_hda_codec
snd_pcm_oss 44096 0
snd_mixer_oss 18944 1 snd_pcm_oss
snd_pcm 91912 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 3556 0
snd_seq_oss 33632 0
snd_seq_midi 8320 0
snd_rawmidi 27104 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 61312 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 25840 2 snd_pcm,snd_seq
snd_seq_device 8500 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 77576 18 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 9088 1 snd
snd_page_alloc 10960 2 snd_hda_intel,snd_pcm

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

First of all, I see the following problem with your ALSA configuration:

# ALSA Version
# ------------
#
# Driver version: 1.0.21
# Library version: 1.0.20
# Utilities version: 1.0.20

ALSA driver is version 1.0.21, but ALSA library is still on old version 1.0.20. The ALSA library and utilities version still need to be upgraded to version 1.0.21a and 1.0.21, respectively.

After upgrading the ALSA lib and utilities using step 1 from the following procedure, please reboot and retest sound:

https://help.ubuntu.com/community/SoundTroubleshootingProcedure

If that does not help, please proceed with this reconfiguration of ALSA:

Please try this procedure if the sound issue presists:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following commands (copy/paste each command into the Terminal and then hit <enter>)

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

(The file name is called /etc/modprobe.d/alsa-base.conf in Ubuntu 9.04 and Ubuntu 9.10)

In the gedit editor, scroll down to the last lines of the alsa-base.conf file and add these 2 lines to the end of the alsa-base.conf file (with the file open inside the gedit editor!):

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=3stack-6ch-dig

# So REPLACE the 3stack-6ch-intel model option with the 3stack-6ch-dig model option.

Step 3: Reboot pc and retest sound.

Step 4: If sound is still not working after a reboot, replace the 3stack-6ch-dig model option with one of the options below and then reboot and retest sound again.

132 ALC883/888
133 ==========
134 3stack-dig 3-jack with SPDIF I/O
135 6stack-dig 6-jack digital with SPDIF I/O
136 3stack-6ch 3-jack 6-channel
137 3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
138 6stack-dig-demo 6-jack digital for Intel demo board
139 acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
140 acer-aspire Acer Aspire 9810
141 acer-aspire-4930g Acer Aspire 4930G
142 acer-aspire-6530g Acer Aspire 6530G
143 acer-aspire-8930g Acer Aspire 8930G
144 medion Medion Laptops
145 medion-md2 Medion MD2
146 targa-dig Targa/MSI
147 targa-2ch-dig Targa/MSI with 2-channel
148 targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
149 laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
150 lenovo-101e Lenovo 101E
151 lenovo-nb0763 Lenovo NB0763
152 lenovo-ms7195-dig Lenovo MS7195
153 lenovo-sky Lenovo Sky
154 haier-w66 Haier W66
155 3stack-hp HP machines with 3stack (Lucknow, Samba boards)

156 6stack-dell Dell machines with 6stack (Inspiron 530)

157 mitac Mitac 8252D
158 clevo-m720 Clevo M720 laptop series
159 fujitsu-pi2515 Fujitsu AMILO Pi2515
160 fujitsu-xa3530 Fujitsu AMILO XA3530
161 3stack-6ch-intel Intel DG33* boards
162 asus-p5q ASUS P5Q-EM boards
163 mb31 MacBook 3,1
164 sony-vaio-tt Sony VAIO TT
165 auto auto-config reading BIOS (default)

Revision history for this message
Eduardo Rodríguez (agalryunaer) said :
#4

Thanks for the help,

So far no luck. I'll go ahead and try with the whole list. Supposedly after rebooting with each new option, there should be an Ubuntu start up sound, right?

Revision history for this message
Eduardo Rodríguez (agalryunaer) said :
#5

Hi,

After trying with that list, I'd say it was 80% successful with the targa-8ch-dig line. There are just 2 issues.

I've got 3 sets of speakers and it only works for two sets of them. While running alsamixer I found that the front and surround ones are working ok, I guess the center section is the one that is not working.

The other problem is that the headphones are not muting the speakers.

Is there a way to improve this? Besides that, they are working fine and I guess that if there is no way to get that solved, I can still live with how it is working now.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

It is possible that the "center" volume channel is hidden in alsamixer and that additional volume channels can be found and made "unhidden" using gnome-alsamixer. So try adding the missing volume channels in gnome-alsamixer (if they are there)

Concerning the problem with the headphones not muting the speakers, try this workaround solution:

http://digitizor.com/2009/10/22/fix-headphone-sound-problem-hp-laptop-linux/

Revision history for this message
Eduardo Rodríguez (agalryunaer) said :
#7

Hi Mark,

I did check the gnome-alsamixer and the center channel is right there, volume up and everything. Is there any other way to get it working?

I'll go check the headphone fix as soon as I get home, thanks a lot!

Revision history for this message
shanen (Shannon Jacobs) (shanen) said :
#8

Just bumping the thread for two more machines I've tested... Basically this seems to be pretty much of a show-stopper bug as far as Koala is concerned. However, it's been more than a month since the release and it remains unfixed... I'm not going to be trying to upgrade any more machines until these two start working.

I'm willing to try some diagnostics, but I'm not willing to jump through a bunch of hoops just because I dislike Microsoft... If using Ubuntu is too much hassle... Well, what can I say?

Can you help with this problem?

Provide an answer of your own, or ask Eduardo Rodríguez for more information if necessary.

To post a message you must log in.