UbuntuThis forum is for the discussion of Ubuntu Linux.
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 just finished installing hoary on a thinkpad i1300,everything's working fine except the sound. initially the system sounds were working and i tried to play an audio stream through xine it streamed but no sound, so i used the volume applet on the gnome panel and opened volume control. and under file > change device > i see two options:
0. Cirrus Logic CS4299 rev 4 (OSS Mixer)
1, Intel 440MX (ALSA Mixer)
and i've selected the intel 440MX option. the other thing i tried to do is open the same stream with totem and it tells me that the resource might be busy. also, i can't play any audio on flash pages. ubuntu's worked great on my notebook as far as configuration goes, wireless,et al. the only thing i'm missing now is the sound. any advice on this would be gladly appreciated.
here's the output of my lsmod
Are you using KDE? If so, check to see if you're using the arts output plugin of your respective apps. Try (as root) killall artsd and then try playing the stream again.
i went through the wiki and tried what the wiki suggested, even reinstalled the alsa packages but now i've got the system sounds working, nothing else works. flash doesn't work. xine or totem doesn't. the funny thing is everytime totem comes up it says that "Totem couldn't startup, resource busy or unavailable"
dunno what the problem could be, here's the output of lspci
i even reinstalled the alsa driver, alsa libs and alsa-utils, and ran alsaconf and it did detect the intel driver but still not playing anything. i can hear the system sounds now but doesn't play anything. same thing with totem , it just comes up with totem couldn't start or resource busy. and when xine comes up i can't hear anything. i've used alsamixer to see if there's something muted, but nothing helps there.
i'm using gnome.
Last edited by brokenflea; 04-28-2005 at 09:55 AM.
that's another thing i forgot to mention, i tried going in there and i don't see a totem_config file. and i checked the groups that my username's associated with and it does belong to the audio group.
If you can get system sounds but not app sounds it look slike you're not running the right output plugin in those apps. Do a ps -A and see if there's a process called esd. That's the eSound daemon. If that is the case, try looking through totem/xine config for an esd/eSound output plugin.
ok, i figured out how to get sound in xmms. i just changed the output to the esd daemon. the thing with totem is that everytime i launch totem, it brings up that error where it says resource busy or unavailable and whenever i click on OK on the notification box it just kills the app. there's no way for me to actually go into the totem gui to change the output there. i changed the output in xine to esd and no luck with that either.
and now the worse part is that i'm stuck with no sounds at all. i have the volume applet as mute everytime i restart the machine. so i'm gonna look into that and see if i can revive the system sounds again. this is driving me insane, but i'm getting there.
thanks for everyone's support
never mind, i got the system sounds and xmms working again. the only thing i'm missing now is sound in xine, totem and flash content on the web.
Last edited by brokenflea; 04-29-2005 at 02:23 PM.
I don't know about xine but totem may be a KDE app which may be trying to load arts (KDE's equivalent to esd). With flash content on the web or any web sounds at all you'll need some sort of sound wrapper. ALSA has its aoss script, arts has atrsdsp but I'm not sure about esd. You'll have to look around for it. Then you execute your browser as <sound wrapper> <browser executable>. So, for example, if you were trying to get opera to use ALSA then you'd trype aoss opera.
another thing i noticed was when i go into System > Preferences > Multimedia Systems Selector, under Default Sink i see the ESD daemon selected under output but when i change that to ALSA and click on Test for it to play a test sound it brings up an error box that says: "Failed to construct test pipeline for ALSA-'Advanced Linux Sound Architecture' "
does it mean that ALSA's not installed properly as far as the sound drivers on my system goes. how do i remove the current ALSA drivers and reinstall it again.
does it mean that ALSA's not installed properly as far as the sound drivers on my system goes.
No. What that means is that esd is blocking all other apps from accessing the sound device directly. If you killed esd and tried it again it should work. There is a way for apps to be able to access sound directly under ALSA even with a server (such as esd) running. It is called the Dmix plugin.
Quote:
how do i remove the current ALSA drivers and reinstall it again.
Because of the above I wouldn't recommend it. They are probably working just fine.
thank you so much for your help. i finally got the sound playing with xine. i'm getting the same thing with totem that the resource is busy ...etc . but i was only wanting to get it working on xine. thank again. i just followed your link. downloaded mpg123 and followed the instructions on that link. killed esd and selected alsa under multimedia systems selector, tested it (it played a sound this time) and launch xine to play the audio stream, and it works like a charm. thanks again. can't tell you how happy i am. thanks, thanks thanks, you rock, you're the bomb. :-D
Originally posted by brokenflea thank you so much for your help. i finally got the sound playing with xine. i'm getting the same thing with totem that the resource is busy ...etc .
It is because your totem isn't configured to use esd and esd blocks the sound device. If you can find your totem_config (or .totem_config) then you just have to edit the line that says:
audio.driverss -> audio.driver:esd
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.