Skip to contentSkip to conversation

help needed for cs423x chips

DISCUSSION moc liamtoh 9 participants 12 messages Dec 8, 1998 – Dec 16, 1998 Sound

lore
Share & tools
lore
#0 lore raw

alright, i cant get my sound to work. i have an aopen MB with built on sound and video. sound chip says cs4235 on the chip but isapnp detects as 4236. i have tried different settings with isapnp and different modules for sound support....i have also tried without modules and just ocmpiling into kernel...i have tried configuration manager alone and with isapnp and modules...basically i was trying about everything i could think...only problem being that i dont know that much yet and therefore am running out off ideas...plus it is taking time to learn stuff to try different things....not that i mind the knowledge but i would like to get sound working quickly =)

so if anyone could spare the time to help i would appreciate it. i am fairly knowledgeable with linux, i just mainly need to know what to do...(i guess basically a brief howto sort of answer would be cool, detailing the steps enough that i can understand. eg: say

tar xvf blahblahbalh

not just "decompress with gzip and then use tar on it."

thanks again.

Joshua Kukovec

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

#1 lore raw

alright, i cant get my sound to work. i have an aopen MB with built on sound and video. sound chip says cs4235 on the chip but isapnp detects as 4236. i have tried different settings with isapnp and different modules for sound support....i have also tried without modules and just ocmpiling into kernel...i have tried configuration manager alone and with isapnp and modules...basically i was trying about everything i could think...only problem being that i dont know that much yet and therefore am running out off ideas...plus it is taking time to learn stuff to try different things....not that i mind the knowledge but i would like to get sound working quickly =)

so if anyone could spare the time to help i would appreciate it. i am fairly knowledgeable with linux, i just mainly need to know what to do...(i guess basically a brief howto sort of answer would be cool, detailing the steps enough that i can understand. eg: say

tar xvf blahblahbalh

not just "decompress with gzip and then use tar on it."

thanks again.

Joshua Kukovec

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

#2 lore raw
In reply to moc liamtoh

Damnit, how do I get off this mailing list? :)

Quoted 30 lines · moc liamtoh

alright, i cant get my sound to work. i have an aopen MB with built on sound and video. sound chip says cs4235 on the chip but isapnp detects as 4236. i have tried different settings with isapnp and different modules for sound support....i have also tried without modules and just ocmpiling into kernel...i have tried configuration manager alone and with isapnp and modules...basically i was trying about everything i could think...only problem being that i dont know that much yet and therefore am running out off ideas...plus it is taking time to learn stuff to try different things....not that i mind the knowledge but i would like to get sound working quickly =)

so if anyone could spare the time to help i would appreciate it. i am fairly knowledgeable with linux, i just mainly need to know what to do...(i guess basically a brief howto sort of answer would be cool, detailing the steps enough that i can understand. eg: say

tar xvf blahblahbalh

not just "decompress with gzip and then use tar on it."

thanks again.

Joshua Kukovec

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

#3 lore raw
In reply to moc liamtoh

Hi,
I once successfully configured the sound for the cs4236 sound chip.
Unfortunately I forgot how to configure it, but here is something that I might recall. I was using Redhat 5.0. I downloaded OSSfree version 3.8. I first compiled the kernel without the sound support. Then I use the isapnp tools to configure the pnp card, of course you have to edit the files and enable certain configurations. After that, I decompress the ossfree sound driver in the /usr/src/linux directory. Then I recompile the kernel using the configuration I set in the isapnp.conf. It once worked, even the MIDI and other stuff worked. But when I reformatted the hard disk and reinstall everything, is doesn't work at all. You can also try to download the ALSA sound driver. I heard that it works. It supports your sound chips. I haven't try it yet, but soon.

Trying my best to help...

William,
Running Redhat 5.1
www.redhat.com

Quoted 2 lines · ---moc liamtoh

alright, i cant get my sound to work. i have an aopen MB with built

on

Quoted 1 line

sound and video. sound chip says cs4235 on the chip but isapnp

detects

Quoted 2 lines

as 4236. i have tried different settings with isapnp and different modules for sound support....i have also tried without modules and

just

Quoted 16 lines

ocmpiling into kernel...i have tried configuration manager alone and with isapnp and modules...basically i was trying about everything i could think...only problem being that i dont know that much yet and therefore am running out off ideas...plus it is taking time to learn stuff to try different things....not that i mind the knowledge but i would like to get sound working quickly =)

