From owner-freebsd-current Fri Sep 3 23:42:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id CAFE9150BD for ; Fri, 3 Sep 1999 23:42:31 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id AE6CC1CAA; Sat, 4 Sep 1999 14:41:35 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrew Reilly" Cc: current@FreeBSD.ORG Subject: Re: Fixed sound card problem. In-reply-to: Your message of "Sat, 04 Sep 1999 08:36:26 +1000." <19990904083622.A40069@gurney.reilly.home> Date: Sat, 04 Sep 1999 14:41:35 +0800 From: Peter Wemm Message-Id: <19990904064135.AE6CC1CAA@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Andrew Reilly" wrote: > On Fri, Sep 03, 1999 at 09:08:59PM +0100, Doug Rabson wrote: > > This is no longer necessary (in fact it causes much confusion for the > > driver). The correct declaration for a pnp soundcard is 'device pcm0'. > > How do you set flags for particular cards, now? I used to have > to use the flags option to tell the pcm driver which second DMA > channel to use (5: flags 0x15). I haven't had the opportunity > to do any full-duplex stuff since that change, so I don't know > whether it has figured it out for itself or not. I assume that > it has? The boot message now says: > > pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 flags 0x10 on isa > > So, is 0 a useful 2nd DMA channel, or does the driver make do > with one channel now? I'm not sure, dma 0 works here, but it's specifically detected automatically (without flags) and is reported as such. # dmesg | grep pcm pcm0: irq 11 at device 10.0 on pci0 pcm1: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 \ on isa0 On another box, I see: # dmesg | grep pcm pcm0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 \ on isa0 I suspect this is the same device you have. Are you sure you are up to date with your source? The probe message looks a bit odd and looks more like the old pnp messages. Did you rerun config and do a 'make depend'? Also, the new pnp/pcm code will start at pcm0, rather than pcm1 unless there is a pcm0 already in use. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message