Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-26-2011, 11:16 AM   #1
LQ Newbie
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Switch pcm profile without logout

Below is my ~/.asoundrc, which is working as desired. I can change the "pcm.!default" value, log out then back in, and it takes effect as desired.

How can I switch the profiles without logging out?

pcm.mono_right {
   type route
   slave.pcm  "cards.pcm.default"
   ttable.0.1 1
   ttable.1.1 1

pcm.mono_left {
   type route
   slave.pcm  "cards.pcm.default"
   ttable.0.0 1
   ttable.1.0 1

pcm.!default pcm.mono_right
#pcm.!default pcm.mono_left
Old 01-27-2011, 02:10 PM   #2
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
/etc/init.d/alsa-utils restart

Might do it.

more info here -
Old 01-28-2011, 10:04 AM   #3
LQ Newbie
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Nope, that doesn't do it. You first have to kill all applications which are using alsa.

Running the command "alsa force-reload" seems like the best solution so far, but I don't like the applications being killed. Seems like a system limitation though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
openbsd 4.5 - changing .profile - logout and log back in (ssh) noir911 *BSD 6 04-02-2009 07:07 AM
user profile not being saved after logout bradleyjr Linux - Newbie 1 01-25-2009 05:12 PM
'logout' inserted in profile cryo70 Linux - Security 6 09-19-2005 06:01 PM
howto re-load my ~/.profile without logout? minike Slackware 4 09-18-2005 01:36 AM
bash logout profile rc cs emacs sreenrc ravenarts Linux - Newbie 2 05-15-2002 09:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration