LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sound problem 2.6.10 (https://www.linuxquestions.org/questions/linux-software-2/sound-problem-2-6-10-a-270705/)

mardanian 12-27-2004 03:20 AM

sound problem 2.6.10
 
hi all, after upgrading my kernel from 2.6.9 to .10 i have a strange problem, my sound not working in X, however its working in CLI. I can hear songs "mplayer song.mp3", however when in X using any player "gmplayer, xmms, realplayer" give me error "check your sound card or some other app. using it bla", however I can heard the KDE starting sounds :), i'm using fluxbox "wm" not kde so its not artsd thingy.

Another thing in 2.6.10 I don't have /dev/dsp, it present in 2.6.9.

All my sound modules are loaded the same in number thats in 2.6.9, it mean its not sound card problem but sound like /dev/dsp things.

Anyone any idea ?

regards

darkleaf 12-27-2004 07:54 AM

I'm about to compile a 2.6.10 kernel I'll let you know if it works afterwards.

Your /dev/dsp isn't the problem I guess. If it works in the command line but not outside. Did you recompile alsa itself or do you use the alsa built in in the kernel?

mardanian 12-27-2004 08:46 AM

I'm using the same ALSA .tgz package from CD2 slackware its for 2.6.X kernel series.

darkleaf 12-27-2004 10:01 AM

You might need to recompile alsa as well. I always had to after kernel compile.

mardanian 12-28-2004 10:07 AM

well its justa /dev/dsp problem why should i recompile alsa?
yesterday I compile 2.6.10 on my work box with the same old .config, and its works like a dream.
I don't understand what the hack for my home box. Its not creating the /dev/dsp, you know I make my sound workng with manually created node in /dev with these commands
#cd /dev/
#mknod /dev/dsp c 14 3
#chown root.sys /dev/dsp
#chmod 777 /dev/dsp

but I don't like this first i have to put these lines somewhere that on each boot it kick off everytime secondlly sound works but my kmix, not working with it, and when i tried to listen online music "realplayer" embaded my sound muted.

regards

darkleaf 12-29-2004 06:16 AM

Did your realplayer work fine before or did you just start using it. The problem with realplayer could be that you don't run it via aoss wrapper. Realplayer is oss by default. To run it:
Code:

aoss realplay
If everything else gives sound but realplayer even if you did this it's probably an error with the default sound device. You have to set it with
Code:

export AUDIO=/dev/dsp0
Hope that helps.

You can put those lines to create /dev/dsp in a startup script. I don't know how to do that though.

daihard 12-29-2004 06:47 AM

I just installed the precompiled 2.6.10 binaries prepared by Turbolinux. They also provided a new version of alsaconf package. That seems to tell me that alsa does have something to do with your sound problem.

darkleaf 12-29-2004 01:28 PM

I could be wrong but didn't an alsa program create those devices? Something like snddevices which you have to run if you compile from source.

Silent1 12-29-2004 05:14 PM

i'm having the same problem, but for me the only device that works is xmms and i think its because i specified to use alsa as a sound device. Other games like quake3 no sound and mplayer no sound at all.

ValidiusMaximus 12-29-2004 07:15 PM

I custom compile ALSA into the kernel. Modules never worked well for me so i just recompile when i want a feature. I have /dev/dsp and /dev/mixer because i told the kernel config that i wanted ALSA to have compatibility for the old OSS sould. There is an option while configuring the ALSA modules. I dont know what it is because, like i said, i have it compiled into the kernel.

nufsus 01-08-2005 02:04 PM

udev
 
I also had the problem that /dev/dsp did not exist in 2.6.10 but it did in 2.6.9.

The solution is simple once you find it :-)

Upgrade udev to version 050 and it works again.
You kan find it at http://www.kernel.org/pub/linux/utils/kernel/hotplug/

Good luck!

mardanian 01-31-2005 10:24 AM

thanks nufsus for the tip it also fixed my /dev/dsp problem. I installed latest udev-050

and now it creating /dev/dsp device for me

regards


All times are GMT -5. The time now is 03:35 PM.