so if anyone could spare the time to help i would appreciate it. i am fairly knowledgeable with linux, i just mainly need to know what to do...(i guess basically a brief howto sort of answer would be cool, detailing the steps enough that i can understand. eg: say

tar xvf blahblahbalh

not just "decompress with gzip and then use tar on it."

Quoted 9 lines

thanks again.

Joshua Kukovec

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

#5 lore raw
In reply to moc liamtoh

On Tue Dec 08 1998 at 23:49, "moc liamtoh" wrote to linux-sound:

Quoted 10 lines

alright, i cant get my sound to work. i have an aopen MB with built on sound and video. sound chip says cs4235 on the chip but isapnp detects as 4236. i have tried different settings with isapnp and different modules for sound support....i have also tried without modules and just ocmpiling into kernel...i have tried configuration manager alone and with isapnp and modules...basically i was trying about everything i could think...only problem being that i dont know that much yet and therefore am running out off ideas...plus it is taking time to learn stuff to try different things....not that i mind the knowledge but i would like to get sound working quickly =)

The trick seems to be in getting the dma/irq settings tweaked just right.

I have a Dell Latitude CP (laptop) here with such a beast in it. It took me ages to get the sound going with the kernel sound driver - but I finally did it :)

It's running RedHat 5.2 (standard kernel from the install), but I have no idea how "generic" this solution is.

The most important thing is to get /etc/conf.modules right. This is what I have in it...

# turn off unwanted net stuff...
alias net-pf-3 off	# no ax25
alias net-pf-4 off	# no ipx
alias net-pf-5 off	# no appletalk
alias net-pf-6 off	# no netrom
# for the CDROM...
alias iso9660 isofs
# sound driver
alias sound cs4232
options -k cs4232 io=0x530 dma=1 dma2=0 irq=5
# no midi yet :(

This works for the audio driver, but I have yet to get the midi to work.

(Any hints on how to do this would be most appreciated - please Cc any replies from linux-laptop as I'm not subscribed to that list, thanx).

Cheers
Tony

#6 lore raw
In reply to moc liamtoh

If you are running Window$, you can use the control panel to find out the IRQ/IO Port/DMA. Once you have that info, you have a few different choices to get sound going. Look at http://www.levien.com/tp600.html for a description.

Good luck,
DSs

Quoted 47 lines · Tony Nugent

On Tue Dec 08 1998 at 23:49, "moc liamtoh" wrote to linux-sound:

Quoted 10 lines

alright, i cant get my sound to work. i have an aopen MB with built on sound and video. sound chip says cs4235 on the chip but isapnp detects as 4236. i have tried different settings with isapnp and different modules for sound support....i have also tried without modules and just ocmpiling into kernel...i have tried configuration manager alone and with isapnp and modules...basically i was trying about everything i could think...only problem being that i dont know that much yet and therefore am running out off ideas...plus it is taking time to learn stuff to try different things....not that i mind the knowledge but i would like to get sound working quickly =)

The trick seems to be in getting the dma/irq settings tweaked just right.

I have a Dell Latitude CP (laptop) here with such a beast in it. It took me ages to get the sound going with the kernel sound driver - but I finally did it :)

It's running RedHat 5.2 (standard kernel from the install), but I have no idea how "generic" this solution is.

The most important thing is to get /etc/conf.modules right. This is what I have in it...

# turn off unwanted net stuff...
alias net-pf-3 off	# no ax25
alias net-pf-4 off	# no ipx
alias net-pf-5 off	# no appletalk
alias net-pf-6 off	# no netrom
# for the CDROM...
alias iso9660 isofs
# sound driver
alias sound cs4232
options -k cs4232 io=0x530 dma=1 dma2=0 irq=5
# no midi yet :(

