Re: [CentOS] Reset audio controller w/o rebooting?
From: Barry Brimer li...@brimer.org I have similar problems in CentOS 5. I disable and enable the flash plugin in firefox, and it seems to be corrected. My problem may be slightly different, but this is how I 'fix' the problem. Same here, flash locks out the audio... mplayer gives me: Can't open audio device /dev/dsp: Device or resource busy Closing my browser fixes it... Maybe I should try with ALSA or ESD instead of autodetect which seems to choose OSS...? JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, 2009-04-27 at 08:05 -0700, Bart Schaefer wrote: As I mentioned on a thread about flash-plugin a few days ago, I'm having trouble with my sound device getting stuck and thereby causing problems for anything that accesses it, like video playback. Rebooting the machine fixes it for a while, but it's unpredictable for how long -- sometimes months go by without it recurring, sometimes it happens every couple of days. Right now I'm in one of the latter phases. - You do not have to reboot the machine every time it happens! Use the System Monitor Gnome Applet to kill what ever is using it. Further more this really seems like a Bug in the way Applications handle killing processes. Why? I have a Client this happens to often. Exactly the way you describe. One idea why it affects my clients machine is it is running 4.7 and is dog dead slow. Wait 5 minutes and the processes finally exits. In theory it should exit when the app is closed. johnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
Quoting Bart Schaefer barton.schae...@gmail.com: As I mentioned on a thread about flash-plugin a few days ago, I'm having trouble with my sound device getting stuck and thereby causing problems for anything that accesses it, like video playback. Rebooting the machine fixes it for a while, but it's unpredictable for how long -- sometimes months go by without it recurring, sometimes it happens every couple of days. Right now I'm in one of the latter phases. Any suggestions on how I could reset the controller without having to reboot? (Or suggestions for where else I might ask this question?) Below is output from lshw for the audio controller, and lsmod for the sound modules that are loaded. This is CentOS 4.7. snip I have similar problems in CentOS 5. I disable and enable the flash plugin in firefox, and it seems to be corrected. My problem may be slightly different, but this is how I 'fix' the problem. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, Apr 27, 2009 at 8:27 AM, JohnS jse...@gmail.com wrote: You do not have to reboot the machine every time it happens! Use the System Monitor Gnome Applet to kill what ever is using it. Unfortunately that doesn't help. Once the machine is in this state, then even after using lsof to track down all processes that are using the sound device, and killing all of them, the *next* thing to access the sound will play for a few seconds and then lock up. I once got it to clear up by unloading and reloading all the sound-related kernel modules, but that doesn't repeatably work either. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, 2009-04-27 at 08:45 -0700, Bart Schaefer wrote: On Mon, Apr 27, 2009 at 8:27 AM, JohnS jse...@gmail.com wrote: You do not have to reboot the machine every time it happens! Use the System Monitor Gnome Applet to kill what ever is using it. Unfortunately that doesn't help. Once the machine is in this state, then even after using lsof to track down all processes that are using the sound device, and killing all of them, the *next* thing to access the sound will play for a few seconds and then lock up. I once got it to clear up by unloading and reloading all the sound-related kernel modules, but that doesn't repeatably work either. --- Ok then just a question to solve my thinking. What type of machine is this as in Brand. The one I'm see the problem on is a HP 400Mhz Celeron 254MB of ram. My thinking for my clients problem is it is a real slow machine and the processes are taking a long time to exit. But you have to reboot the whole machine. What is the mixer your using? You may can try looking at the Sound Preferences Devices Tab to change the options there to see if that will help. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, Apr 27, 2009 at 9:55 AM, JohnS jse...@gmail.com wrote: Ok then just a question to solve my thinking. What type of machine is this as in Brand. It's a custom-built desktop tower from Monarch Computer Systems, who seems to have gone out of business almost exactly two years ago. I'd forgotten how long I've had this box. The one I'm see the problem on is a HP 400Mhz Celeron 254MB of ram. P4 @ 3GHz w/ 2GB here. What is the mixer your using? /usr/libexec/mixer_applet2 from gnome-applets-2.8.0-9.el4 You may can try looking at the Sound Preferences Devices Tab to change the options there to see if that will help. I'm on CentOS 4. There is no Devices tab on Sound Preferences. System Settings - Soundcard Detection locks up on the test sound, just like any other app ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, 2009-04-27 at 12:43 -0700, Bart Schaefer wrote: On Mon, Apr 27, 2009 at 9:55 AM, JohnS jse...@gmail.com wrote: Ok then just a question to solve my thinking. What type of machine is this as in Brand. It's a custom-built desktop tower from Monarch Computer Systems, who seems to have gone out of business almost exactly two years ago. I'd forgotten how long I've had this box. The one I'm see the problem on is a HP 400Mhz Celeron 254MB of ram. P4 @ 3GHz w/ 2GB here. Well that solves my wonders. Yours is way faster than my clients. What is the mixer your using? /usr/libexec/mixer_applet2 from gnome-applets-2.8.0-9.el4 You may can try looking at the Sound Preferences Devices Tab to change the options there to see if that will help. I'm on CentOS 4. There is no Devices tab on Sound Preferences. System Settings - Soundcard Detection locks up on the test sound, just like any other app ... Ahh.. Hmm If it helps my client has 4.7 and when he/she run mplayer that's when the same problem starts. It happens with and app that plays audio. Let me look tonight to see what exact mixer/driver my clients is using so I don't tell you a tail. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos