Re: build ALSA debian way?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jaromír Mikeš wrote, on 2008-10-07 10:44:
> Hi,
> 
> I've compiled new kernel for me 2.6.24.7-rt20 which seems to have a bug in builded alsa modules (RME Digiface,Multiface).
> 
> http://sourceforge.net/mailarchive/message.php?msg_id=fmv935%24cls%241%40ger.gmane.org
> 
> I would like to upgrade alsa modules from 1.0.15 wich coming with kernel source to 1.0.17
> I already builded new kernel without alsa module, but with sound support  and now I would like to build alsa from source.
> I am using debian based distro so make a debian package would be best for me.
> 
> Is there any way how to do it?
> I didn't found any new howto which I dare to follow most of them are quite dated.

# This all assumes that you have Lenny/testing or
# Sid/unstable in your /etc/apt/sources.list

# If you have compiled a kernel the Debian way:

apt-get install kernel-package build-essential

# (plus some curses development package whose name escapes me)

apt-get linux-source-2.6

# or more specific version of linux-source-2.6 if needed

cd /usr/src

bzip2 -dc linux-source-2.6*tar.bz2|tar -xvf /dev/fd/0
ln -s <name of newly created linux-source directory> linux
cd linux
make menuconfig

# note, you can/should leave alsa active in the kernel

# to get alsa source ready

apt-get alsa-source

cd /usr/src

bzip2 -dc alsa-driver*.tar.bz2|tar -xvf /dev/fd/0

dpkg-reconfigure alsa-source

# this should prompt you for which alsa modules to compile.
# On a fast machine, all should be fine

# Then to compile the kernel and additional ALSA package, do

cd /usr/src/linux
make-kpkg --initrd linux-image modules-image

# you then get linux-image*.deb and alsa-modules*.deb

# install them both:

cd /usr/src
dpkg -i linux-image*.deb alsa-modules*.deb

# and you'll get a new grub entry created for this kernel,
# which you can select at boot or make default by tweaking
# /boot/grub/menu.list (assuming grub-legacy)

If you want more Debian-specific help, find the Debian-user mailing list 
either through www.debian.org or as a newsgroup through gmane.org

Hope this helps,

Arthur.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux