From owner-freebsd-multimedia Thu Sep 18 20:34:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA03960 for multimedia-outgoing; Thu, 18 Sep 1997 20:34:40 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA03952 for ; Thu, 18 Sep 1997 20:34:36 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id UAA01273; Thu, 18 Sep 1997 20:34:06 -0700 (PDT) Message-ID: <19970918203406.10328@hydrogen.nike.efn.org> Date: Thu, 18 Sep 1997 20:34:06 -0700 From: John-Mark Gurney To: Mark Murray Cc: multimedia@FreeBSD.ORG Subject: Re: Report back on Luigi's sound driver and GUS PnP References: <199709181934.VAA00328@greenpeace.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199709181934.VAA00328@greenpeace.grondar.za>; from Mark Murray on Thu, Sep 18, 1997 at 09:34:57PM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 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 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