From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 24 20:41:00 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23D7D16A402 for ; Tue, 24 Apr 2007 20:41:00 +0000 (UTC) (envelope-from kaj@kth.se) Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF8B13C455 for ; Tue, 24 Apr 2007 20:40:59 +0000 (UTC) (envelope-from kaj@kth.se) Received: from localhost (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id BF98A14D7FF; Tue, 24 Apr 2007 22:15:51 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by localhost (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qZB2YvsEHs0v; Tue, 24 Apr 2007 22:15:50 +0200 (CEST) Received: from kashyyyk.ite.kth.se (kashyyyk.ite.kth.se [130.237.31.35]) by smtp-2.sys.kth.se (Postfix) with ESMTP id CED1314CE00; Tue, 24 Apr 2007 22:15:49 +0200 (CEST) Received: by kashyyyk.ite.kth.se (Postfix, from userid 10715) id BDBF389CA62; Tue, 24 Apr 2007 22:15:49 +0200 (CEST) To: Hans Petter Selasky References: <200608271719.23435.hselasky@c2i.net> From: Rasmus Kaj Organization: http://www.stacken.kth.se/ - Stacken computer club, Stockholm X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q; OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<; I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Date: 24 Apr 2007 22:15:49 +0200 In-Reply-To: <200608271719.23435.hselasky@c2i.net> Message-ID: Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-multimedia@freebsd.org Subject: Re: 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: Tue, 24 Apr 2007 20:41:00 -0000 >>>>> "HPS" == Hans Petter Selasky wrote on 2006-08-27: HPS> During the past week I have been working on USB MIDI support for HPS> FreeBSD. I choose the simplest approach, and that was to create HPS> a raw/direct MIDI device. Hi! Thanks for giving me some hope regarding MIDI on FreeBSD again! HPS> svn --username anonsvn --password anonsvn \ HPS> checkout svn://svn.turbocat.net/i4b What version of FreeBSD was this supposed to work with? I was able to run it with releng_6 as of about a week ago, but not talk to my midi device [1], so I thought I'd try it with current. Unfortunatley, there seems to have been some changes (in bus_setup_intr and cam_sim_alloc, possibly more) in current that this code does not reflect. Is there a more up-to-date version somewhere else? Should I go back to releng_6 and try to insert some "magic numbers" (device id) for my device? Or is (relevant parts of) this included in current by now? Maybe current just needs some device ids? By the way, what does the MIDI support have in common with the ISDN support? [1] I've got a "MIDI Mate", it is a simple gateway between a USB connector in one end an a single pair (in / out) of midi connectors in the other, that identifies as follows on FreeBSD current: ugen0: on uhub1 Unknown USB device: vendor 0x0a92 product 0x1000 bus uhub1 -- Rasmus Kaj -- http://www.stacken.kth.se/~kaj/ Science is what happens when preconception meets verification