LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 03-02-2005, 03:42 PM   #1
jogi
LQ Newbie
 
Registered: Mar 2005
Location: London
Distribution: Kanotix 2005-03,Simply Mepis
Posts: 18

Rep: Reputation: 0
Help setting up CS 4237B sound card on a Dell Latitude


I use Simply Mepis as my distro. I have tried using alsa to set up my sound card but I havent had much luck. I wonder if anyone can help me out. Am a relative noobie to linux but I have been able to use synaptic to update alsa but when it runs, it doesnt detect my soundcard.
 
Old 03-02-2005, 04:03 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
Hello,

What kernel version are you using?

Does Alsa completely fail to detect your hardware, or is there just no sound?

don't forget to run alsamixer after alsaconf
 
Old 03-03-2005, 01:06 AM   #3
jogi
LQ Newbie
 
Registered: Mar 2005
Location: London
Distribution: Kanotix 2005-03,Simply Mepis
Posts: 18

Original Poster
Rep: Reputation: 0
I am running kernel 2.6.10. What happens is Alsa gets to the point where it says "probing 4236" and it stays there...with no further response.

However, I noticed that during boot up, I now get the following message

CS-4236+ chip detected but Control Port 0X538 is not valid or is busy.

Also some little beeping sounds during booting and that wasnt so before.

Running alsamixer gives the following:

alsamixer: function snd_ctl_open failed for default: No such device

thanks in advance
 
Old 03-04-2005, 02:56 AM   #4
jogi
LQ Newbie
 
Registered: Mar 2005
Location: London
Distribution: Kanotix 2005-03,Simply Mepis
Posts: 18

Original Poster
Rep: Reputation: 0
Anybody have any ideas PLEASEEEEEEEE
 
Old 03-04-2005, 05:07 AM   #5
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Apparently your soundcard cant be auto probed. So, you need to pass options to the driver when it is loaded.

5.3.4. CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips

According to the INSTALL file you need to supply the main port and
control ports for this card. Note that with a CS4237B card, I ended up
supplying all information (except DMA-size), otherwise the driver did
not work. So you may as well use the whole command line to insert the
driver, and not only supply snd_port and snd_cport. If you initialized
the card with the isapnp-tools, you can probably get info from the
/etc/isapnp.conf file for the following values:


snd_port - port # for CS4232 chip (PnP setup - 0x534)
snd_cport - control port # for CS4232 chip (PnP setup - 0x120)
snd_mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
snd_fm_port - FM port # for CS4232 chip (PnP setup - 0x388), -1 = disable
snd_jport - joystick port for CS4232 chip (PnP setup - 0x200), -1 = disable
snd_irq - IRQ # for CS4232 chip (5,7,9,11,12,15)
snd_mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
snd_dma1 - first DMA # for CS4232 chip (0,1,3)
snd_dma1_size - max first DMA size in kB (4-64kB)
snd_dma2 - second DMA # for Yamaha CS4232 chip (0,1,3), -1 = disable
snd_dma2_size - max second DMA size in kB (4-64kB)



You would do a "modprobe snd-card-cs4236 snd_port=0x534
snd_cport=0x120 snd_mpu_port=-1 snd_fm_port=0x388 snd_jport=-1
snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=NN" to
load the driver. (Without midi-support, see the note at Yamaha OPL-3,
and no joystick support). Notes:

the "NN" values need to be supplied, only I do not know what would
be reasonable values.

my CS4237B works fine without explicit dma size option.


Have a go at that and come back if you dont get it to work, letting us know what you did and what happened.
This info was all taken from here
Hope it helps and good luck
 
Old 03-04-2005, 09:47 AM   #6
jogi
LQ Newbie
 
Registered: Mar 2005
Location: London
Distribution: Kanotix 2005-03,Simply Mepis
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks Short 101. I understand that I am supposed to save the settings you have given me into a file. Am a complete novice at this and I dont want to mess up my system by making any serious mistakes. If you could tell me what to do in plain old english, I would be grateful. My /etc/isapnp.conf file output seems to say that there is no board found

Last edited by jogi; 03-04-2005 at 09:52 AM.
 
Old 03-04-2005, 08:09 PM   #7
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Try this from a terminal, to see if it works- as root
modprobe snd-card-cs4236 snd_port=0x534 snd_cport=0x120
you may have to do
modprobe -r snd-card-cs4236
first if you get error about it being already loaded.
If you dont get errors then try alsa-conf and alsa-mixer
Have a look
here or here should give you some ideas.

Last edited by short101; 03-05-2005 at 04:25 AM.
 
Old 03-05-2005, 07:25 AM   #8
jogi
LQ Newbie
 
Registered: Mar 2005
Location: London
Distribution: Kanotix 2005-03,Simply Mepis
Posts: 18

Original Poster
Rep: Reputation: 0
and there I was thinking that getting my wireless card to work was difficult. This is definitely rocket science. Thanks for making it look easier. I will be trying this out later today and will post my output up here.
 
Old 03-05-2005, 11:54 AM   #9
jogi
LQ Newbie
 
Registered: Mar 2005
Location: London
Distribution: Kanotix 2005-03,Simply Mepis
Posts: 18

Original Poster
Rep: Reputation: 0
YIPPEEEEEEEEEE. Finally have sweet music pouring out of my laptop's speakers. Thanks a million Short101 for pointing me in the right direction. This is what I addes to my modprobe.conf file. I then rebooted and kmix had all the controls up. In mepis, the modprobe.conf file is located in the /etc/modprobe.d/ folder.

How sweet,streaming music from my XP box........

alias char-major-116 snd
alias snd-card-0 snd-cs4236
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
options snd cards_limit=1
options snd-cs4236 index=0 id=CARD_0 port=0x530 cport=0x210 mpu_port=0x330 fm_port=0x388 irq=5 mpu_irq=9 dma1=1 dma2=-1 isapnp=0v


Just a note, I didnt use alsaconf at all

Last edited by jogi; 03-05-2005 at 11:58 AM.
 
Old 03-05-2005, 05:09 PM   #10
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Excellent, glad you finally got it working. Pretty satisfying in the end too isnt it.
 
  


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
Attempting to play sound on my Dell Latitude X1 lmcilwain Linux - Hardware 3 07-14-2005 10:49 AM
No sound Dell Latitude CP Mandrake 10 tropicon Linux - Hardware 1 05-17-2005 02:19 PM
Problem getting my Crystal 4237b sound card to work eulex Linux - Hardware 0 12-29-2004 05:55 PM
Sound on a Dell Latitude Cpt-C locazor Linux - Hardware 3 01-01-2004 08:58 PM
Dell Latitude C600/500 Sound nowell Slackware 1 09-09-2003 03:22 PM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration