Skip to contentSkip to conversation

Latest ALSA code available for tests

DISCUSSION Dagfinn Ilmari Mannsåker 2 participants 2 messages May 24, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines · Jaroslav Kysela

Hi all,

	the latest ALSA -> kernel patch is available for tests at

ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-2002-05-23-1-linux-2.5.17-cs1.582.patch.gz

I'd like to ask interested people to test this patch and report
especially compilation problems, because there are some fixes in code dependency for OSS emulation layer. Also Hammerfall DSP code was recently added.

It all compiled fine here, and depmod doesn't complain about any unresolved symbols. However, when I try to load snd.o, it tells that snd_mixer_oss_notify_callback is unresolved. The relevant config parameters are:

CONFIG_SOUND=y
CONFIG_SND=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_MAESTRO3=m

Signature · 1 line
ilmari
#2 lore raw
Quoted 18 lines · On Fri, 24 May 2002, Dagfinn Ilmari [iso-8859-1] Manns�ker wrote:
Quoted 10 lines · Jaroslav Kysela

Hi all,

	the latest ALSA -> kernel patch is available for tests at

ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-2002-05-23-1-linux-2.5.17-cs1.582.patch.gz

I'd like to ask interested people to test this patch and report
especially compilation problems, because there are some fixes in code dependency for OSS emulation layer. Also Hammerfall DSP code was recently added.

It all compiled fine here, and depmod doesn't complain about any unresolved symbols. However, when I try to load snd.o, it tells that snd_mixer_oss_notify_callback is unresolved. The relevant config parameters are:

Quoted 7 lines

CONFIG_SOUND=y
CONFIG_SND=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_MAESTRO3=m

Thanks. Bellow patch (apply in sound/core directory) should fix this problem:

Index: init.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/init.c,v
retrieving revision 1.8

init.c 24 May 2002 06:57:41 -0000 renamed from init.c 23 May 2002 08:20:38 -0000 1.8 +1 -1
diff -u -r1.8 init.c
@@ -33,7 +33,7 @@
 snd_card_t *snd_cards[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = NULL};
 rwlock_t snd_card_rwlock = RW_LOCK_UNLOCKED;
 
-#if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS)
+#if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS_MODULE)
 int (*snd_mixer_oss_notify_callback)(snd_card_t *card, int free_flag);
 #endif
 

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com