Hello,
after over a year I finally managed to load my sound modules for my SB32
automatically. As it turned out, the documentation in the kernel tree is wrong.
Here's the story:
/usr/src/linux/Documentation/sound/AWE32 suggests a wrong procedure for
configuring sound modules; it never worked for me. The reason seems to be
that modules loaded via external commands (/sbin/modprobe "-k" "adlib_card")
do not trigger the "post-install" actions. The version shown below will
work (for me). I used the sfxload command and sound font from OSS.
Using a test program like playmidi will cause an automatic loading and
initializeing. For my special kernel the configuration /dev/sndstat will
display this:
Kernel: Linux elf 2.2.16-NANO #1 Sun Jun 18 13:10:43 MEST 2000 i586
Config options: 0
Installed drivers:
Card config:
Audio devices:
0: Sound Blaster 16 (4.13) (DUPLEX)
Synth devices:
0: AWE32-0.4.3 (RAM2048k)
1: Yamaha OPL3
Midi devices:
0: Sound Blaster 16
1: AWE Midi Emu
Timers:
0: System clock
Mixers:
0: Sound Blaster
%%%%%%%%%%%%%%%%
--- /etc/modules.conf.SAvED Sat Apr 1 12:28:04 2000
+++ /etc/modules.conf Sun Jun 18 14:00:06 2000
@@ -151,12 +151,13 @@
# and in /usr/src/linux/drivers/sound/sb.c .
#
# Possible configuration :
#
alias char-major-14 sb
-post-install sb /sbin/modprobe "-k" "adlib_card"
-post-install sb /sbin/modprobe "-k" "awe_wave"
+#post-install sb /sbin/modprobe "-k" "adlib_card"
+#post-install sb /sbin/modprobe "-k" "awe_wave"
+add above sb adlib_card awe_wave
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
options adlib_card io=0x388
# AWE32 (und up)
#alias midi awe_wave
post-install awe_wave /usr/local/lib/oss/sfxload /usr/local/lib/oss/synthgm.sf2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:08 EST