![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Jan 2007
Location: Montana
Beans: 231
Kubuntu 9.10 Karmic Koala
|
On occasion, my sound seems to quit working. I can sometimes fix this problem, for example, killing Firefox will fix the problem a lot of the time. Other times, though, I can't get the sound to come back unless I restart X.
I was wondering, since that can sort of be a pain (often I'm talking to people in IM or doing other stuff)... is there a way to restart the sound system without actually having to restart X or reboot the computer? I've tried things like "sudo killall alsa" but that doesn't seem to help, is there some other command that will? Thanks in advance.
__________________
Proud Kubuntu user since 6.06 "Dapper" | WoW, Linux, & Geekery <3 | Linux User #440899 "Think of your brethren like unto yourselves, and be familiar with all and free with your substance, that they may be rich like unto you." - Jacob 2:17 |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: May 2005
Beans: 88
|
Re: Restart sound?
I've always wondered this--you should only have to restart linux if you change the kernel!--and I think I found out how:
do: sudo /etc/init.d/alsa-utils restart But sometimes this won't work if something is really holding on to the sound so do: name@comp:~$ lsof | grep pcm sh 5079 name 70u CHR 116,6 13639 /dev/snd/pcmC0D0p esd 5080 name 70u CHR 116,6 13639 /dev/snd/pcmC0D0p to find the process id and then kill it and restart: name@comp:~$ kill -9 5079 name@comp:~$ kill -9 5080 name@comp:~$ lsof | grep pcm sudo /etc/init.d/alsa-utils restart and hopefully that will work. |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 1
|
Re: Restart sound?
Dude -- you are my lord and savior, note lowercase <<not a blasphemer>>
This problem has plagued me for God knows how long. Big thanks. Eventually I found the alsa-utils restart command, which saves me a good 60% of the time, but I was forced to restart the damn computer sometimes. It seems like this would happen when you closed a program abruptly... I guess something is going wrong and it's not "releasing control" of the device, or something... Either way, your directions worked so great!! This is the kind of stuff that needs to be shared more often. I don't know how long I looked for this post, and finally it's appeared. Thankfully. I love typing mumbo jumbo that fixes my computer. |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() |
Re: Restart sound?
the built-in torrent client on 7.10 seems to always require me to kill them before I can get my sound back. thanks for the tip.
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2007
Beans: 2
|
Re: Restart sound?
I tried all of the above and nothing worked till I did
/etc/init.d/alsa-utils reset One more thing to try. |
|
|
|
|
|
#6 | |
|
First Cup of Ubuntu
![]() Join Date: Jul 2007
Beans: 3
|
Re: Restart sound?
Quote:
|
|
|
|
|
|
|
#7 |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2007
Location: USA
Beans: 140
Ubuntu 9.10 Karmic Koala
|
Re: Restart sound?
I can confirm that the disappearing sound is related to the use of torrent download. Has this been submitted as a bug?
|
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Location: New Zealand
Beans: 5
Ubuntu 7.10 Gutsy Gibbon
|
Re: Restart sound?
Hi, I have the same problem of sound cutting out unexpectedly but none of the above seem to work. Does anyone have any other suggestions?
|
|
|
|
|
|
#9 |
|
Just Give Me the Beans!
![]() Join Date: Mar 2006
Location: Australia
Beans: 52
Ubuntu 9.04 Jaunty Jackalope
|
Re: Restart sound?
Apparently we'll have much better sound management in Ubuntu 8.04.
Hopefully this will rid us of all of these problems. |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 4
|
Re: Restart sound?
My problem is similar but different. I've got a dual boot Ubuntu/Windows system on an IBM laptop. If sound is working in Ubuntu it keeps working ok. The problem is if I boot into windows on my IBM laptop. If I hit the hardware mute key the sound goes off. Next time I boot into Ubuntu I can't get the sound to come back on. The mute and volume keys work in that they bring up the mute and volume dialogs in Ubuntu but no sound comes out.
I've tried all the suggestions in this thread - restarting and resetting alsa and searching for processes hogging the sound card but none of that works. The only way to get sound back is to reboot into windows, un-mute the sound and come back to Ubuntu. I am guessing here, but it's as if when I press the mute key in windows it's going in at some hardware level below what Ubuntu is working with. Any clues how to get sound back on without rebooting into windows? Cheers! |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|