[Pkg-alsa-devel] Bug#614113: alsa-base: alsa accepts cards names in /usr/share/alsa/alsa.conf but wants only numbers in /etc/alsa.conf

sergey sergey_ifeo at rambler.ru
Sun Feb 20 17:34:58 UTC 2011


> Please post the output of
> $lsmod | grep snd

Here it is:
-----------------------------------
snd_hda_codec_atihdmi     3028  1 
snd_intel8x0           26584  1 
snd_hda_intel          22192  0 
snd_ac97_codec         91264  1 snd_intel8x0
snd_hda_codec          63596  2 snd_hda_codec_atihdmi,snd_hda_intel
ac97_bus                1456  1 snd_ac97_codec
snd_hwdep               6120  1 snd_hda_codec
snd_pcm_oss            32232  0 
snd_mixer_oss          12368  1 snd_pcm_oss
snd_pcm                62416  5 snd_intel8x0,snd_hda_intel,snd_ac97_codec,snd_hda_codec,snd_pcm_oss
snd_seq_midi            5688  0 
snd_rawmidi            18596  1 snd_seq_midi
snd_seq_midi_event      6212  1 snd_seq_midi
snd_seq                42304  2 snd_seq_midi,snd_seq_midi_event
snd_timer              17460  2 snd_pcm,snd_seq
snd_seq_device          6136  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    49028  14 snd_intel8x0,snd_hda_intel,snd_ac97_codec,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6184  1 snd
snd_page_alloc          8116  3 snd_intel8x0,snd_hda_intel,snd_pcm
-----------------------------------

> > 1) How to determine what modules corresponds to real sound cards,
> > not for various software things?
> 
> $ modinfo snd_<whatever you see>

This can give some hint for human, but not for a program.

It seems that existence of /sys/module/<module name>/drivers
directory can be sign of real sound device. For example, in my
system only 2 sound modules have this directory:
snd_hda_intel and snd_intel_8x0.

Various software things such as snd_pcm or snd_ac97_codec have no this 
directory on my system.

> > 2) When we know modules - how to get descriptions of corresponding
> > sound devices?
> 
> In your case:
> $ modinfo snd_intel8x0
 
$ /sbin/modinfo snd_intel8x0 :-)






More information about the Pkg-alsa-devel mailing list