RH 8 & cs4232 problem

Joe Berry <[email protected]>
Newsgroups gmane.linux.redhat.sound
Message-ID <[email protected]>
It was recommended to me to use cs4232 instead of nm256 a few weeks
ago as the sound module of choice.  Just now getting back to trying to
get sound to work.

Machine is a Compaq Presario model 1920. I have a MagicMedia 256AV as
well as a MagicWave 3Dx.  Under Windows, I recorded all the I/O
addresses that I saw.  I am using RH 8.0 with kernel version
2.4.18-18.8.0.  I installed the latest ALSA software from
freshrpms.net (driver & kernel rpms), version 0.9.0-fr0rc6.1 that are
compatible with my kernel.

The obvious first question was what to set the various kernel
parameters; this may be my problem. None of the info from Windows
seems to correspond to what the kernel module wanted. So, using a
reference I found online, I set /etc/modules.conf to the following:

================= start of /etc/modules.conf ======================
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
alias eth0 3c574_cs

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cs4232
# module options go here
options snd-cs4232 port=0x534 cport=0x538 mpu_port=-1 fm_port=0x388 irq=5
dma1=1 dma2=0

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# 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
================= end of /etc/modules.conf ======================

I can successfully execute the following:
modprobe snd-mixer-oss
modprobe snd-seq-oss
modprobe snd-pcm-oss

However, when I try to load snd-cs4232 ("modprobe snd-cs4232")I get
the following:

================= start of modprobe output ======================
/lib/modules/2.4.18-18.8.0/kernel/drivers/sound/cs4232.o: init_module: No such
device
/lib/modules/2.4.18-18.8.0/kernel/drivers/sound/cs4232.o: insmod
/lib/modules/2.4.18-18.8.0/kernel/drivers/sound/cs4232.o failed
/lib/modules/2.4.18-18.8.0/kernel/drivers/sound/cs4232.o: insmod cs4232 failed
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
================= end of modprobe output ======================

Looking at dmesg, I see the following:

================= start of dmesg output ======================
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848: No ISAPnP cards found, trying standard ones...
cs4232: set synthio and synthirq to use the wavefront facilities.
cs4232: Must set io, irq and dma.
================= end of dmesg output ======================

Does anyone have a suggestion for what I can do next?  I ran the
GUI-based hardware browser and under sound cards, it detected
"MagicMegia 256AV Audio" (driver nm256_audio).  Under unknown devices,
I saw "NeoMagic MagicWave 3D sound System:Unknown" with driver
snd-opl3sa2.

I'm add the output to lsmod here (in case it is helpful to anyone).

================= start of lsmod output ======================
Module                  Size  Used by    Not tainted
snd-seq-oss            33952   0  (unused)
snd-seq-midi-event      5640   0  [snd-seq-oss]
snd-seq                47472   2  [snd-seq-oss snd-seq-midi-event]
snd-seq-device          6176   0  [snd-seq-oss snd-seq]
snd-pcm-oss            44452   0  (unused)
snd-pcm                83328   0  [snd-pcm-oss]
snd-timer              15304   0  [snd-seq snd-pcm]
snd-mixer-oss          15512   0  [snd-pcm-oss]
snd                    39404   0  [snd-seq-oss snd-seq-midi-event snd-seq
snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
ide-cd                 33608   0  (autoclean)
cdrom                  33696   0  (autoclean) [ide-cd]
soundcore               6532   0  (autoclean) [snd]
autofs                 13348   0  (autoclean) (unused)
3c574_cs               12580   1 
ds                      8712   2  [3c574_cs]
yenta_socket           12960   2 
pcmcia_core            54784   0  [3c574_cs ds yenta_socket]
iptable_filter          2412   0  (autoclean) (unused)
ip_tables              14936   1  [iptable_filter]
mousedev                5524   1 
keybdev                 2976   0  (unused)
hid                    22244   0  (unused)
input                   5920   0  [mousedev keybdev hid]
usb-uhci               26188   0  (unused)
usbcore                77024   1  [hid usb-uhci]
ext3                   70368   2 
jbd                    52212   2  [ext3]
================= end of lsmod output ======================

Again, any pointers would be appreciated. Would it help if I supply
the I/O ranges, memory ranges, etc., as detected by Windows?  If I
can't get this resolved, my next step will be to try again with RH
7.3.

Joe

-- 
Joe Berry
[email protected]
AIM "joe topshot"
Yahoo Msgr "joetopshot"
Jabber "[email protected]"
Baltimore, MD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.