Jordan Breeding wrote:
> Hello,
>
> I am using linux-2.4.17-pre8 and have patched in ALSA 0.9.0beta10
> using the file "alsa-2001-12-06-1-linux-2.5.1-pre8.patch" from
> ftp.alsa-project.org. There were a couple of rejects but they were
> rather easy to fix. Everything else wasn't hard at all, RTC support had
> to be disabled because one of its data types doesn't exist and besides
> that everything compiled in just fine, however when booting I get this
> message:
>
> Advanced Linux Sound Architecture Driver Version 0.9.0beta10.
> ALSA device list:
> No soundcards found.
>
> I know that I build support for my card and that it worked with ALSA
> 0.9.0beta9 built directly into the kernel, anyone have a clue why it
> doesn't work with beta10? I am attaching my .config file. Thanks.
>
> Jordan Breeding
>
>
The attached patch fixed the problem for me.
Jordan Breeding
--- linux/sound/pci/emu10k1/Makefile.orig Tue Dec 11 01:00:15 2001
+++ linux/sound/pci/emu10k1/Makefile Tue Dec 11 00:34:32 2001
@@ -13,7 +13,7 @@
snd-emu10k1-synth-objs := emu10k1_synth.o emu10k1_callback.o emu10k1_patch.o
# Toplevel Module Dependency
-obj-$(CONFIG_SND_EMU10K1) += snd-emu10k1.o
+obj-$(CONFIG_SND_EMU10K1) += snd-emu10k1.o emu10k1.o
ifeq ($(subst m,y,$(CONFIG_SND_SEQUENCER)),y)
obj-$(CONFIG_SND_EMU10K1) += snd-emu10k1.o snd-emu10k1-synth.o
endif
--- linux/sound/pci/emu10k1/emu10k1.c.orig Tue Dec 11 01:01:01 2001
+++ linux/sound/pci/emu10k1/emu10k1.c Tue Dec 11 00:37:11 2001
@@ -182,7 +182,7 @@
return 0;
}
-static void __exit snd_card_emu10k1_remove(struct pci_dev *pci)
+static void __devexit snd_card_emu10k1_remove(struct pci_dev *pci)
{
snd_card_free(PCI_GET_DRIVER_DATA(pci));
PCI_SET_DRIVER_DATA(pci, NULL);
@@ -192,7 +192,7 @@
name: "EMU10K1",
id_table: snd_emu10k1_ids,
probe: snd_card_emu10k1_probe,
- remove: snd_card_emu10k1_remove,
+ remove: __devexit_p(snd_card_emu10k1_remove),
};
static int __init alsa_card_emu10k1_init(void)