Solution: native Crystal sound card support ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Below you can find quotes from two e-mails: 1: by Ben Brown (ben netdoor.com) dated Fri, 19 Jun 1998 2: by Tudor Hulubei (tudor cs.unh.edu) dated Tue, 30 Jun 1998 ------------------------------------------------------------------------------ Try this. I was finally able to get the Crystal soundcard native support to work in the 2.0.34 kernel (RedHat 5.1). It is an involved process, but here it goes. First you have to change some bios information. On my laptop (Inpiron 3200 PII 266) I have to hit the F2 key on the initial boot screen, before lilo comes up. Under "System Devices" change "Audio" to the following. Audio: [Enabled] SB I/O Address: [220h] WSS I/O Address: [530h] AdLib I/O Address: [388h] Interrupt: [IRQ 7] 1st DMA channel: [DMA 1] 2nd DMA channel: [DMA 3] Note: The IRQ could conflict with something else on your system. On my computer the default IRQ of 5 conflicted with the pcmcia ethernet card so I changed it. Next you will need to recompile 2.0.34 with the following options checked under sound. Kernel Settings: [*] /dev/dsp and /dev/audio support [*] MIDI interface support <*> FM synthesizer (YM3812/OPL-3) support <*> MPU-401 support (NOT for SB16) <*> Support for Crystal CS4232 based (PnP) cards (330) I/O base for MPU401 Check from manual of the card (9) MPU401 IRQ Check from manual of card (530) CS4232 audio I/O base 530, 604, E80 or F40 (7) CS4232 audio IRQ 5, 7, 9, 11, 12 or 15 (1) CS4232 audio DMA 0, 1, or 3 (3) CS4232 second (duplex) DMA 0, 1 or 3 (330) CS4232 MIDI I/O base 330, 370, 3B0 or 3F0 (9) CS4232 MIDI IRQ 5, 7, 9, 11, 12 or 15 (65536) Audio DMA buffer size 4096, 16384, 32768 or 65536 And lastly you will have to edit the sound drivers' makefile (/usr/src/linux/drivers/sound/Makefile) for me. If you do not edit the Makefile the kernel will not compile, it seems they left out an object file from the kernel linking stage. Edit the Makefile and add ad1848.o to the LX_OBJS and MX_OBJS lines (line 167 and 170 for me) for the option CONFIG_CS4232. After you finish it should look like this. (..snip..) ifeq ($(CONFIG_CS4232),y) LX_OBJS += cs4232.o ad1848.o else ifeq ($(CONFIG_CS4232),m) MX_OBJS += cs4232.o ad1848.o endif endif (..snip..) Man thats a lot of work just to get a sound card to work =) Any one know where you mail kernel patches to? I will try to find the address so I can send them my findings. Hope I did'nt leave anything out. Let me know if this works for you or if it's just those damn gremlins again. =) ------------------------------------------------------------------------------ Actually you don't need to recompile the kernel (at least not with the latest upgrade to the RedHat 5.1 kernel rpms. All you need to do is this: 1. Put this into the /etc/conf.modules file alias sound cs4232 options -k cs4232 io=0x530 irq=9 dma=1,0 alias midi opl3 options -k opl3 io=0x388 (change the irq in the BIOS to match the one here, i.e. 9) 2. Add this at the end of your /etc/rc.local (this is an ugly kludge, but I don't have the time to dig into the sound stuff and figure what is wrong there) rmmod opl3 cs4232 rmmod mpu401 ad1848 rmmod sound I figured that if you remove all the sound modules, the next time you are trying to play something the modules will be reloaded and they will actually work (.au, .wav and .mp3 is all I tried). The first time the modules are loaded you cannot play wavs and mp3s, only .au files. Don't ask me why. > Note: The IRQ could conflict with something else on your system. On my > computer the default IRQ of 5 conflicted with the pcmcia ethernet card so > I changed it. That's true for my machine too, but I used irq 9 instead. Hope this helps, Tudor