Next Previous Contents

10. Set up sound

10.1 Support for the integrated sound adapter

The 7248-133 is equipped with an internal Crystal Audio cs4232 sound adapter. There is support for this adapter in the Linux kernel source, but this is not compiled into the standard installed kernel. So, we have to compile a new kernel. If you are a total beginner on compiling kernels, you should read the excellent kernel howto on how to get started. Download the kernel source from ftp.kernel.org or a mirror. I tested this with kernel 2.2.10 and 2.2.16pre1.

10.2 Configure and compile a kernel

You should configure the kernel as you wish. If you did follow the steps in chapter 9, you have already done this, and can skip to section 10.3. If not, follow the steps as described in chapter 9.

When configuring the kernel, check that the settings for sound are correct. They should look like this:

And check N for everything else in the sound section.

10.3 Configuring the modules

Before rebooting we must send some parameters to configure the modules at boot time. This is done in /etc/conf.modules . Edit this file, and add the following lines:

alias sound cs4232
pre-install sound /sbin/insmod sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5

10.4 Reboot and pray

Now, just reboot and pray. If nothing works, you have done something unwise when configuring the kernel. Boot from a floppy and try again. If everything works, you should for example be able to play an mp3 file using the mpg123 player from the console.

Note: I have not been able to get midi (the opl3 module) working. If anybody has any tips on this, please let me know.


Next Previous Contents