Professional Web Applications Themes

HARDDRAKE doesn't see SB16 - Linux Setup, Configuration & Administration

Harddrake (1.1.9-53.2mdk) doesn't find my SB16 soundcard on my Mandrake 9.0 system with my kernel upgraded to 2.4.19-35mdk. The effect of this is that I can't run 'alsamixer' or its friends. When I try that I get: alsamixer: function snd_ctl_open failed for default: No such file or directory *Hardware* MIDI support works, 'playmidi' works, and I can hear soundfiles when I play them. I'm guessing this is via OSS emulation. 'service alsa status' says "Sound loaded" 'service sound status' says "Sound loaded" 'lsmod' (trimmed down to sound stuff) says: opl3 12416 0 (unused) sb 7668 0 sb_lib 34958 0 [sb] ...

  1. #1

    Default HARDDRAKE doesn't see SB16

    Harddrake (1.1.9-53.2mdk) doesn't find my SB16 soundcard on my
    Mandrake 9.0 system with my kernel upgraded to 2.4.19-35mdk.
    The effect of this is that I can't run 'alsamixer' or its
    friends. When I try that I get:

    alsamixer: function snd_ctl_open failed for default: No such file or directory

    *Hardware* MIDI support works, 'playmidi' works, and I can hear
    soundfiles when I play them. I'm guessing this is via OSS
    emulation.

    'service alsa status' says "Sound loaded"

    'service sound status' says "Sound loaded"

    'lsmod' (trimmed down to sound stuff) says:

    opl3 12416 0 (unused)
    sb 7668 0
    sb_lib 34958 0 [sb]
    uart401 6628 0 [sb_lib]
    sound 55732 0 [opl3 sb_lib uart401]
    soundcore 3780 0 [sb_lib sound]

    /etc/modules.conf (trimmed down to sound stuff) contains:

    alias /dev/snd/seq snd-seq
    alias sound-slot-0 sb
    options sound dmabuf=1
    alias synth0 opl3
    options opl3 io=0x388
    options sb isapnp=1


    I've googled like crazy for an answer to this. Any ideas?

    Thanks folks....

    --
    Unless otherwise noted, the statements herein reflect my personal
    opinions and not those of any organization with which I may be affiliated.
    Kevin Guest

  2. #2

    Default Re: HARDDRAKE doesn't see SB16

    Kevin wrote:
     

    Install sndconfig from the distribution disks.

    --
    Clive, at Toronto
    (remove each x in the email address)



    Clive Guest

  3. #3

    Default Re: HARDDRAKE doesn't see SB16 -- ALSA works now!

    In article <A54db.8806$bloor.is.net.cable.rogers.com>,
    Clive Dove <com> writes: 

    sndconfig works fine and gets all the OSS (emulated?) stuff set
    up correctly. But, ALSA still doesn't recognize any cards, and
    harddrake doesn't recognize any cards.

    I dove into this further and got ALSA to recognize my SB16 by
    altering my /etc/modules.conf to read like so:

    # ALSA portion
    alias char-major-116 snd
    alias /dev/snd/seq snd-seq
    # alias midi opl3 <--------- Not sure about this
    alias snd-card-0 snd-sb16
    alias synth0 opl3
    options opl3 io=0x388
    options sb16 dma=1 dma16=5 io=0x220 irq=5 isapnp=1 mpu_io=0x330
    options sound dmabuf=1

    # OSS/Free portion
    alias char-major-14 soundcore
    alias sound-slot-0 snd-card-0

    # card #0
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-oss
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss

    The ALSA doentation for the SB16 card was quite helpful, but
    not perfect. Some debugging hints in google about "no soundcards"
    were also helpful. Those sources, and some experimentation got
    ALSA to recognize the card. My main debugging recipe was:

    service sound stop ; service alsa stop
    edit /etc/modules.conf
    service alsa start ; service sound start
    examine error/status messages from starting alsa service
    look for my card in /proc/asound/cards
    repeat above steps

    'modinfo snd-sb16' was helpful to determine what options exist
    for my SB16 card. Looking in /proc/ioports was helpful for
    setting some of those sb16 options correctly, given that it's
    an ISA card. lspci would be helpful for those types of cards I
    suppose.

    Harddrake still doesn't see my SB16 card. Any more ideas?
    Maybe I don't really need to run harddrake since I've got the
    card all set up now, but it sure would be nice to know how to
    make it detect my card.

    Thanks....

    --
    Unless otherwise noted, the statements herein reflect my personal
    opinions and not those of any organization with which I may be affiliated.
    Kevin Guest

  4. #4

    Default Re: HARDDRAKE doesn't see SB16 -- ALSA works now!

    Kevin wrote:
     
    >
    > sndconfig works fine and gets all the OSS (emulated?) stuff set
    > up correctly. But, ALSA still doesn't recognize any cards, and
    > harddrake doesn't recognize any cards.
    >
    > I dove into this further and got ALSA to recognize my SB16 by
    > altering my /etc/modules.conf to read like so:
    >
    > # ALSA portion
    > alias char-major-116 snd
    > alias /dev/snd/seq snd-seq
    > # alias midi opl3 <--------- Not sure about this
    > alias snd-card-0 snd-sb16
    > alias synth0 opl3
    > options opl3 io=0x388
    > options sb16 dma=1 dma16=5 io=0x220 irq=5 isapnp=1 mpu_io=0x330
    > options sound dmabuf=1
    >
    > # OSS/Free portion
    > alias char-major-14 soundcore
    > alias sound-slot-0 snd-card-0
    >
    > # card #0
    > alias sound-service-0-0 snd-mixer-oss
    > alias sound-service-0-1 snd-seq-oss
    > alias sound-service-0-3 snd-pcm-oss
    > alias sound-service-0-8 snd-seq-oss
    > alias sound-service-0-12 snd-pcm-oss
    >
    > The ALSA doentation for the SB16 card was quite helpful, but
    > not perfect. Some debugging hints in google about "no soundcards"
    > were also helpful. Those sources, and some experimentation got
    > ALSA to recognize the card. My main debugging recipe was:
    >
    > service sound stop ; service alsa stop
    > edit /etc/modules.conf
    > service alsa start ; service sound start
    > examine error/status messages from starting alsa service
    > look for my card in /proc/asound/cards
    > repeat above steps
    >
    > 'modinfo snd-sb16' was helpful to determine what options exist
    > for my SB16 card. Looking in /proc/ioports was helpful for
    > setting some of those sb16 options correctly, given that it's
    > an ISA card. lspci would be helpful for those types of cards I
    > suppose.
    >
    > Harddrake still doesn't see my SB16 card. Any more ideas?
    > Maybe I don't really need to run harddrake since I've got the
    > card all set up now, but it sure would be nice to know how to
    > make it detect my card.
    >
    > Thanks....
    >[/ref]

    Once you have set up your /etc/modules.conf file and have got it loading
    the correct modules on boot, then you have done everything that
    hadddrake would have done.

    In fact, running harddrake runs the risk that it will over-write your
    work.

    Harddrake is meant for pci cards, which is why sndconfig is still in the
    distribution disks. For isa and isapnp cards, sndconfig is a better
    utility than harddrake.

    --
    Clive, at Toronto
    (remove each x in the email address)


    Clive Guest

Similar Threads

  1. Replies: 0
    Last Post: September 8th, 10:15 PM
  2. Replies: 0
    Last Post: September 8th, 10:15 PM
  3. Replies: 0
    Last Post: September 8th, 08:59 PM
  4. Replies: 0
    Last Post: September 8th, 08:49 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