Linux - SoftwareThis 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
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.
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.
I'm experiencing some rather weird behaviour from my Kaffeine player (and mplayer/totem and others aswell). Some times I have sound and am able to play audio cd's, listen to netradio and have sound on my movies. But all of a sudden the sound disappears. It is rather irritating because I have sound on the desktop, that is all the small beeps and such play normal.
Does anyone have a clue as to why the sound all of a sudden decides to disappear?
Have you checked if you change your mixers settings? check alsa-mixer or other mixer like aumix. Maybe some script or something is changing the settings?
How exactly do I do that. I'm pretty new to linux, so a walk-through would be appreciated :-)
I've run #/etc/init.d/alsasound stop => /etc/init.d/alsasound start and then alsaconf with which I can hear sound. Then I made a /usr/sbin/alsactl store
After that I made a script which would run the commands in rc_local in the boot file. But that did not help. Quite the contrary, when loading Kaffeine it said that there was no output device. Then I ran the alsa-script again and then I could run video with Kaffeine but no audio.
Edit II:
Ok, I've seem to get it to work but I have not tried to reboot. In SUSE Control Center (SUSE 10) I set the Sound System to ALSA instead of to Default. Then I ran the script as mentioned above and now it appears to work. But I havent tried to reboot so I don't know if it works at startup
Edit III:
Okay, so far so good. But now I tried to play an audio cd in Kaffeine which previously could be done but now it says:
No plugin found to handle this resource (cdda:/1)
xine: couldn't find demux for >cdda:/1<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/11<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/10<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/9<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/8<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/7<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/6<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/5<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/4<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/3<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/2<
xine: found input plugin : CD Digital Audio (aka. CDDA)
xine: couldn't find demux for >cdda:/1<
xine: found input plugin : CD Digital Audio (aka. CDDA)
demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "demux_avi: invalid avi chunk "xine: found demuxer plugin: AVI/RIFF demux plugin
xine: found input plugin : file input plugin
>>> Check if another program already uses PCM <<<
snd_pcm_open() failed:-13:Permission denied
What is going on here, and more importantly, how do I resolve it?
/Steffen
Last edited by steffendenize; 11-02-2005 at 08:07 AM.
Well, when a program says "permissions denied" you should check the permission for the sound devices.
I don't know where they are in SUSE but probably /dev/snd.
But before doing any of that cool stuff, maybe SUSE has a way of dealing with it. Check if there is a special group for audio. (You can do that somehow in the control center) and if there is a group, make the user who wants to listen to audio join it.
If that doesn't work. Do something like
#chmod 777 -R /dev/snd
That is if you have the directory /dev/snd, if you don't then do something like
#cd /dev
#chmod 777 mixer sequencer audio
And do notice that you can't have another app which blocks the soundcard running if you want to run xine or xmms or whatever.
Does this work? Are you able to figuring out how to add users in groups in the control center? If not I can explain it but it's easier if you can fix it there.
Ok, I found the sound group and I was not a member of that group. So I added myself. However, the problem persists, I still get the same msg. I checked to see whether an app was using PCM (using ctrl esc to get me to the "task manager"), but I could see none. Then I ran the chmod command but the problem is still there
Did you install the alsa-utils package? Do you have the alsamixer program? (or alsa-mixer, remember what name it is).
type "alsamixer" (or alsa-mixer) in a terminal and if the programs opens, you have it. Then boost up master/volume and pcm.
Can you choose alsa as "output plugin" in xmms?
If you can, choose it and try to see if it works, did it?
If you can't, install xmms-alsa and try again.
Does it works now when you have chosen alsa in xmms and
have opened alsamixer (or alsa-mixer) and boosted master/volume
and pcm?
Answer all this questions please or else it's hard to help
First of all, thank for helping. I really appreciate it.
I've rebooted. Shouldn't have done that because now the problem is right back to where I started. No sound at startup. No sound at all before I run alsaconf.
>>Did you install the alsa-utils package? Do you have the alsamixer program? (or alsa-mixer, remember what name it is).
>>type "alsamixer" (or alsa-mixer) in a terminal and if the programs opens, you have it. Then boost up master/volume and pcm.
Yeah, I got that. I've boosted the volume from approx. 96 to 100
>>Can you choose alsa as "output plugin" in xmms?
Yes
>>If you can, choose it and try to see if it works, did it?
No, but, if I copy the .wav file from the cd to the desktop I can play the file. And the cd-drive is audio connected to the mainboard and I've played audio-cds the day before yesterday
>>If you can't, install xmms-alsa and try again.
Does it works now when you have chosen alsa in xmms and
have opened alsamixer (or alsa-mixer) and boosted master/volume
and pcm?
Ahh, I've had that problem as well. First of all, you need a plugin to read the cd. I use xmms-cdaudio (I also tried xmms-cdread but didn't get it to work).
You can use bot digital and analog extraction. For me, both works but usually only digital works or that's what you should choose anyways.
And now you might think that it should be enough to be a member in the audio group, but for some reason it's not enough (at least not in gentoo) so you have to change permissions on your cd device (if it's not goodd now).
So find out where your device is. It's usually /dev/cdrom or /dev/hdc or something like that.
When you have done that (let's say that it's /dev/cdrom) you type
#chmod 755 /dev/cdrom
I couldn't find any of the packages that you mention either from packman-repository or the ordinary SUSE 10.
I tried to find the cdrom drive which is called dev/hdd and write the command $cdmod 755 /dev/hdd but nothing happend.
However, everything else is working. I can listen to netradio, listen to mp3's using xmms, watch movies with sound, the desktop has sound. But all of this has be run from console after startup $alsaconf.
So where does this leave me? With a system which is fully functional, almost. I can live with the difficiency but it would be nice to get it to work, esp. as it worked before.
Thanks for all the help samel_tvom I really appreciate it but the problem seems to want not to be solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.