Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 20:05:26 -0300 (EST)
From:      Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
To:        hasty@rah.star-gate.com (Amancio Hasty)
Cc:        jonny@mailhost.coppe.ufrj.br, multimedia@FreeBSD.ORG
Subject:   Re: vat and oss beta31
Message-ID:  <199705042305.UAA25466@gaia.coppe.ufrj.br>
In-Reply-To: <199705042150.OAA04556@rah.star-gate.com> from Amancio Hasty at "May 4, 97 02:50:34 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#define quoting(Amancio Hasty)
// See if ftp://rah.star-gate.com/pub/guspnp6.tar.gz woeks any better for
// you.

I compiled it and tested.  First, it needs some patches to compile:

*** sb16_dsp.c.orig	Sun May  4 19:43:16 1997
--- sb16_dsp.c	Sun May  4 19:42:44 1997
***************
*** 35,41 ****
   * #define DEB_DMARES
   */
  #include <i386/isa/sound/sound_config.h>
! #include <i386/isa/sound/sb.h>
  #include <i386/isa/sound/sb_mixer.h>
  
  #if defined(CONFIGURE_SOUNDCARD) && defined(CONFIG_SB16) && defined(CONFIG_SB) && defined(CONFIG_AUDIO) && defined(CONFIG_SBPRO)
--- 35,41 ----
   * #define DEB_DMARES
   */
  #include <i386/isa/sound/sound_config.h>
! /*#include <i386/isa/sound/sb.h>*/
  #include <i386/isa/sound/sb_mixer.h>
  
  #if defined(CONFIGURE_SOUNDCARD) && defined(CONFIG_SB16) && defined(CONFIG_SB) && defined(CONFIG_AUDIO) && defined(CONFIG_SBPRO)
*** midi_synth.c.orig	Sun May  4 19:41:26 1997
--- midi_synth.c	Sun May  4 19:42:00 1997
***************
*** 40,46 ****
  static volatile struct snd_wait sysex_sleep_flag =
  {0};
  
! #include "midi_synth.h"
  
  static int      midi2synth[MAX_MIDI_DEV];
  static int      sysex_state[MAX_MIDI_DEV] =
--- 40,46 ----
  static volatile struct snd_wait sysex_sleep_flag =
  {0};
  
! #include <i386/isa/sound/midi_synth.h>
  
  static int      midi2synth[MAX_MIDI_DEV];
  static int      sysex_state[MAX_MIDI_DEV] =

...

After compiling, it did not recognize my sound card:

May  4 19:49:35 zeus /kernel.sb2: sb0 at 0x220 irq 5 drq 1 flags 0xffffffff on i
sa
May  4 19:49:35 zeus /kernel.sb2:
May  4 19:49:35 zeus last message repeated 3 times
May  4 19:49:35 zeus /kernel.sb2: NOTE! SB Pro support is required with your sou
ndcard!
May  4 19:49:35 zeus /kernel.sb2:
May  4 19:49:35 zeus /kernel.sb2:  
May  4 19:49:35 zeus /kernel.sb2: SoundBlaster 16 4.5> at 0x220 irq 5 dma 1
May  4 19:49:35 zeus /kernel.sb2:  
May  4 19:49:35 zeus /kernel.sb2: sbxvi0 not found
May  4 19:49:35 zeus /kernel.sb2: sbmidi0 not found at 0x330
May  4 19:49:35 zeus /kernel.sb2: opl0 not found at 0x388

cat someaudio.au > /dev/audio locked my machine.

With the original kernel:

May  4 19:53:30 zeus /kernel.sb: sb0 at 0x220 irq 5 drq 1 on isa
May  4 19:53:30 zeus /kernel.sb: sb0: <SoundBlaster 16 4.5>
May  4 19:53:30 zeus /kernel.sb: sbxvi0 at 0x0 drq 5 on isa
May  4 19:53:30 zeus /kernel.sb: sbxvi0: <SoundBlaster 16 4.5>
May  4 19:53:30 zeus /kernel.sb: sbmidi0 at 0x330 on isa
May  4 19:53:30 zeus /kernel.sb:  <SoundBlaster MPU-401>
May  4 19:53:30 zeus /kernel.sb: opl0 at 0x388 on isa
May  4 19:53:30 zeus /kernel.sb: opl0: <Yamaha OPL-3 FM>

					Jonny

--
Joao Carlos Mendes Luis			jonny@gta.ufrj.br
+55 21 290-4698 ( Job )			jonny@cisi.coppe.ufrj.br
Network Manager				UFRJ/COPPE/CISI
Universidade Federal do Rio de Janeiro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705042305.UAA25466>