LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-27-2004, 03:20 AM   #1
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
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
 
Old 12-27-2004, 07:54 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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?
 
Old 12-27-2004, 08:46 AM   #3
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
I'm using the same ALSA .tgz package from CD2 slackware its for 2.6.X kernel series.
 
Old 12-27-2004, 10:01 AM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
You might need to recompile alsa as well. I always had to after kernel compile.
 
Old 12-28-2004, 10:07 AM   #5
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
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
 
Old 12-29-2004, 06:16 AM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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.
 
Old 12-29-2004, 06:47 AM   #7
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
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.
 
Old 12-29-2004, 01:28 PM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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.
 
Old 12-29-2004, 05:14 PM   #9
Silent1
Member
 
Registered: Jul 2002
Location: Davie, FL
Distribution: Debian
Posts: 33

Rep: Reputation: 15
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.
 
Old 12-29-2004, 07:15 PM   #10
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
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.
 
Old 01-08-2005, 02:04 PM   #11
nufsus
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
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!
 
Old 01-31-2005, 10:24 AM   #12
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Original Poster
Rep: Reputation: 30
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
 
  


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 Problem: ESS (ES1869F-Chipset) No Sound computer_kid Slackware 9 08-02-2006 08:41 PM
Other problem with the sound in Mandrake - onboard sound card Swetko Linux - Hardware 24 06-19-2006 03:27 PM
5.1 sound problem (sound blaster live and suse) shadout Linux - Hardware 11 06-24-2005 12:46 AM
No sound, problem with sound card install? ak4me Linux - Hardware 2 03-06-2004 04:01 PM
Sound problem after installing/uninstalling JACK sound server bastupungen Linux - Software 1 02-28-2004 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration