From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: CONFIG_SND_RTC and CONFIG_SND_RTCTIMER and CONFIG_RTC, oh my! Date: Tue, 14 May 2002 19:56:40 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3CE0CF92.F5CFFB38@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id TAA30242 for ; Tue, 14 May 2002 19:56:42 +0200 In-Reply-To: <3CE0CF92.F5CFFB38@ladisch.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 14 May 2002 10:49:22 +0200, Clemens Ladisch wrote: > > I tried to use the RTC callback timer with my 2.4.12 kernel. > Patching the kernel went fine, but then ALSA wouldn't compile the > snd-rtctimer.o module, although configure said: > | checking for RTC callback support in kernel ... "yes" > > A glance at alsa-kernel/core/Makefile shows that both CONFIG_RTC and > CONFIG_SND_RTCTIMER need to be defined: > > ifeq ($(subst m,y,$(CONFIG_RTC)),y) > obj-$(CONFIG_SND_RTCTIMER) += snd-timer.o > obj-$(CONFIG_SND_RTCTIMER) += snd-rtctimer.o > endif > > ... but neither appears in alsa-driver/Makefile.conf, apparently > because configure thinks it should define CONFIG_SND_RTC instead: > > alsa-driver/configure.in: > ... > rtcsup="0" > ... > AC_MSG_RESULT("yes");rtcsup="m", > AC_MSG_RESULT("no");rtcsup="n", > AC_MSG_RESULT("unknown");rtcsup="n" > ... > CONFIG_SND_RTC=$rtcsup > AC_SUBST(CONFIG_SND_RTC) > if test "$CONFIG_SND_RTC" = "1"; then > AC_DEFINE(CONFIG_SND_RTC) > fi > > Additionally, it's unclear whether the value of CONFIG_SND_RTC should > be 0/1 or n/m. they are ruines from the old alsa-driver package. all should be CONFIG_SND_RTCTIMER and take m/n/y. fixed now on cvs. thanks. Takashi _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net