Find the answer to your Linux question:
Results 1 to 9 of 9

Thread: no sound

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    no sound


    Hi all, I am trying to configure my card with alsa (on slackware 10.2).
    I'm hoping that someone can tell me what the problem is and what to do.
    Thanks.

    Code:
    root@meadow:/dev# cat /proc/asound/oss/sndstat
    Sound Driver:3.8.1a-980706 (ALSA v1.0.10 emulation code)
    Kernel: Linux meadow 2.6.15.6 #2 Sat Apr 1 22:22:32 UTC 2006 i686
    Config options: 0
    
    Installed drivers:
    Type 10: ALSA emulation
    
    Card config:
    --- no soundcards ---
    
    Audio devices: NOT ENABLED IN CONFIG
    
    Synth devices: NOT ENABLED IN CONFIG
    
    Midi devices: NOT ENABLED IN CONFIG
    
    Timers:
    7: system timer
    
    Mixers: NOT ENABLED IN CONFIG
    
    
    root@meadow:/proc/asound# cat cards
    0 [CMI8738MC8     ]: CMI8738-MC8 - C-Media PCI CMI8738-MC8
                         C-Media PCI CMI8738-MC8 (model 68) at 0xc200, irq 5
    root@meadow:/proc/asound# cat version
    Advanced Linux Sound Architecture Driver Version 1.0.10.
    Compiled on Apr 11 2006 for kernel 2.6.15.6.
    
    root@meadow:/proc/asound# cat /proc/modules
    snd_pcm_oss 47520 0 - Live 0xf8bd4000
    snd_mixer_oss 15872 1 snd_pcm_oss, Live 0xf8afb000
    snd_cmipci 28832 4 - Live 0xf8ba4000
    gameport 10888 1 snd_cmipci, Live 0xf8912000
    snd_pcm 75016 3 snd_pcm_oss,snd_cmipci, Live 0xf8bb1000
    snd_opl3_lib 8832 1 snd_cmipci, Live 0xf8af7000
    snd_timer 19844 3 snd_pcm,snd_opl3_lib, Live 0xf8b1a000
    snd_hwdep 6816 1 snd_opl3_lib, Live 0xf8ab2000
    snd_mpu401_uart 5888 1 snd_cmipci, Live 0xf8aaf000
    snd_rawmidi 19232 1 snd_mpu401_uart, Live 0xf8ab6000
    snd_seq_device 6924 2 snd_opl3_lib,snd_rawmidi, Live 0xf8aac000
    snd 45284 17 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xf891a000
    
    root@meadow:/proc/asound/CMI8738MC8# cat cmipci
    C-Media PCI CMI8738-MC8 (model 68) at 0xc200, irq 5
    
    00: ff ff ff ff
    04: ff ff ff ff
    08: ff ff ff ff
    0c: ff ff ff ff
    10: ff ff ff ff
    14: ff ff ff ff
    18: ff ff ff ff
    1c: ff ff ff ff
    20: ff ff ff ff
    24: ff ff ff ff
    28: ff ff ff ff
    2c: ff ff ff ff
    30: ff ff ff ff
    34: ff ff ff ff
    38: ff ff ff ff
    3c: ff ff ff ff
    root@meadow:/proc/asound/CMI8738MC8# cd ..
    root@meadow:/proc/asound# ls
    CMI8738MC8  card0  cards  devices  hwdep  modules  oss  pcm  seq  timers  version
    root@meadow:/proc/asound# cat pcm
    00-00: CMI8738-MC8 : C-Media PCI DAC/ADC : playback 1 : capture 1
    00-01: CMI8738-MC8 : C-Media PCI 2nd DAC : playback 1
    00-02: CMI8738-MC8 : C-Media PCI IEC958 : playback 1 : capture 1
    
    peter@meadow:/dev# xmms
    
    ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such file or directory
    
    root@meadow:/dev# totem
    
    ** (totem:32328): WARNING **: Failed to connect to the D-BUS daemon: No reply within specified time
    ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
    ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device
    ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
    ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device
    ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
    ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
    
    (totem:32328): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    How have you tried to configure your card so far? Have you tried the 'alsaconf', 'alsamixer', 'alsactl store' route yet?

    As a note, open programs as your user and not root.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    hi, thanks for your help
    alsaconf detects the card, but I don't get to see the mixer
    Code:
    Now ALSA is ready to use.
     For adjustment of volumes, use your favorite mixer.
    
     Have a lot of fun!
    
    peter@meadow:~$ alsamixer
    
    alsamixer: function snd_ctl_open failed for default: No such device
    
    root@meadow:/home/peter# alsamixer
    
    alsamixer: function snd_ctl_open failed for default: No such device

  4. $spacer_open
    $spacer_close
  5. #4
    hi, thanks for your help.
    alsaconf detects the card, but I don't get to see the mixer:
    Code:
    Now ALSA is ready to use.
     For adjustment of volumes, use your favorite mixer.
    
     Have a lot of fun!
    
    peter@meadow:~$ alsamixer
    
    alsamixer: function snd_ctl_open failed for default: No such device
    
    root@meadow:/home/peter# alsamixer
    
    alsamixer: function snd_ctl_open failed for default: No such device

  6. #5
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Check #5 on this page: http://alsa.opensrc.org/index.php?page=TroubleShooting

    You may be missing the appropriate devices in your /dev folder. Try the solution there and report back with any further problems.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  7. #6
    Thnx man the problem was that peter couldn't access the sounddevice
    So now I'm getting alsamixer but I cannot unmute PCM ('m' doesn't work)

  8. #7
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Have you tried a different mixer like KMix (KDE) or the GNOME volume control? Do you get any errors when trying to unmute PCM?

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  9. #8
    I also tried gnome-volume-control but I am unable to toggle the red crosses from PCM.
    tried as user as well as root...
    No errors.

  10. #9
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •