kubuntu audio card that doesn’t work

Close all sound apps and firefox and then ONLY report you have: sound, no sound or errors after you run this command:

speaker-test -c2 -D hw:0,0 -t wav -l1

or this one

speaker-test -c2 -Ddefault -twav -l1

if that command does not work then…

run this command and paste the url the script prints to this channel:

wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh

that stuff can be usefull to check the problem and you can go on irc in alsa channel :

Some time for for a *lots* of problem you could get a mute system.

First you have to increase volume , just in case….

alsamixer in a terminal

you should get some like this alsamixer

Now you have check you volume are ok but you still have problems you should think the cause of these problems is AlSA

what is alsa?

alsa is the driver for audio cards and if you have not configured well alsa’s configuration file you could get a bad audio or mute systerm or microphone that doesn’t work etc etc.

well the to fix this stuff , generally speaking is this:

1 indentify your audio card with

lspci | grep -i Audio

to identify the chip or the “codec” that alsa uses to make your card working on linux :

cat /proc/asound/card0/codec#0 | grep -i codec

with these 2 elements you can search on google.

in the most of cases you have to add some strings on alsa configuration file like i said before.

well where are these strings ? you have to download the driver here ( top-right )


so when you extract , go here (NUMBER CAN CHANGE..)




for my audio card that is an HD-CARD…

there is this file HD-Audio-Models.txt in that file there are the strings you was looking for.

for example for my intel card that is

cat /proc/asound/card0/codec#0 | grep -i codec
Codec: Realtek ALC861-VD

i have only to search (CTRL F) with kate alc861-vd

and i get

3stack 3-jack
3stack-dig 3-jack with SPDIF OUT
6stack-dig 6-jack with SPDIF OUT
3stack-660 3-jack (for ALC660VD)
3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD)
lenovo Lenovo 3000 C200
dallas Dallas laptops
hp HP TX1000
asus-v1s ASUS V1Sn
auto auto-config reading BIOS (default)

so now you have to edit this file

kdesudo kate /etc/modprobe.d/alsa-base.conf

and add (end of file ) for example

options snd-hda-intel model=lenovo position_fix=0

position_fix can be —-> 0 1 2 3

this is my file for example (i don’t need anymore to edit it my sound cards works fine now…)

# 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 &#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe –ignore-install snd-pcm $CMDLINE_OPTS &install snd-mixer /sbin/modprobe –ignore-install snd-mixer $CMDLINE_OPTS &install snd-seq /sbin/modprobe –ignore-install snd-seq $CMDLINE_OPTS &#
install snd-rawmidi /sbin/modprobe –ignore-install snd-rawmidi $CMDLINE_OPTS &# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe –ignore-install snd-emu10k1 $CMDLINE_OPTS &install snd-via82xx /sbin/modprobe –ignore-install snd-via82xx $CMDLINE_OPTS &# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe –ignore-install saa7134 $CMDLINE_OPTS &# 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=lenovo position_fix=0

reboot the system. and try with another option or changing position fix.

multiple driver support with kmix

to restart alsa without rebooting that is a pain in your ass

sudo alsa force-reload


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: