Date: Sat, 12 Jun 1999 21:24:19 -0400 (EDT) From: Chuck Robey <chuckr@picnic.mat.net> To: The Utz Family <utz@serv.net> Cc: FreeBSD-multimedia@FreeBSD.ORG Subject: Re: midi questions Message-ID: <Pine.BSF.4.10.9906122122430.567-100000@picnic.mat.net> In-Reply-To: <Pine.BSF.4.02.9906112341430.18732-100000@itchy.serv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Jun 1999, The Utz Family wrote: > 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? According to the web page, and the man pages, it knew about the MPU-401 chip, and the correct addresses, but I guess it's still a little too new. I'm reading code on it, but I have to admit it's not high on my priority list (I have another project) so amybe later ... > > 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 > > > > ----------------------------+----------------------------------------------- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906122122430.567-100000>