From owner-freebsd-questions Thu May 8 11:24:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA11595 for questions-outgoing; Thu, 8 May 1997 11:24:31 -0700 (PDT) Received: from plains.nodak.edu (tinguely@plains.NoDak.edu [134.129.111.64]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA11588; Thu, 8 May 1997 11:24:29 -0700 (PDT) Received: (from tinguely@localhost) by plains.nodak.edu (8.8.5/8.8.5) id NAA21773; Thu, 8 May 1997 13:24:24 -0500 (CDT) Date: Thu, 8 May 1997 13:24:24 -0500 (CDT) From: Mark Tinguely Message-Id: <199705081824.NAA21773@plains.nodak.edu> To: mnewell@newell.arlington.va.us Subject: 2.2.1 GUS original and soundcode Cc: freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Several days ago (I think May 2), Mike Newell asked: >I have a GUS Max card that I've been using in my 2.1.0-RELEASE system; it >worked fine. I recently removed the card and dropped it into a newly >constructed 2.2.1 system. I used the exact same configuration from the >2.1.0 system: > > controller snd0 > device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr > >[I've also tried it without the flags]. The 2.2.1 system sees the card: > > gus0 at 0x220 irq 12 drq 1 flags 0x3 on isa > gus0: [Where's the CS4231?] > PCM device 2 not installed. I wrongly asked him to check if the card still work by testing it with the DOS drivers, but it wasn't until he said he broke down and bought the Gus PnP, did the 2.2.x part of his message clicked in my ever shinking brain. For those of you that are using the guspnp6.tar.gz code with a GUS original or MAX, you may be like me and need to add the following line to sys/i386/isa/sound/gus_wave.c: *** gus_wave.c.orig Tue Nov 5 12:56:04 1996 --- gus_wave.c Thu May 8 12:53:06 1997 *************** *** 4830,4835 **** --- 4830,4836 ---- if (gus_pnp_found[i] != 0 && gus_pnp_found[i] == hw_config->io_base) gus_pnp_seen = 1; } + /* XXX */ gus_pnp_seen = 0; /* XXX */ gus_irq = irq; gus_dma = dma; gus_dma2 = dma2; after making this change, showaudio, vat will work with an older GUS. NOTE this breaks GUS PnP support. I am only mentioning this for those of us that have the old cards. I apologize to Mike for my earlier mistake, I think you are better off with the GUS PnP. --mark.