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 :

admin January 21st, 2004


11 Responses to “Howto install Alsa on Debian (kernel 2.4)”

  1. jkxon 23 May 2004 at 1:11 pm

    You can build the debian package too like this:

    cd modules/alsa-driver
    ./debian/rules build-binary
    
  2. Dominicon 11 Jan 2005 at 4:00 pm

    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. Jkxon 12 Jan 2005 at 12:52 am

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

  4. Spastikon 07 Jun 2005 at 9:24 pm

    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. Anonymouson 16 Dec 2005 at 4:35 am

    I tried it and got million errors doing make.

  6. raziqon 10 Jan 2006 at 2:42 pm

    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

  7. chanon 30 Sep 2006 at 3:19 pm

    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

  8. Jon 18 Oct 2006 at 8:05 pm

    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 :)

  9. nikoon 15 Feb 2007 at 8:56 am

    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

  10. mikeon 18 Jul 2009 at 11:31 am

    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!

  11. adminon 21 Jul 2009 at 9:42 pm

    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 !

Comments RSS

Leave a Reply