From owner-freebsd-multimedia Fri Jun 11 23:44:43 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from itchy.serv.net (itchy.serv.net [205.153.153.233]) by hub.freebsd.org (Postfix) with ESMTP id 0CEC914DCC for ; Fri, 11 Jun 1999 23:44:37 -0700 (PDT) (envelope-from utz@itchy.serv.net) Received: from localhost (utz@localhost) by itchy.serv.net (8.8.5/8.8.5) with SMTP id XAA19063; Fri, 11 Jun 1999 23:44:33 -0700 (PDT) Date: Fri, 11 Jun 1999 23:44:32 -0700 (PDT) From: The Utz Family To: Chuck Robey Cc: FreeBSD-multimedia@FreeBSD.ORG Subject: Re: midi questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, so i am a little confused. my understanding is that Mr Tanimura's new midi driver only works with midi devices that you access via the serial port, so you have to have one of the little sound dealies that they sell for laptops. i dont beleive that it supports onboard midi devices.... did i miss something by not visiting the webpage lately? or did i have it wrong to begin with? On Fri, 11 Jun 1999, Chuck Robey wrote: > I've been trying to get Seigo Tanimura's new midi driver to work ... and > not doing too well. It's probably because I haven't paid all that much > attention to sound, so I don't know it as well as I should. I want to > ask a few questions. If you know any of the answers, I'd appreciate > some info. > > I have an Intel DK440LX motherboard (because of the dual processors). > It has a pretty large array of on-board peripherals, and the sound is > one of them, based upon (according to the pdf docs) Crystal CS4236B, > which has an OPL-3 compatible FM synthesizer. > > The new midi driver actually has the ability to drive a midi connection, > so I have to know about the midi port, which I've never needed before. > Add that to PNP, that's causing my problems in getting it all going. > > I have had sound working great, via PNP & kernel.conf, so I am > reasonably familiar with pnp(4) and kget(8), and the boot files. I've > had my sound rearranging itself via kernel.conf successfully. > > Does the midi port need it's own IRQ? I had the sound card listed as > running on IRQ 15, ioaddr 0x534 for WSS. The soundblaster > compatibility at ioaddr 0x220; I didn't have a line for the FM > sythesizer. Here's the line I had: > > pnp 1 0 os enable port0 0x534 port2 0x220 irq0 15 drq0 1 drq1 0 > > OK, to add the FM synthesizer, I added a port 1 clause, which changed > the line to: > > pnp 1 0 os enable port0 0x534 port 1 0x388 port2 0x220 irq0 15 drq0 1 drq1 0 > > pnpinfo seemed to find this ok, and set it up. The midi(4) man page > that came with Seigo's driver talks about the midi uart --- does it > share that same irq (the one I had set to 15) or does it need it's own? > I had set up a second kernel.conf line: > > pnp 1 3 os enable port0 0x330 irq 15 > > which I thought would handle midi. It kept on giving me the error line > > /kernel: open: unit 1 not configured, perhaps you want unit 2 ? > > I tried setting that line 2 of kernel.conf so it would use irq 11 (an > irq of it's own). It still doesn't work. The probe message doesn't > tell a lot: > > uartsio0: probing at port 0x330. > opl0: probing at port 0x330. > > Is that 0x330 address right, for a uart? I thought that was the address > to right to the midi device ... I didn't realize that's a uart. > > Here's the end of my pnpinfo listing, maybe it will be of help: > > Logical device #0 > IO: 0x0534 0x0388 0x0220 0x0000 0x0000 0x0000 0x0000 0x0000 > IRQ 15 0 > DMA 1 0 > IO range check 0x00 activate 0x01 > > Logical device #1 > IO: 0x0200 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 > IRQ 0 0 > DMA 4 4 > IO range check 0x00 activate 0x01 > > Logical device #2 > IO: 0x0120 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 > IRQ 0 0 > DMA 4 4 > IO range check 0x00 activate 0x01 > > Logical device #3 > IO: 0x0330 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 > IRQ 0 0 > DMA 4 4 > IO range check 0x00 activate 0x01 > > > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data > chuckr@picnic.mat.net | communications topic, C programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run picnic and jaunt, both FreeBSD-current. > (301) 220-2114 | > ----------------------------+----------------------------------------------- > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message