ALC663 Analog sound codec not working via laptop speakers on Ubuntu
I have asus m51ta series laptop with two gpu hd3200 and hd3650 with hdmi port. I do not get any sound from the laptop speakers, sound comes OK from headphone though.
lspc is
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
02:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650
02:00.1 Audio device: ATI Technologies Inc RV635 Audio device [Radeon HD 3600 Series]
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/
08:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
aplay -l is
card 0: SB [HDA ATI SB], device 0: ALC663 Analog [ALC663 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC663 Digital [ALC663 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- 2009-04-02
- Last query:
- 2009-04-02
- Last reply:
- 2009-03-29
Hi,
# Please try this procedure:
# Step 1: Open Terminal from "Applications-
Terminal"
#Step 2: Run the following command (copy/paste each command into the Terminal and then hit <enter>)
sudo gedit /etc/modprobe.
# Add the following 5 lines to the end of the alsa-base file:
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=m51va
options snd-hda-intel enable_msi=1
# Run the following command (copy/paste each command into the Terminal and then hit <enter>)
sudo gedit /etc/modprobe.
# Add the following 5 lines to the end of the options file:
options snd-pcsp index=-2
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=m51va
options snd-hda-intel enable_msi=1
# Step 3: Reboot pc and retest sound.
# Step 4: If audio output still does not work, please try one of the following model options (instead of m51va):
ALC662/663
3stack-dig 3-stack (2-channel) with SPDIF
3stack-6ch 3-stack (6-channel)
3stack-6ch-dig 3-stack (6-channel) with SPDIF
6stack-dig 6-stack with SPDIF
lenovo-101e Lenovo laptop
eeepc-p701 ASUS Eeepc P701
eeepc-ep20 ASUS Eeepc EP20
m51va ASUS M51VA
g71v ASUS G71V
h13 ASUS H13
g50v ASUS G50V
auto auto-config reading BIOS (default)
Regards,
Mark
| Mehul J. Rajput (mehulrajput) said : | #2 |
Thanks Mark Rijckenberg, that solved my question.
| Mehul J. Rajput (mehulrajput) said : | #3 |
i have used m51va. thank you so much.
| Mehul J. Rajput (mehulrajput) said : | #4 |
Just to add to this... since going forward anything without .conf in the file name is going to be ignored by alsa going forward, I added a .conf in the file names given above.
Just for reference of any one who is interested in using this tip.
| Arman (arman-jan) said : | #5 |
I have an ASUS X56TR and this solution worked for me. However, before following Mark's instructions I had purged and installed several packs so my soundcard would be even listed under aplay -l.
| AZaharia (f0rg3r) said : | #6 |
Hello,
I have an Asus Pro57Vr -- this is the official name but it's reported as a M51VR notebook (not M51VA). I have the exact same problem: the built-in microphone doesn't work, I have to plug in an external one (or a headset).
I use Ubuntu 9.04 and I have Alsa 1.0.18.
Here are the relevant outputs:
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC663 Analog [ALC663 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC663 Digital [ALC663 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
The microphone is the HDA Intel card, chipset ALC663.
I tried everything in Mark Rijckenberg's post and it's still no go - even after I replaced the model with everything listed in step #4 and rebooted (one model at a time), I still couldn't get the built-in microphone to work.
I am sure it is not a hardware issue since I've tested this on Windows (XP and 7 RC) and with the audio driver provided by Asus from their website, it works.
I even tried to upgrade to the latest Alsa using the guide and the upgrade script in UbuntuForums, here: http://
Is there anything else I can do?
Thank you for your time.

