Midi and FreeBSD
Torfinn Ingolfsen
torfinn.ingolfsen at broadpark.no
Sun Feb 20 20:30:20 UTC 2011
On Sun, 20 Feb 2011 21:19:09 +0100
Hans Petter Selasky <hselasky at c2i.net> wrote:
> On Sunday 20 February 2011 20:07:25 Torfinn Ingolfsen wrote:
> > On Sat, 19 Feb 2011 16:37:31 +0100
> >
> > Zahemszky Gabor <gabor at zahemszky.hu> wrote:
> > > Hi!
> > >
> > > My children have got a drum-machine, which - of course - can speak MIDI.
> > > If
> >
> > Speaking of MIDI; how does one use a usb-connected (musical) keyboard under
> > FreeBSD? I have a Evolution eKeys 37[1] keyboard, which just shows up as a
> > ugen device when connected: root at kg-v7# usbconfig -u 0 -a 3
> > ugen0.3: <USB MIDI keyboard Evolution Electronics Ltd.> at usbus0, cfg=0
> > md=HOST spd=FULL (12Mbps) pwr=ON root at kg-v7# usbconfig -u 0 -a 3
> > dump_device_desc
> > ugen0.3: <USB MIDI keyboard Evolution Electronics Ltd.> at usbus0, cfg=0
> > md=HOST spd=FULL (12Mbps) pwr=ON
> >
> > bLength = 0x0012
> > bDescriptorType = 0x0001
> > bcdUSB = 0x0100
> > bDeviceClass = 0x0000
> > bDeviceSubClass = 0x0000
> > bDeviceProtocol = 0x0000
> > bMaxPacketSize0 = 0x0040
> > idVendor = 0x0a4d
> > idProduct = 0x00d2
> > bcdDevice = 0x0252
> > iManufacturer = 0x0001 <Evolution Electronics Ltd.>
> > iProduct = 0x0002 <USB MIDI keyboard>
> > iSerialNumber = 0x0000 <no string>
> > bNumConfigurations = 0x0001
> >
> > And that doesn't help me much to get it working. :-)
> >
> > References:
> > 1) http://sites.google.com/site/tingox/evolution_ekeys37
>
> What does the config descriptor look like?
It is in the reference quoted above. :-)
Anyway, after 'kldload snd_uaudio' the keyboard gets claimed:
(from /var/log/messages):
Feb 20 20:10:35 kg-v7 root: Unknown USB device: vendor 0x0a4d product 0x00d2 bus uhub2
Feb 20 20:10:35 kg-v7 kernel: ugen0.3: <Evolution Electronics Ltd.> at usbus0
Feb 20 20:10:35 kg-v7 kernel: uaudio0: <Evolution Electronics Ltd. USB MIDI keyboard, class 0/0, rev 1.00/2.52, addr 3> on usbus0
Feb 20 20:10:35 kg-v7 kernel: uaudio0: No playback!
Feb 20 20:10:35 kg-v7 kernel: uaudio0: No recording!
Feb 20 20:10:35 kg-v7 kernel: uaudio0: MIDI sequencer
Feb 20 20:10:35 kg-v7 kernel: pcm6: <USB audio> on uaudio0
Sorry about the brainfart.
--
Torfinn
More information about the freebsd-multimedia
mailing list