From owner-freebsd-multimedia Thu Sep 18 20:06:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA02064 for multimedia-outgoing; Thu, 18 Sep 1997 20:06:58 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA02050 for ; Thu, 18 Sep 1997 20:06:53 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id DAA11158; Fri, 19 Sep 1997 03:52:29 +0200 From: Luigi Rizzo Message-Id: <199709190152.DAA11158@labinfo.iet.unipi.it> Subject: Re: Report back on Luigi's sound driver and GUS PnP To: mark@grondar.za (Mark Murray) Date: Fri, 19 Sep 1997 03:52:28 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: <199709181934.VAA00328@greenpeace.grondar.za> from "Mark Murray" at Sep 18, 97 09:34:38 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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 1 at 0x328 irq 9 dma 7:6 flags 0x16 > pcm1 (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