LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-28-2003, 03:08 AM   #1
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Rep: Reputation: 15
Sound card configuring


I have an old Toshiba Tecra 520CDT with a CS4232 sound card. According to external sources anyway. I have no idea how to configure sound for the thing. I have never actually gotten sound working in linux before. If anyone could post some links explaining how to set it up or perhaps explain I'd be very grateful.

Thanks
 
Old 06-28-2003, 08:15 PM   #2
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
what distro and possibly what window manager (gnome, kde, etc) are you using? I also have a cs4232 chip on my thinkpad, it works. can you also post the results of lsmod?

edit: my bad, I just now saw slack 9, still need to know the window manager, if any.

Last edited by akaBeaVis; 06-28-2003 at 08:17 PM.
 
Old 06-29-2003, 12:47 AM   #3
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by akaBeaVis
what distro and possibly what window manager (gnome, kde, etc) are you using? I also have a cs4232 chip on my thinkpad, it works. can you also post the results of lsmod?

edit: my bad, I just now saw slack 9, still need to know the window manager, if any.
I use Enlightenment. The card wasn't detected by Linux at first, but I read that the chip could emulate a Sound Blaster, so I loaded the SB module. It gave me control over the volume of the system beeps via the volume nob on the computer, but I can't play music files. But before I manually loaded the SB modules, no sound card modules were loaded. And the card is not listed in lspci. Could it be because the computer is so old?
 
Old 06-29-2003, 12:25 PM   #4
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Linux seems to do better with older hardware than with new. I use kde and had to set the artsserver to 11kbps sample rate to reliably use the sound. I also had to mess a bit with the apmd script for the sound to survive suspend/resume. I haven't tried enlightenment but I would assume it also has a sound server of some sort. Are you able to see a device in /dev, something like /dev/sound/* or /dev/dsp or similar? if so try doing a cat somefile.wav > /dev/dsp and see if it makes any noise at all. Theres a sound howto on tldp.org as well if that can help you.
 
Old 06-29-2003, 01:14 PM   #5
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by akaBeaVis
Linux seems to do better with older hardware than with new. I use kde and had to set the artsserver to 11kbps sample rate to reliably use the sound. I also had to mess a bit with the apmd script for the sound to survive suspend/resume. I haven't tried enlightenment but I would assume it also has a sound server of some sort. Are you able to see a device in /dev, something like /dev/sound/* or /dev/dsp or similar? if so try doing a cat somefile.wav > /dev/dsp and see if it makes any noise at all. Theres a sound howto on tldp.org as well if that can help you.
Using the SB module with /dev/dsp produced no sound. Using cat somefile.wav > /dev/dsp that is. I see what I can learn from the site, thanks. Any other suggestions would be great. I'm using the SB module because the cs4232 module gives back errors. It says the errors are caused by invalid IRQ and IO ports. And according to http://www.cck.uni-kl.de/misc/tecra710/#sound here, my cs4232 uses unusual ports. How would I configure the module to use certain ports and resources? I beleive I can get the values from BIOS.
 
Old 06-29-2003, 01:27 PM   #6
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
a "modinfo cs4232" reveals these load-time parameters:
# modinfo cs4232
filename: /lib/modules/2.4.19-16mdk/kernel/drivers/sound/cs4232.o.gz
description: "CS4232 based soundcard driver"
author: "Hannu Savolainen, Paul Barton-Davis"
license: "GPL"
parm: io int, description "base I/O port for AD1848"
parm: irq int, description "IRQ for AD1848 chip"
parm: dma int, description "8 bit DMA for AD1848 chip"
parm: dma2 int, description "16 bit DMA for AD1848 chip"
parm: mpuio int, description "MPU 401 base address"
parm: mpuirq int, description "MPU 401 IRQ"
parm: synthio int, description "Maui WaveTable base I/O port"
parm: synthirq int, description "Maui WaveTable IRQ"
parm: isapnp int, description "Enable ISAPnP probing (default 1)"
parm: bss int, description "Enable Bose Sound System Support (default 0)"

in your modules.conf you can add lines like this:
options cs4232 int=5 io=0x240 # etc....

EDIT: here's what looks to be a useful link:
http://www.astro.umd.edu/~teuben/lin.../tecra710.html

Last edited by akaBeaVis; 06-29-2003 at 02:06 PM.
 
Old 07-10-2003, 06:52 PM   #7
Corey
LQ Newbie
 
Registered: Jul 2003
Location: North Idaho - Where Big Brother gets his ass kicked.
Distribution: MDK 10, Peanut 9.2
Posts: 3

Rep: Reputation: 0
Hello all!

I've got a Mitac laptop, RH8, with a generic AC '97 sound card. I've installed the ALSA drivers, and I have sound crystal clear on the CD channel. However, any playback through PCM is speckled with bursts of noise/static, at any volume. The noise sounds similar to a 'blown' speaker, which I know is not the case because the CD playback is fine, and PCM playback is fine in Win-- ..er....other OS's ;-)

Does anyone know a trick to playing with the PCM settings (sampling rate, perhaps)? I suspect that the alsa driver is not using the correct rate to playback files which are encoded at a sampling rate other than 44.1....

Thanks in advance for any help!

corey@atmail.nl
 
Old 08-04-2003, 10:30 AM   #8
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Original Poster
Rep: Reputation: 15
Update: I got the sound configured. I'll edit later and post my rc.modules script.
 
Old 08-27-2003, 10:35 PM   #9
kwgivler
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by mrant
Update: I got the sound configured. I'll edit later and post my rc.modules script.
could you post it? Same problem here!
 
Old 12-05-2003, 06:09 AM   #10
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 15
Hi, I recently got (after many failed attempts, and several clumps of hair torn out later) my cs4232 drivers to work with my Thinkpad 600. However, the sound dies on suspend/resume, and the drivers can't be restarted because the module can't be removed (says resource is busy). One of you mentioned you got this to work after fiddling with the apmd scripts. Do you think you could mention what it was you did so I could try it? I'd like to have sound after my laptop wakes up. Linux is all about not having to restart after all... Thanks.
 
Old 12-05-2003, 06:11 AM   #11
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Original Poster
Rep: Reputation: 15
oh wow, sorry i never posted back. i ditched this laptop for a newer (thought definatly not new) fujitsu. i no longer have the info on how got the card to work. so sorry. good luck with it.
 
Old 12-05-2003, 06:16 AM   #12
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 15
No problem, I was just wondering if anyone knew, that's all. I could start another thread I suppose... THanks anyway.
 
  


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
Configuring sound card on fedora 3 fei Linux - Hardware 1 05-22-2005 12:50 PM
Configuring RealTek Sound Card hisdoulos Linux - Newbie 1 04-17-2005 05:07 PM
Sound Card Not Configuring atc24amit Linux - Software 1 05-07-2003 11:15 AM
Configuring sound card georgeux Linux - Newbie 7 07-28-2001 03:19 PM
configuring sound card and ethernet card justlearning Linux - General 1 05-14-2001 02:47 PM


All times are GMT -5. The time now is 11:36 PM.

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