From owner-freebsd-questions Mon Dec 7 05:53:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29944 for freebsd-questions-outgoing; Mon, 7 Dec 1998 05:53:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (news2.alcatel.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29939 for ; Mon, 7 Dec 1998 05:53:48 -0800 (PST) (envelope-from Thierry.Herbelot@alcatel.fr) From: Thierry.Herbelot@alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id PAA07439; Mon, 7 Dec 1998 15:52:13 +0100 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id OAA06469; Mon, 7 Dec 1998 14:50:12 +0100 (MET) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with SMTP id OAA24903; Mon, 7 Dec 1998 14:27:41 +0100 (MET) Received: from telspace.alcatel.fr by telss1 (4.1/SMI-4.1) id AA28653; Mon, 7 Dec 98 14:32:09 +0100 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA194377074; Mon, 7 Dec 1998 14:24:34 +0100 X-Openmail-Hops: 1 Date: Mon, 7 Dec 98 14:20:09 +0100 Message-Id: In-Reply-To: <19981207065453.A12129@io.com> Subject: Re: Yamaha OPL YMF715 ? Mime-Version: 1.0 To: mib@io.com Cc: freebsd-questions@FreeBSD.ORG, Thierry.Herbelot@alcatel.fr Content-Type: text/plain; charset=US-ASCII; name="Re:" Content-Disposition: inline; filename="Re:" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 1 at 0x530 irq 5 dma 0:1 flags 0x11 > setting up yamaha registers > set yamaha master volume to max > pcm1 (CS423x/Yamaha 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/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