From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Compiling the newest code for testing? Date: Fri, 07 Jan 2005 19:39:31 +0100 Message-ID: References: <200501070525.45603.mr@ramendik.ru> <200501072127.38967.mr@ramendik.ru> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200501072127.38967.mr@ramendik.ru> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Mikhail Ramendik Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 7 Jan 2005 21:27:38 +0300, Mikhail Ramendik wrote: > > > > - Is it OK to compile this kernel code by merely copying the relevant > > > directories (sound [except for sound/oss] and include/sound) from the > > > alsa tree into the kernel tree? I run an RPM-based system, and would like > > > to keep the existing approach to kernel building (full RPM rebuild) > > > alive; it's slow but reliable. > > > > Not always. The ALSA cvs may contain the codes for the very latest > > kernel (rc or mm). Copying the files to kernel might not work when > > the kernel function / API is changed. The difference is usually > > absorbed by patches in alsa-driver tree. > > Which kernel is 1.0.8rc2 for? There apparently is no recent -rc at the moment. > If it's against an -mm version, I can compile that too, at least for the alsa > tests. I just need to be sure which kernel version it's tied to. Basically, alsa-kernel is for the latest vanilla kernel. Not sure whether it works with 2.6.10-mm tree now although I think it should be fine, too. > > > And an i8x0-specific question: in the above-mentioned current code, > > > should output to hw:0,0 go only to analog, or to both analog and spdif? > > > > Analog only. > > > > Basically, you should avoid to access "hw:0,0". If you want to output > > to analog front, you can use "front", instead. Similarly, for spdif, > > use "spdif" (or "iec958"). > > But OSS emulation is needed for some of the stuff I use, and that writes to > hw:0,0 . I know I should be searching for fixed on the other end as well. Then avoid OSS ;) Or, you can assign hw:0,4 to /dev/adsp with a module option. See OSS-Emulation.txt for details. Takashi ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt