Howto install Alsa on Debian (kernel 2.4)

Installing Alsa (as a lot of linux kernel module) on Debian (w/ debian package) can be a real pain. But this one is really simple:
- apt-get install alsa-base
- apt-get install alsa-source

Take care that alsa-base ask you which sound card you have. This is needed for building the init-script.

Next:

cd /usr/src/
tar xvfj  alsa-driver.tar.bz2
cd modules/alsa-driver
./configure
make
make install
/etc/init.d/alsa start

Take care that by default all mixer are off !!

– Enjoy using gnomemeeting



Related Posts

11 thoughts on “Howto install Alsa on Debian (kernel 2.4)

  1. You can build the debian package too like this:

    cd modules/alsa-driver
    ./debian/rules build-binary
    
  2. I think the recommended way is to do it from the kernel source directory and use something like:

    apt-get install kernel-source-x.x.xx
    apt-get install alsa-base
    apt-get install alsa-source

    cd /usr/src/linux

    kpkg-make –initrd –config menuconfig kernel-image
    kpkg-make –initrd –config menuconfig modules

  3. Dominic: Right, except that I hate to use apt for kernel stuff. So I always avoid this kind of features..

  4. Hi,

    I’m trying this on a powerbook G3 (awacs).

    After I execute ./configure I get

    The file /lib/modules/2.6.8-powerpc/source/include/linux/version.h does not exist
    Please, install the package with full kernel sources for your distribution or use –with-kernel=dir option to specify another directory (default = /lib/modules/2.6.8-powerpc/source

    any help ?

  5. im using realtek high defination audio. i downloaded alsa-driver-1.0.9rc4a.tar.bz2 from alsa-project
    but when i run ./configure it gives me error like this,,

    checking for kernel version… The file /lib/modules/2.6.9-x1/build/include/linu
    x/version.h does not exist.
    Please, install the package with full kernel sources for your distribution
    or use –with-kernel=dir option to specify another directory with kernel
    sources (default is /lib/modules/2.6.9-x1/build).

    please help me to get the sound and im using XANDROS 3.0 DELUX

  6. Im too, i use soundmax high defninition audio,and message is:
    The file /usr/src/linux/include/linux/version.h does not exist.
    Please install the package with full kernel sources for your distribution
    or use –with-kernel=dir option to specify another directory with kernel
    sources (default is /usr/src/linux).
    i use ubuntu

  7. Sorry but this doesn’t work for the 2.4.27 Standard Kernel.
    The sources are needed and so simple like here it does’t seem to be.
    I have many error executing make

    But if someone wants to tell that it is simple please let me that, that i’m wrong and teach me :)

  8. to fix the version error just download the sources of your actual kernel, rename version.Debian to version.h and copy to /usr/src/linux/include/linux/version.h
    thats it

    it just needs to know what kernel u are running,

    i did this but i keep getting errors if i try to make install

  9. hi

    i did all the steps to “make install”.
    Then I dont understand what the last command line “/etc/init.d/alsa start means. Do i have to go to /etc/init.d/alsa and then enter the command start? Besides i in the directory /etc/init.d/ i only find “alsasound” and “alsa-utils”.

    Thanks for your help!

  10. for Mike : yes launch “alsa”, utils and sound too ..

    But anyways, now Alsa works out of the box on a debian, this post is old now !

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>