Re: [Alsa-user] Yamaha UX16
Brought to you by:
perex
From: Clemens L. <cl...@la...> - 2002-09-26 07:33:09
|
Daniel Tonda Castillo wrote: > tail -50 /var/log/messages reports this: > ============================================================================ > Sep 25 11:40:47 poseidon kernel: usb.c: registered new driver midi > Sep 25 11:40:47 poseidon kernel: usb-midi: Found YAMAHA USB-MIDI device > on dev 0499:1009, iface 0 > Sep 25 11:40:47 poseidon kernel: usb-midi: Found MIDIStreaming device > corresponding to Release 1.00 of spec. > Sep 25 11:40:47 poseidon kernel: usb-midi: Found IN Jack 0x01 EXTERNAL > Sep 25 11:40:47 poseidon kernel: usb-midi: Found OUT Jack 0x01 EXTERNAL, > 1 pins > Sep 25 11:40:47 poseidon kernel: usbmidi: found [ Unknown Yamaha ] > (0x0499:0x1009), attached: > Sep 25 11:40:47 poseidon kernel: usbmidi: /dev/midi01: in (ep:81 cid: 0 > bufsiz:64) out (ep:01 cid: 0 bufsiz:64) In theory, these messages indicate that everything is fine. > So I tried: playmidi -d /dev/midi01 midifile.mid > > Playmidi started but still no sound. There should be some error messages if the driver cannot write the data to the device. Please connect the MIDI In to the MIDI Out and check if you can receive the data you're sending to the device, i.e. run "od -t x1 /dev/midi01" and playmidi simultaneously. > after modprobe usb-midi, lsusb reports this: > > Bus 001 Device 004: ID 0499:1009 Yamaha Corp. > bInterfaceNumber 0 > unknown descriptor type: 06 24 02 02 01 00 > unknown descriptor type: 09 24 03 02 01 01 01 01 00 > bEndpointAddress 0x01 EP 1 OUT > bEndpointAddress 0x81 EP 1 IN Please apply the following patch in the directory alsa-driver-0.9.0rc3/alsa-kernel/usb/, and recompile: =================================================================== --- usbmidi.c.org Thu Aug 15 10:23:12 2002 +++ usbmidi.c Thu Sep 26 06:52:10 2002 @@ -1228,6 +1228,11 @@ .ifnum = 0, .endpoints = {{ 1, 0x000f, 0x0001 }} }; +static usbmidi_device_info_t snd_usbmidi_yamaha_ux16_info = { + .vendor = "Yamaha", .product = "UX16", + .ifnum = 0, + .endpoints = {{ 1, 0x0001, 0x0001 }} +}; /* * There ain't no such thing as a standard-compliant Roland device. * Apparently, Roland decided not to risk to have wrong entries in the USB @@ -1333,6 +1338,7 @@ bInterfaceSubClass: USB_SUBCLASS_MIDISTREAMING }, { USBMIDI_NONCOMPLIANT_DEVICE(0x0499, 0x1000, yamaha_ux256) }, { USBMIDI_NONCOMPLIANT_DEVICE(0x0499, 0x1001, yamaha_mu1000) }, + { USBMIDI_NONCOMPLIANT_DEVICE(0x0499, 0x1009, yamaha_ux16) }, { USBMIDI_NONCOMPLIANT_DEVICE(0x0582, 0x0000, roland_ua100) }, { USBMIDI_NONCOMPLIANT_DEVICE(0x0582, 0x0002, roland_um4) }, { USBMIDI_NONCOMPLIANT_DEVICE(0x0582, 0x0003, roland_sc8850) }, =================================================================== HTH Clemens |