At Tue, 2 Mar 2004 17:59:55 GMT,
William wrote:
> 
> Takashi Iwai <[EMAIL PROTECTED]> wrote:
> >>William wrote:
> >> I think it would be useful to keep an explanation of how to install
> >> CVS alsa-kernel into a Linux 2.6.x source tree.
> >>  
> >> BTW, why is there still an alsa-driver package?
> >> Is there any difference between (a) installing alsa-kernel into Linux 2.6.x
> >> and (b) installing alsa-driver in the normal way with the configure option
> >> --with-kernel=somewhere/linux
> >
> >yes, alsa-kernel is just for update of 2.6.x tree, and it doesn't
> >include the experimental new drivers included in alsa-driver tree.
> >alsa-driver tree also includes bunch of wrappers for 2.2/2.4 kernels.
> 
> This is very important information. How about explaining this on the
> alsa-project.org website where the current sentence reads "simply copy ..." ?
 
maybe.  the statement is a bit old.

> >that's why i wrote above to remove the sentense.
> >if you copy the files of alsa-kernel, you'll have no such new drivers.
> 
> I probably want the new/experimental drivers.
>   cd alsa-driver-cvs-20040302
>   ./configure --with-cards=.... --with-kernel=somewhere/linux-2.6.x
> Does this mean the both ALSA and OSS sound modules in the Linux 2.6.x source
> tree are automatically replaced and updated by the ALSA and OSS modules
> from alsa-driver?  I want to have the old OSS sound drivers so
> I can change from using ALSA to OSS (and vice-versa) by modules unloading
> and re-loading.

OSS drivers won't be replaced.  they will be left as they were.

> 
> >> Don't you mean "linux/sound/Documentation"?
> >sorry, linux/Documentation/sound/alsa.
> 
> Ok, so is this a correct summary of installing alsa-kernel into Linux 2.6.x?
> 
> #!/bin/sh
> # Install CVS alsa-kernel into Linux 2.6.x source tree:
>     cp -fR alsa-kernel/include/*  linux/include/sound
>     mv -f alsa-kernel/include  out-of-the-way-temporarily-include
> 
>     cp -fR alsa-kernel/Documentation/*  linux/Documentation/sound/alsa
>     mv -f alsa-kernel/Documentation out-of-the-way-temporarily-Documentation
> 
>     mv -f alsa-kernel/oss out-of-the-way-temporarily-oss
> 
>     mv -f alsa-kernel/scripts out-of-the-way-temporarily-scripts
> 
>     cp -fR alsa-kernel/*  linux/sound

does recursive copy work in this way?
also omit CVS and kbuild directories if you have.

another easy way to update is to use the bk tree patch...


Takashi


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to