From owner-freebsd-multimedia Sun May 4 23:29:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA06854 for multimedia-outgoing; Sun, 4 May 1997 23:29:02 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA06849 for ; Sun, 4 May 1997 23:29:00 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id XAA15717; Sun, 4 May 1997 23:28:58 -0700 (PDT) Message-Id: <199705050628.XAA15717@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Joao Carlos Mendes Luis cc: multimedia@FreeBSD.ORG Subject: Re: vat and oss beta31 In-reply-to: Your message of "Sun, 04 May 1997 20:05:26 -0300." <199705042305.UAA25466@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 04 May 1997 23:28:58 -0700 From: Amancio Hasty Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Can you send me the section of your kernel config file which deals with the sound card. Tnks, Amancio >From The Desk Of Joao Carlos Mendes Luis : > #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 > ! #include > #include > > #if defined(CONFIGURE_SOUNDCARD) && defined(CONFIG_SB16) && defined(CONFIG_ SB) && defined(CONFIG_AUDIO) && defined(CONFIG_SBPRO) > --- 35,41 ---- > * #define DEB_DMARES > */ > #include > ! /*#include */ > #include > > #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 > > 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 o n 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: > May 4 19:53:30 zeus /kernel.sb: sbxvi0 at 0x0 drq 5 on isa > May 4 19:53:30 zeus /kernel.sb: sbxvi0: > May 4 19:53:30 zeus /kernel.sb: sbmidi0 at 0x330 on isa > May 4 19:53:30 zeus /kernel.sb: > May 4 19:53:30 zeus /kernel.sb: opl0 at 0x388 on isa > May 4 19:53:30 zeus /kernel.sb: opl0: > > 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