At Thu, 25 Sep 2003 07:45:08 -0700, Mark Knecht wrote: > > > At Wed, 24 Sep 2003 14:24:29 -0700, > > Mark Knecht wrote: > > > > > > I see that in the Gentoo kernel tree (and maybe all 2.6 kernels) > > > linux/drivers/sound has moved to linux/sound. > > > > the OSS drivers are located now on linux/sound/oss. > > the other sound directories correspond to ALSA's alsa-kernel tree > > (except for alsa-kernel/include -> linux/include/sound, and > > alsa-kernel/Documentation -> linux/Documentation/sound/alsa). > > > > > > Takashi > > > > Takashi-san, > Thank you very much for the response. It is helpful. > > Would I be correct that if I had a 2.6 level kernel and wanted to use the > newest Alsa from CVS, then I would: > > 1) Download CVS to my machine in it's own directory > 2) Replace what is currently in linux/sound with the CVS source EXCEPT for > the oss directory which I would leave alone. > 3) Build the kernel with Alsa sound support and no OSS support > 4) Use Alsa to do OSS emulation like I do today in modules.conf > > In linux/sound there are a few other files - Kconfig, etc. If these are > not supplied by Alsa CVS, then I would leave them in linux/sound to perform > whatever function they perform today. > > Does this sound about right? I may try it out one of these days.
yes. alsa-kernel tree includes the all files (including Kconfig) except for OSS driver codes under oss directory. please remember the difference of alsa-kernel and alsa-driver trees. for 2.6.x kernel, only alsa-kernel tree is used. also, you can build on alsa-drivers as well as 2.4.x (i fixed this yesterday). but in this case, note that the kernel configuration will override the local configuration of alsa-driver (provided by configure script). for example, if you turn off the ALSA support on 2.6.x kernel config, you cannot build on alsa-drivers tree properly at all. this causes often problems when CONFIG_SND_DEBUG mismatches between kernel and alsa-driver trees. also, when the kernel is compiled with MODVERSION, you'll have many compile warnings on alsa-driver tree, due to redefinition of symbols. but you can ignore them in general. ciao, Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel