From owner-freebsd-multimedia@FreeBSD.ORG Tue Feb 22 22:41:12 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 04391106566B for ; Tue, 22 Feb 2011 22:41:12 +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 AEB398FC1A for ; Tue, 22 Feb 2011 22:41:11 +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 <0LH100EDRJ0L2L90@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Tue, 22 Feb 2011 23:41:09 +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 <0LH100HGFJ0LVX10@terra-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Tue, 22 Feb 2011 23:41:09 +0100 (CET) Date: Tue, 22 Feb 2011 23:41:09 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20110222234109.eb5c0e76.torfinn.ingolfsen@broadpark.no> In-reply-to: <4D63852C.5050603@ladisch.de> References: <20110221234912.fc03786d.torfinn.ingolfsen@broadpark.no> <201102220900.05248.hselasky@c2i.net> <4D63852C.5050603@ladisch.de> 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: Re: 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: Tue, 22 Feb 2011 22:41:12 -0000 Hi, On Tue, 22 Feb 2011 10:43:08 +0100 Clemens Ladisch wrote: > Hans Petter Selasky wrote: > > Are you sure the protocol used by your device is compatible with the > > USB MIDI standard? > > Yes. > > > You might be able to edit /sys/dev/sound/usb/uaudio.c so that it > > attaches. > > It works this way in Linux and OpenBSD. I booted OpenBSD 4.8 on that machine to see what it had to say about the SD-20. tingo@home99$ uname -a OpenBSD home99.kg4.no 4.8 GENERIC.MP#359 i386 tingo@home99$ usbdevs -dv -f /dev/usb0 -a 4 Controller /dev/usb0: addr 4: full speed, power 500 mA, config 1, EDIROL SD-20(0x0027), Roland(0x0582), rev 1.00 umidi1 tingo@home99$ tail -7 /var/log/messages Feb 23 00:30:15 home99 /bsd: umidi1 at uhub2 Feb 23 00:30:15 home99 /bsd: port 3 configuration 1 interface 0 "Roland EDIROL SD-20" rev 1.10/1.00 addr 4 Feb 23 00:30:15 home99 /bsd: umidi1: (Fixed Endpoint) Feb 23 00:30:15 home99 /bsd: umidi1: out=2, in=3 Feb 23 00:30:15 home99 /bsd: midi1 at umidi1: Feb 23 00:30:15 home99 /bsd: midi2 at umidi1: Feb 23 00:30:15 home99 /bsd: midi3 at umidi1: Interesting, it seems it uses the umidi(4) driver, not the snd_uaudio driver under OpenBSD. -- Torfinn