ALC880 Analog sound codec not working in Ubuntu 8.10 or newer

Asked by KushalSharma

Sound doesn't work on my desktop Intel D915GAV board

Hi, I have a desktop with the mother board Intel D915GAV. When I use Windows XP, the sound works fine, but it doesn't work on Linux. I had Hardy first, and it didn't work then. Now I've upgraded to Intrepid, and the sound still doesn't work.

The volume icon on the top panel shows the sound set at 100%. I have gone through its preferences and put each volume for every option (ALSA, OSS, etc) to the maximum output, still there is no sound.

I know there are many threads on getting the sound to work, but I haven't been able to find anything useful for me. Could someone please guide me on how to get my sound working? (It's never ever worked on Linux)

Let me know if I need to run any command on the terminal and provide the output here.

Thanks very much for your time.

Kushal

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

Hi,

In order to gather essential troubleshooting information about your sound card, please first follow this procedure:

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>)

sudo aptitude install hwinfo
hwinfo --sound
aplay -l
cat /dev/sndstat
lspci -nn
lsmod | grep snd
cat /proc/asound/card*/codec* | grep Codec
grep audio /etc/group

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Step 4: Please also specify the exact model and make of your PC (if possible) on this thread

=======================================================================================

Please also read the following pages

http://doc.ubuntu-fr.org/audio_intel_hda (check for correct /etc/modprobe.d/alsa-base options at bottom of this page)
https://help.ubuntu.com/community/SoundTroubleshooting

for some initial suggestions.

You should add the following string to the /etc/modprobe.d/alsa-base file

options snd-hda-intel model=YOUR_MODEL

Valid model names (that replace YOUR_MODEL) depending on the codec chip, can be found at

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-intrepid.git;a=blob_plain;f=Documentation/sound/alsa/ALSA-Configuration.txt

If you do not know your codec chip name, you can execute the following Terminal command to find out:

cat /proc/asound/card*/codec* | grep Codec

Make sure to set all channels to high volume levels in alsamixer EXCEPT for "external amplifier".

If the output of the command

grep audio /etc/group

looks like this:

audio:x:81

or like this:

audio:x:81:pulse

Then replace that audio line with something like this:

audio:x:81:<your login name>

where <your login name> is the username you use to log into Ubuntu

Kind regards,

Mark

Revision history for this message
KushalSharma (kushalsharma83) said :
#2

Thanks very much for the detailed instructions Mark. I will do these steps, read through the stuff you've suggested, and then reply with all the information you've asked for.

Thanks again for taking time to help me.

Best regards

Kushal

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

Hi,

You're welcome.

Regards,

Mark

Revision history for this message
KushalSharma (kushalsharma83) said :
#4

Hi Mark, my pc is an assembled one, therefore, I'm not sure what information to include for the make and model of my pc. Here's the output for all the commands you asked me to enter:

======================================================================
kushal@kushal-desktop:~$ hwinfo --sound
24: PCI 1b.0: 0403 Audio device
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2668
  Unique ID: u1Nb.jP8tddUYlG8
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2668 "82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0xe203
  Revision: 0x03
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xff43c000-0xff43ffff (rw,non-prefetchable)
  IRQ: 16 (183293 events)
  Module Alias: "pci:v00008086d00002668sv00008086sd0000E203bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

kushal@kushal-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

kushal@kushal-desktop:~$ cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.17 emulation code)
Kernel: Linux kushal-desktop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xff43c000 irq 16

Audio devices:
0: ALC880 Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC880

kushal@kushal-desktop:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub [8086:2580] (rev 04)
00:01.0 PCI bridge [0604]: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port [8086:2581] (rev 04)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller [8086:2582] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller [8086:2668] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 [8086:2662] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 [8086:2664] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 [8086:2666] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 03)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev d3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge [8086:2640] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller [8086:266f] (rev 03)
00:1f.2 IDE interface [0101]: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller [8086:2651] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 03)
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
06:08.0 Ethernet controller [0200]: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller [8086:1064] (rev 01)

kushal@kushal-desktop:~$ lsmod | grep snd
snd_hda_intel 384176 3
snd_pcm_oss 46848 0
snd_mixer_oss 22784 1 snd_pcm_oss
snd_pcm 83204 2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy 10884 0
snd_seq_oss 38528 0
snd_seq_midi 14336 0
snd_rawmidi 29824 1 snd_seq_midi
snd_seq_midi_event 15232 2 snd_seq_oss,snd_seq_midi
snd_seq 57776 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 29960 2 snd_pcm,snd_seq
snd_seq_device 15116 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 63268 15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 15328 1 snd
snd_page_alloc 16136 2 snd_hda_intel,snd_pcm

kushal@kushal-desktop:~$ cat /proc/asound/card*/codec* | grep Codec
Codec: Realtek ALC880

kushal@kushal-desktop:~$ grep audio /etc/group
audio:x:29:pulse,kushal
======================================================================

I'm currently working on the steps you mentioned me in the second half of your message. I'll report back the outcomes. In the meanwhile, please do let me know if you can figure something out based on the output I've pasted here.

Thanks again and best regards

Kushal

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

Hi,

Please try this procedure:

1. copy-paste the following command into the Terminal:

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

2. and add these lines to the end of the file:

# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack
options snd-hda-intel enable_msi=1

3. copy-paste the following command into the Terminal:

gksudo gedit /etc/modprobe.d/options

4. and add these lines to the end of the file:

# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack
options snd-hda-intel enable_msi=1

5. Then navigate to System>Preferences>Sound and change everything to ALSA

6. reboot and retest sound

7. In the Mixer control panel, make sure to unmute all channels and increase the volume on all channels

8. If it still does not work, please try one of the following model options instead (replacing 3stack as model option):

 ALC880
   3stack 3-jack in back and a headphone out
   3stack-digout 3-jack in back, a HP out and a SPDIF out
   5stack 5-jack in back, 2-jack in front
   5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
   6stack 6-jack in back, 2-jack in front
   6stack-digout 6-jack with a SPDIF out
   w810 3-jack
   z71v 3-jack (HP shared SPDIF)
   asus 3-jack (ASUS Mobo)
   asus-w1v ASUS W1V
   asus-dig ASUS with SPDIF out
   asus-dig2 ASUS with SPDIF out (using GPIO2)
   uniwill 3-jack
   fujitsu Fujitsu Laptops (Pi1536)
   F1734 2-jack
   lg LG laptop (m1 express dual)
   lg-lw LG LW20/LW25 laptop
   tcl TCL S700
   clevo Clevo laptops (m520G, m665n)
   medion Medion Rim 2150
   test for testing/debugging purpose, almost all controls can be
   adjusted. Appearing only when compiled with
   $CONFIG_SND_DEBUG=y
   auto auto-config reading BIOS (default)

Regards,

Mark

Can you help with this problem?

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

To post a message you must log in.