ifeq ($(CONFIG_SSCAPE),y)
L_OBJS += sscape.o
LX_OBJS += ad1848.o
else
ifeq ($(CONFIG_SSCAPE),m)
M_OBJS += sscape.o
MX_OBJS += ad1848.o
endif
endif
(Please add something like this to drivers/sound/Makefile, BTW)
With this change, I compile, reboot with:
# sound adapter
alias char-major-14 sscape
options sscape dma=3 irq=11 io=0x534 mpu_irq=9 mpu_io=0x330
in my /etc/conf.modules file.
After manually loading sound, ad1848, and mpu401, I see:
root@dillweed% cat /proc/modules
mpu401 17716 0
ad1848 14172 0
sound 79668 0 [mpu401 ad1848]
then (the moment of truth):
root@dillweed% insmod sscape
/lib/modules/2.1.80/misc/sscape.o: init_module: Device or resource busy
And then, even more strangely:
root@dillweed% rmmod mpu401
root@dillweed% modprobe mpu401
root@dillweed% !cat
cat /proc/modules
mpu401 17716 0 (unused)
ad1848 14172 0
sound 79668 0 [mpu401 ad1848]
msdos 7076 3 (autoclean)
fat 24636 3 (autoclean) [msdos]
root@dillweed% modprobe sscape
/lib/modules/2.1.80/misc/sscape.o: init_module: Device or resource busy
sound: Device or resource busy
root@dillweed% !cat
cat /proc/modules
ad1848 14172 0
sound 79668 0 [ad1848]
msdos 7076 3 (autoclean)
fat 24636 3 (autoclean) [msdos]
Any ideas what the problem here is???
-Erik
-- Erik B. Andersen Web: http://www.inconnect.com/~andersen/ email: andersee@debian.org --This message was written using 73% post-consumer electrons--