From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 21:59:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B26916A41B for ; Mon, 11 Feb 2008 21:59:15 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 46E7213C442 for ; Mon, 11 Feb 2008 21:59:13 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: (qmail 23368 invoked by uid 79); 11 Feb 2008 21:59:11 -0000 Received: from 189.70.5.132 by recife.ipad.com.br (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.92rc2/5767. spamassassin: 3.1.8. perlscan: 1.25-st-qms. Clear:RC:0(189.70.5.132):SA:0(-2.6/2.9):. Processed in 5.096178 secs); 11 Feb 2008 21:59:11 -0000 X-Spam-Status: No, hits=-2.6 required=2.9 X-Antivirus-IPAD-Mail-From: mlobo@digiart.art.br via recife.ipad.com.br X-Antivirus-IPAD: 1.25-st-qms (Clear:RC:0(189.70.5.132):SA:0(-2.6/2.9):. Processed in 5.096178 secs Process 23357) Received: from unknown (HELO lobo) (mlobo@digiart.art.br@189.70.5.132) by ipad.com.br with SMTP; 11 Feb 2008 21:59:06 -0000 From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Mon, 11 Feb 2008 19:04:05 -0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802111904.06079.mlobo@digiart.art.br> Subject: MIDI with snd_cmi.ko in FreeBSD 7.0-PRERELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 21:59:15 -0000 Hi; I know this has been asked here before but all the answers I could find referred to older freebsd versions. I have a pcm0: port 0xac00-0xacff irq 19 at device 5.0 and it has a midi interface (which is fully functional). When I had 6.2, MIDI was working fine. I had /dev/sequencer, etc.... The devices showed up, but now they're gone. Peeking through cmi.c, I found TODO: MIDI. BUT i also found: static DEFINE_CLASS(cmi_mpu, cmi_mpu_methods, 0); static void cmi_midiattach(struct sc_info *sc) and a good set of mpu functions. After a long googling session, I found that some people managed to get it working by "loading a separate module (midi.ko ?? or mpu401.ko??)" but I could not find any info on how they compiled those separetly or made them work. Nor any other specifics on the subject. I tried both device midi and device mpu401 on the kernel but none was recognized. The reason for that is that I use Ardour (great studio) but I am unable to record midi, which is the only thing missing to use it fully. Would anyone have a direction for me to research further? Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)