Audio setup
 

Audio considerations:

The easiest way to get sound is to use the modules that comes with the kernel. The Think Pad 770 uses the Crystal 4236 chip set, and the cs4232 module that comes with the kernel works fine. I have seen other people use the Alsa drivers, but I tried this one, and I do not think it's worth to compile the kernel to get it to work, because I can not see what I'm missing using the cs4232 module.....

It seems that the default kernel has the right sound-options, but if you have to recompile, make shure you have these options:

CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_CS4232=m


It is necessary to compile the sound drivers as modules, because after every suspend the driver gets broken. It has to be restarted, which is only possible, when the sound modules are reloaded.

In order to load the modules automatically on demand, I have the following lines to the file "/etc/conf.modules":

RedHat 6.2:

#-----------------------------------
# Use the original CS4232 module for cs4236 chip.
#-----------------------------------
alias char-major-14 cs4232
alias sound cs4232
alias midi opl3
options opl3 io=0x388
options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9 synthirq=0x388 synthio=9
#-----------------------------------


RedHat 7.2:


#-----------------------------------
# Use the original CS4232 module for cs4236 chip.
#-----------------------------------
alias char-major-14 cs4232
alias sound-slot-0
cs4232
alias synth0
opl3
options opl3 io=0x388
options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9 synthirq=0x388 synthio=9
#-----------------------------------


Then I run "/sbin/depmod" to activate these settings.

If the sound gets fuzzy or will not work properly at any point, run (as root):
"/sbin/rmmod cs4232"
"/sbin/modprobe sound"

Then I wanted to play some mp3 music. I use XMMS for this, and using RedHat 6.2 I had to go to:
"Options" - "Preferences",
and choose the Output Plugin:
"OSS Driver 1.0.1".

 
  | Intro | Specifications | XFree86 | Audio | PCMCIA/Network/Wireless | Misc | Links |

Design 19©96-20©03, Robert Grefstad