LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-17-2005, 04:38 PM   #1
pat travers
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
no sound with ibm thinkpad 600e


I'm having trouble getting my soundcard working. First, when i reboot i receive a message that cs4232 is blacklisted.
Next,
I noticed when i try and run a sound application such as Noatrun I receive this error message
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.

I'm using kernel 2.6.8 and i have alsa installed. I ran alsaconf.

This was the result:
Unloading ALSA sound driver modules: snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-page-alloc.
Building card database...
Probing legacy cards.. This may take a few minutes..
Probing: cs4236


Looks like you having a Thinkpad 600E or 770 notebook. │
│ On this notebook, CS4236 driver should be used │
│ although CS46xx chip is detected. │
│ │
│ Shall I try to snd-cs4236 driver and probe │
│ the legacy ISA configuration? Yes

This had no effect on my sound. I still received the same errors
Any tips would be helpful.
 
Old 04-19-2005, 01:20 AM   #2
joesbox
Member
 
Registered: Feb 2003
Location: hampton va
Distribution: ubuntu
Posts: 502

Rep: Reputation: 30
i know that i have gotten flack for suggesting this before but this works for me every time.....
as root use the command:
Code:
chmod 666 /dev/dsp
now what this will do is make the device executable for all.
if that doesn't work check and see if the modules are actually installed?
Code:
lsmod
if you don't see cs4236 driver in there then the modprobe didn't work and you may have to run the command by hand.
you can learn more about installing and unistalling modules in the manuals of

modprobe & insmod & rmmod

other than that.... i don't know... i have the thinkpad 600x and it works with the cs46xx driver.

####
edit
####
i almost forgot to add this:
http://condor.depaul.edu/~jkristof/debian-tp600e.html
which was found here
http://www.linux-on-laptops.com/ibm.html

Last edited by joesbox; 04-19-2005 at 01:22 AM.
 
Old 04-19-2005, 01:36 AM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Your trouble is that your souncard wants the cs4232 module, which is blacklisted due to being depreciated as part of the OSS (Open Source Sound) package. You need to use snd-cs4232 for ALSA. See...

http://www.faqs.org/docs/Linux-HOWTO...-HOWTO.html#s8

which points out:
Quote:
Note that each driver has its own individual boot argument (very old kernels used a shared sound=). Also, generally no defaults are set at compile time (i.e. you must supply a boot argument for older non-PNP ISA cards to be detected.) Your best source of information for your card is the files in linux/Documentation/sound/.
 
Old 04-19-2005, 01:39 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by joesbox
[snip]
other than that.... i don't know... i have the thinkpad 600x and it works with the cs46xx driver.
[snip]
Oh yes, I saw that too ... and others say to use the cs4236 driver. But I bet you use OSS instead of ALSA? ALSA expects drivers starting with "snd-"
 
Old 04-23-2005, 01:08 PM   #5
casperbg
LQ Newbie
 
Registered: Apr 2005
Location: Plovdiv,Bulgaria
Posts: 12

Rep: Reputation: 0
Sorry may ask for sound on Debian?
I have KNOPPIX 3.8 Debian based and alsaconfig 1.0.8. Alsa recognize my laptop (IBM600E) switch on cs-4236 but not detected.
What can I do?
 
Old 04-23-2005, 08:38 PM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You have no sound on IBM 600e either? This is a very common problem - it is not OS dependant!

Quote:
Originally posted by Simon Bridge (earlier this thread)
Your trouble is that your souncard wants the cs4232 module, which is blacklisted due to being depreciated as part of the OSS (Open Source Sound) package. You need to use snd-cs4232 for ALSA. See...

http://www.faqs.org/docs/Linux-HOWT...t-HOWTO.html#s8
I don't know of a newbie-freindly solution to your problem. You have much reading to do - and in english to boot.

Quote:
Originally posted by casperbg
Sorry may ask for sound on Debian?
I have KNOPPIX 3.8 Debian based and alsaconfig 1.0.8. Alsa recognize my laptop (IBM600E) switch on cs-4236 but not detected.
What can I do?
 
Old 05-01-2005, 11:41 AM   #7
pat travers
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
cs4236 modprobe

I've tried several things to get sound card working:
1. etc/modutils/audio [create a file 'audio' and add the following lines in it.]

alias char-major-14 cs4232
options cs4232 io=0x530 irq=5 dma=1 dma2=0 (mpuio=0x330 mpuirq=9)
update-modules

2. added this to /etc/modutils.conf ( actually i added this file through vi editor)


alias char-major-116 snd
alias snd-card-0 snd-card-cs4232
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=0 snd_device_uid=0
alias sound snd-card-cs4236
options snd-card-cs4236 snd_port=0x530 snd_cport=0x538 snd_mpu_port=-1 snd_fm_port=0x388 snd_irq=5 snd_dma1=1

update-modules

3. Tried this:
modprobe snd-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 FATAL: Error inserting snd_cs4236 (/lib/modules/2.6.8-2-386/kernel/sound/isa/cs423x/snd-cs4236.ko): No such device
FATAL: Error running install command for snd_cs4236

This is frustrating. I've read most of the internet posts. I understand that cs4236 autoprobe will not work and needs to be manually configured. One problem is that alsa will load the wrong driver cs46xx when i restart. I suspect that this needs to be stopped through a script or function and then the cs4236 arguments can be loaded.
How, specifically, is this done?
Exact details would be more helpful
 
