Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 03:52:28 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        mark@grondar.za (Mark Murray)
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: Report back on Luigi's sound driver and GUS PnP
Message-ID:  <199709190152.DAA11158@labinfo.iet.unipi.it>
In-Reply-To: <199709181934.VAA00328@greenpeace.grondar.za> from "Mark Murray" at Sep 18, 97 09:34:38 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi
> 
> I am having some sucess (and some trouble) getting Luigi's snd/
> code to work with my GUS PnP.
> 
> Firstly: It compiles. Thanks! :-)
> 
> 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
> pcm1 (GusPnP <GusPnP> sn 0x00000001) at 0x328 irq 9 drq 7 flags 0x16 id 16
>    ^ EH??                                 ^^^ EH??
> The card is at 0x220, AFAIK.

pnp devices are assigned unit numbers following legacy ISA ones (README...)
so pcm1 is correct. 0x328 is also correct since a PnP card has multiple
address ranges, corresponding in this case to SB emulation, WSS
emulation, synthesizer, midi, etc. etc.

> 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
>             ^^^ ???

as said above, all the ranges allocated to pcm1 are not used for pcm0

> $ cat sound.au >/dev/audio1
> timeout flushing dma1, cnt 0x48c flags 0x00000061
> [SILENCE]

this is (probably) because I fail to initialize properly the IW chip on
the GUS. I need the help of some volunteer willing to backport the init code
in guspnpXX to my driver, and test it. Without the card it is terribly
hard to do something like this for me.


	Cheers
	Luigi



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