Setting ALSA sound card system wide (rather than just in KDE)

Hi,
I've got an HTPC with an ATI Radeon HD 4350 graphics card running Arch x86. It has its own integrated sound card for outputting audio via HDMI, which is detected by ALSA as a separate device. I've managed to set it as the default audio device in KDE 4 (via System Settings). This allows applications such as Amarok and SMPlayer to properly output audio to the HD 4350's integrated sound card, but software such as Flash and MPlayer (from the command line) are still outputting audio to the motherboard's built-in sound card. How can I change this setting on a system-wide level? I've tried running alsaconf as root and adding
pcm.!default {
type hw
card 2
device 3
to ~/.asoundrc; I got the card and device numbers from aplay:
[htpc@exia ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
Here is the output from MPlayer when I try to play a video, complete with errors regarding audio:
MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
137 audio & 296 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /tmp/FlashmvWXPy.
libavformat file format detected.
[flv @ 0xac7d250]skipping flv packet: type 18, size 294, flags 0
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [H264] 854x480 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '2'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[JACK] cannot open server
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '2'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 854 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 854x480 => 854x480 Planar YV12
Thanks!
Last edited by w1ntermute (2009-06-28 18:40:03)

whoops wrote:Do you use the motherboard sound-card?
No.
whoops wrote:If not - did you try just turning it off in bios (or blacklisting the driver)?
No, I haven't tried that. I'll give it a shot. Thanks for the tip!
Last edited by w1ntermute (2009-07-02 18:11:53)

Similar Messages

  • Notifications user system GUID rather than ID Defined in XML

    I've been working on creating, and sealing a set of management packs that anyone could import and use, and I've hit a bit of a snag. There are a number of things in the management pack that seem to be expressed using a system GUID rather than the ID defined
    in the management pack. To give an example, inside one of the management packs there is a template named  with the ID "Template_2189ec1298d647a5b971c5429e72a04e". When this template is referenced by a notification workflow, the workflow uses
    a system GUID to reference it instead. It seems as though, when a management pack is imported, the system creates all of the objects within in, so these system GUIDs are not the same and cannot be predicted. I'm having the same issue with Support Groups and
    other things as well.
    In the definition of my Notification Channel for example, one of the workflow parameters is the TemplateID the notification should use to sent the alert (Note <Item>):
    <WorkflowArrayParameter Name="TemplateIds" Type="string">
    <Item>Template_2189ec1298d647a5b971c5429e72a04e</Item>
    </WorkflowArrayParameter>
    The alert is also dependent on Support group (note the <value>):
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <Property State="Post">$Context/Property[Type='WorkItem!System.WorkItem.Incident']/TierQueue$</Property>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value>{cd712f91-a26b-8ff8-133d-36f9f4b40d46}</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    I built my management packs, and tried to move them to a new system, they imported no problems now that I've sealed them, but when I went in and looked the template for the notification channel was blank, and since the management pack is sealed now, I can't
    change it. I thought it was odd, so I referenced my XML, and I used this to get the ID of all the templates, and I noted... now they all seem different now that I've imported them into the new system:
    foreach ($template in (Get-SCSMObjectTemplate))
    echo $template.Id
    echo $template.Name
    echo $template.Description
    I realized, when you import the management pack the first time, it must created GUIDs for all these things... is there a way to within the management pack reference the ID I can define, rather than the system GUID that's impossible to fix? I'm going to look
    into writing a script that uses smlets to correct all this information and update the MP once it's been imported the first time, but that seems like a bit of a hack, there must be a way to do this? Anyone find elegant solutions to this problem that didn't
    involve writing a fancy installer script for their management packs?

    I'll give that a try, I tried just the MP reference and the error it gave complained it expected a GUID in a particular format.
    A bunch of them are notifications that notify "affected user" or other internal references, that shouldn't need to change, the ones that go to people, or groups will have to be in an unsealed management pack. Initially, my goal was just to try
    to get as much as I could into a few management packs as possible to avoid having a large amount of management packs, more it's just looking like this isn't possible.
    I'm looking at breaking things down like this:
    Incident Customizations
    Incident Customizations Overrides
    Service Request Customizations
    Service Request Customizations Overrides
    Work Item Customizations (storing some things common to all work items, like urgency)
    Service Catalog
    Notifications
    So, my initial hope was to avoid splitting out ROs and SOs, putting any changes that need to be made quickly into the Override MPs. What this means, is that my solution can be implemented, and then customized without making changes to the core MPs directly
    in PRD, then I have a promotion process. I dislike changing things in PRD on the fly, and would prefer a solution that forced people to use a promotion process, but it's looking like with Notifications, ROs, and SOs, it's just not possible.
    Regardless of whether I'm going to seal this management pack or not, I'd like to avoid manually fixing every single Notification, or anything that references one of these internal GUIDs every time I implement this in a new system, since the possibility is
    totally there for the MP name to be used instead, I'm confused why that isn't the default behavior.

  • How do I configure my Software limits to Kill a motor, rather than just halt the motion?

    I am running on board programs. I have my software limits enabled. Occasionally, my program corrupts and I hit a software limit. The motion stops by halting the motors, but they are still on. As a result, the on board progam kicks in again, and the motors start back up again. Depending upon the program, this can lead to very dangerous results.
    How can I set the software limits such that they kill the motors, rather than just halting them?

    You will need to poll the status of the software limits (using the Read Limit Status VI, limit type inptu set to software limits). Once the status is True, such that the software limit has been tripped, execute a Stop Motion VI, with the Stop type input set to Kill.
    This example program uses these two VIs, but you will need to modify it for your own application in the way I mentioned above:
    Finding the limits of a Motion System
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EAB756A4E034080020E74861&p_node=DZ52468&p_source=External
    Regards-
    Julie S
    Applications Engineer
    National Instruments

  • Can you view a whole year in iCal, rather than just day, week, month?

    Does anyone know if there is a plug in or something (alternative app. even) that allows you to view the whole YEAR rather than just a month at a time? I want something that will function almost like a wall planner.

    I asked this question about two years ago! I'm surprised we still can't print a year calendar. I've been using an Apple Calendar program from 1996, which was fun because I could add icons, and frames, etc. I was using it up until last week when I installed Leopard. Gone is Classic and my calendar program along with it!
    Another problem I've had with iCal is the inability to print it in portrait mode. There was a work around on these boards that worked, but doesn't now. Sigh

  • Why does iPhone rate whole album when it syncs to iTunes rather than just single song sometimes?

    I wasn't sure if this should be an iTunes or iPhone discussion, so here goes!
    I am very particular about rating my music.  Every day at work, as songs play on my iPhone, I give them a star rating.  This star rating then transfers to iTunes when I sync my phone.  Most times, these ratings go through just fine.  Sometimes, however, rather than just rating a single song with three stars on an album...  It'll give the whole album in iTunes three stars.  (Three stars is just an example.)
    What I mean is that if viewing an album list, the album rating will be hard coded per se on the left and give all the songs three stars even if I never listened to / rated them.  I can then click to remove the rating on the album on the left, and the unrated / unplayed songs will lose that hard coded rating and return to no rating.
    What am I doing wrong?  Lol.  It drives me crazy!  Once a month I view all my albums as a list so I can remove the hard coded ratings.  There are usually six or seven albums that'll have it.  I do nothing different on the iPhone that I am aware of.
    Has anyone else experienced this situation or have a solution?  I'm on an iPhone 4S, latest software.  This also occurred with my iPhone 3GS
    Chris

    Still an issue, Apple.  iPad with 5.1.1 and I have the same issue.  There doesn't appear to be a way to rate a single song.

  • How do I see the charts for all countries rather than just my own country simultaneously in iTunes? The album chart...

    I produced a song on Lecrae's new album, Gravity, "Higher" f/Tenth Ave North, which is #1 in the US today upon its release. But I've heard that it also topped charts in other countries as well, and do not know how to adjust the Top Album Charts view to show me the top 10 albums in each country rather than just in the US. I've done it before, but over a year ago when Rehab: The Overdose dropped, but can't recall how I did it. Please help! Thanks and God bless...

    I agree that this does work.  Thanks.
    However, I now have the issue that I scroll the whole screen down to show the shows at the bottom.  When I highlight the last show, the 10 shows are not visibile as they are at the top of the screen.  I have to scroll the whole screen back up to the top to see episodes.
    This is not the most elegant solution but at least with lots of double scrolling, it is possible.

  • OT: Did you know you can change your profile to show your real name, rather than just your Adobe ID?

    I realize this is off-topic for this particular forum, but I hope it may help some readers. Since this forum is "where I live" in the Adobe forums, I wanted top share it here first. Perhaps after some feedback to refine things, I may post it elsewhere (another forum perhaps, and/or my blog).
    As I was answering a question from someone, finding myself again able only to refer to them by their brief Adobe ID (which often seems to have no connection at all to their name), I wondered:
    Do people realize that they can change their forum identity so that their real name (or whatever other identifying info) shows up rather than just their brief Adobe ID? It's just that some folks would much prefer "talking" with someone by refer to them by their real name (or at least something more than just their Adobe ID).:-)
    I suppose some may choose intentionally to remain “relatively anonymous” with just that ID to identify them, but I think many more simply don't know that they *can* change what's shown. You can. But it seems we can't do it inside the forums software itself.
    Instead, we just need to modify our "Adobe account" to associate a name with our ID (which of course could have benefit in other places where our names might be used).
    You can do by going to https://www.adobe.com/account.html, then choose “My Information” (and login if prompted). Then, on the page shown, under the section “My Personal Profile” you can fill in the first and last name fields. (You can also your password here, and it seems even your username.)
    It may be possible that after making that change, you would need to sign out and back into the forums (forums.adobe.com) for the change to be picked up, but if it is, you should then see "Welcome [your name]" in the top right corner of the forums page, if it's worked.
    And now any forum messages you create should have that name at the top of the message when people read it, and it would also be in the FROM address if people receive it as email (note we're NOT talking about your email address. That is never shown. If people reply to forum messages received by email, the reply goes back to a generic forum email address.)
    Hope all that's helpful to someone.
    BTW, I had done the change myself a long time ago, so I'm retracing these steps now for others to do it. If you try it and can confirm that it works, please drop a note here. Thanks.

    It works, thanks!

  • Should I reformat rather than just restore.  If so how do I reformat?

    I can't synch or manually transfer more than 100 songs to my Itouch.  It's a Third Gen 32G.  At one point I had over 1,000 songs on it.  My pictures are also distorted.  I've tried restore several times, I've been to the Apple store and followed their directions and have scoured these forums and nothing works. It looks like the device is hoplessly confused and can't synch or hold anything.  Rather than just restore do I need to reformat the device through the PC?  The Itouch was been working fine until I  tried to sych an audio book by mistake and that folder was empty.  Any help would be appreciated, I've been working on this for about 2 weeks and am unable to come up with a solution. I keep hoping maybe it's just one checkbox in ITunes that needs to be clicked on......

    There is no reformat.
    Restore as new is the closest thing.

  • Where do I get the download from iTunes button art, rather than just stealing from someones site

    where do I get the download from iTunes button art, rather than just stealing from someones site

    Interesting. It looks to be available from the iTunes Affiliates resources for everyone:
    Affiliate Logo Guidelines and Art
    ... although it also says you ought to be an affiliate to actually use it.
    It might be worth checking in with Apple Legal to see what the requirements are for using it, first. Here's contacts:
    http://www.apple.com/legal/contacts.html

  • Client wants social links to "share" rather than just link to... how do I or can I do this with Muse

    client wants social links to "share" rather than just link to... how do I or can I do this with Muse

    Thanks. do the others (twitter, pinterest...) have separate codes available? This is what my client is asking for:

  • Setting default sound card to card 0

    Hi,
    After following Arch Wiki for configuring Alsa I added the following to my /etc/asound.conf:
    efaults.pcm.card 0
    defaults.pcm.device 0
    defaults.ctl.card 0
    This works on my current session. However, sometimes when I reboot my computer, my primary sound card that my speakers are connected to, becomes card 1 and I have to update this setting to get my sound card working. Also, noticed that Chromium always look for card 0. That is, if my primary sound card is detected as card 1, I won't be able to play videos on youtube, neither using Flash or HTML 5.
    Any idea how I can dictate my system to set my primary sound card as card 0?
    Last edited by mohtasham1983 (2012-06-03 00:13:04)

    If both soundcards use different modules you can use e.g.
    #/etc/modprobe.d/sound.conf
    options snd slots=snd-hda-intel,snd-cmipci
    or
    #/etc/modprobe.de/sound.conf
    options snd-hda-intel index=0
    options snd-cmipci index=1
    which both do the same.
    If both soundcards use the same module you have to do something like
    options snd-hda-intel index=0,1 id=SB,HDMI
    (See modinfo of your sound module for suitable parameters like id, vid, pid, etc)

  • [Solved] Alsa Sound Card Numbering Not Persistant Between Boots

    Hello,
    I'm having trouble with alsa and my multiple sound cards. Sometimes when I boot, I get the following output from "aplay -l"
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    However, I also see this after other boots:
    **** List of PLAYBACK Hardware Devices ****
    card 1: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Because the card numbering is not consistant, I'm having a great deal of trouble (if the card is 0, then I don't need an asoundrc, but if it's 1, I do). It also breaks my volume panel applet for the alsa card number to often change (volumeicon - from the AUR). Is there a way to force a certain device to always be card number 0?
    Thanks for any help.
    -Sean
    Last edited by szim90 (2012-01-15 02:01:54)

    Thank you for your response, karol.
    I ran 'udevadm info -a -p /sys/class/sound/card1/' as was able to get the following information:
    looking at device '/devices/pci0000:00/0000:00:14.2/sound/card1':
    KERNEL=="card1"
    SUBSYSTEM=="sound"
    DRIVER==""
    ATTR{id}=="SB"
    ATTR{number}=="1"
    looking at parent device '/devices/pci0000:00/0000:00:14.2':
    KERNELS=="0000:00:14.2"
    SUBSYSTEMS=="pci"
    DRIVERS=="snd_hda_intel"
    ATTRS{vendor}=="0x1002"
    ATTRS{device}=="0x4383"
    ATTRS{subsystem_vendor}=="0x1458"
    ATTRS{subsystem_device}=="0xa102"
    ATTRS{class}=="0x040300"
    ATTRS{irq}=="16"
    ATTRS{local_cpus}=="00000000,0000000f"
    ATTRS{local_cpulist}=="0-3"
    ATTRS{numa_node}=="0"
    ATTRS{dma_mask_bits}=="64"
    ATTRS{consistent_dma_mask_bits}=="64"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
    I'm completely new to writing udev rules; would the proper procedure be to write something like this:
    DEVPATH=="/devices/pci0000:00/0000:00:14.2/sound/card*" ATTRS{number}="0"
    or will that happen too late in the boot process (after the card has already been assigned a number)?
    Perhaps it would be easier to work through alsa itself? I know I can get sound consistantly by calling out the card in asoundrc:
    pcm.!default { type hw card SB }
    ctl.!default { type hw card SB }
    But this seems to disable dmix (software mixing). Is there a way to re-enable dmix from the asoundrc (and would that be easier than trying to work in udev)?
    Regards,
    Sean

  • How to set default sound card?

    Every time I start up my mac, I have to go the system pref -> sound and select my firewire sound card.
    My question is there a way to select a sound card and make it default so I don't have to do this procedure over and over again?
    Your help is appreciated!
    Yosemite Away!

    I suspect the reason is that the system sound card is selected before FW is even active. But it would be better to ask the maker of the FW card if it's possible to change this so the setting is sustained through restarts.

  • Cannot set default sound card properly

    Hello, i cant manage to set the default sound card properly.
    The card i'm using is the default pch from my motherboard :
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 10: HDMI 4 [HDMI 4]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 11: HDMI 5 [HDMI 5]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
    hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
    hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
    default:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
    sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front speakers
    surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
    hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
    hdmi:CARD=Generic,DEV=1
    HD-Audio Generic, HDMI 1
    HDMI Audio Output
    hdmi:CARD=Generic,DEV=2
    HD-Audio Generic, HDMI 2
    HDMI Audio Output
    hdmi:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 3
    HDMI Audio Output
    hdmi:CARD=Generic,DEV=4
    HD-Audio Generic, HDMI 4
    HDMI Audio Output
    hdmi:CARD=Generic,DEV=5
    HD-Audio Generic, HDMI 5
    HDMI Audio Output
    When i try :
    speaker-test -D default:PCH -c2
    speaker-test 1.0.28
    Playback device is default:PCH
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 2048 to 16384
    Period size range from 1024 to 1024
    Using max buffer size 16384
    Periods = 4
    was set period_size = 1024
    was set buffer_size = 16384
    0 - Front Left
    1 - Front Right
    I hear sound, but i cant found to make it the default output.
    I've tried to change /usr/share/alsa/alsa.conf :
    defaults.ctl.card 0
    defaults.pcm.card 0
    to
    defaults.ctl.card 1
    defaults.pcm.card 1
    and I've tried to make a .asoundrc file in my home :
    pcm.!default {
    type hw
    card PCH
    ctl.!default {
    type hw
    card PCH
    doesn't work either, what am i doing wrong ?
    Thanks in advance,

    Ok, after a lot of try-and-error-and-reboot, i found that the default card is correctly defined ("aplay test.wav" works), but others applications (vlc, chromium) still did not produce sound.
    Apparently, the problem came from pulsaudio, after i removed it, everything seems to work (sound is back on vlc and chromium), not sure what the problem with pulseaudio was.

  • How to set iPhoto to use yahoo webmail rather than mail.app

    When emailing from within iPhoto using the email icon or via the share menu option in the task bar, mail.app launches. I prefer to use (Yahoo) webmail, rather than use an email client, so how do I change this setting?
    Thx in advance.

    Mansel
    Simply: you can’t, I’m afraid. This feature requires an E-Mail Client that supports Apple Script. Yahoo Mail is a service (not an client) that’s accessed via a Web Browser and it’s not Apple Scriptable.
    FYI:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 Only*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and 10.5* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

Maybe you are looking for