[vox-tech] Demo machine sound card...

vox-tech@lists.lugod.org vox-tech@lists.lugod.org
Sun, 28 Apr 2002 03:26:20 -0400


What was the phrase... "Hulk SMASH!" ?

- Did this card come with the Demo machine or did someone "rescue"
  it from a trash can?


  I know the card doesn't work with 0.9+0beta12 (released 02-26 and
packaged in woody)... web searches were practically useless for finding
any success stories for this card (which appears to have been around in
various forms for over 2 years).

  Well the sound card now works, under ALSA version 0.9.0rc1.

  The version of ALSA this card works with here was released 4 days ago
(2002-04-24, but I see signs that some people managed to get it working
with 0.5.5 about 2 years back and scores of other people tried and gave
up, switching to OSS or switching cards).

  From what I gather this variant of the ViBRA16 line does not support
duplex 16bit audio(*).

    Argh,
      Mike

*: duplex audio is the ability to play sounds while the card is also
   recording sounds.

ps:
  I didn't try the kernel sound drivers, which might have been less painful.
The reason this took so long is I didn't bail on the woody packaged version
of ALSA source Right Away.  If I had switched to the latest ALSA source first
thing this would have worked hours ago.


pps:
  For future reference... in case anyone is stuck trying to get this card
working...

The following is what I have here.
====
  The soundcard is a Vibra16X.  Runs under ALSA 0.9.0rc1 with the following
configuration:

msimons@star:~$ grep -v '^#' /etc/isapnp.conf | grep '.'
==================================================
# Card 1: (serial identifier 6d ff ff ff ff f0 00 8c 0e)
# Vendor Id CTL00f0, No Serial Number (-1), checksum 0x6D.
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative ViBRA16X PnP<--

(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2) 
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
(CONFIGURE CTL00f0/-1 (LD 0
  (INT 0 (IRQ 5 (MODE +E)))
  (DMA 0 (CHANNEL 1))
  (DMA 1 (CHANNEL 3))
  (IO 0 (SIZE 16) (BASE 0x0220))
  (IO 1 (SIZE 2) (BASE 0x0330))
  (IO 2 (SIZE 4) (BASE 0x0388))
 (NAME "CTL00f0/-1[0]{Audio               }")
  (ACT Y)
))
(CONFIGURE CTL00f0/-1 (LD 1
  (IO 0 (SIZE 1) (BASE 0x0201))
 (NAME "CTL00f0/-1[1]{Game                }")
  (ACT Y)
))
(WAITFORKEY)
==================================================

root@star:~# isapnp /etc/isapnp.conf
==================================================
Board 1 has Identity 6d ff ff ff ff f0 00 8c 0e:  CTL00f0 Serial No -1 [checksum 6d]
CTL00f0/-1[0]{Audio               }: Ports 0x220 0x330 0x388; IRQ5 DMA1 DMA3 --- Enabled OK
CTL00f0/-1[1]{Game                }: Port 0x201; --- Enabled OK
==================================================

msimons@star:~$ cat /etc/modutils/alsa
==================================================
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-sb16

options snd-sb16 snd_port=0x220 snd_mpu_port=0x330 snd_irq=5 snd_dma8=1 snd_dma16=3 snd_mic_agc=1 snd_csp=0 snd_isapnp=1

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-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
==================================================

msimons@star:~/src$ cat /proc/asound/cards   
==================================================
0 [card0          ]: SB16 - Sound Blaster 16
                     Sound Blaster 16 at 0x220, irq 5, dma 1&3
==================================================

msimons@star:~$ /sbin/lsmod 
==================================================
Module                  Size  Used by    Not tainted
snd-pcm-oss            43620   1 (autoclean)
snd-sb16                4552   2 
snd-sb16-dsp            6304   0 [snd-sb16]
snd-pcm                57024   0 [snd-pcm-oss snd-sb16-dsp]
snd-opl3-lib            6176   0 [snd-sb16]
snd-timer              11008   0 [snd-pcm snd-opl3-lib]
snd-sb16-csp           16832   0 [snd-sb16]
snd-sb-common           6968   0 [snd-sb16 snd-sb16-dsp snd-sb16-csp]
snd-hwdep               4320   0 [snd-opl3-lib snd-sb16-csp]
snd-mpu401-uart         3232   0 [snd-sb16 snd-sb16-dsp]
snd-rawmidi            13536   0 [snd-mpu401-uart]
snd-seq-device          4048   0 [snd-opl3-lib snd-rawmidi]
snd                    30888   4 [snd-pcm-oss snd-sb16 snd-sb16-dsp snd-pcm snd-opl3-lib snd-timer snd-sb16-csp snd-sb-common snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3492   5 [snd]
==================================================