[livesupport-dev] more success with alsaconf
  • Vote Up0Vote Down importimport
    Posts: 0Member
    This is a multipart message in MIME format.
    --=_alternative 00385EA9C1256FFD_=
    Content-Type: text/plain; charset="us-ascii"

    On the Install CD test machine I've been able to correctly identify both
    sound cards installed, both the ymfpci and intel8x0 sound cards. What I
    seem to be missing in the tools provided is something that will let me
    easily switch outputs from one card to the other. Kmix doesn't seem to
    provide a mechanism to switch outputs, and neither does AUmix.

    I agree with Micz in his previous mail. What would be best is to have a
    single config page (even in CLI mode) that lets a user set which sound
    card will handle which outputs. This will be crucial for the config on the
    LS Studio, where the preview may be set to use some ganky old sound card
    (like the intel8x0s that seem to shipped with all motherboards these days)
    that , but the station output would go through a higher-end card.

    doug


    --=_alternative 00385EA9C1256FFD_=
    Content-Type: text/html; charset="us-ascii"



    On the Install CD test machine I've been able to correctly identify both sound cards installed, both the ymfpci and intel8x0 sound cards. What I seem to be missing in the tools provided is something that will let me easily switch outputs from one card to the other. Kmix doesn't seem to provide a mechanism to switch outputs, and neither does AUmix.



    I agree with Micz in his previous mail. What would be best is to have a single config page (even in CLI mode) that lets a user set which sound card will handle which outputs. This will be crucial for the config on the LS Studio, where the preview may be set to use some ganky old sound card (like the intel8x0s that seem to shipped with all motherboards these days) that , but the station output would go through a higher-end card.



    doug




    --=_alternative 00385EA9C1256FFD_=--

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 3 Comments sorted by






  • Douglas.Arellanes@mdlf.org wrote:
    cite="midOF47B4524B.613EE384-ONC1256FFD.0037E95E-C1256FFD.00385EB6@mdlf.org"
    type="cite">I agree with Micz in
    his previous mail. What would be best is to have a single config page
    (even in CLI mode) that lets a user set which sound card will handle
    which outputs. This will be crucial for the config on the LS Studio,
    where the preview may be set to use some ganky old sound card (like the
    intel8x0s that seem to shipped with all motherboards these days) that ,
    but the station output would go through a higher-end card.



    doug







    Yes ,  You are completely right, we had this in wish, and real list Smile
    .

    Of course that is crucial , because we can't let some random linux
    applications to change our settings for the main brand name audio card
    (master on-air signal for listeners) and on board audio card (the
    cheapest possible, for audio signals that are OFFLINE and not for
    listeners online).

    I can't imagine what can happen if settings are changed or don't have
    good separation.



    robert






    ------------------------------------------
    Posted to Phorum via PhorumMail
  • This is a multipart message in MIME format.
    --=_alternative 00419DADC1256FFD_=
    Content-Type: text/plain; charset="us-ascii"

    OK. We've played around with Knoppix's sound handling, and have found a
    couple of interesting things. Much of this will be apparent to you gurus,
    but comes as news to me.

    Attention conservation notice: As Akos puts it in the install notes, if
    you already know everything, skip these steps and go to the Conclusion
    part.

    The Install CD test machine has three sound cards:

    - Intel 8x0 (on the motherboard)
    - Yamaha AC97 (PCI)
    - SoundBlaster Extigy (USB)

    When you run alsaconf, the first thing it does is kill all sound
    processes. Then it goes through the detection process. But it somehow
    misses the USB card. Maybe I'm mistaken, but alsaconf also assumes that
    even if you have more than one card, you only want to enable a single
    card; there doesn't seem to be an alsaconf option for multiple cards.

    Sound card modules are passed to the kernel using the 'modprobe' command.
    But you have to know the name of the module you're passing. Luckily in our
    case we know it's called snd-usb-audio, so you do 'modprobe snd-usb-audio'
    to load the USB audio support module.

    One possibility is to create a file called load-snd-modules, which
    includes the names of the sound modules you want to load at boot time. In
    our case, the three would be:

    snd-ymfpci
    snd-intel8x0
    snd-usb-audio

    Conclusion
    But then we found something else interesting: these steps are totally
    unnecessary, because somehow ALSA does a detect at boot time and handles
    all supported sound cards.

    If you open Kmix with multiple sound cards loaded, you can choose between
    them in a pulldown menu on the upper right. This option does not appear if
    you have only one card loaded.

    So Knoppix detects and loads support for multiple sound cards. Now it's up
    to the Studio client and/or Station to assign which outputs to which sound
    cards.



    doug

    =============================================
    Media Development Loan Fund
    =============================================
    Douglas Arellanes
    Head of Research and Development
    Center for Advanced Media--Prague (CAMP)
    Na vinicnich horach 24a/1834, 160 00 Prague 6
    Czech Republic
    Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419
    Mobile: +420 724 073 364
    http://www.mdlf-camp.net
    http://www.campware.org
    =============================================
    http://www.mdlf.org
    =============================================




    Robert Klajn
    05/10/2005 01:18 PM
    Please respond to livesupport-dev


    To: livesupport-dev@campware.org
    cc:
    Subject: Re: [livesupport-dev] more success with alsaconf


    Douglas.Arellanes@mdlf.org wrote:
    I agree with Micz in his previous mail. What would be best is to have a
    single config page (even in CLI mode) that lets a user set which sound
    card will handle which outputs. This will be crucial for the config on the
    LS Studio, where the preview may be set to use some ganky old sound card
    (like the intel8x0s that seem to shipped with all motherboards these days)
    that , but the station output would go through a higher-end card.
    doug


    Yes , You are completely right, we had this in wish, and real list Smile .
    Of course that is crucial , because we can't let some random linux
    applications to change our settings for the main brand name audio card
    (master on-air signal for listeners) and on board audio card (the cheapest
    possible, for audio signals that are OFFLINE and not for listeners
    online).
    I can't imagine what can happen if settings are changed or don't have good
    separation.

    robert



    --=_alternative 00419DADC1256FFD_=
    Content-Type: text/html; charset="us-ascii"



    OK. We've played around with Knoppix's sound handling, and have found a couple of interesting things. Much of this will be apparent to you gurus, but comes as news to me.



    Attention conservation notice: As Akos puts it in the install notes, if you already know everything, skip these steps and go to the Conclusion part.



    The Install CD test machine has three sound cards:



    - Intel 8x0 (on the motherboard)

    - Yamaha AC97 (PCI)

    - SoundBlaster Extigy (USB)



    When you run alsaconf, the first thing it does is kill all sound processes. Then it goes through the detection process. But it somehow misses the USB card. Maybe I'm mistaken, but alsaconf also assumes that even if you have more than one card, you only want to enable a single card; there doesn't seem to be an alsaconf option for multiple cards.



    Sound card modules are passed to the kernel using the 'modprobe' command. But you have to know the name of the module you're passing. Luckily in our case we know it's called snd-usb-audio, so you do 'modprobe snd-usb-audio' to load the USB audio support module.



    One possibility is to create a file called load-snd-modules, which includes the names of the sound modules you want to load at boot time. In our case, the three would be:



    snd-ymfpci

    snd-intel8x0

    snd-usb-audio



    Conclusion

    But then we found something else interesting: these steps are totally unnecessary, because somehow ALSA does a detect at boot time and handles all supported sound cards.



    If you open Kmix with multiple sound cards loaded, you can choose between them in a pulldown menu on the upper right. This option does not appear if you have only one card loaded.



    So Knoppix detects and loads support for multiple sound cards. Now it's up to the Studio client and/or Station to assign which outputs to which sound cards.







    doug



    =============================================

    Media Development Loan Fund

    =============================================

    Douglas Arellanes

    Head of Research and Development

    Center for Advanced Media--Prague (CAMP)

    Na vinicnich horach 24a/1834, 160 00  Prague 6

    Czech Republic

    Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419

    Mobile: +420 724 073 364

    http://www.mdlf-camp.net

    http://www.campware.org

    =============================================

    http://www.mdlf.org

    =============================================










    Robert Klajn <klajn@b92.net>

    05/10/2005 01:18 PM

    Please respond to livesupport-dev


           

            To:        livesupport-dev@campware.org

            cc:        

            Subject:        Re: [livesupport-dev] more success with alsaconf






    Douglas.Arellanes@mdlf.org wrote:

    I agree with Micz in his previous mail. What would be best is to have a single config page (even in CLI mode) that lets a user set which sound card will handle which outputs. This will be crucial for the config on the LS Studio, where the preview may be set to use some ganky old sound card (like the intel8x0s that seem to shipped with all motherboards these days) that , but the station output would go through a higher-end card.

    doug






    Yes ,  You are completely right, we had this in wish, and real list Smile .

    Of course that is crucial , because we can't let some random linux applications to change our settings for the main brand name audio card (master on-air signal for listeners) and on board audio card (the cheapest possible, for audio signals that are OFFLINE and not for listeners online).

    I can't imagine what can happen if settings are changed or don't have good separation.



    robert






    --=_alternative 00419DADC1256FFD_=--

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • Within LiveSupport we are using a dsp as device

    [root@lnxsrv3 root]# ls /dev/dsp*

    /dev/dsp /dev/dsp0 /dev/dsp1

    You can edit / checkout two files

    1) products/gLiveSupport/etc/gLiveSupport.xml.template or
    gLiveSupport.xml.



    audioDevice = "/dev/dsp"
    />





    audioDevice = "/dev/dsp1"
    />

    2) or put an alias for dsp in conf.modules or modprobe

    alias /dev/dsp dmasound_pmac
    alias /dev/dsp2 dmasound_pmac


    On Tue, 2005-05-10 at 13:57, Douglas.Arellanes@mdlf.org wrote:
    > OK. We've played around with Knoppix's sound handling, and have found
    > a couple of interesting things. Much of this will be apparent to you
    > gurus, but comes as news to me.
    >
    > Attention conservation notice: As Akos puts it in the install notes,
    > if you already know everything, skip these steps and go to the
    > Conclusion part.
    >
    > The Install CD test machine has three sound cards:
    >
    > - Intel 8x0 (on the motherboard)
    > - Yamaha AC97 (PCI)
    > - SoundBlaster Extigy (USB)
    >
    > When you run alsaconf, the first thing it does is kill all sound
    > processes. Then it goes through the detection process. But it somehow
    > misses the USB card. Maybe I'm mistaken, but alsaconf also assumes
    > that even if you have more than one card, you only want to enable a
    > single card; there doesn't seem to be an alsaconf option for multiple
    > cards.
    >
    > Sound card modules are passed to the kernel using the 'modprobe'
    > command. But you have to know the name of the module you're passing.
    > Luckily in our case we know it's called snd-usb-audio, so you do
    > 'modprobe snd-usb-audio' to load the USB audio support module.
    >
    > One possibility is to create a file called load-snd-modules, which
    > includes the names of the sound modules you want to load at boot time.
    > In our case, the three would be:
    >
    > snd-ymfpci
    > snd-intel8x0
    > snd-usb-audio
    >
    > Conclusion
    > But then we found something else interesting: these steps are totally
    > unnecessary, because somehow ALSA does a detect at boot time and
    > handles all supported sound cards.
    >
    > If you open Kmix with multiple sound cards loaded, you can choose
    > between them in a pulldown menu on the upper right. This option does
    > not appear if you have only one card loaded.
    >
    > So Knoppix detects and loads support for multiple sound cards. Now
    > it's up to the Studio client and/or Station to assign which outputs to
    > which sound cards.
    >
    >
    >
    > doug
    >
    > =============================================
    > Media Development Loan Fund
    > =============================================
    > Douglas Arellanes
    > Head of Research and Development
    > Center for Advanced Media--Prague (CAMP)
    > Na vinicnich horach 24a/1834, 160 00 Prague 6
    > Czech Republic
    > Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419
    > Mobile: +420 724 073 364
    > http://www.mdlf-camp.net
    > http://www.campware.org
    > =============================================
    > http://www.mdlf.org
    > =============================================
    >
    >
    >
    > Robert Klajn
    >
    >
    > 05/10/2005 01:18 PM
    > Please respond to
    > livesupport-dev
    >
    > To:
    > livesupport-dev@campware.org
    > cc:
    > Subject:
    > Re: [livesupport-dev]
    > more success with
    > alsaconf
    >
    >
    > Douglas.Arellanes@mdlf.org wrote:
    > I agree with Micz in his previous mail. What would be best is to have
    > a single config page (even in CLI mode) that lets a user set which
    > sound card will handle which outputs. This will be crucial for the
    > config on the LS Studio, where the preview may be set to use some
    > ganky old sound card (like the intel8x0s that seem to shipped with all
    > motherboards these days) that , but the station output would go
    > through a higher-end card.
    > doug
    >
    >
    > Yes , You are completely right, we had this in wish, and real list Smile
    > .
    > Of course that is crucial , because we can't let some random linux
    > applications to change our settings for the main brand name audio card
    > (master on-air signal for listeners) and on board audio card (the
    > cheapest possible, for audio signals that are OFFLINE and not for
    > listeners online).
    > I can't imagine what can happen if settings are changed or don't have
    > good separation.
    >
    > robert
    >
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail