LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 04-22-2008, 12:20 PM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0
Restart Sound Daemon?


[Log in to get rid of this advertisement]
Yesterday (4/21/08) I was trying out a radio stream (it did not work) and for some reason, after that, when I went to play music in Amarok and then XMMS, the sound no longer worked. I had to restart my computer (turn completely off then back on) to get the sound back. My guess is that the stream, which did not work, had "hijacked" my sound.

How can I restart the sound without having to shut down the computer then turning it back on?
gymnart is offline  
Tag This Post , ,
Reply With Quote
Old 04-22-2008, 12:30 PM   #2
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331
Thanked: 0
I've had the same problem... Except that it was enough for me to restart the X server. Would love to get a solution, since it's really annoying having to exit X every few weeks.
atheist is offline     Reply With Quote
Old 04-22-2008, 01:23 PM   #3
tredegar
Senior Member
 
Registered: May 2003
Location: London, UK
Distribution: Kubuntu6.06.1LTS (still excellent!). Kubuntu 8.04.1
Posts: 4,373
Thanked: 141
For debian (and the ?buntu's) you can restart the sound system with

/etc/init.d/alsa-utils restart

It'll be something similar for Suse, and you'll need to be root.
tredegar is offline     Reply With Quote
Old 04-22-2008, 01:42 PM   #4
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0

Original Poster
I looked in the /etc/init.d directory and the only thing I found that was alsa related was, "alsasound"

So would it be, "/etc/init.d/alsasound restart"? (without the quotes of course).
gymnart is offline     Reply With Quote
Old 04-22-2008, 01:45 PM   #5
tredegar
Senior Member
 
Registered: May 2003
Location: London, UK
Distribution: Kubuntu6.06.1LTS (still excellent!). Kubuntu 8.04.1
Posts: 4,373
Thanked: 141
Quote:
So would it be, "/etc/init.d/alsasound restart"? (without the quotes of course).
You could give it a try, and see what happens
tredegar is offline     Reply With Quote
Old 04-22-2008, 01:57 PM   #6
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0

Original Poster
I just did and it worked. Funny thing was that the icon for KMix was gone after that. So I restarted KMix.

Thanks much for your suggestion!
gymnart is offline     Reply With Quote
Old 04-22-2008, 02:06 PM   #7
tredegar
Senior Member
 
Registered: May 2003
Location: London, UK
Distribution: Kubuntu6.06.1LTS (still excellent!). Kubuntu 8.04.1
Posts: 4,373
Thanked: 141
Pleased it worked.
kmix probably disappeared as there was no sound system for it to mix. If you had logged out and back in again (not rebooted), it probably would have reappeared, but you fixed it anyway.

To prevent things grabbing audio and not letting go, I have a KDE setting in kcontrol -> Sound system -> General, that is titled "Auto-suspend". I set this to "Auto suspend if idle after 1 second", and these things do not happen.
tredegar is offline     Reply With Quote
Old 04-23-2008, 11:35 AM   #8
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0

Original Poster
Thanks for that info!
Mine was set to 5 seconds. I reset it like you have yours.
gymnart is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 12:24 PM
KDE Daemon Off, restart? stash1071 Linux - General 3 05-18-2006 06:48 PM
best way to restart a wireless card/daemon? lefty.crupps Linux - Wireless Networking 3 08-22-2005 02:36 PM
Restart daemon ust Linux - General 3 02-03-2005 04:25 AM
How to stop and restart sendmail daemon? J_Szucs Linux - Newbie 4 06-12-2002 12:31 AM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration