Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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
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)
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 08:47 PM.
Reason: Stupid spelling mistake: I am hereing things, it's all up hear in my head
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?
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.
ls -l /dev/dsp*
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 10:29 PM.
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:
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 12:16 AM.
Reason: Made the error message distinct from the rest of the post
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.
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.