Professional Web Applications Themes

pcm device numbering - FreeBSD

Hello, I have two sound cards: SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich' Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi' The first is integrated in the motherboard, and it is detected first and used as the default output device (pcm0). The second it detected after the first, so it is used as the second output device (pcm1). I want to use my second sound card as the default output device. I tried using the loader.conf variables "*_after" and "*_before", but they always load them before booting the kernel, so the integrated card is detected first and ...

  1. #1

    Default pcm device numbering

    Hello,

    I have two sound cards:

    SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
    Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi'

    The first is integrated in the motherboard, and it is detected first and
    used as the default output device (pcm0). The second it detected after
    the first, so it is used as the second output device (pcm1).

    I want to use my second sound card as the default output device. I tried
    using the loader.conf variables "*_after" and "*_before", but they
    always load them before booting the kernel, so the integrated card is
    detected first and assigned to the default output device (pcm0). So I
    have the drivers as modules, and load the driver for the second card
    when booting the kernel, and then from the command line I load the
    driver for the integrated card.

    Is there a (clean, if possible) way to do this (with 'device.hints', or
    rc scripts)?

    Here is the relevant output of 'pciconf -vl' (after loading the
    drivers in the desired order):

    pcm1pci0:2:7: class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0
    hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
    device = 'SiS7012 PCI Audio Accelerator'
    class = multimedia
    subclass = audio

    pcm0pci0:9:0: class=0x040100 card=0x011113f6 chip=0x011113f6 rev=0x10
    hdr=0x00 vendor = 'C-Media Electronics Inc.'
    device = 'CMI8738/PCI C3DX PCI Audio Chip中国'
    class = multimedia
    subclass = audio

    Thanks and Best Regards,
    Ale
    Alejandro Guest

  2. #2

    Default pcm device numbering

    Hello,

    I have two sound cards:

    SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
    Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi'

    The first is integrated in the motherboard, and it is detected first and
    used as the default output device (pcm0). The second it detected after
    the first, so it is used as the second output device (pcm1).

    I want to use my second sound card as the default output device. I tried
    using the loader.conf variables "*_after" and "*_before", but they
    always load them before booting the kernel, so the integrated card is
    detected first and assigned to the default output device (pcm0). So I
    have the drivers as modules, and load the driver for the second card
    when booting the kernel, and then from the command line I load the
    driver for the integrated card.

    Is there a (clean, if possible) way to do this (with 'device.hints', or
    rc scripts)?

    Here is the relevant output of 'pciconf -vl' (after loading the
    drivers in the desired order):

    pcm1pci0:2:7: class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0
    hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
    device = 'SiS7012 PCI Audio Accelerator'
    class = multimedia
    subclass = audio

    pcm0pci0:9:0: class=0x040100 card=0x011113f6 chip=0x011113f6 rev=0x10
    hdr=0x00 vendor = 'C-Media Electronics Inc.'
    device = 'CMI8738/PCI C3DX PCI Audio Chip中国'
    class = multimedia
    subclass = audio

    I am posting this question again because I did not get a response. If I
    should ask this question somewhere else please inform me.

    Thanks and Best Regards,
    Ale
    Alejandro Guest

  3. #3

    Default pcm device numbering

    Hello,

    I have two sound cards:

    SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
    Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi'

    The first is integrated in the motherboard, and it is detected first and
    used as the default output device (pcm0). The second it detected after
    the first, so it is used as the second output device (pcm1).

    I want to use my second sound card as the default output device. I tried
    using the loader.conf variables "*_after" and "*_before", but they
    always load them before booting the kernel, so the integrated card is
    detected first and assigned to the default output device (pcm0). So I
    have the drivers as modules, and load the driver for the second card
    when booting the kernel, and then from the command line I load the
    driver for the integrated card.

    Is there a (clean, if possible) way to do this (with 'device.hints', or
    rc scripts)?

    Here is the relevant output of 'pciconf -vl' (after loading the
    drivers in the desired order):

    pcm1pci0:2:7: class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0
    hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
    device = 'SiS7012 PCI Audio Accelerator'
    class = multimedia
    subclass = audio

    pcm0pci0:9:0: class=0x040100 card=0x011113f6 chip=0x011113f6 rev=0x10
    hdr=0x00 vendor = 'C-Media Electronics Inc.'
    device = 'CMI8738/PCI C3DX PCI Audio Chip中国'
    class = multimedia
    subclass = audio

    I am posting this question again because I did not get a response. If I
    should ask this question somewhere else please inform me.

    Thanks and Best Regards,
    Ale
    Alejandro Guest

Similar Threads

  1. 'outline numbering' in CS2
    By jeremy_james_andrews@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 6
    Last Post: January 12th, 08:44 AM
  2. Numbering of pages
    By Sandra_Neuner@adobeforums.com in forum Adobe Indesign Windows
    Replies: 3
    Last Post: June 1st, 07:44 PM
  3. NUMBERING
    By TBJ in forum Coldfusion - Advanced Techniques
    Replies: 3
    Last Post: March 30th, 10:05 PM
  4. row numbering
    By josue in forum PostgreSQL / PGSQL
    Replies: 21
    Last Post: March 11th, 02:48 PM
  5. 10D output numbering
    By Nod in forum Photography
    Replies: 5
    Last Post: July 25th, 05:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139