Do I have to restart ALSA every time I want to use HDMI?

I wasn't getting any sound from my TV when I plugged in my HDMI cable, so I followed this part of the alsa wiki page:
https://wiki.archlinux.org/index.php/Ad … s_Not_Work
So, I have this .asoundrc file that tells ALSA to output to the HDMI device. Now it will output to the TV just fine. But if I want to have sound on my laptop again, I have to delete this file (or rename it) and restart ALSA.
Do I just have to keep moving this file and restarting ALSA or is there a way to change the output device while ALSA is running?
If there isn't, will PulseAudio accommodate this?

It's not necessary to restart ALSA.
Apps are supposed to provide the ability to change PCM during runtime themselves, which unfortunately is not as common as we'd like. So restart the app. Depending on the change you've made to ~/.asoundrc, you will probably need to close the other apps that currently have ALSA open - see them with:
fuser -fv /dev/snd/* /dev/dsp* 2>/dev/null
I must be more KISS than Arch - none of pulseaudio, esound, jack or KDE mixer exist on my system - it's just plain ALSA
Oh, and to change between HDMI and your laptop, use a script.

Similar Messages

  • Have to restart iTunes EVERY time I want to stream to Apple TV!

    I have the 2012 Apple TV and while Netflix, Youtube, etc. normally work well, I have to restart iTunes EVERY time I want to stream to Apple TV! My iMac is always on and the newest version of iTunes is always running. It doesn't seem to matter if the iMac is in sleep mode or not, and I have a very strong wifi signal coming from my Airport Express. Every time - not sometimes - I want to access music, TV shows or movies in iTunes on Apple TV, it says my library is loading, or cannot connect. Every time. What can I do?

    WC, When I use the term Home Sharing it is perhaps a little oversimplified, it is quiet impractical and often overkill to continually restate the complete sequence of events that led me to 'a fix', however, I did not suddenly one day find a problem, switch to wi-fi and find all was well. There was significant investigation done on my part to try to find a solution. if by me saying I moved to wifi and it worked, others can move to wifi and have a fix, great. I am not trying to reinvent the wheel here, others much cleverer than me are looking at that...
    I had a functioning setup over wired until approx 2 months ago with an ATV2 connecting to Imac library, I was at the time occasionally running some software that restarted itunes once finished which may have masked the problem if it was there, unlikely though. I purchased an ATV3 with a new TV, this upon installation required an ios update much the same time as the itunes update.
    I noticed the white light on the atv3 flashing when it was asleep, this was not something i had seen on the atv2, Investigation suggested this was normal behaviour, I remain unconvinced of this.
    from that point on 'Home Sharing' did not work until a restart of itunes, it would then work all night (6+ hours)
    My mac was set to sleep over night, I tried turning that off-no difference, turned ip6 off-no difference, once it hangs other devices on the network are unable to see the itunes lib, iphone, ipad,MBP etc
    Once the thing hangs, Netstat shows a massive quantity of open ports 100/150+ to each on/sleeping atv,  a restart of itunes clears this lot. with wired, these connections start to build again, with wireless not so much.
    looking back on here shows folks have had this problem in various guises since early 2011, apple by their own admission state the last update 'fixes some issues with Home Sharing', it seems it introduced some for me...
    I am quite sure some peoples problems are down to underlying network problems however this is supposed to be 'Home Sharing' it shouldnt need a degree in computer science to configure, it should just work.
    I am not about to pull my network apart to troubleshoot any further, between mac & atv's there are 2 x Giga/switches(netgear) and an Airport Extreme(bridged), the atv cable was plugged into the A.Ex no dice and now connects w/less to the same box and works fine...

  • Why in the hell do I have to "sign in" every time I want to use "MY" photo elements 12

    Why in the hell do I have to "sign in" every time I want to use "MY" photo elements 12

    Once you've signed in the first time, don't sign out and you'll never be prompted again.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • HT201493 why do I have to log on  every time I want to use this app?  Logging on is a collosal pain,

    Logging on every time makes the app much less useful.

    That wouldn't protect your friends.
    Not sure why you are averse to using a screenlock, you run a precarious line by not doing.

  • My IPOD Classic Video 5. Gen. showed videos, but now it does no longer show them, instead i see a black picture on my IPOD and it doesn`t work. I have to restart it every time, i try it. i restore the software with itunes, but the problem still exists.

    My IPOD Classic Video 5. Gen. showed videos, but now it does no longer show them, instead i see a black picture on my IPOD and it doesn`t work. I have to restart it every time, i try it. i restore the software with itunes, but the problem still exists.
    The Videos are showed up front 4 months, but now they are no longer to be seen. When you star a video first the hard drive starts, but then it stops and hangs up. I have to restart it, starting with the apple logo....

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to X. any reasons why its doing that and how to fix it.

    Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to OS X. any reasons why its doing that and how to fix it.

    Test after taking each of the following steps. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved.
    2. Follow the instructions in this support article under the heading "Symptom: The network connection drops unexpectedly."
    3. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    4. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    5. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    6. In some cases, the problem has been resolved by repairing permissions on the startup volume.
    7. Turn off Bluetooth and test.
    8. Reinstall OS X.

  • Why do i have to pair my bluetooth head phones every time I want to use them?

    Every time I want to use my Philips Bluetooth head phones, I have to unpair them and then pair them again. They say connected in blue tooth settings, but no audio is coming through.  Worked flawlessly with my RAZR Maxx. This is something I use a lot, and may make this phone a return.

        Yikes, I know how important it is to have the bluetooth working with out any issues, jwennrn. Are you still trying to use the bluetooth with the Droid Razr Maxx or with a different phone? Was there any new updates or applications that were downloaded when you noticed this problem started? Please keep us posted. I'm eager to work with you to get this working again.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

  • Why must I uninstall skype and download it again every time I want to use it?

    Why must I uninstall skype and download it again every time I want to use it?

    Hi Eva,
    did you use https://helpx.adobe.com/au/contact.html 'till you could see this?
    to get this phone number
    naturally with your name not mine and did you use "What are my options? >>> https://helpx.adobe.com/au/contact/what-contact-options.html"?
    Be that as it may, I'll send a message to one of the motivated and technically experienced member of the staff, who will contact you shortly, I'm sure.
    Good luck!
    Hans-Günter

  • I see error 1009 every time i want to use apple store.whats that ?

    i see error 1009 every time i want to use apple store.whats that ?

    it means you are trying to use the app store from a country that you are not in

  • Why do I have to sign in every time i want to read

    Why do I have to sign into iBooks  every time I want to read, especially if I'm in the middle of a book.

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
              Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • Had problem downloading Elements 13 so used the live chat - advisor downloaded a trial version, even though I've paid for full version. I now have to enter the serial number every time I want to use PE 13. Any suggestions?  Many thanks

    As above, live chat advisor downloaded PE 13 as I couldn't get it to work - but it turns out to be a trial version, even though I had already paid for full version.  I now have to enter the serial no every time before I can use it!  Any suggestions greatfully received!!

    Hi Sally,
    Kindly download 64 bit version from the link mentioned below.
    Download Photoshop Elements products | 13, 12, 11, 10
    Thanks,
    Atul Saini

  • My ATV will no longer stay connected to WiFi. Every time I want to use it I have to setup the WiFi from scratch!!!

    My ATV will no longer stay connected to my home WiFi network. Every single time I want to use it I need to set up WiFi from scratch all over again. I'm considering dumping it as my Roku box has no issues. I'm an Apple loyalist though and want the ATV for playing my large music collection.
    Any suggestions?

    It's a 1G ATV, 160Gig.
    The wireless is an Access Point w/WPA encryption and all DHCP is done by a remote wired router in a closet. Resetting each has had no effect on it. I don't see a setting anywhere on my ATV that I can change to turn off periodic standby mode.
    I actually replaced an Airport Extreme w/ this D Link AP & it's worked great for every other device. I had the exact same issue with the Airport Extreme although it seems like after the latest ATV SW upgrade, it does it every day. Previously it would only do it occasionally.

  • Why do I have to sign in to CC EVERY TIME I want to use a program? It takes HOURS per week.

    I need a program to work instantly, every time. Instead, I have to sign on, give my password EVERY TIME, and it winds up taking HOURS out of my work week.
    Why is this and how can I make it stop?

    Your mail site usually will set a cookie. So in order for the site to recognize you after you exit and restart Firefox, these things have to be true:
    * You are not vising your mail site in a private window
    * You didn't change Firefox's default setting of accepting persistent cookies from all servers (first party and third party)
    * You do not have Firefox set to clear cookies at shutdown
    * You have not installed any add-ons that clear cookies
    * You do not have any external cleaning/security/privacy software that clears Firefox cookies
    If you're not sure about your cookie settings, check out the Privacy panel of the Options dialog:
    orange Firefox button (or Tools menu) > Options > Privacy
    If you have "Firefox will: remember history" then cookies are accepted and retained.
    If you have "Firefox will: use custom settings for history" you can check your cookie settings below that line.
    If you have "Firefox will: never remember history" then you are going to be using full time private browsing and cookies are discarded between sessions.
    If cookie settings are okay, and you would like advice on your extensions, it would be helpful if you could post a list of them. Open the Troubleshooting Information page using either:
    * Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the upper left corner, click the Copy text to clipboard button, then paste into a reply.
    After previewing, you will see there is some extra information below the list of extensions that you can edit out if you like.

  • I have Creative Suite 6--every time I try to use Photoshop, I have to enter my serial number--WHY?

    Everytime I try Photoshop I have to enter my serial number--not so with the other apps--how can I avoid this?  The window says "Your Trial Has Expired" and asks me to join Creative Cloud which I don't want to do!  So I click on "License this software" and enter the serial number and go to Photoshop--but every time??????????

    Close out all Applications (Adobe and non-Adobe … probably since Adobe ties into everything via Acrobat)
    Navigate to: C:\Program Files X (86)\Common Files\Adobe\Adobe PCD\
    Rename the “cache” directory to “cache-backup” (or anything else not “cache”)
    Start Photoshop CS6
    Click on “License This Software“ and enter your serial number

  • Why is it I have to install adobe every time i want to print?

    Why do I have to downlaod adobe some times when i want to download or open a file?

    And "Adobe" meaning what? On what system?
    Mylenium

Maybe you are looking for

  • AttachCurrentThread hangs after a few calls in a Apache2 PHP5 Extension

    Hello everybody, I have created a small C Library/API that calls with JNI a simple Java class with a few methods to work with a underlying Java Framework (Carrot2). That JVM/JNI code functions some kind like a bridge between C and Java. In a single-t

  • My imac has suddenly stopped connecting to the internet

    When I restart mac it connects to the internet through my personal wifi network for a couple of mins before losing connections it then cannot find any wifi networks all other devices are working fine and do not have any connection issues. Any advice

  • Link to Purchase URL from my website

    Normally apps are purchased by the user downloading the app and clicking the "Get License" button. However, If a user wants to purchase my app from my web site, can I send them to the Adobe Marketplace purchase page for my app? https://buynow.adobe.c

  • UIDFolder.getMessageByUID(UIDFolder.LASTUID) throws A4 BAD Could not parse

    I get a Folder from an imap store like this           Properties props = System.getProperties();           props.setProperty("mail.store.protocol", "imaps");           Session session = Session.getDefaultInstance(props, null);           Store store =

  • Forum

    When Entering or replying to a question 1. The TAB Key does not work 2. Cut and Copy Do not work 3. Delete key does not work (not backspace) 4. Cannot search successfully on mulitple word query "COLUMN HEADER TOOLTIP" 5. Search results vague, if I se