Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-28-2007, 09:25 PM
|
#1
|
LQ Newbie
Registered: Dec 2007
Location: US =/
Distribution: Fedora 8
Posts: 9
Rep:
|
KDE sound not working
Hi,
I recently replaced GNOME with KDE, but now I am getting a bad problem now. The sound doesn't work ever since I installed KDE. I know its not a problem with my sound card because it worked perfectly in GNOME and windows. I have no idea how I'd fix this. Anyone have any pointers to how I'd go about fixing this problem? I tried looking on the net for solution but found nothing good.
Thanks
|
|
|
12-28-2007, 09:44 PM
|
#2
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
KDE has its own sound system, aRTS, which sits on top of your normal sound system, e.g. Alsa
First step, test that the sound is still working underneath:
Make sure your volume on your speakers is not too high before trying this step!!
In a Konsole window, type
Code:
cat /dev/urandom > /dev/dsp
Press Ctrl+C to stop it.
This should send random static to the sound card. If nothing happens, turn the volume up slowly. Please post any error messages. If this step fails, it may not necessarily be a problem, but if it works, then you just need to tweak KDE's own settings. To do so:
- Go into the KDE Control Centre, 'Sound & Multimedia', 'Sound System' control
- Make sure it's enabled (default installation should enable it)
- Go to Hardware tab
- If you know which sound system you are using, choose it, if in doubt, choose Autodetect or ALSA (Advanced Linux Sound Architecture)
- Apply changes
- Go back to General tab and test sound, you should hear a nice little 'wave' file.
If it's still not working, and you have had any specific errors at any stage, please post them, as there are various things that could have gone wrong. aRTS is usually a very good system, but occasionally there are some kinks to be worked out, as there is no de facto standard for sound in Linux, though ALSA is rapidly claiming the top spot.
One problem that you might want to look into is whether or not you have permission to access the sound devices. If the command I gave you above doesn't work as a normal user, try it as root. If this works, you may simply need to add your user to the 'audio' (or equivalent) group.
Last edited by fuzzyworm; 12-28-2007 at 09:47 PM.
Reason: Stupid spelling mistake: I am hereing things, it's all up hear in my head
|
|
|
12-28-2007, 10:13 PM
|
#3
|
LQ Newbie
Registered: Dec 2007
Location: US =/
Distribution: Fedora 8
Posts: 9
Original Poster
Rep:
|
Thanks for the feedback.
The static sound works great. I didn't need to log in as root for that.
So I went into 'Sound System' in the Control Center, and the sound system was enabled. In the hardware tab, I tested the test sound with ALSA and auto detect, unfortunately, neither worked.
There were no error messages anywhere during any of the stages...
Any more ideas?
Thanks
|
|
|
12-28-2007, 11:27 PM
|
#4
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
Ok, that seems strange.
Do you have any other sound cards? Onboard sound as well as a dedicated card? A TV card?
Open 'kmix', there should be a drop-down list if you have more than one card. Also, while you're in kmix, this may seem obvious, but have you checked the volume - try turning everything right up, at least until the sound is working.
Do:
If more than one appears here, then KDE may be trying to use the wrong one.
If this is the case, go back to the settings page, and try overriding the device location to the one that worked with the static, i.e. /dev/dsp
Also, if this doesn't work, please post the result of:
Last edited by fuzzyworm; 12-28-2007 at 11:29 PM.
Reason: Volume
|
|
|
12-29-2007, 01:12 AM
|
#5
|
LQ Newbie
Registered: Dec 2007
Location: US =/
Distribution: Fedora 8
Posts: 9
Original Poster
Rep:
|
I went into Kmix and there are two items in the drop-down list. One of them is Audigy 2 ZS and the other CA0106. I assume CA0106 is my on-board sound card that I am not using. I never installed drivers for them. Audigy 2 ZS is my peripheral sound card that I am using.
Here is the output of ls -l /dev/dsp* I do get an error message when I try to override the device location with /dev/dsp and /dev/dsp1
Here is the error message:
--------------------------------------------
Informational - artsmessage
Sound server informational message:
Error while initializing the sound driver:
device: /dev/dsp can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.
---------------------------------------------------
Also, I turned absolutely everything up to the max in Kmix, and blasted the speakers to the max. Still no sound.
I would give you the result of lspci, but it says:
Code:
bash: lspci: command not found
This is a very persistent problem, I will continue to experiment with options.
Any more ideas?
Last edited by SeanW; 12-29-2007 at 01:16 AM.
Reason: Made the error message distinct from the rest of the post
|
|
|
12-30-2007, 02:57 AM
|
#6
|
LQ Newbie
Registered: Dec 2007
Location: US =/
Distribution: Fedora 8
Posts: 9
Original Poster
Rep:
|
Been messing around with it for a while to no avail. No more ideas?
Last edited by SeanW; 12-30-2007 at 02:58 AM.
|
|
|
12-30-2007, 04:02 AM
|
#7
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
run lspci as root
|
|
|
12-30-2007, 01:03 PM
|
#8
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
Sorry, I've been away for a while.
I don't think you would learn anything from lspci that you don't already know. I'm surprised that you can't run it as a normal user - it works for me, but try it as root.
You shouldn't need it for this, but you may need to find it if you have problems in the future.
Out of interest, try the speakers or some headphones in the other sound card, and see if it works.
To change your default ALSA sound card, assuming alsa-utils is installed:
(based on my system, adjust accordingly)
Code:
~$ asoundconf list
Names of available sound cards:
M5461
UART
CX8811
~$ asoundconf set-default-card M5461
Once this is done, you will need to restart the aRTS sound server to see any change.
|
|
|
12-30-2007, 02:06 PM
|
#9
|
LQ Newbie
Registered: Dec 2007
Location: US =/
Distribution: Fedora 8
Posts: 9
Original Poster
Rep:
|
I tried the lspci command as root but it still says its an unrecognized command. I am using fedora 8 if that matters. The ~$ asoundconf list doesn't work either, both as a normal user and root.
I tried to plug the sound into the on-board sound but it doesn't work.
I did find something new though. In KMenu > System > SoundCard Detection. The Audigy sound card that I am trying to use works when I test its sound. At first, KDE had my other on-board card set as default, which didn't work. So I switched it to my peripheral sound card and doing the testsound there works. Unfortunately though, it doesn't work anywhere else. 
|
|
|
12-30-2007, 02:32 PM
|
#10
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
Have you got alsa-utils installed? (The package name may be slightly different under Fedora)
Does asoundconf work at all? Even if it doesn't list any hardware?
I don't have that KDE app in my menu, and I don't know what it would be under to install it, so I can't test that myself.
Other than that, I'm afraid I can't think of anything else at the moment, but I'll keep thinking.
|
|
|
12-30-2007, 03:14 PM
|
#11
|
LQ Newbie
Registered: Dec 2007
Location: US =/
Distribution: Fedora 8
Posts: 9
Original Poster
Rep:
|
Went into the package manager and I do have alsa-utils installed..
Yeah I tried the asoundconf list command with both root and normal user in the shell and in init 3, unfortunately it says its an unrecognized command. It doesn't list anything at all, it simply says its an unrecognized command.
I will keep experimenting with it. BTW: Thanks for all the help, I still wouldn't have made it this far without it.
|
|
|
12-30-2007, 03:36 PM
|
#12
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
It may be an Ubuntu/Fedora difference then.
Previous versions of alsa-utils just had the command 'set-default-card' instead of 'asoundconf set-default-card'
Unfortunately, I can't find what the equivalent for 'asoundconf list' is, however, I did manage to find someone who had the same sound card listed as 'Audigy2', so try
Code:
set-default-card Audigy2
Incidentally, this chap was having a similar problem to your own:
http://ubuntuforums.org/archive/index.php/t-346574.html
|
|
|
12-30-2007, 03:45 PM
|
#13
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
If you are using Fedora 8, it uses pulse audio so that might be a problem
|
|
|
12-30-2007, 03:46 PM
|
#14
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
Quote:
Originally Posted by AceofSpades19
If you are using Fedora 8, it uses pulse audio so that might be a problem
|
In that case, I can't help any more - I've never used pulse audio
|
|
|
12-30-2007, 05:13 PM
|
#15
|
LQ Newbie
Registered: Nov 2006
Posts: 9
Rep:
|
I don't know why, but every time I install Linux with KDE, sound is "muted".
I just play some mp3 or cd and in Kmix I click in all "mute" bottons (one at the time) untill I get sound.
You can try it... it wont make it worst 
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|