Snd-cs4236

From MEPIS Documentation Wiki

Jump to: navigation, search

It should work with all the 600 series Thinkpads as well. As well as Thinkpad Models 770 and 560.

These laptops use a 16 bit isa sound chip, which will not be detected in alsa as a plug n play card. It is a legacy card, which in versions of Mepis prior (Debian based) to Mepis 6 based on Ubuntu can be detected by running alsaconf. In Mepis versions with alsaconf (3.4.3 and 3.3.1) this sound chips will at first not detect, but will detect in alsaconf if you probe for legacy cards. The problems still being you will lose your sound settings through a shutdown, unless you still follow some of the steps below.

Some other laptops, such as older Dells, also use these same sound chips, and may or may not work with this same fix. If the options are the same. Usually one can Google for the exact options.


1. It may not be enough to just modprobe the soundcard/soundchip. You may need to pass the options along by editing a file. Back up the old one first. /etc/modprobe.d/alsa

copy and paste this into the above file as root;

# Alsa 0.9.X kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
#alias snd-card-0 snd-cs4232
alias snd-card-0 snd-cs4236
# You have to specify every damm paramter to get it working:
options snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1

2.

run as root "update-modules" command. (At this time I didn't get sound yet)


3.

run as root "modprobe snd-cs4236;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss" run alsamixer and set volume level at 100%


4. edit and save # /etc/modules: kernel modules to load at boot time.

the file /etc/modules as root and add this line; snd-cs4236

your file should now look like this;

#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
snd-cs4236

5. Reboot

Personal tools