Setting the default ALSA Sound Device, wiki methods not working?

Hi!
I want to set my default audio device different from the current one, namely different from my default laptop analog output.
My laptop has two outputs, analog and HDMI, however, IF it is connected I want my default audio output to be my USB Dac.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0x262a0x10e1 [USB Device 0x262a:0x10e1], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0x262a0x10e1 [USB Device 0x262a:0x10e1], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
alternatively, it is also okay for the default to be set at boot time, as i shutdown my laptop when changing setups.
i tried the method with an alsa-base.conf file in /etc/modprobe.d/ and also the /etc/asound.conf file.
with the alsa-base.conf file, I get error msgs when executing even aplay -l, while the asound.conf method gives me:
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
Playback open error: -19,No such device
my asound.conf:
pcm.!default {
type plug
slave.pcm {
@func getenv
vars [ ALSAPCM ]
default "hw:0x262a:0x10e1"
has anybody an idea on how to possibly fix this?
thanks a lot !

Thanks for the link you posted.
Unfortunately, i don't really get the advice posted there...
I figured out one thing by myself though, in my asound config the name of my DAC was wrong, I missed an 'U' in the front.
Still, I am not sure why i even have to do any config at all, really. Or maybe my expected behaviour is not the default.
I think of it like that: always use my laptop output as default, however: IF i plug in another audio device, it's got to have a reason why i plugged it, so change the default to the newly plugged in device.
Is there a way to do that?
ps. eg now it got somehow f'd up and i have TWO default devices. no idea how it did that/how that's possible.
aplay -L:
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, CX20590 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, CX20590 Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, CX20590 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, CX20590 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, CX20590 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, CX20590 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, CX20590 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
sysdefault:CARD=Audio
SA9023 USB Audio, USB Audio
Default Audio Device
front:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
Front speakers
surround40:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Audio,DEV=0
SA9023 USB Audio, USB Audio
IEC958 (S/PDIF) Digital Audio Output
therefore, mpd cannot play, neither can anything else besides apps which let you specify audio devices on the fly...
Last edited by replax (2013-11-15 23:02:40)

Similar Messages

  • I am needing to set the DEFAULT Print to be ACTUAL SIZE not FIT.  I need this to be the DEFAULT SETTING for the program.

    I have a couple users using Acrobat XI Pro and when they print a PDF it is shrunk to 96.08%.  I need to find a way to set the DEFAULT Setting to be Actual Size.  We are a Law Firm and the Document Numbering is being cut off from the docs due to the Shrinking.
    Has anyone had any experience in changing the DEFAULT settings of the Print Window? Can you please pass along any knowledge on how to accomplish this?  Thanks for your time and replies.

    Acrobat and Reader's Fit and Scale functions are "sticky".
    From the Print Dialog > Page Size & Handling
    Any option you choose will remain active for all subsequent documents.
    (Some features remain active until the program is quit/restarted)
    Choose Actual Size
    Do not change the selection, it will retain the setting.

  • Setting the custom master page through powershell is NOT working

    Hi,
     I am writing the below code to set the  custom master page through powershell.
    But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is available in the dropdown.
     Can anyone pls help, whether i am missing in the below :
          Add-PSSnapin Microsoft.SharePoint.Powershell
           $SiteURL = "http://srvr1:22307/sites/SPW5"
        $weburl= $SiteURL
        $Site= Get-SPSite $SiteURL
        $web =  $Site.OpenWeb()
    $web.CustomMasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.MasterUrl = "/_catalogs/masterpage/myMasterpage.master"
    $web.Update()
    Das

    Hi,
    Is it a publishing page? If yes can you try the PowerShell scripts corresponding to the following code snippet?
    var publishingWeb = PublishingWeb.GetPublishingWeb(web);
    publishingWeb.CustomMasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.CustomMasterUrl.SetValue(masterPageUrl, false);
    publishingWeb.MasterUrl.SetInherit(inheritFromParent, false);
    publishingWeb.MasterUrl.SetValue(masterPageUrl, false);
    I've noticed sometime (not sure though) that Master page doesn't get updated if the inherit property is not updated first.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Setting the: signed.applets.codebase_principal_support to true is not working ( keeps asking to set it to true)

    i've Set the Boolean string to true but when i try to copy paste in firefox it just gives me the message again
    ( you need to set the signed.applets.codebase_principal_support to true )
    Is this a know bug ?
    thanks.

    Try this extension - Allow Clipboard Helper: <br />
    https://addons.mozilla.org/en-US/firefox/addon/852

  • Setting up Apache Tomcat - information in Wiki do not work!

    Hello there,
    I wanted to install Apache Tomcat on my Webserver, but was not able to follow the wiki entry in http://wiki.archlinux.org/index.php/Tomcat_and_Apache.
    Installing Tomcat via pacman was not a problem. Then, the first problem came up:
    Edit /etc/conf.d/tomcat. Change CATALINA_USER to some user that suites your system (like "nobody")
    My default /etc/conf.d/tomcat looks like this:
    # Arguments for catalina
    #CATALINA_OPTS=
    There is no CATALINA_USER entry. Adding one didn't help anything.
    modprobe capability gives me
    FATAL: Module capability not found.
    and trying to start tomcat with /etc/rc.d/tomcat start tells me
    :: Starting Tomcat [BUSY] 06/03/2010 14:04:13 31786 jsvc error: Cannot locate Java Home
    [FAIL]
    Ok. Adding JAVA_HOME to /etc/conf.d/tomcat and setting it to /opt/java (which is my Java home) did even take no effect.
    What am I doing wrong, how can I get it to run?
    Thanks in Advance,
    beachcoder

    The package 'openjdk' installs to /usr/lib/jvm/java-6-openjdk
    but the package 'jdk' installs to /opt/java
    This is a problem, as the wiki is written assuming jdk (rather than openjdk) really, they should install to the same place to avoid confusion (and both openjdk and jdk conflict, so you can't install them both at the same time)
    If you're using openjdk, replace $JAVA_HOME in /etc/rc.d/tomcat with /usr/lib/jvm/java-6-openjdk
    if you're using jdk, it should be /opt/java
    hope that helps
    Last edited by SyXbiT (2010-03-10 07:05:30)

  • Expert Mode ViewObject: default 'query by example' mechanism does not work

    In JDeveloper 11G 1.1.1
    I have created an Expert Mode view object(VO) which I'm trying to filter in an ADF Swing Panel
    The Panel contains a Swing Table created by dropping a VO data control on the panel as an ADF bound Swing Table.
    TEST
    Run the panel.
    Set the Query Mode on (from the Database menu)
    Enter a relevant view criterion
    Execute the Query
    TEST FAILS
    Table is refreshed but it still displays the entire VO collection (non-filtered).
    Repeating the same experiment with a default, entity object generated VO works as expected.
    Question
    Can the default 'query-by-example' mechanism as provided by the JUTestFrame and the JUNavigationBar be used with Expert Mode view Objects?
    If yes are there any tricks to making this work?

    Hello Frank;
    Additional TEST RESULTS
    In JDev11G
    The default 'query by example mechanism' does not work if you create a new View Object using the <Select data source...> option <Read-only access through SQL query>.
    However, IT DOES WORK if you create a new ViewObject selecting <Updatable access through entity objects> and in the Query step you select <Expert Mode>
    Could you please check and confirm.
    Thanks!
    Ioannis
    Edited by: imouts on Dec 5, 2008 1:38 PM

  • How do I set the default file path for the Place command?

    I keep my graphics files for each document in a particular folder. Every time I open an existing InDesign document and place a new image I have to browse back to that location - even though all of the previous images in that document came from the same folder. InDesign does not remember the file path that was used previously in the document. This is very annoying.
    IS THERE A WAY TO SET THE DEFAULT FILE PATH, OR LOCATION, FOR IMAGE FILES?
    I have looked through the preferences, searched the forums and internet, but I have not found any reference to setting default paths. Is there a setting like the one in MS Word called "File Locations" on the Options toolbox?
    Thank you.

    Since you're working in ID on Windows, you can take advantage of a neat trick in Windows. Copy the file path out of the File Explorer address bar and paste it directly into the Place filename field. That will jump you directly to the desired volume. For example, let's say I want to place a graphic located at X:\PS Jobs\May PS\709672bp\Working Source Files\Links. I copy that entire path from the File Explorer address bar, go to InDesign, select File|Place, and press Control + V to paste that path into the filename field. I press the Open button and Shazam! I'm there instantly, without a bunch of navigation.
    You can do the same thing in the File|Save As and File|Export fields. Let's say you want export a PDF file from InDesign to the volume X:\PS Jobs\May PS\709672bp\Working PDF Files. First copy the desired file path from the File Explorer window. In InDesign, select File|Export, click anywhere in the filename field, and press the Home key to move the insertion point to the front of the filename. Press Control + V to paste that path in front of the filename, then add the backslash character (\). The filename will now look like this: X:\PS Jobs\May PS\709672bp\Working PDF Files\Filename.pdf. Press the Save button to bring up the Export Adobe PDF window. Select your desired PDF preset, press the Export button, and the PDF file will magically appear in the desired volume.
    This sounds really complicated, but it's not. In practice, it only takes a few seconds. I probably save an hour's worth of needless navigation every day with this technique.

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • Does anyone know how to change where incoming (via mail) calendar requests go on my MacBook? Mine insist on going to Entourage, which I don't use any more. I've tried setting the default calendar in iCal preferences. Doesn't help. Bugs me. Can you help?

    Does anyone know how to change where incoming (via mail) calendar requests go on my MacBook? Mine insist on going to Entourage, which I don't use any more. I've tried setting the default calendar in iCal preferences. Doesn't help. Bugs me. Can you help?

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • [svn:osmf:] 13942: 1. Set the default value of _manualSwitchMode back to false

    Revision: 13942
    Revision: 13942
    Author:   [email protected]
    Date:     2010-02-02 13:02:47 -0800 (Tue, 02 Feb 2010)
    Log Message:
    1. Set the default value of _manualSwitchMode back to false
    2. Remove the setter of client property and change relevant methods/properties.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as

    i have tried this but this is not working.
    follwing code working for Null case not for False
    vcr.setAttribute("Marked","is null"); this code display all rows who has null but when i checked any row and then unchecked so that row get value "false" also not display.

  • Can I set the default locale for jvm

    Hi,
    Can I set the default locale for jvm?
    How to do it?
    Pan

    My windows default locale is chinese .I have thought of your opinion. But in
    windows nt , if I change the locale , all the environment will be
    destroyed(just like reinstall it , it's difficult for me) . So , Is there
    any other approach?
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Did you try to change the locale in the Windows control panel?
    (Control panel -> Regional Options -> Your locale)
    Pan YangBin <[email protected]> wrote:
    I have tried changing this system property and other properties such
    as -Duser.language=en -Dfile.encoding=Cp1252 , but all these properties
    did
    not changed, you can get this infomation from the log file .Maybe these
    system properties are readonly.
    Thanks very much.
    Pan
    Chris Halstead <[email protected]> wrote in message
    news:[email protected]...
    Try adding -Duser.region=US to the java command line used to start
    WebLogic...
    -chris
    "Pan YangBin" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    The problem exists in my project still exist.That is it.
    When I did not set weblogic.jsp.encoding to GB2312 in my web
    application(web.xml), and when the jsp file contain's chinese , the
    output
    will be error(error chinese) .And when I did not set it , the output
    is
    correct, but when I use request.getParameter("SomeFormElement")(theelement
    inputed chinese), the return value is error(still chinese error).And
    when
    I
    am in windows nt english version and do not set this property, all
    these
    two
    problems dispear. And I try to compare the java files those were
    generated
    by weblogic from the jsp file , there is only two additional clause
    in
    the
    java file. That's it:
    ((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("GB2312");
    response.setHeader("Content-Type", "text/html; charset=GB2312");
    (the web.xml has <context-param>
    <param-name>weblogic.jsp.encoding</param-name>
    <param-value>GB2312</param-value>
    </context-param> to be set
    So, I think maybe it works well if I change the default locale toenglish.
    And unfortunately, your method is also failed.(I have to use weblogic
    in
    chinese environment)
    Would you please help me to solve this problem?
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Try java ... -Duser.language=en ...
    or mode con cp select=437 in the command prompt before running
    weblogic.
    Pan YangBin <[email protected]> wrote:
    I'm using weblogic server 5.1 sp6 in chinese environment, and I
    want
    weblogic compile my jsp with en_us locale . So I can't use
    Locale.setDefault(new Locale(...)) to set the default locale ,butI
    really
    want someway configure.
    Pan
    Dimitri Rakitine <[email protected]> wrote in message
    news:[email protected]...
    Locale.setDefault(new Locale(...)) ?
    Pan YangBin <[email protected]> wrote:
    Hi,
    Can I set the default locale for jvm?
    How to do it?
    PanDimitri
    Dimitri
    Dimitri

  • Can I set the default version of DIAPI?

    I have got a problem,that is when I develop an addon via DIAPI 2005,the addon can work in SAP Business One 2005 normaly.but when I install a SAP Business One 2007 client in a other PC,though the PC installed DIAPI 2005,the addon can't work.
    The reseaon maybe is that the addon used DIAPI 2007. and now ,can I set the default version in my addon,so that the addon can work on DIAPI 2005?
    Thank you.

    Hi,
    I have not heard of any method to have a default version..
    Vasu Natari.

  • In mini bridge how do I set the default view to the filmstrip?

    Hello,
    In mini bridge how do I set the default view to the filmstrip?
    Thank you.

    Mark, there's a very basic .NET method on every nullable object:
    GetValueOrDefault
    EDIT: Now I see...please avoid duplicating
    questions...
    To be clear:
    Put GetValueOrDefault on every nullable field used inside your 'TotalDue_Compute' sub
    You don't need to define 'TotalDue' as Nullable anymore

  • Can i change the default alarm sound on Iphone 4s

    Can the default alarm sound be changed for new alarms. My mother got an Iphone 4s recently and she can use Siri to set alarms for her, however the default alarm sound is always chosen and that is just not a loud enough sound. And it takes a some messing about to change the sound of the alarm and my 60 year old mother has trouble with changing it.
    Is there any way i can make it change perminently, any help would be much appriciated.

    The default alarm sound is the last sound you used.

  • Hi there,both my uncle and i are using iphone 5 that runs on 6.1.2 whenever i send or receive tweets i'am not getting the twitter default sound,i'am getting tri-tone sound.My uncle however would get the default twitter sound whenever he sends or receive.W

    Hi there,both my uncle and i are using iphone 5 that runs on 6.1.2 whenever i send or receive tweets i'am not getting the twitter default sound,i'am getting tri-tone sound.My uncle however would get the default twitter sound whenever he sends or receive.What's up with that?

    Check: Settings - Sounds - Tweet - Set to your preference.

Maybe you are looking for