> 
> >I have been using sound on 2.0.32 since January.  It only require a one 
> line
> >code change and sound will work on CS4232 motherboard based sound.  Go 
> to 
> >/usr/src/linux/drivers/sound and edit the file 'Config.in' with the 
> following
> >change:
> >
> >.
> >.
> >.
> >dep_tristate 'MPU-401 support (NOT for SB16)' CONFIG_MPU401 
> $CONFIG_SOUND
> >dep_tristate '6850 UART Midi support' CONFIG_UART6850 $CONFIG_SOUND
> >dep_tristate 'MPU-401 UART Midi support' CONFIG_UART401 $CONFIG_SOUND
> >dep_tristate 'Microsoft Sound System support' CONFIG_MSS $CONFIG_SOUND
> >dep_tristate 'Ensoniq SoundScape support' CONFIG_SSCAPE $CONFIG_SOUND
> >dep_tristate 'MediaTrix AudioTrix Pro support' CONFIG_TRIX 
> $CONFIG_SOUND
> >dep_tristate 'Support for MAD16 and/or Mozart based cards' CONFIG_MAD16 
> $CONFIG_SOUND
> >
> ># following line modified to allow CS4232 sound
> ># if [ ! "$CONFIG_MPU401" = "n" ]; then
> >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  modify this line to be
> >if [ "$CONFIG_MPU401" = "n" ]; then
> >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  like this
> >     dep_tristate 'Support for Crystal CS4232 based (PnP) cards' 
> CONFIG_CS4232 $CONFIG_SOUND
> >fi
> >dep_tristate 'Support for Turtle Beach Wave Front (Maui, Tropez) 
> synthesizers' CONFIG_MAUI $CONFIG_SOUND
> >
> >#
> >if [ "$CONFIG_SB" = "y" ]; then
> >hex 'I/O base for SB Check from manual of the card' SBC_BASE 220
> >fi
> >.
> >.
> >.
> 
> 
> ===========================================================
> 
> I hope someone can help me with this because I have no idea what is 
> going on...
> 
> I did everything above and the results are as listed below:
> 

After you make the above change, you need to do a 'make config' to
set the new sound configuration data.  Answer the questions like the following:
.
.
.

*
* Sound
*
Sound card support (CONFIG_SOUND) [Y/n/?]y
/dev/dsp and /dev/audio support (CONFIG_AUDIO) [Y/n/?]y
MIDI interface support (CONFIG_MIDI) [Y/n/?]y
FM synthesizer (YM3812/OPL-3) support (CONFIG_YM3812) [N/y/?]n
ProAudioSpectrum 16 support (CONFIG_PAS) [N/y/?]n
Sound Blaster (SB, SBPro, SB16, clones) support (CONFIG_SB) [N/y/?]n
Generic OPL2/OPL3 FM synthesizer support (CONFIG_ADLIB) [N/y/?]n
Gravis Ultrasound support (CONFIG_GUS) [N/y/?]n
PSS (ECHO-ADI2111) support (CONFIG_PSS) [N/y/?]n
MPU-401 support (NOT for SB16) (CONFIG_MPU401) [N/y/?]n
6850 UART Midi support (CONFIG_UART6850) [N/y/?]n
MPU-401 UART Midi support (CONFIG_UART401) [N/y/?]n
Microsoft Sound System support (CONFIG_MSS) [N/y/?]n
Ensoniq SoundScape support (CONFIG_SSCAPE) [N/y/?]n
MediaTrix AudioTrix Pro support (CONFIG_TRIX) [N/y/?]n
Support for MAD16 and/or Mozart based cards (CONFIG_MAD16) [N/y/?]n
Support for Crystal CS4232 based (PnP) cards (CONFIG_CS4232) [Y/n/?]y
Support for Turtle Beach Wave Front (Maui, Tropez) synthesizers (CONFIG_MAUI) [N/y/?]n
CS4232 audio I/O base 530, 604, E80 or F40 (CS4232_BASE) [530]
CS4232 audio IRQ 5, 7, 9, 11, 12 or 15 (CS4232_IRQ) [5]
CS4232 audio DMA 0, 1 or 3 (CS4232_DMA) [0]
CS4232 second (duplex) DMA 0, 1 or 3 (CS4232_DMA2) [3]
CS4232 MIDI I/O base 330, 370, 3B0 or 3F0 (CS4232_MPU_BASE) [330]
CS4232 MIDI IRQ 5, 7, 9, 11, 12 or 15 (CS4232_MPU_IRQ) [9]
Audio DMA buffer size 4096, 16384, 32768 or 65536 (DSP_BUFFSIZE) [65536]
make[1]: Entering directory `/usr/src/linux-2.0.32/drivers/sound'
Compiling Sound Driver v 2 for Linux
rm -f configure
gcc -I/usr/src/linux-2.0.32/include -o configure configure.c
./configure fixedlocal > local.h
./configure fixeddefines > .defines
make[1]: Leaving directory `/usr/src/linux-2.0.32/drivers/sound'
Additional low level drivers (CONFIG_LOWLEVEL_SOUND) [N/y/?]n
*
* Kernel hacking
*
Kernel profiling support (CONFIG_PROFILE) [N/y/?]n
The linux kernel is now hopefully configured for your setup.
Check the top-level Makefile for additional configuration,
and do a 'make dep ; make clean' if you want to be sure all
the files are correctly re-made
.
.
.



Then you need to follow the directions from 'make config'.  I.e., do
a 'make dep ; make clean'.  And THEN do a 'make zlilo' and you should
have the following output:


.
.
.
make[3]: Leaving directory `/usr/src/linux-2.0.32/drivers/pci'
make[2]: Leaving directory `/usr/src/linux-2.0.32/drivers/pci'
make[2]: Entering directory `/usr/src/linux-2.0.32/drivers/sound'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.0.32/drivers/sound'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o midi_synth.o midi_synth.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o ad1848.o ad1848.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o mpu401.o mpu401.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o cs4232.o cs4232.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o soundcard.o soundcard.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o dev_table.o dev_table.c
dev_table.c: In function `start_services':
dev_table.c:38: warning: unused variable `soundcards_installed'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o sound_switch.o sound_switch.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o sequencer.o sequencer.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o patmgr.o patmgr.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o sys_timer.o sys_timer.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o sound_timer.o sound_timer.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o sound_firmware.o sound_firmware.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o audio.o audio.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o dmabuf.o dmabuf.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.32/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o midibuf.o midibuf.c
rm -f sound.a
ar  rcs sound.a midi_synth.o ad1848.o mpu401.o cs4232.o  soundcard.o dev_table.o
 sound_switch.o sequencer.o patmgr.o sys_timer.o sound_timer.o sound_firmware.o
 audio.o dmabuf.o midibuf.o
make[3]: Leaving directory `/usr/src/linux-2.0.32/drivers/sound'
make[2]: Leaving directory `/usr/src/linux-2.0.32/drivers/sound'
make all_targets
.
.
.

I am not using modules and have not tried that.  But this works for me.

Jim Bevier
[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to