Professional Web Applications Themes

setting up ALSA/sound in Debinan/woody - Linux Setup, Configuration & Administration

Dear NG, I hope Im in the right forum for my questions. I have problems setting up my sound-devive under debian 3.0.2. I have a built-in CMI 8738 sound chip. The problem is I cannot play any sound and when logging in in KDE I get the error-message /dev/dsp no such device (as root) /dev/dsp no permission (as user). C-media support is compiled in the kernel, so I tried to set up ALSA, as the sound-howto recommends it as a good solution. The ALSA-howto says I need alsa-driver alsa-lib alsa-utils but unfortunately debian des not provide these packages or files. ...

  1. #1

    Default setting up ALSA/sound in Debinan/woody

    Dear NG,

    I hope Im in the right forum for my questions.

    I have problems setting up my sound-devive under debian
    3.0.2. I have a built-in CMI 8738 sound chip. The problem
    is I cannot play any sound and when logging in in KDE I
    get the error-message

    /dev/dsp no such device (as root)
    /dev/dsp no permission (as user).

    C-media support is compiled in the kernel, so I tried to
    set up ALSA, as the sound-howto recommends it as a good
    solution. The ALSA-howto says I need

    alsa-driver
    alsa-lib
    alsa-utils

    but unfortunately debian des not provide these packages
    or files. But I found the script ./snddevices in
    /usr/share/doc/alsa-base/examples but executing this in
    /dev didnt solve the problem. My Questions are

    1. What .deb packages do I need and which version (I run
    woody on my box) or do I need the original ALSA .tar.gz
    files?
    2. How can I 'run' the /usr/share/alsa/alsa.conf or
    whatever this file is supposed to be used for? And what
    for are the drivers in /usr/share/alsa/cards?
    3. Why is it so hard to find such things out?

    thanx for help
    -thomec
    Thomas Guest

  2. #2

    Default Re: setting up ALSA/sound in Debinan/woody

    Thomas Müller wrote: 

    I don't know, I'm also new.
     

    You should do

    $ adduser audio <user_login>

    to allow him use sound.
     

    There are a lot of packages for alsa. Try `apt-cache search alsa`.
     
     

    I've got alsa-base alsa-utils libasound2. I've also got alsa modules in the
    kernel. These modules are integrated in the kernels 2.6.x . If you use a
    precompiled 2.2 or 2.4 kernel, you should install the package
    alsa-modules-<num of your kernel>. If you use an home made kernel, you
    should install the package alsa-source-<version number>.
     

    Use the package alsaconf to deal with them.
     

    I don't think so. I found a lot of informations on the web.

    I have only got one problem : I only managed to make Alsa work as modules,
    but not when it is built-in in the 2.6.0 kernel. Has anyone tried to build
    the alsa drivers in the kernel ?

    I hope that my remarks will help you.

    --
    Prakash

    Prakash Guest

  3. #3

    Default Re: setting up ALSA/sound in Debinan/woody

    Prakash Countcham wrote: 
    <snip> 
    well, i did so... and my sound isn't working
    strangely enough, every possible option is set (like mixer settings,
    modprobe.conf, ...) and everything loads fine, but still no sound

    it seems to me that compiling alsa into the kernel isn't really a good idea
    it might even be unsupported, (does anyone know this?)

    regards

    joachim
    --

    -----------------------------------------------------------
    Please remove NOSPAM in my e-mail adress to reply.
    -----------------------------------------------------------

    Joachim Guest

  4. #4

    Default Re: setting up ALSA/sound in Debinan/woody

    Thomas =?ISO-8859-1?Q?M=FCller?= <de> writes:

    ]Dear NG,

    ]I hope Im in the right forum for my questions.

    ]I have problems setting up my sound-devive under debian
    ]3.0.2. I have a built-in CMI 8738 sound chip. The problem
    ]is I cannot play any sound and when logging in in KDE I
    ]get the error-message

    ] /dev/dsp no such device (as root)
    ] /dev/dsp no permission (as user).

    /dev/dsp is a OSS device. Alsa can immitate OSS if set up properly.

    In /etc/modules.conf put
    # ALSA portion
    alias char-major-116 snd
    alias snd-card-0 snd-intel8x0
    ^^^^^^^^^^^^
    This needs tobe the alsa driver for your particular sound
    card.

    #OSS/Free portion
    alias char-major-14 soundcore
    alias sound-slot-0 snd-card-0

    # card #1
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-oss
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss
    The above are the oss portions which are needed for oss
    emulation.




    ]1. What .deb packages do I need and which version (I run
    ] woody on my box) or do I need the original ALSA .tar.gz
    ] files?

    You need the alsa modules. See if the above modules exist on your
    system.

    ]2. How can I 'run' the /usr/share/alsa/alsa.conf or
    ] whatever this file is supposed to be used for? And what
    ] for are the drivers in /usr/share/alsa/cards?
    ]3. Why is it so hard to find such things out?

    ]thanx for help
    ]-thomec
    Bill Guest

Similar Threads

  1. ALSA sound bug : can you reproduce?
    By Hadron in forum Ubuntu
    Replies: 2
    Last Post: October 12th, 11:37 AM
  2. alsa yields no sound
    By Derrick in forum Debian
    Replies: 2
    Last Post: August 12th, 10:00 PM
  3. Sound in Linux Debian 3.0 (WOODY) + Realtek ALC650 + problem with ALSA driver
    By Micha³ Modestowicz in forum Linux Setup, Configuration & Administration
    Replies: 6
    Last Post: July 30th, 12:17 PM
  4. I need help configuring Sound in Woody
    By Paul E Condon in forum Debian
    Replies: 1
    Last Post: July 9th, 09:20 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139