LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   no sound with ibm thinkpad 600e (https://www.linuxquestions.org/questions/debian-26/no-sound-with-ibm-thinkpad-600e-314267/)

pat travers 04-17-2005 04:38 PM

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.

joesbox 04-19-2005 01:20 AM

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

Simon Bridge 04-19-2005 01:36 AM

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/.

Simon Bridge 04-19-2005 01:39 AM

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-"

casperbg 04-23-2005 01:08 PM

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?

Simon Bridge 04-23-2005 08:38 PM

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?


pat travers 05-01-2005 11:41 AM

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

Dead Parrot 05-01-2005 02:41 PM

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.

pat travers 05-01-2005 07:36 PM

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?

Dead Parrot 05-01-2005 08:24 PM

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).

pat travers 05-02-2005 03:44 PM

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.

Simon Bridge 05-03-2005 02:58 AM

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

pat travers 05-03-2005 07:05 PM

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?

Simon Bridge 05-04-2005 04:42 AM

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.

frits_devos 10-18-2005 02:38 PM

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


All times are GMT -5. The time now is 06:31 AM.