From owner-freebsd-questions Wed Nov 25 11:50:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA03850 for freebsd-questions-outgoing; Wed, 25 Nov 1998 11:50:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ninbox.ml.org (hsv1-215.airnet.net [207.242.81.215]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA03797 for ; Wed, 25 Nov 1998 11:50:08 -0800 (PST) (envelope-from kris@airnet.net) Received: from airnet.net (localhost [127.0.0.1]) by ninbox.ml.org (8.9.1/8.8.5) with ESMTP id NAA02035; Wed, 25 Nov 1998 13:46:42 -0600 (CST) Message-ID: <365C5EA0.3BC2FE3C@airnet.net> Date: Wed, 25 Nov 1998 13:46:40 -0600 From: Kris Kirby Organization: Absolutely None! X-Mailer: Mozilla 4.07 [en] (X11; U; FreeBSD 3.0-RELEASE i386) MIME-Version: 1.0 To: Jim Barker CC: questions@FreeBSD.ORG Subject: Re: Yamaha OPL card References: <199610200144.BAA00207@lunchbox.ibm.net> <365BBB68.AAFAEFA0@uk.radan.com> <365C3921.6D8D2C1B@bbn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim Barker wrote: > > I will investigate the pcm driver that you are referring to, I appreciate > the insight, thanks. If you could provide some detail's, that would > be great as well, thank you. In the kernel config file add: controller pnp0 device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr Write down the pnp line for the Yamaha (/usr/src/sys/i386/isa/snd/CARDS). You'll need to for when you reboot (kernel -c) I think the code is in 2.2.7-RELEASE, if not you can add it from Luigi's website (http://www.iet.unipi.it/~luigi/sound.html). >From my dmesg: Probing for PnP devices: CSN 1 Vendor ID: YMH0020 [0x2000a865] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041] mss_attach 1 at 0x530 irq 5 dma 0:1 flags 0x11 setting up yamaha registers set yamaha master volume to maxpcm1 (CS423x/Yamaha sn 0xffffffff) at 0x530-0x537 irq 5 drq 0 flags 0x11 on isa Oh yes: joy0 at 0x201 on isa joy0: joystick The joystick is one of the dumbest PC interfaces on the planet. (Usually,) It's either on or it's off. >From a post I made sometime back, and it's reply from jkh: > Am I correct in the assumption that Luigi's code is mutually exclusive > with the snd0 driver? I'd like to use the OPL3 on my sound card You are correct in assuming this. - Jordan I personally highly recommend moving the soundcard from IRQ 7 to IRQ 5. An IRQ per device. I think only MCA (unsupported) and PCI share irqs. -- Kris Kirby UAH Mail UAH CS Home WWW ------------------------------------------- TGIFreeBSD... 'Nuff said. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message