From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 27 15:42:10 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4374416A52E for ; Sun, 27 Aug 2006 15:42:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA31644613 for ; Sun, 27 Aug 2006 15:19:14 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.216.86.33] (HELO [10.0.0.249]) by mailfe10.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 95991251 for freebsd-multimedia@freebsd.org; Sun, 27 Aug 2006 17:19:12 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Sun, 27 Aug 2006 17:19:22 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608271719.23435.hselasky@c2i.net> Subject: New USB MIDI driver for FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 15:42:10 -0000 Hi, During the past week I have been working on USB MIDI support for FreeBSD. I choose the simplest approach, and that was to create a raw/direct MIDI device. I have created a user-land library called "umidi20" that will do the low-level sequencing / timing stuff. Maybe someone here wants to help. How to install: # # First get all the sources: # svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b # # The following commands will # install the driver on FreeBSD: # cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install cp -i ../src/sys/dev/sound/usb/uaudio*[ch] /sys/dev/sound/usb/ # # Then build a new kernel. # The "umidi20" library will seemlessly handle device attach/detach. For example one can unplug the MIDI device during playback, then plug it in, and everything works again. No need to restart anything. Just make sure that you "chmod 777 /dev/umidi*" or something similar. I have also created a homepage with some screenshots and info: http://www.turbocat.net/~hselasky/midistudio --HPS