Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 1997 13:24:24 -0500 (CDT)
From:      Mark Tinguely <tinguely@plains.nodak.edu>
To:        mnewell@newell.arlington.va.us
Cc:        freebsd-multimedia@freebsd.org, freebsd-questions@freebsd.org
Subject:   2.2.1 GUS original and soundcode
Message-ID:  <199705081824.NAA21773@plains.nodak.edu>

next in thread | raw e-mail | index | archive | help
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: <Gravis UltraSound MAX (512k)>[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.



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