On Mon, 2011-10-24 at 20:35 +0800, Lavender wrote:
> I have asked the question in gentoo forum , but
> it seems that very few people like hanging around
> in forums , I didn't get useful method.
> My sound card can't work normally , when I use music
> player there is no sound .
> Someone said that I need low-level codec support , I'm not
> sure whether it is. Here is the information in sysfs, I really
> hope you can know where the problem is.
>
> # ls /sys/class/sound
> audio card0 card1 controlC0 controlC1
> dsp hwC0D0 hwC1D0 mixer mixer1
> pcmC0D0c pcmC0D0p pcmC1D3p
> seq sequencer sequencer2 timer
>
> # ls -l /sys/class/sound/card0
> lrwxrwxrwx 1 root root 0 Oct 25 03:37 card0
> -> ../../devices/pci0000:00/0000:00:14.2/sound/card0
>
> # ls /sys/class/sound/card0/
> audio controlC0 device dsp
> hwC0D0 id mixer number
> pcmC0D0c pcmC0D0p power
> subsystem uevent
> ----Regards----
> ----Lavender----
>
>
When you go in into the kernel config, there is the option for Intel
AC97-like sound, which I believe is what the majority of sound cards
use. For AC97 there are "codecs" in the kernel config. A safe choice
is to select them all.
The output you gave is not very helpful or informative, but I'll ask
just a few questions/suggestions:
* Looks like maybe you have 2 sound cards. Are you going through
the correct card for output?
* Did you go into alsamixer to verify that the appropriate outputs
are unmuted?
* Try "aplay" or "speaker-test" or something else low-level to see
if even basic output is working. It could be your sound card is
fine but you don't have the correct support for whatever music
player you are using.