Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 1997 20:34:06 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Mark Murray <mark@grondar.za>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: Report back on Luigi's sound driver and GUS PnP
Message-ID:  <19970918203406.10328@hydrogen.nike.efn.org>
In-Reply-To: <199709181934.VAA00328@greenpeace.grondar.za>; from Mark Murray on Thu, Sep 18, 1997 at 09:34:57PM %2B0200
References:  <199709181934.VAA00328@greenpeace.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Murray scribbled this message on Sep 18:
> Hi
> 
> I am having some sucess (and some trouble) getting Luigi's snd/
> code to work with my GUS PnP.
> 
> Firstly: It compiles. Thanks! :-)

:)  good to hear... :)

> I get what look like sucessful (?) probes of the card, but some
> things look a little funny:
> 
> $ dmesg
> :
> Initializing PnP override table
> Probing for PnP devices:
> CSN 1 Vendor ID: GRV0001 [0x0100561e] Serial 0x00000001
> mss_attach <mss>1 at 0x328 irq 9 dma 7:6 flags 0x16

this looks REALLY bogus..  but I'm not sure I've never used a GUS card..
but those dma and flags don't look correct...  plus I'm not sure that 0x328
is the proper place...

you might try doing something like:
pnp 1 port 0x534 dma0 1 dma1 3 flags 0
from userconfig.. and see if that helps...

> pcm1 (GusPnP <GusPnP> sn 0x00000001) at 0x328 irq 9 drq 7 flags 0x16 id 16
>    ^ EH??                                 ^^^ EH??
> The card is at 0x220, AFAIK.

that's probably the SB Emulation part.. and yes.. it's suppose to be pcm1,
because pcm0 is the isa device if it exists...

> pcm0 at 0xffff irq 10 drq 1 mem 0x0 flags 0x0 en 1 confl 0
> mss_probe: no address supplied, try default 0x530
> mss_detect error, busy still set (0xff)
> sb_probe: no address supplied, try defaults (0x220,0x240)
> device at 0x220 already attached as unit 1
>             ^^^ ???
> pcm0 not found
> :
> $ cat sound.au >/dev/audio
> open: bad unit 0, perhaps you want unit 1 ?
> $ cat sound.au >/dev/audio0
> open: bad unit 0, perhaps you want unit 1 ?
> $ cat sound.au >/dev/audio1
> timeout flushing dma1, cnt 0x48c flags 0x00000061
> [SILENCE]

yes.. you need to redirect audio, dsp, dspW, and mixer need to be
symlinked to the xxx1 version of the device instead of the xxx0
device...


-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



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