Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 14:41:35 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Andrew Reilly" <areilly@nsw.bigpond.net.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: Fixed sound card problem. 
Message-ID:  <19990904064135.AE6CC1CAA@overcee.netplex.com.au>
In-Reply-To: Your message of "Sat, 04 Sep 1999 08:36:26 %2B1000." <19990904083622.A40069@gurney.reilly.home> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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 <CS4236> 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: <AudioPCI ES1370> irq 11 at device 10.0 on pci0
pcm1: <ESS1868> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 \
  on isa0

On another box, I see:

# dmesg | grep pcm
pcm0: <CS4236> 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




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