Date: Mon, 7 Dec 98 14:20:09 +0100 From: Thierry.Herbelot@alcatel.fr To: mib@io.com Cc: freebsd-questions@FreeBSD.ORG, Thierry.Herbelot@alcatel.fr Subject: Re: Yamaha OPL YMF715 ? Message-ID: <H000057c01ab829d@MHS> In-Reply-To: <19981207065453.A12129@io.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, Dec 07, 1998 at 09:52:03AM +0100, Thierry.Herbelot@alcatel.fr wrote: > > The pnp device is numbered pcm1, so you must MAKEDEV pcm1 (see the > > archives, there is a patch to do in /dev/MAKEDEV and I don't have it > > onhand) > > > > > brian@worldcontrol.com wrote: > > > > On Thu, Dec 03, 1998 at 03:24:42PM -0600, mib wrote: > > > > > What lines are necessary in my config file for my integrated Yamaha > > > > > OPL YMF715 audio chip? Thanks in advance! > > > > > > > > I use > > > > > > > > device pcm0 at isa? port ? tty irq 10 drq 0 flags 0x11 > > > > > > > > However, I assigned the DRQs on my system in reverse of the way > > > > most people do, which would be: > > > > > > > > device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x10 > > > > > > I added from LINT... > > > > > > controller pnp0 > > > device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector p\ > > > cmintr > > > > > > ... and dmesg says... > > > > > > Probing for PnP devices: > > > CSN 1 Vendor ID: YMH0030 [0x3000a865] Serial 0x80860001 > > > This is a Yamaha SA3, but LDN 0 is disabled > > > Probing for devices on the ISA bus: > > > pcm0 not found at 0xffffffff > > > > > > Any suggestions? > > Searching the archives (which I should have done first!) suggests to me that > your MAKEDEV pcm1 suggestion is a solution to someone else's problem (or, at > least, not my problem yet). I discovered, however, that disabling the PNP OS > BIOS setting does some magic; dmesg now says: > > Probing for PnP devices: > CSN 1 Vendor ID: YMH0030 [0x3000a865] Serial 0x80860001 > mss_attach <Yamaha SA3>1 at 0x530 irq 5 dma 0:1 flags 0x11 > setting up yamaha registers > set yamaha master volume to max > pcm1 (CS423x/Yamaha <Yamaha SA3> sn 0x80860001) at 0x530 irq 5 drq 0 flags 0x11 > id 9 > Probing for devices on the ISA bus: > pcm0 not found at 0xffffffff > > Next plan of action? Now is the time to update /dev/MAKEDEV, so that you make a /dev/pcm1 (and other audio devices), then ln -s /dev/audio to the right /dev/<I don't remember the exact name>1 You're close !!! (I'm at work and the patches are at home : I'm sorry I can't send them) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?H000057c01ab829d>