You are not logged in.

#1 2002-11-19 20:17:09

sasdav
Member
Registered: 2002-11-18
Posts: 66

sound card setup

Thought you were done with me, didn't you.  Actually, I'm feeling pretty good about how far I've gotten.  Anyway, I'm trying to get my sound card working and I'm getting nowhere.
According to my kernel log it's detecting a CS4236B.  I found some drivers that I think will work in /lib/modules/2.4.19/kernel/sound/isa/cs423x, snd-cs4236-lib.o and snd-cs4236.o
I load them with no problem using modprobe snd-cs4236, modprobe snd-cs4236
There is no error, and it's beeping now when I reboot so I THINK that was the right thing to do. 
Anyway, when I bring up kde I'm getting an error:

Soundserver informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory).
So I look in /dev and, sure enough, there's no dsp in there.  So I guess my first question is, how to create /dev/dsp.  I tried to create one by adding alias sound-slot-0 snd-cs4236
to  modules.conf.
And modules.devfs has
alias /dev/sound sound-slot-0
alias /dev/dsp /dev/sound
among lots of other things. 
I'm afraid that's about all I can figure out at this point.  Can anyone help me?

Thanks

Offline

#2 2002-11-19 20:54:50

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: sound card setup

alsa or oss/lite?


apt-get install arch

Offline

#3 2002-11-20 12:18:48

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: sound card setup

hmmmmm,
Well, since I don't know I guess I should ask, which is better?

Offline

#4 2002-11-20 15:07:44

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: sound card setup

since you don't know i would assume that yiou are using kernel sound (oss). Personally I like alsa but it boils down to preference. as for getting your sound working thisshould get you going.


AKA uknowme

I am not your friend

Offline

#5 2002-11-20 17:05:22

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: sound card setup

OK, that link did help some.  KDE isn't giving the error any more, but sound still isn't working, sort of.

I tried mpg321 and xmms on one of my mp3 files that I know works fine, both report that they are playing the file, but nothing comes out of the speakers.  Yes, I've checked the volume on the speakers, they work fine in windows and redhat. 
Info Center shows Sound Driver:3.8.1 a-980706 (ALSA v0.9 Orc3 emulation code)

My rc.local looks like:
modprobe snd-cs4236
modprobe snd-cs4236-lib
modprobe snd-pcm-oss
chown sasdav.users /dev/sound/*

And my modules.conf has:
alias sound-slot-0 snd-cs4236
alias eth0 3c59x

Obviously I'm missing something, any clue what it might be?

Offline

#6 2002-11-20 17:55:23

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: sound card setup

well to better serve you you should add a -R after your chown line.

as well you said you checked the volume is that just on the speakers or did you unmute your volume controls with a mixer (aumix is a easy one). by default alsa mutes all your mixer settings.


AKA uknowme

I am not your friend

Offline

#7 2002-11-20 18:51:04

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: sound card setup

I added -R to the chown line, makes no difference.  I also tried aumix, the volume of everything was turned down but bringing everything up to 100% didnt change anything.

Anyone else have any suggestions?

Offline

#8 2002-11-20 19:55:02

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: sound card setup

try adding your user to the audio group:

useradd -G username audio

(i think man useradd if it doesn't work)

you will have to logout then back in for the changes to take effect if it does work. (note logging out is not rebooting wink )

Edit as for that -R swicth in the chown line it should go like this :

chown -R foo.users /dev/sound/*

but thatis not importasnt as obviously the necessary modules and devices seem to be loading at the moment.


AKA uknowme

I am not your friend

Offline

#9 2002-11-20 20:04:43

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: sound card setup

I don't have a group called audio, should I add one?

Offline

#10 2002-11-20 21:01:47

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: sound card setup

did you remember to unmute the soundcard?
alsa starts with all outputs on mute (execpt sp/dif)
so use amixer or something to unmute your soundcard if you haven't done so already. If you did ... well then forget this stupid post smile


apt-get install arch

Offline

#11 2002-11-21 01:12:37

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: sound card setup

well actually that should not be necessary but i thought of something. you said that you had installed als well did you enter this line in your /etc/rc.local as well:

chown -R yourusername.users /dev/snd/*

/dev/snd is the alsa sound devices.


AKA uknowme

I am not your friend

Offline

#12 2002-11-21 12:47:44

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: sound card setup

BINGO!!!!!
amixer solved the problem!

Now, is this something I'm going to need to do every time I reboot or every time I log in?

Offline

#13 2002-11-21 13:56:50

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: sound card setup

every reboot, just copy and paste the amixer settings in on of your startupscript of make an alsa profile for it and load that profile


apt-get install arch

Offline

#14 2002-11-21 13:58:32

sasdav
Member
Registered: 2002-11-18
Posts: 66

Re: sound card setup

Great.

Thanks for the help

Offline

#15 2002-11-23 21:36:49

faust
Member
From: Houston, Tx
Registered: 2002-08-13
Posts: 3

Re: sound card setup

instead of chown'ing /dev/sound in the boot up script just add this line to /etc/devfsd.conf:

REGISTER sound/.*       PERMISSIONS     audio.audio 660

-Faust

Offline

Board footer

Powered by FluxBB