LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-01-2003, 07:34 AM   #1
malte
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
sound card cs4236


I ( ) have redhat 9.0 on my omnibook 2100 but I can't get my sound card work correctly. It's a crystal cs4236.
I use sndconfig to install the driver, but always the following strange error occures:

If I restart my computer and login, I can't use the sound. Either there is no sound or the first time I try to use sound the speakers begin to tick.
But if I run sndconfig directly after login und configure the soundcard again, I can use my sound card for the rest of the session.

What can I do now? I don't want to reconfigure the souncard every restart.
 
Old 05-01-2003, 08:18 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
is sndconfig loading modules into the kernel? I'm not sure how sndconfig works myself as I've never used it but type as root
lsmod
then use sndconfig
and afterword
type lsmod
has the listing changed after using sndconfig? If it has then there are modules that you will need to load at startup.
 
Old 05-01-2003, 12:18 PM   #3
malte
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for your quick reply. You are right, two entries have changed:

Module .... Size .... Used .... by
cs4232 .... 5444 ..... 0 .......
sound ..... 74228 .... 0 ....... [cs4232 ad1848 uart401]
----->
cs4232 .... 5444 ..... 1 .......
sound ..... 74228 .... 1 ....... [opl3 cs4232 uart401 ad1848]

What does that mean? What do I have to do now?
 
Old 05-01-2003, 12:29 PM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
ok well first let's make sure we know how to do this by hand... if (after rebooting so that sound isn't working) you execute '/sbin/modprobe cs4232' does it give you any errors? And does modprobing cs4232 automagically load the sound module as well?

you may have to execute
/sbin/modprobe sound
(and then)
/sbin/modprobe cs4232

after you figure out what commands you give then you add these 1 or 2 commands to your init scripts.

Look in /etc/rc.d/init.d (if you have a redhat system or a system with sys v init scripts). is there a file / script called 'local'? this is the script where you make personalized changes to your linux system... like the loading of these sound modules.

then when you reboot the system at startup will execute those 'modprobe' commands for you and your sound will be working as soon as you login.
 
Old 05-03-2003, 08:53 AM   #5
malte
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
well... I did everything you said, but I've still the same problem.
I tried to do it by hand, and I didn't work. (I tried to put the commands into /etc/rc.d/rc.local but of course it didn't work too).

If I execute the commands, you told me, and after this use 'lsmod',
the entries will have change correctly, but I can't hear any sound until I've reconfigured with sndconfig
 
Old 05-03-2003, 01:14 PM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
ok lets do this the easy way... ( I dont know why I didn't tell you to do this the first time)...
add the 'sndconfig' command to your rc.d scripts. you'll want to read up on it a bit more but in /etc/rc.d/init.d/local put a line that executes sndconfig.

if the 'local' script does not exist and you had to create it you will have to make sure it gets executed at boot time.
 
Old 05-03-2003, 09:26 PM   #7
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Just to add to this. Maybe you should do 'dmesg' before and after your sound card has been detected. The kernel messages may give clue on what went wrong.

You may need to edit /etc/module.conf for additional module that need to be loaded for your sound card.

Good Luck!
 
Old 05-04-2003, 11:14 AM   #8
malte
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
@ jpbarto : add sndconfig to the scipt doesn't work too.

@ ghostdancer: I did 'dmesg' before an after I'd run 'sndconfig' and this has changed (the last three lines):

before:
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
SB 3.02 detected OK (220)
SB: Can't allocate IRQ5

after:
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
SB 3.02 detected OK (220)
SB: Can't allocate IRQ5
cs4232: set synthio and synthirq to use the wavefront facilities.
cs4232: set synthio and synthirq to use the wavefront facilities.
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996

What does that mean: "SB: Can't allocate IRQ5"? In BIOS I allocate IRQ5 for sound.
And what can I do now?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal CS4236 sound card - Suse 9.0 pro hangs fredred Linux - Hardware 3 04-02-2004 03:56 AM
CS4236 Sound on Red Hat 8.0? - Newbie! ziesemer Linux - Hardware 25 02-08-2004 02:03 PM
Suse 9.0 Pro Sound Troubles (cs4236) suse9newguy Linux - Newbie 1 01-19-2004 05:45 PM
CS4236 sound card Mrcdm Linux - Hardware 2 11-29-2003 03:27 AM
modprobe snd-cs4236 doesn't work! williamtbranch Linux - Hardware 1 10-11-2002 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration