Re: [gentoo-user] Problem with sound card

2011-10-24 Thread Albert W. Hopkins
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/pci:00/: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.




Re: Re: [gentoo-user] Problem with sound card

2011-10-24 Thread David Abbott
2011/10/24 Lavender lavender_mat...@163.com:
  * Looks like maybe you have 2 sound cards. Are you going through
the correct card for output?
 It's not like that . I only have one sound card and one HD audio controller,

 I don't why there are card0 and card1.

  * Did you go into alsamixer to verify that the appropriate outputs
are unmuted?

 Actually there is no alsamixer in my system, I read the

 Gentoo Linux ALSA Guide , there is no alsaconf or

 alsasound too.

You must of missed;
Code Listing 3.1: Install alsa-utils
# emerge alsa-utils

  * 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.

 I'll try ,  I hope you're right .


HTH
David