This works for the audio driver, but I have yet to get the midi to work.

(Any hints on how to do this would be most appreciated - please Cc any replies from linux-laptop as I'm not subscribed to that list, thanx).

Cheers
Tony

#7 lore raw
In reply to moc liamtoh
Quoted 5 lines · Tony Nugent

options -k cs4232 io=0x530 dma=1 dma2=0 irq=5

# no midi yet :(

This works for the audio driver, but I have yet to get the midi to work.

options cs4232 io=0x530 irq=7 dma=1 dma2=0 mpuirq=9 mpuio=0x330

<Crystal audio controller (CS4236)> at 0x530 irq 7 dma 1,0 <MPU-401 (UART) MIDI> at 0x330 irq 9

ps anyone know how to get the sequencer working on these things?

Signature · 7 lines
     |                   Keith Duthie      O-               | 
     +         Don't call me, I'll call you.  Maybe.        +
     |           [email protected]          |
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .
#8 lore raw
In reply to moc liamtoh
Quoted 5 lines · Tony Nugent
Quoted 4 lines

options -k cs4232 io=0x530 dma=1 dma2=0 irq=5

# no midi yet :(
Quoted 7 lines
Quoted 1 line

This works for the audio driver, but I have yet to get the midi to work.

options cs4232 io=0x530 irq=7 dma=1 dma2=0 mpuirq=9 mpuio=0x330

<Crystal audio controller (CS4236)> at 0x530 irq 7 dma 1,0 <MPU-401 (UART) MIDI> at 0x330 irq 9

ps anyone know how to get the sequencer working on these things?

Audio support of the CS4235 with the existing CS4232 driver will not work because the 4235 does not support ulaw, alaw or adpcm. sequencer support probably doesn't work for any of the crystal chips because of a
code ordering problem in cs4232.c. I'm attaching a patch file for
2.1.131 which fixes these problems on my CS4235.

As Tony and Keith point out, all the settings must be correct. I use:

modprobe cs4232 io=0x530 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=9 modprobe opl3 io=0x388

Let me know how this works.

Mike Haller

#9 lore raw
In reply to moc liamtoh
Quoted 7 lines · Michael Haller

Audio support of the CS4235 with the existing CS4232 driver will not work because the 4235 does not support ulaw, alaw or adpcm. sequencer support probably doesn't work for any of the crystal chips because of a
code ordering problem in cs4232.c. I'm attaching a patch file for
2.1.131 which fixes these problems on my CS4235.

Let me know how this works.

It definitely fixes the problem of the sequencer not working, but I've also been getting messages about the OSS stuff needing to downgrade the number of voices used, and I've also been getting breaks in music from tracker and mpg123 when I scroll down in a web page. I'm just about to confirm that these are from the patch by reversing it and testing the official module.

Signature · 7 lines
     |                   Keith Duthie      O-               | 
     +         Don't call me, I'll call you.  Maybe.        +
     |           [email protected]          |
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .
#10 lore raw
In reply to moc liamtoh
Quoted 3 lines · Keith Duthie

tracker and mpg123 when I scroll down in a web page. I'm just about to confirm that these are from the patch by reversing it and testing the official module.

Well, I've certainly done _something_. I've reversed the patch, but the sequencer is still working. Just goes to show...

Signature · 7 lines
     |                   Keith Duthie      O-               | 
     +         Don't call me, I'll call you.  Maybe.        +
     |           [email protected]          |
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .
#11 lore raw
In reply to moc liamtoh
Quoted 3 lines · Keith Duthie

tracker and mpg123 when I scroll down in a web page. I'm just about to confirm that these are from the patch by reversing it and testing the official module.

Well, I've certainly done _something_. I've reversed the patch, but the sequencer is still working. Just goes to show...

Signature · 7 lines
     |                   Keith Duthie      O-               | 
     +         Don't call me, I'll call you.  Maybe.        +
     |           [email protected]          |
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .