From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 21 22:49:15 2011 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A97B1065673 for ; Mon, 21 Feb 2011 22:49:15 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 22E918FC08 for ; Mon, 21 Feb 2011 22:49:15 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LGZ0012ZOQ1RC10@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Mon, 21 Feb 2011 23:49:13 +0100 (CET) Received: from kg-v2.kg4.no ([84.48.120.77]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LGZ007Q7OQ17HN0@terra-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Mon, 21 Feb 2011 23:49:13 +0100 (CET) Date: Mon, 21 Feb 2011 23:49:12 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20110221234912.fc03786d.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: idea: "shim" driver for Roland / Edirol SD-20 MIDI sound module? 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: Mon, 21 Feb 2011 22:49:15 -0000 Hi, I have a Roland / Edirol SD-20[1] MIDI sound module, from the Studio Canvas[2] line. It connects via usb to a computer (it can connect vis serial too, but why use that when usb is everywhere?). Anyway, this module isn't getting picked up by the usb midi drivers of FreeBSD because it doesn't advertise iutself as "usb midi class", but instead uses "usb vendor class", if I have understood this correctly. In all other ways, the SD-20 is a general MIDI (GM2) device, if I understand correctly. usb device descriptor, current config etc. on my page for the SD-20[3]. Now, here is my idea: if there was a "shim" (usb) device driver under FreeBSD, which would attach to this device, and do just two things: a) modify the "usb class " of the device to be "usb midi" instead of "usb vendor" b) transparently forward all other requests (and responses) to and from the device the effect would be (I hope) that FreeBSD would see a new usb midi device, and the "normal" usb midi drivers would attach to this device. Voila! A driver for this almost-standard usb midi device (Roland SD-20), which would re-use the existing MIDI drivers. So, would this work, or not? References: 1) http://www.roland.com/products/en/SD-20/ 2) http://en.wikipedia.org/wiki/Roland_Sound_Canvas 3) http://sites.google.com/site/tingox/edirol_sd-20 -- Regards, Torfinn Ingolfsen