Re: 2.1.76 sound problems:

Henrik Storner (storner@image.dk)
Thu, 25 Dec 1997 22:47:48 +0100


In linux.kernel you write:

>"Russell Coker - mailing lists account" <bofh@snoopy.virtual.net.au> writes:

>> Have you tried loading the uart401 module? I've got a sb16 working fine
>> under 2.1.76, here are the modules I have loaded.
>>
>> sb 24332 0
>> uart401 5868 0 [sb]
>> sound 83540 0 [sb uart401]
>>

>No, I don't have any uart401 module in my modules directory. maybe I
>was mislead by the make config help where it says that MPU401 is not
>needed because it is built in sb.o ?

There are a couple of modules that are mistakenly not built when having
a modular sound driver. uart401.o is one, and v_midi.o is another
(I am using a SoundBlaster16). This patch makes my sound module work.

diff -u --recursive --new-file linux/drivers/sound/Config.in linux-2.1/drivers/sound/Config.in
--- linux/drivers/sound/Config.in Thu Dec 25 13:05:14 1997
+++ linux-2.1/drivers/sound/Config.in Thu Dec 25 12:44:17 1997
@@ -136,7 +136,7 @@
fi

dep_tristate 'FM synthesizer (YM3812/OPL-3) support' CONFIG_YM3812 $CONFIG_SOUND
-dep_tristate 'Loopback MIDI device support' CONFIG_VMIDI $CONFIG_VMIDI
+dep_tristate 'Loopback MIDI device support' CONFIG_VMIDI $CONFIG_SOUND

if [ "$CONFIG_UART6850" = "y" ]; then
hex 'I/O base for UART 6850 MIDI port (Unknown)' U6850_BASE 0
diff -u --recursive --new-file linux/drivers/sound/Makefile linux-2.1/drivers/sound/Makefile
--- linux/drivers/sound/Makefile Thu Dec 25 13:05:14 1997
+++ linux-2.1/drivers/sound/Makefile Thu Dec 25 12:54:32 1997
@@ -95,9 +95,7 @@
ifeq ($(CONFIG_SB),m)
M_OBJS += sb.o
MIX_OBJS += sb_card.o
- ifneq ($(CONFIG_UART401),y)
- CONFIG_UART401 = m
- endif
+ CONFIG_UART401 = m
endif
endif

@@ -242,7 +240,7 @@
ld -r -o sound.o soundcard.o dev_table.o sound_switch.o audio.o dmabuf.o \
sequencer.o sys_timer.o sound_timer.o lowlevel/lowlevel.o \
midi_synth.o midibuf.o sound_firmware.o
- rm sound_syms.o
+# rm sound_syms.o

gus.o: gus_card.o gus_midi.o gus_vol.o gus_wave.o ics2101.o
ld -r -o gus.o gus_card.o gus_midi.o gus_vol.o gus_wave.o ics2101.o

-- 
Henrik Storner                               http://www.image.dk/~storner/ 
"The POP3 server service depends on the SMTP server service, which
 failed to start because of the following error:
 The operation completed successfully." -Windows NT Server v3.51