Re: [Alsa-user] How to get usx2y modules with 2.6.x kernel
Brought to you by:
perex
From: Frank B. <fb...@fo...> - 2004-02-15 17:16:03
|
Hallo, Eric Berg hat gesagt: // Eric Berg wrote: > I've been trying to get the modules built with no luck. Perhaps you can > clarify a few things for me... > > First, how did you build the alsa-driver and alsa-kernel cvs packages? > Did you copy them into the kernel? The 2.6.x docs suggest that you > shoudl copy the alsa-kernel stuff to your linux source dir under the > sound directory, but what about the alsa-driver stuff? If I build them > in a directory outside of the kernel source tree, all of the modules > except the sound mods are deleted - and that usx2y stuff isn't even > built at all. That's sort of the essence of the problems that I've run > into. I did no copying at all. First I built a kernel without AlSA or OSS, just basic sound supprt (soundcore). Do not run "make clean" afterwards. Then I checked out alsa-driver and alsa-kernel into a working directory. My bash_history shows it like this: export ALSACVS=':pserver:ano...@al...:/home/cvsroot/alsa' cvs -d $ALSACVS login cvs -z3 -d $ALSACVS co -P alsa-kernel cvs -z3 -d $ALSACVS co -P alsa-driver cvs -z3 -d $ALSACVS co -P alsa-firmware You'll have three directories then. Inside alsa-driver alsa-kernel should be a symlink to "../alsa-kernel like: (alsa-driver)-$ pwd /builds/alsa-cvs/alsa-driver (alsa-driver)-$ ls -ld alsa-kernel lrwxrwxr-x 1 fbar fbar 14 Jan 31 17:08 alsa-kernel -> ../alsa-kernel While in alsa-driver follow the instructions in INSTALL, but *don't* run cvscompile, instead do it by hand: Compilation from CVS sources ============================ You need GNU packages autoconf and automake installed in your system to compile CVS sources of alsa-driver package. For compilation you can use these commands: make ALSAKERNELDIR=../alsa-kernel all-deps (if the alsa-kernel-dir is really there) aclocal autoconf ./configure make dep make You need do it by hand, because you might want to tell the location of your kernel-sources to configure with: --with-kernel=dir After that, you can install just the modules with "make install-modules" as root. This will not overwrite your init.d scripts with ALSA's versions, if you already have them, e.g. from your distribution. This worked for me here. You might want to try some alternatives as described in the Wiki on alsa.opensrc.org as well, but I didn't have success with anything else. ciao -- Frank Barknecht _ ______footils.org__ |