LinuxQuestions.org
Review your favorite Linux distribution.
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 08-24-2004, 02:58 AM   #1
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
ALSA problems after upgrading to KDE 3.2.3


Hi,
I have searched the net and the forums, and I have found many situation similar to mine, however I can not get any of the available or suggested fixes to product results on my system. I recently upgraded to KDE 3.2.3, which rocks, and is done by source with optimization, and it is a smokin system! The improvements are amazing! However, I have discovered that sound works just fine in applications, like noatune, kaboodle, any application that calls it. However, any of the KDE system sounds don't work. Even when I try to test those sounds before setting them, they don't work. Now, I can use the play or aplay commands to play any sound, which is what I have my system set to do temporarily. I have discovered that when I run kcontrol as root, I can play all of the sounds no problem. So, I added the group audio, adjusted the permissions in /dev, added my normal user to the audio group, and I still get nothing. I have confirmed that my volume is up, as I can play mp3's no problem through noatune. I am at a loss as to where I should go now. I am running a PIII 2.8, i810_audio driver (Intel). I have alsa-lib, oss, utils, esound, and kdemultimedia installed. I get the following errors in my .xsession_errors file:

Code:
kmix: Trying Alsa 0.9x Device hw:0
kmix: Trying Alsa 0.9x Device hw:1
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
kmix:
kmix: Trying Alsa 0.9x Device hw:1
kmix: ERROR: Alsa mixer cannot be found.
Please check that the soundcard is installed and the
soundcard driver is loaded.
kmix:
kmix: Sound drivers supported: ALSA0.9 + OSS
Sound drivers used: ALSA0.9
Like I said, many people report the same problem, but none of their fixes help. I have tried moving from autodetected audio device, to OSS, to threaded OSS, to esound, etc... I have configured alsamixer so that External Amplifier is muted, IEC958 output is muted, PCM is maxed, and volume is maxed. I have the alsa drivers enabled in my kernel, and it is clear that they work through the fact that I can play mp3's no prob. I have also run alsaconf numerous times, and it detects my sound card no prob, configures my modules.conf, and my lsmod output is:

Code:
snd-pcm-oss            44680   0 (autoclean)
snd-mixer-oss          16824   0 (autoclean) [snd-pcm-oss]
snd-intel8x0           24232   1 (autoclean)
snd-pcm                84544   0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer              20196   0 (autoclean) [snd-pcm]
snd-ac97-codec         68240   0 (autoclean) [snd-intel8x0]
snd-page-alloc          7692   0 (autoclean) [snd-intel8x0 snd-pcm]
snd-mpu401-uart         5360   0 (autoclean) [snd-intel8x0]
snd-rawmidi            18944   0 (autoclean) [snd-mpu401-uart]
snd-seq-device          6268   0 (autoclean) [snd-rawmidi]
snd                    47588   1 (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               6404   4 (autoclean) [snd]
Yet I still get no System Notification sounds. This really is a petty thing, I could leave it with the command aplay as the notification, but I would much rather do it properly, and take advantage of the full duplex card. If I use aplay, sysstem sounds will not occur when I am playing an mp3 for example. I appreciate any help anybody can provide! Thanks a lot!

Mike.

Last edited by mikeyt_333; 08-24-2004 at 03:00 AM.
 
Old 08-24-2004, 03:31 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Re: ALSA problems after upgrading to KDE 3.2.3

Quote:
Originally posted by mikeyt_333

If I use aplay, sysstem sounds will not occur when I am playing an mp3 for example. I appreciate any help anybody can provide! Thanks a lot!
So this problem is that only one program can use the card at the same time? Go into your KDE control center for sound. There is an option at the bottom of the screen which is something like suspend after idle (don't have kde so I can't check) but you have to put that off or at 0
 
Old 08-24-2004, 08:56 AM   #3
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
actually the problem is a permissions problem, because even when I try to call the sounds in the kcontrol (control center) they will not work if I am not root. I did what you suggested just to make sure, and if I disable that feature, my sounds disapear completely because kde holds onto the sound system and doesn't free it up for anything else.

Thanks for the reply!
Mike.
 
Old 08-24-2004, 11:08 AM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Did you completely disable the sound server? You only need to switch off that option. Your sound shouldn't go away, mine didn't either. Try editing the /etc/group file, add your username after the audio entry. If not you might want to change permissions on the audio devices. Look in this thread for the sound devices: http://www.linuxquestions.org/questi...sa+permissions
 
Old 08-24-2004, 02:20 PM   #5
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
I didn't disable the sound server. If I run noatune as a non-root it works fine, but in order to generate system sounds I have to be root. I have already edited my group file.

Mike.
 
Old 08-25-2004, 12:52 AM   #6
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
So what do you think?
 
Old 08-25-2004, 10:10 AM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Have you done the permissions on the /dev/... files in the thread I posted. I asked there with exactly the same problem and then I had to do that as well. chmod a+rw on the /dev/.. files listed in that thread
 
Old 08-26-2004, 04:18 PM   #8
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
Yes I did the permissions thing, and then i logged out, and logged back in. When I logged back in I noticed something. The permissions are being changed on login! I'm not sure why, but the owner reverts to my non-root user, and the group becomes root. I have never configured these perms in so I don't know where they came from. I haven't had a chance to look into it in-depth, but if you have any ideas I'd appreciate them! Thanks for your help!

Oh yeah, the actually perms of the file are rw------- which is also not something I set them to. When I set the perms I followed your previous thread to a T.

Mike.

Last edited by mikeyt_333; 08-26-2004 at 04:20 PM.
 
Old 08-27-2004, 06:31 PM   #9
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
any other ideas?
 
Old 08-27-2004, 08:25 PM   #10
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
Maybe try to do what i did? I experienced a same problem and was thinking the problem is in drivers/devices,but it was many more simple:
http://www.linuxquestions.org/questi...06#post1137706
 
Old 08-28-2004, 11:25 AM   #11
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
WOOHOO! Thank you so much z-vet! That was the problem! If anybody else has the same problem checkout: http://www.linuxquestions.org/questi...06#post1137706

Thanks for all your help guys!
Mike.
 
Old 08-28-2004, 06:48 PM   #12
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
It's nice to know that my expirience helped someone.
 
  


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
saving alsa mixer and upgrading kde speel Slackware 6 05-27-2005 12:57 PM
Upgrading to KDE 3.3 problems Rv5 Linux - Software 5 11-15-2004 01:59 PM
problems with alsa/KDE Axi0n Slackware 2 10-30-2004 06:35 PM
Could upgrading kernel 2.4.20-> 2.4.22 help w alsa and nvidia problems? wahwah Linux - Newbie 1 11-15-2003 05:29 PM
Problems Upgrading to KDE 3.1 with qt Dalius Linux - Software 1 09-19-2003 02:15 PM

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

All times are GMT -5. The time now is 11:09 PM.

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