amixer: Mixer hw:0 load error: Invalid argument -> Codec + Mixer: Realtek ALC887 - Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller 8086:27d8 (rev 01) - no sound output on Gigabyte G31M-ES2L motherboard in Ubuntu 10.04.2 LTS

Asked by sam1430

Just replaced a new motherboard (Gigabyte G31M-ES2L) and re-installed Ubuntu 10.04. But no sound coming out from the speakers. Even the welcome sound of Ubuntu (when log-in) didn't heard. This is the ALSA information :
http://www.alsa-project.org/db/?f=f5e23b274537a9c87cc8465a0170aa413cd021d0.

I've also applied several solution as suggested in Ubuntu community documentation, but with no good result. Here is also the sudo aplay -l :

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC887 Digital [ALC887 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

and the lspci -v :

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio C
ontroller (rev 01)
        Subsystem: Giga-byte Technology Device a002
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fdff8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Hope someone could point me for a solution. Thanks in advance for any responses.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo add-apt-repository ppa:ricotz/unstable; sudo apt-get update; sudo apt-get install alsa-driver alsa-utils alsa-lib

May help

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

This is a known issue with the ALC887 sound codec.

See the following bugreport for details:

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/669092

Please run the following command in a Terminal:

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

ADD the following single line using the gedit editor:

options snd-hda-intel model=generic

SAVE the change to /etc/modprobe.d/alsa-base.conf

Then REBOOT and retest sound using headphones and speakers.

After rebooting, make sure all channels are UNMUTED and volume set to 100% in alsamixer and gnome-alsamixer

Revision history for this message
sam1430 (j-shamsulbahari) said :
#3

Thanks Mark. Your solution, solved my audio problem. Actually, before, I've tried the solution as you suggested above. But with different output, e.g options snd-hda-intel model=5stack. And it didn't worked. But with your solution : options snd-hda-intel model=generic, as I reboot, the Ubuntu welcome sound reappeared. Thanks for the help.

Revision history for this message
jojo (jojosolano) said :
#4

Mark's solution also worked beautifully for me. My motherboard is a Gigabyte H55M-S2V and I'm running Debian Squeeze and I didn't have any sound at all.

I just ran the command
"gksudo gedit /etc/modprobe.d/alsa-base.conf" in a terminal
and then, as indicated by Mark, added the line
"options snd-hda-intel model=generic" at the end of the text file that popped up. I saved it, closed it and restarted the system.
As if by magic, the sound worked.
Thanks a lot.