Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 1999 15:25:56 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Brian Feldman <green@unixhelp.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: new-bus breaks both sound drivers 
Message-ID:  <19990417072558.578211F69@spinner.netplex.com.au>
In-Reply-To: Your message of "Fri, 16 Apr 1999 22:30:43 PST." <XFMail.990416223043.cpiazza@home.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Piazza wrote:
> On 17-Apr-99 Brian Feldman wrote:
> > Both sound drivers are broken with the new-bus code. My SB16, in the old
> > driver, now gets recognized but sbxvi is never looked for. pcm0, the new
> > driver, never initializes with the new code :(
> > 
> > device pcm0 at isa? port? tty irq 5 drq 1 flags 0x16
> > 
> 
> The pcm0 sounddriver works for me.  In fact, the only problem I had with new
> bus was it is now pcm0 instead of pcm1 ;-).
> 
> es0: <AudioPCI ES1370> at device 9.0 on pci0
> pcm0: using I/O space register mapping at 0xd800
> es0: interrupting at irq 4
> 
> device          pcm0

On two different systems it works for me using pcm0..

This is an ESS clone card:

Probing for PnP devices:
CSN 1 Vendor ID: ESS1868 [0x68187316] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0
d041]
ESS1868 (rev 11)
pcm1 (ESS1868 <ESS1868> sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 on isa

This is an on-board Crystal SB-like PnP device:

Probing for PnP devices:
CSN 1 Vendor ID: CSC0b36 [0x360b630e] Serial 0xffffffff Comp ID: @@@0000 [0x0000
0000]
mss_attach <CS4236>1 at 0x530 irq 5 dma 1:0 flags 0x10
pcm1 (CS423x/Yamaha/AD1816 <CS4236> sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 fl
ags 0x10 on isa

For what it's worth, PnP has for the most part not been changed under
new-bus and is using the old mechanisms.  The only significant risk is that
the attach code doesn't like what I've done with the emulation of
isa_device->id_id for "unit numbers".

I'm sorry, you're going to need to have a bit of a look around and turning
on or inserting some debug code to see what's happening.

Cheers,
-Peter




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?19990417072558.578211F69>