You are not logged in.

#1 2010-06-15 21:38:44

Lrouge
Member
Registered: 2010-06-15
Posts: 4

[SOLVED] ALSA and intel soundcard -> not detected, /dev/snd is empty

Hi, there was some topics mounths ago about this but I still can't figure out how to get my sound to work.
The main problem is that my soundcard is not detected and /dev/snd seems a little empty. I can't find the controlc0,1  files either....

Here is some useful info.

root@red red]# ls -l /sys/module/snd/holders/
total 0
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_mixer_oss -> ../../snd_mixer_oss
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_pcm_oss -> ../../snd_pcm_oss
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_seq -> ../../snd_seq
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_seq_oss -> ../../snd_seq_oss
lrwxrwxrwx 1 root root 0 Jun 15 17:09 snd_timer -> ../../snd_timer
[root@red red]# lsmod | grep '^snd' | column -t
snd_seq_dummy       1439   0
snd_seq_oss         28928  0
snd_seq_midi_event  5412   1   snd_seq_oss
snd_seq             50530  5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device      5233   3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_intel       22514  0
snd_pcm_oss         39096  0
snd_hda_codec       68863  1   snd_hda_intel
snd_hwdep           6150   1   snd_hda_codec
snd_mixer_oss       16956  1   snd_pcm_oss
snd_pcm             70924  3   snd_hda_intel,snd_pcm_oss,snd_hda_codec
snd_timer           19684  2   snd_seq,snd_pcm
snd                 57209  10  snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_hda_codec,snd_hwdep,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc      7161   2   snd_hda_intel,snd_pcm
[root@red red]# ls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116, 3 Jun 15 17:00 seq
crw-rw---- 1 root audio 116, 2 Jun 15 17:00 timer

Souncard : Don't know the exact name, the "intel hd" one with an ICH7 bridge
Mobo : intel d945gclf (little atom board, not the newer ones)

Notice that line : snd_hda_intel       22514  0
Seems to me that the module is loaded, am I right?

EDIT: Sorry, maybe I am in the wrong section...

Last edited by Lrouge (2010-06-18 18:33:54)

Offline

#2 2010-06-16 06:29:26

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [SOLVED] ALSA and intel soundcard -> not detected, /dev/snd is empty

Looks pretty complete to me.  (OK, /dev/snd does look sparse.)  What do you see when you run alsamixer and press the F5 key?

$ sudo su -
# pacman -Sy alsa-utils
# alsamixer

Press F5 and check for:
* Master, Speaker, Front, Line, PCM volume down (if any)
* Any MM (bottom of vertical bar, signifies: line is muted) -- mute / un-mute with the 'm' key

Press Esc key to exit alsamixer + save changes.

Also, right after booting, run:  dmesg | grep -i codec
Look for something like "Realtek" or "ALC662" or similar.

Manually add codec driver: modprobe snd_hda_codec_realtek

ls -al /dev/snd
drwxr-xr-x  2 root root      60 May 28 19:35 by-path                                                                                                                                            
crw-rw----  1 root audio 116, 7 May 28 19:35 controlC0
crw-rw----  1 root audio 116, 6 May 28 19:35 hwC0D2
crw-rw----  1 root audio 116, 5 May 28 19:35 pcmC0D0c
crw-rw----  1 root audio 116, 4 May 28 19:35 pcmC0D0p
crw-rw----  1 root audio 116, 3 May 28 19:35 seq
crw-rw----  1 root audio 116, 2 May 28 19:35 timer

lsmod | grep snd
snd_hda_codec_realtek   179443  1 
snd_seq_dummy           1099  0 
snd_seq_oss            25304  0 
snd_seq_midi_event      4452  1 snd_seq_oss
snd_hda_intel          18921  0 
snd_seq                42628  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4313  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec          56728  2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm_oss            33693  0 
snd_hwdep               5102  1 snd_hda_codec
snd_pcm                57479  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_mixer_oss          14810  1 snd_pcm_oss
snd_timer              16117  2 snd_seq,snd_pcm
snd                    43847  11 snd_hda_codec_realtek,snd_seq_oss,snd_hda_intel,snd_seq,snd_seq_device,snd_hda_codec,snd_pcm_oss,snd_hwdep,snd_pcm,snd_mixer_oss,snd_timer
soundcore               5007  1 snd
snd_page_alloc          5809  2 snd_hda_intel,snd_pcm

Offline

#3 2010-06-16 14:17:15

Lrouge
Member
Registered: 2010-06-15
Posts: 4

Re: [SOLVED] ALSA and intel soundcard -> not detected, /dev/snd is empty

Hi, thanks for looking at my problems!

First, here's the dmesg output ; I hope you will find it useful smile

dmesg | grep -i codec
hda-intel: No response from codec, disabling MSI: last cmd=0x200f0000
hda-intel: Codec #2 probe error; disabling it...
hda-intel: no codecs initialized

I also forgot to mention the problem about alsamixer (or amixer) : it just wont run...

This is the error output :

alsamixer 
cannot open mixer: No such file or directory

I also forgot to mention i'am on x86_64 arch and that it was working before in i686, so if the problem can't be figured out, i'll do another fresh install to get rid of the problem!

Offline

#4 2010-06-16 18:38:50

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [SOLVED] ALSA and intel soundcard -> not detected, /dev/snd is empty

Well then that's the end of the road for me, sorry to say.  Have two Intel d945gclf boards, both running i686 Arch.

Offline

#5 2010-06-17 15:17:02

Lrouge
Member
Registered: 2010-06-15
Posts: 4

Re: [SOLVED] ALSA and intel soundcard -> not detected, /dev/snd is empty

I guess I'll just have to roll back to i686 then tongue
It was working fine...
EDIT: Strangely, I just switched back to i686 and my /dev/snd is fully populated again after a fresh install.

Last edited by Lrouge (2010-06-17 20:24:38)

Offline

#6 2010-06-17 22:46:04

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: [SOLVED] ALSA and intel soundcard -> not detected, /dev/snd is empty

Strangely?  Strangely as in unexpected?  How could that be? ;-)  Could you mark [Solved]?

Offline

Board footer

Powered by FluxBB