Results 1 to 5 of 5

Thread: AD-Chips soundcard problem - can't load on 16-bits mode

  1. #1

    AD-Chips soundcard problem - can't load on 16-bits mode

    hello all,

    im new on this forum and im glad to being now a piace of it.
    I got a trouble with my soundcard.. it's a slot-ISAPnP soundcard
    AD-Chips CMI8329 (as i said.. not onboard) and is SoundBlaster
    compatible. Im trying to turn it on using the sb.o module from
    2.4.18 kernel without sucess. Im slackware.

    kernel:
    CONFIG_SOUND=m
    CONFIG_SOUND_OSS=m
    CONFIG_SOUND_ADLIB=m
    CONFIG_SOUND_VMIDI=m
    CONFIG_SOUND_MSS=m
    CONFIG_SOUND_MPU401=m
    CONFIG_SOUND_MAD16=m
    CONFIG_SOUND_SB=m
    CONFIG_SOUND_YM3812=m

    CONFIG_PNP=y
    CONFIG_ISAPNP=y

    here's my /etc/modules.conf:
    -----------------------------
    alias char-major-14 sb
    alias sound-slot-0 sb
    options sound dmabuf=1
    options mpu401 io=0x330 irq=9
    alias midi mpu401
    options opl3 io=0x388
    alias midi opl3
    options modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 pnplegacy=1
    -----------------------------

    but when trying to load with "modprobe sb" it returns:
    /lib/modules/2.4.18/kernel/drivers/sound/sb.o: init_module: No such devic
    ...
    so to load it i need to use the prompt line:
    "modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 pnplegacy=1"
    the parameters matches with the "pnpdump -c" probe. So it loads saying:

    /bin/dmesg:
    -----------------------------
    Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
    SB 4.13 detected OK (220)
    sb: AD-CHIPS Audio Adapter detected
    sb: CMI 8330 SoundPRO opl3 config failed (out of resources?)[-11]
    sb: ISAPnP reports 'AD-CHIPS Audio Adapter' at i/o 0x530, irq 7, dma 3, 0
    sb: dsp reset failed.
    sb.c: There was a problem probing one of your SoundBlaster ISAPnP
    soundcards. Continuing.
    sb: 1 Soundblaster PnP card(s) found.
    ------------------------------
    But when i play 16-bits MP3 its plays so slowww and
    has some pauses when playing.

    I guess its occurring cause its running at 8-bits mode. So i tried
    different driver module. I used ad1848 - "modprobe ad1848" - and i tried
    to modprobe ad1848 with command line parameters too and get the same
    result.

    /etc/modules.conf:
    ------------------------------
    alias sound-slot-0 ad1848
    options sound dmabuf=1
    alias midi opl3
    options opl3 io=0x388
    alias midi mpu401
    options mpu401 io=0x300 irq=9
    options ad1848 io=0x220 irq=5 dma=1 soundpro=1
    -----------------------------
    /dev/console:
    /lib/modules/2.4.18/kernel/drivers/sound/ad1848.o: init_module: No such
    device
    ...
    /bin/dmesg:
    --
    ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
    ad1848: AD-CHIPS Audio Adapter detected
    ad1848: ISAPnP reports 'AD-CHIPS Audio Adapter' at i/o 0x220, irq 5,
    dma 1, -1
    --

    i tried the CMI8330 ALSA driver and i get unresolved symbols from
    snd-sb-common.o ( i'll email them about it ).

    Sound-HOWTO says on index 6.25:

    "16-bit sound cards described as SoundBlaster compatible are really only
    compatible with the 8-bit SoundBlaster Pro. They typically have a 16-bit
    mode which is not compatible with the SoundBlaster 16 and not compatible
    with the Linux sound driver. You may be able to get the card to work in
    16-bit mode by using the MAD16 or MSS/WSS driver."

    I followed the steps described on MAD16 kernel documents and
    insmod returns:
    /lib/modules/2.4.18/kernel/drivers/sound/sb.o: invalid parameter
    parm_mad16
    ...
    when "modprobe mad16"
    /lib/modules/2.4.18/kernel/drivers/sound/mad16.o: init_module: No such
    device
    ...

    I'll be thank if someone got any clue to make this card work.
    merry christmas.

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:AD-Chips soundcard problem - can't load on 16-bits mode

    what does isapnpdump tell you? is the card even seen by linux at all? may be a bad isa slot.

  3. #3

    Re:AD-Chips soundcard problem - can't load on 16-bits mode

    # pnpdump -c > /etc/isapnp. conf
    # isapnp /etc/isapnp.conf

    Board 1 has Identity 8d 01 00 01 00 01 00 a9 0d: CMI0001 Serial No 16777472 [checksum 8d]
    CMI0001/16777472[0]{AD-CHIPS Audio Adapter}: Port 0x220; IRQ5 DMA1 DMA5 --- Enabled OK
    CMI0001/16777472[1]{AD-CHIPS Audio Adapter}: Port 0x330; IRQ9 --- Enabled OK
    CMI0001/16777472[2]{AD-CHIPS Audio Adapter}: Port 0x200; --- Enabled OK
    CMI0001/16777472[3]{AD-CHIPS Audio Adapter}: Port 0x530; IRQ11 DMA0 --- Enabled OK
    CMI0001/16777472[4]{AD-CHIPS Audio Adapter}: Port 0x100; --- Enabled OK

    /bin/dmesg:
    isapnp: Scanning for PnP cards...
    isapnp: Calling quirk for 01:03
    isapnp: CMI8330 quirk - fixing interrupts and dma
    isapnp: Card 'AD-CHIPS Audio Adapter'
    isapnp: 1 Plug & Play card detected total

    isapnpdump found the card

  4. #4
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:AD-Chips soundcard problem - can't load on 16-bits mode

    is sound and soundcore loaded? Here is my /sbin/lsmod listing for redhat 8 :

    [schotty@leinenkugel sound]$ /sbin/lsmod
    Module Size Used by Tainted: P
    ppp_deflate 4504 0 (autoclean)
    zlib_deflate 21464 0 (autoclean) [ppp_deflate]
    ppp_async 9440 1 (autoclean)
    ppp_generic 24380 3 (autoclean) [ppp_deflate ppp_async]
    slhc 6740 1 (autoclean) [ppp_generic]
    sr_mod 18136 0 (autoclean)
    emu10k1 68840 1 (autoclean)
    ac97_codec 13384 0 (autoclean) [emu10k1]
    sound 74228 0 (autoclean) [emu10k1]
    soundcore 6500 7 (autoclean) [emu10k1 sound]
    agpgart 42912 3 (autoclean)
    NVdriver 1149152 10 (autoclean)
    autofs 13348 0 (autoclean) (unused)
    tulip 43552 1
    iptable_filter 2412 0 (autoclean) (unused)
    ip_tables 14840 1 [iptable_filter]
    ide-scsi 10512 0
    ide-cd 33608 0
    cdrom 33696 0 [sr_mod ide-cd]
    ibmcam 54656 0
    usbvideo 27784 0 [ibmcam]
    videodev 8320 1 [usbvideo]
    usb-storage 62000 0
    scsi_mod 107176 3 [sr_mod ide-scsi usb-storage]
    mousedev 5524 1
    keybdev 2976 0 (unused)
    hid 22244 0 (unused)
    input 5888 0 [mousedev keybdev hid]
    usb-uhci 26188 0 (unused)
    ehci-hcd 17448 0 (unused)
    usb-ohci 21288 0 (unused)
    usbcore 77056 1 [ibmcam usbvideo usb-storage hid usb-uhci ehci-
    hcd usb-ohci]
    ext3 70400 3
    jbd 52212 3 [ext3]
    [schotty@leinenkugel sound]$

  5. #5

    Re:AD-Chips soundcard problem - can't load on 16-bits mode

    kpanic@BlackHole:~$ lsmod
    Module Size Used by Tainted: P
    ppp_deflate 39456 0 (autoclean)
    bsd_comp 3992 0 (autoclean)
    ppp_async 6048 0 (autoclean)
    ppp_generic 14044 1 (autoclean) [ppp_deflate bsd_comp ppp_async]
    slhc 4448 0 (autoclean) [ppp_generic]
    sb 7316 0
    sb_lib 32398 0 [sb]
    uart401 6052 0 [sb_lib]
    sound 52492 0 [sb_lib uart401]
    snd-pcm-oss 44516 0 (autoclean) (unused)
    snd-pcm 62144 0 (autoclean) [snd-pcm-oss]
    snd-timer 11208 0 (autoclean) [snd-pcm]
    snd-mixer-oss 12312 0 (autoclean) [snd-pcm-oss]
    snd 30476 0 (autoclean) [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
    soundcore 3460 5 (autoclean) [sb_lib sound snd]
    kpanic@BlackHole:~$

    i think the problem with the sb module driver is that was loaded with 8-bits
    mode because my soundcard isnt a 100% compatible sb16 sound card.
    I get this conclusion after read the index 6.25 from Sound-HOWTO document
    and a guy on #linux EFnet told me he was had this kind of trouble playing
    16-bits mp3 with a 8-bits sound card loaded.

    Sound-HOWTO:
    --
    6.25. My 16-bit SoundBlaster "compatible" sound card only works in 8-bit
    under Linux.

    16-bit sound cards described as SoundBlaster compatible are really only
    compatible with the 8-bit SoundBlaster Pro. They typically have a 16-bit
    which is not compatible with the SoundBlaster 16 and not compatible with
    Linux sound driver.

    You may be able to get the card to work in 16-bit mode by using the MAD16
    MSS/WSS driver.
    --
    But i coundn't make that MAD16 driver to load i get the message
    root@BlackHole:~# modprobe mad16 io=0x530 irq=11 dma=0
    /lib/modules/2.4.18/kernel/drivers/sound/mad16.o: init_module: No such device
    /lib/modules/2.4.18/kernel/drivers/sound/mad16.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
    You may find more information in syslog or the output from dmesg
    /lib/modules/2.4.18/kernel/drivers/sound/mad16.o: insmod /lib/modules/2.4.18/kernel/drivers/sound/mad16.o failed
    /lib/modules/2.4.18/kernel/drivers/sound/mad16.o: insmod mad16 failed
    --
    I followed the steps as MAD16 kernel document said.

    see ya.

Similar Threads

  1. Built-in SoundCard detection problem.
    By digitalsuperman in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 05-05-2005, 02:40 PM
  2. text mode to graphic mode
    By nizam in forum Linux - General Topics
    Replies: 3
    Last Post: 12-08-2004, 11:39 PM
  3. NetBSD, Ross HyperSparc chips and SMP
    By finegan in forum Linux - General Topics
    Replies: 2
    Last Post: 04-30-2004, 07:13 PM
  4. Tid-Bits #2- CVS
    By babbing in forum Linux - General Topics
    Replies: 6
    Last Post: 10-30-2002, 08:32 PM
  5. It Works: Really Super Tiny Chips
    By JimH in forum General Chat
    Replies: 1
    Last Post: 10-18-2001, 03:41 AM

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
  •