Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
I keep getting this error message every time I log into KDE. I emerge alsa and alsa-driver and alsa-libs. When I choose alsa as my sound system hardware. Sound server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Jersey
    Posts
    102

    ALSA Error


    I keep getting this error message every time I log into KDE. I emerge alsa and alsa-driver and alsa-libs. When I choose alsa as my sound system hardware.

    Sound server informational message:
    Error while initializing the sound driver:
    device: default can't be opened for playback (No such file or directory)
    The sound server will continue, using the null output device.

    What should I do?
    Its happening when I choose alsa or oss under hardware.
    This is the messgae when I choose OSS. Its a little different.

    Sound server informational message:
    Error while initializing the sound driver:
    device /dev/dsp can't be opened (No such device)
    The sound server will continue, using the null output device.
    Registered user #372186 -- http://counter.li.org

  2. #2
    Linux User nalg0rath's Avatar
    Join Date
    Sep 2004
    Location
    Stockholm
    Posts
    303
    Manually:
    You'll probably have to modprobe your driver. Read the manual:
    Code:
    # man modprobe
    basically you run:
    Code:
    # modprobe [devname]
    where [devname] should be replaced of the name of the device driver for your soundcard. If you dont know the name of the device driver use Google, and if you don't know what soundcard you have use:
    Code:
    # lspci -v | grep -i audio
    Automatically:
    There is a automatic way of doing this (with a ncurses based interface) to do this run:
    Code:
    # alsaconfig

  3. #3
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Jersey
    Posts
    102
    When I type in:

    Code:
    root # lspci -v | grep -i audio
    I get this:

    Code:
    root # lspci -v | grep -i audio
    0000:00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
    What should I type after modprobe. Also alsaconfig does not work. It tells me command not found. Any ideas?
    Registered user #372186 -- http://counter.li.org

  4. #4
    Linux User
    Join Date
    Nov 2003
    Location
    Brooklyn, NY
    Posts
    347

  5. #5
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Jersey
    Posts
    102
    I tried recompiling the kernel and then I tried alsa-driver. Nothing is working. Alsa-driver wont install properly. Ill post the error message:

    Here is what happens when I emerge alsa-driver

    Code:
     CC [M]  /var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr.o
      CC [M]  /var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.o
    /var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.c: In function `pcxhr_setup_firmware':
    /var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.c:212: error: dereferencing pointer to incomplete type
    make[5]: *** [/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr/pcxhr_hwdep.o] Error 1
    make[4]: *** [/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci/pcxhr] Error 2
    make[3]: *** [/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/pci] Error 2
    make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1] Error 2
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r3'
    make: *** [compile] Error 2
    
    !!! ERROR: media-sound/alsa-driver-1.0.8_rc1 failed.
    !!! Function src_compile, Line 76, Exitcode 2
    !!! Parallel Make Failed
    !!! If you need support, post the topmost build error, NOT this status message.
    Registered user #372186 -- http://counter.li.org

  6. #6
    Linux Newbie
    Join Date
    May 2005
    Posts
    222
    try.....

    #emerge alsa-utils

    #rc-update add alsasound default

    then do

    #alsamixer

    hope this works for ya.....

  7. #7
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Jersey
    Posts
    102
    Here is what I got:

    # alsamixer

    alsamixer: function snd_ctl_open failed for default: No such file or directory
    Registered user #372186 -- http://counter.li.org

  8. #8
    Linux Newbie
    Join Date
    May 2005
    Posts
    222
    OK....let's try again.

    These steps apply only if you use Genkernel

    #emerge alsa-utils

    #alsaconf

    #rc-update add alsasound default

    #alsamixer

    I did exactly these steps, and I have sound with no problem.

  9. #9
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Jersey
    Posts
    102
    Whe I try alsaconf I get this message:

    No Supported PnP or PCI card found.
    Would you like to probe legacy ISA sound cards/chips?

    After I press yes. I get a window with a blank screen that says 100%
    After I press ok. I get nothing else.
    When I try #alsamixer
    I get this:
    Code:
    root # alsamixer
    
    alsamixer: function snd_ctl_open failed for default: No such file or directory
    Registered user #372186 -- http://counter.li.org

  10. #10
    Linux Newbie
    Join Date
    May 2005
    Posts
    222
    I just notice that you installed Gentoo using stage 1 and probably did not use Genkernel. The method I used would not apply to your situation.

Page 1 of 2 1 2 LastLast

Posting Permissions

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