You are not logged in.

#1 2009-01-27 17:41:40

fourier
Member
Registered: 2008-06-04
Posts: 10

Kernel + ALSA questions

Would someone please give me some pointers on how to compile the latest ALSA (1.0.19)?  I have searched the forum and the ALSA Wiki (http://alsa.opensrc.org/index.php/AlsaBuild2.6), but still am not sure how to proceed.  Do I just need to pull down the latest alsa-driver and compile/install it?  Do I need to patch the kernel source tree and then rebuild the kernel?  Any advice would be appreciated.

Thanks!

Offline

#2 2009-01-28 17:18:43

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: Kernel + ALSA questions

ALSA 10.19 will be integrated in the next kernel release, ie 2.6.29, however you can compile latest version of ALSA with the current kernel. Best way to do it is to use ABS, patch the kernel, and modify PKGBUILD for alsa-lib alsa-utils.

Last edited by ahcaliskan (2009-01-28 17:21:06)

Offline

#3 2009-02-03 03:17:55

Schneibster
Member
Registered: 2008-12-20
Posts: 32

Re: Kernel + ALSA questions

I'm gonna be real interested in this, because there're a whole bunch of fixes for the Gateway hda-intel driver, specifically autoconfig of the driver, and my system's whinging on startup about it. It works right now, but it's a little hinky.

Offline

#4 2009-02-04 19:45:37

xstaticxgpx
Member
Registered: 2008-10-22
Posts: 48

Re: Kernel + ALSA questions

Straight from the AlsaBuild2.6 wiki:

# Unpack your kernel source in /usr/src (/usr/src/linux-2.6.1)
# Unpack alsa-driver tarball into /usr/src (/usr/src/alsa-driver-1.0.1)
# cd /usr/src/alsa-driver-1.0.1/alsa-kernel
# rm -rf oss
# cp -a * /usr/src/linux-2.6.1/sound
# cd include
# cp -a * /usr/src/linux-2.6.1/include/sound
# cd ../Documentation
# cp -a * /usr/src/linux-2.6.1/Documentation

just replace those directories with whatever you're setup has, I did it and I'm on 2.6.28.3 with 1.0.19, also updated alsa-lib, alsa-plugins, alsa-utils and alsa-firmware to 1.0.19 manually.

Note: you do this with a fresh kernel, after you do the commands above, you compile/install the kernel as usual.

Offline

#5 2009-04-14 12:33:17

darose
Member
Registered: 2004-04-13
Posts: 158

Re: Kernel + ALSA questions

Hmmmm .....

I tried building the new kernel (2.6.29.1-3) using this technique, but it failed:

...
  CC [M]  sound/core/sound_oss.o
  CC [M]  sound/core/info_oss.o
  CC [M]  sound/core/vmaster.o
  CC [M]  sound/core/jack.o
sound/core/jack.c:31: error: 'SW_VIDEOOUT_INSERT' undeclared here (not in a function)
make[2]: *** [sound/core/jack.o] Error 1
make[1]: *** [sound/core] Error 2
make: *** [sound] Error 2
==> ERROR: Build Failed.
    Aborting...

Anybody know why it's failing?

Offline

Board footer

Powered by FluxBB