04-configNVIDIAasoundrc.sh

XBMC 10.00 Beta3 introduces something new: The /etc/xbmc/live.d/ configuration directory. This directory contains a couple of scripts which all will be executed at boot time. A special one is the “04-configNVIDIAasoundrc.sh”.

This script will automatically generate an .asoundrc configuration script to provide triple audio output for Nvidia ION users. It relies however on a list with known devices:

if [ -n "$NvidiaHDMIFirstGen" ] ; then
        # "VT1708S Digital"
        # "ALC662 rev1 Digital"
        # "ALC1200 Digital"
        # "ALC662 Digital"
        # "ALC889A Digital"
        # "ALC888 Digital"
        # "ALC887 Digital"

And for Nvidia ION2 users:

if [ -n "$NvidiaHDMISecondGen" ] ; then
        # "ALC887 Digital"
        # "ALC888 Digital"

For first gen Nvidia ION users the output of the following is very important:

lspci -nn | grep '0403' | grep '10de:0ac0'

Second gen Nvidia ION users will have to look at this:

lspci -nn | grep '0403' | grep '10de:0be3'

The script will have a look at the output of: lspci -nn. Ït will try to match the results with the list of known devices. If a combination is found the triple audio output will be configured and a .asoundrc file will be generated and saved in the userdir of the xbmc user. If you want to be sure, run lspci -nn | grep ’0403′, see if you’re a first or second gen nvidia ion user. Look at the list with devices and see if there’s a match.

The 04-configNVIDIAasoundrc.sh is included in both versions of the livecd’s (from xbmc.org and xbmcfreak).

Comments

  1. DragonFly says:

    Ok, begrijpelijk, echter in mijn geval draai ik op een Fujitsu Siemens Scaleo E. Deze heeft een 7.1 analoge audio-chip/Digitaal SPDIF gebaseerd op de ALC880 TEZAMEN met een Geforce 210.

    De Geforce wordt herkend door “lspci -nn | grep ’0403′ | grep ’10de:0be3′”. De ALC880 niet. Dit is natuurlijk duidelijk omdat deze niet in het script voorkomt terwijl het wel degelijk een “juiste” audiochip is. Door deze gewoon toe te voegen in het script wordt ook keurig .asoundrc aangemaakt.

    Vraagje nu. Hoe kies ik voor triple audio output in XBMC. Ik neem aan dat daarme wordt bedoeld output via HDMI/Analoog/Digitaal tegelijk.

    Dien ik in de audio settings te kiezen voor:
    Audio Output: HDMI of Analoog of Optical/Coax
    omdan vervoltgens te kiezen bij
    Audio output device: Custom
    Custom audio device” Plug:multi of plug:both of pcm.hdmi_complete

    Of iets dergelijks????

  2. MWerts says:

    Hoi, al dat snap ik , wat me nu inderdaad nog steeds onduidelijk is wat stel ik in XBMC nu in om op een Zotac ZBOX HD-ID11, dus op alle uitgangen geluid te hebben. Dit gaat nog steeds niet goed, Muziek gaat nu over HDMI, en Films over de Digitale uitgang. Wat moet ik bij XBMC bij de 3 audio opties instellen..

  3. frameskip says:

    I have a Zotac IONITX-F-E, and the command gives:

    00:08.0 Audio device [0403]: nVidia Corporation MCP79 High Definition Audio [10de:0ac0] (rev b1)

    Is this supported in the script? I don’t see a match.

  4. Muzza says:

    Sorry, but will this give surround via optical and hdmi while at the same time down mixing to stereo via analog output?

  5. Ron says:

    frameskip :
    I have a Zotac IONITX-F-E, and the command gives:
    00:08.0 Audio device [0403]: nVidia Corporation MCP79 High Definition Audio [10de:0ac0] (rev b1)
    Is this supported in the script? I don’t see a match.

    Eigenlijk dezelfde vraag. (ik heb hetzelfde MOBO) Moet ik iets in het scriptje aanpassen? Ik heb momenteel geen geluid met XBMC 10.00 Beta3

  6. lenn says:

    @Ron
    Heb je de ‘mute’ uitgezet in de Mixer? (onder Programma’s bij de standaard Skin)

Leave a Comment

*