Old 05-01-2005, 02:41 PM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Have you tried the modconf utility? Many experienced Debian users prefer to use modconf for loading/removing kernel modules. (You should find the snd-cs4236 module from under the /kernel/sound/isa/cs423x category.) After you've checked with "lsmod" that the correct module has been loaded, you should try alsaconf again. If this works, you can add snd-cs4236 to /etc/modules so that it gets automatically loaded at boot time.
 
Old 05-01-2005, 07:36 PM   #9
pat travers
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
modconf

I haven't tried modconf, but I followed your suggestion. However, I was prompted in modconf for "command - line arguments":
Please enter any command-line arguments for the snd-cs4236 module. Many modules can ││ autoprobe and do not require additional parameters.

Is this the alias information and irq settings? i.e. alias char-major-14 cs4236
options cs4236 io=0x530 irq=5 dma=1 dma2=0 (mpuio=0x330 mpuirq=9)
What command is this referring to?
 
Old 05-01-2005, 08:24 PM   #10
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
If you don't know what command-line arguments are available, you can just press Enter to see if the module can be installed without any arguments (or maybe they can be autoprobed, like modconf suggests).
 
Old 05-02-2005, 03:44 PM   #11
pat travers
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
autoprobe cs4232

I don't know the arguments. But I do know that cs4236 will not autoprobe.
If it did, it would have already been installed. All the documentation says that cs4236 will not autoprobe; therefore, the arguments must be supplied manually. My question is what are "arguments"? Are these the values for the chip such as irq? This is what happened when i tried autoprobe with modconf.

http://www.tldp.org/HOWTO/Alsa-sound-5.html#ss5.1 explains that cs4236 will not autoprobe.

Installing module snd-cs4236. If the device isn't there, or isn't configured correctly, this could cause your system to pause for up to a minute.

FATAL: Error inserting snd_cs4236 (/lib/modules/2.6.8-2-386/kernel/sound/isa/cs423x/snd-cs4236.ko): No such device
FATAL: Error running install command for snd_cs4236

Installation failed.

Please press ENTER when you are ready to continue.

As you can tell, there must be arguments supplied for snd-cs4232.

I appreciate your tips.
 
Old 05-03-2005, 02:58 AM   #12
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Did you read the bit about "backwards compatability"?

Quote:
If you want to preserve OSS/Free or OSS/Linux compatibility, you need to insert one more driver: the snd-pcm1-oss driver for OSS-compatibility. Issue a

modprobe snd-pcm1-oss

This will give you /dev/audio and /dev/dsp-support, just as the OSS/Free (kernel) drivers and OSS/Linux (the $25 ones) do. Note that this is only an emulation.
Remember, you're trying to use OSS by default - but OSS is depreciated.

Also - did you try the "standard configuration" given:
Quote:
modprobe snd-card-cs4231 snd_port=0x534 snd_mpu_port=-1 snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=NN
 
Old 05-03-2005, 07:05 PM   #13
pat travers
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I've read all about backwards compatability, and unless I'm missing something I can't get it to work. I've been working on this problem either researching or actively attempting this problem since i installed Debian in Jan. Overall I've had no major problems except for this soundcard issue.

Here's a review of my results when I've attempted (already several times):
modprobe snd-card-cs4231 snd_port=0x534 snd_mpu_port=-1 snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=NN

I don't completely understand the oss v. alsa issue, but the oss command doesn't make any difference.

What's next?
 
Old 05-04-2005, 04:42 AM   #14
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
I've read all about backwards compatability,
OK - good - and you tried to enable the OSS emulation? What was the output to the modprobe?

Quote:
odprobe snd-card-cs4231
... &c.

Sorry about that - what about snd_cs4236 instead of snd-card-cs...

Also, if you have the backward compatability, you should be trying to modprobe the cs4236 driver instead.

However - strongly suggest you look at the sound section of this document: http://svr-www.eng.cam.ac.uk/~ajr/TP600Debian.html

The ALSA section seems particularily useful since it deals with the things in the HOWTO we've been scanning more explicitly and step-by-step.

Of course - this may just be a Debian problem - so I had a look for other distros... here's a success story in our own LQ which may shed some light on your problem:

http://www.linuxquestions.org/questi...04/09/3/131436

Let me know how you get on.
 
Old 10-18-2005, 02:38 PM   #15
frits_devos
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
For solution, check http://lists.debian.org/debian-lapto...msg00138.html.
 
  


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
Sound on my IBM Thinkpad 600e using Fedora openglforums Linux - Laptop and Netbook 37 10-24-2006 02:56 PM
sound on IBM Thinkpad 600E - laptop farshad1366 Linux - Hardware 1 09-10-2004 07:09 PM
Sound not working on IBM Thinkpad 600E zer0python Linux - Newbie 10 01-01-2004 05:06 PM
Sound problem with Slackware 9.1 on IBM Thinkpad 600e paladin217 Linux - Hardware 4 11-22-2003 07:00 AM
Sound on IBM ThinkPad 600E firejdl Linux - Hardware 1 06-19-2003 11:35 PM


All times are GMT -5. The time now is 09:54 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