Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I installed a sound card which is not detected by my Linux installation, but it is detected and working when I boot off the Live CD. I have tried to do all kinds of things with Alsa to get it to work and haven't been successful. I'm wondering if Alsa can even help with this problem since I'm not sure if it is responsible for detecting sound card hardware.

share|improve this question

3 Answers 3

Yes, it's an ALSA problem. ALSA handles all sound drivers in the Linux kernel.

share|improve this answer

I've had a similar problem on my laptop. In my case the kernel module for my sound card (Intel, it's the built in one) wasn't correctly identifying my soundcard. I had to supply a hint. That was done in /etc/modprobe.d/

 /etc/modprobe.d/50-sound.conf:

 alias snd-card-0 snd-hda-intel model=dell-m6

That provided enough hints that the module was able to configure itself correctly for my sound chip.

In your case you need to see what, if any, sound modules are loaded. Cagliostro shows how to do that. Once you've found the card (if there is one), you can then hunt up ways to provide the right hint to your sound module. Finding that 'model' will take some hunting though, and will depend on what sound module is loaded.

share|improve this answer
    
Does that make everything work perfectly for you? If so, please email me (maco.m@ubuntu.com) the output of cat /proc/asound/card*/codec* and I'll generate a kernel patch. –  maco Aug 14 '10 at 2:50
    
@maco Very happy to oblige. –  SysAdmin1138 Aug 15 '10 at 2:51

No, soundcard (and other) hardware is managed by kernel, and correct modules must be loaded. Maybe livecd loads modules which now are not installed yet.

If you are sure that sound is not muted and alsa is running (sudo /etc/init.d/alsa start) look at ubuntu help starting from "Is the system recognizing your sound card?".

You'll find how to know if your card is recognized and if you have the proper modules loaded.

If they are not loaded you will find how to install the correct linux ubuntu modules package.

For more help you can paste here the output of the following commands:

lspci -v |grep Audio

find /lib/modules/`uname -r` | grep snd

sudo aplay -l
share|improve this answer
    
the result from the second line is find: `/lib/modules/uname -r': No such file or directory –  tony_sid Aug 8 '10 at 1:11
    
Just a hint, are you sure you have typed the correct command syntax? uname -r must be between ` and ` ? As an (not really) alternative, you can see if some sound related modules are loaded with " sudo lsmod |grep snd " –  Cagliostro Aug 8 '10 at 18:34
    
Gasp..in my previous comment some symbols are gone..please, be sure that you typed correctly (did you do cut&paste?) the "find.." command..specifically the inverse quotes before and after the uname -r –  Cagliostro Aug 8 '10 at 18:37
    
You say "No, soundcard (and other) hardware is managed by kernel" as if ALSA's not in the kernel. Hint: it is. The sound drivers in the kernel are ALSA. –  maco Aug 14 '10 at 2:47
    
@maco Thanks..you are right. –  Cagliostro Aug 16 '10 at 9:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.