From owner-freebsd-questions Wed Jul 28 12:15:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from or.mime.univ-paris8.fr (or.mime.up8.edu [193.54.153.27]) by hub.freebsd.org (Postfix) with ESMTP id 3D136154D4 for ; Wed, 28 Jul 1999 12:15:26 -0700 (PDT) (envelope-from marcas1@mime.up8.edu) Received: from dichlore.mime.up8.edu (dichlore.mime.up8.edu [193.54.153.26]) by or.mime.univ-paris8.fr (8.9.3/8.9.3) with ESMTP id VAA22898; Wed, 28 Jul 1999 21:07:35 +0200 (CEST) Date: Wed, 28 Jul 1999 21:03:55 +0000 (GMT) From: Marc Hufschmitt To: freebsd-questions@FreeBSD.ORG, Luigi Rizzo Subject: Re: Yamaha OPL3-SA YHM0802 configuration problem In-Reply-To: <199907230522.HAA28451@labinfo.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > hi, > can you try to patch the function cs423x_probe and cs423x_attach to add > your Yamaha PnP ID to the list. I have no idea what this chip emulates, > but if you are lucky it is similar to one of the older codecs from > yamaha. > > also in the config you should only put "device pcm0 ..." and expect > that the card be assigned unit #1. > > cheers > luigi > The chip is on the Dual PII mainboard. I've no special screw driver yet. I patched the /sys/i386/isa/snd/ad1848.c file with the PNP probed values dmesg: > Probing for PnP > devices: > CSN 1 Vendor ID: YMH0802 [0x0208a865] Serial 0xffffffff > Comp ID: @@@0000 > [0x0000 > 0000] diff : |1461,1462d1460 |< else if ( id == 0x0200a865) |< s = "Yamaha OPL3-SA"; |1522,1523c1520 |< vend_id==0x0008a865 || vend_id==0x8140d315 || |< vend_id==0x0208a865) { |--- |> vend_id==0x0008a865 || vend_id==0x8140d315) { The card is indentified as pcm1 at 0x530 irq 5 drq 1 flags 0x0 on isa mss_attach 1 at 0x530 irq 5 dma 1:0 flags 0x0 but no sound ! sndconfig says pcm1 ... ok sequencer .... (not functional) with cam (audio mixer) I get scratchy noises and high frequency continued sounds whereas the scsi hard disk seek for a track !!! Marc H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message