Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 15:22:49 -0700 (PDT)
From:      Haobo Yu <haoboy@isi.edu>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   guspnp and 2.2.7 RELEASE
Message-ID:  <Pine.BSF.3.96.981021151738.14917A-100000@hoe.isi.edu>

next in thread | raw e-mail | index | archive | help
Hi,

I tried to use Luigi's code on my 2.2.7 release. I initialized the card thru
user config as instructed in Luigi's snd/CARDS:

 pnp 1 0 os enable port0 0x220 port1 0x320 port2 0x32c irq0 5 drq0 7 drq1 5

The kernel recognized the card later: (I couldn't get it work without doing
manual initialization. It always complained about 'LDN' = 0.

 /kernel: Probing for PnP devices:
 /kernel: Trying Read_Port at 203
 /kernel: CSN 1 Vendor ID: GRV0001 [0x0100561e] Serial 0x00000001
 /kernel: PnP: override config for CSN 1 LDN 0 vend_id 0x0100561e
 /kernel: pnp1:0 port 0x0000 0x0000 0x0000 0x0000 irq 0:0 drq 4:4 en 0 fl 0x3
 /kernel: pnp1:0 port 0x0220 0x0320 0x032c 0x0000 irq 5:0 drq 7:5 en 1 fl 0x3
 /kernel: pnp1:0 port 0x0220 0x0320 0x032c 0x0000 irq 5:0 drq 7:5 en 1 fl 0x3
 /kernel: GUS: silicon rev A
 /kernel: mss_attach <GusPnP>1 at 0x328 irq 5 dma 5:7 flags 0x17
 /kernel: pcm1 (GusPnP <GusPnP> sn 0x00000001) at 0x328 irq 5 drq 5 flags 0x17
id 9

I did all symbolic links in /dev as required. I can get perfect audio output,
but when it stops, it cannot flush its dma buffer:

 Oct  7 14:17:15 /kernel: timeout flushing dbuf_out.chan, cnt 0xfffd88ec
flags 0x000000c1
 Oct  7 14:17:42 /kernel: timeout flushing dbuf_out.chan, cnt 0xfffd8f8c
flags 0x100040c1
 Oct  7 14:19:04 /kernel: timeout flushing dbuf_out.chan, cnt 0xfffd771c
flags 0x100040c1

This doesn't matter if I listen to a continuous stream, but if there's a
break, or I want to interact, I'm in big trouble.

I'd like to spend some time to track this down. Is it because I'm using a
wrong version of isa/snd/dmabuf.c or some other wrong setup? Here is checkout
record of my dmabuf.c:

C src/sys/i386/isa/snd/dmabuf.c,v RELENG_2_2_7_RELEASE .
2#871#19#9085282005#523943#444 1.4.2.4 98.06.10.17.37
.00 2#871#19#9011543845#239973#644

I'll be grateful if somebody can shed light on this. Thanks in advance.

- Haobo

In article <Pine.BSF.4.03.9810200916160.6354-100000@resnet.uoregon.edu>,
  dwhite@resnet.uoregon.edu (Doug White) wrote:
> On Tue, 20 Oct 1998, Dave Hayes wrote:
>
> > Does anyone know how to get a GUS working with 2.2.7 RELEASE? I've
> > tried using the old "guspnp" I was using, and it might probably work
> > to try the newest one but I can't seem to find it.
> >
> > I'd sure hate to go back to 2.2.2 just to get this working.
>
> guspnp was poll()ifed ages ago.  I have a copy of guspnp6 if you're
> desperate.
>
> We need to work on the support of the guspnp in pcm; I've heard from a few
> peole that it doesn't work as well as guspnp.
>
> Doug White
> Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
> http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
>
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981021151738.14917A-100000>