emagic mt4
hi all,
i have an emagic mt4 i'm trying to use with alsa. it's a 2 in 4 out usb midi device. i have just updated to alsa-driver-1.0.2c to see if that would help, but no joy. from /var/log/messages i get:
Feb 18 13:19:26 ian-lnx kernel: usb.c: USB device 4 (vend/prod
0x86a/0x3) is not claimed by any active driver. has anyone else had any luck or got any suggestions? thanks,
ian
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
Quoted 1 line · ian esten
i have an emagic mt4 i'm trying to use with alsa.
Currently, nobody knows how to communicate with this device.
Please post the output of "lsusb -v".
Regards,
Clemens
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
here it is:
Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000 Virtual
idProduct 0x0000 Hub
bcdDevice 0.00
iManufacturer 0
iProduct 2 USB UHCI Root Hub
iSerial 1 10c0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 255
Language IDs: (length=4)
0000 (null)((null))Bus 001 Device 010: ID 04b4:0202 Cypress Semiconductor Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x04b4 Cypress Semiconductor idProduct 0x0202 bcdDevice 0.00 iManufacturer 1 Adomax iProduct 2 USB/PS2 Scroll Mouse iSerial 0 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4
bmAttributes 0xa0
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 5 EP1 Interrupt
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 4
bInterval 10
Language IDs: (length=4)
0409 English(US)
Bus 001 Device 040: ID 086a:0003 Emagic Soft-und Hardware GmbH cannot get string descriptor 1, error = Connection timed out(110) cannot get string descriptor 2, error = Connection timed out(110) Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 255
bMaxPacketSize0 8
idVendor 0x086a Emagic Soft-und Hardware GmbH
idProduct 0x0003
bcdDevice 0.01
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 73
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 32
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 32
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 32
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 32
bInterval 1
Language IDs: (length=4)
0409 English(US)Quoted 14 lines · Clemens Ladisch
Quoted 1 line · ian esten
i have an emagic mt4 i'm trying to use with alsa.
Currently, nobody knows how to communicate with this device.
Please post the output of "lsusb -v".
Regards,
Clemens
Quoted 9 lines
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
Quoted 7 lines · ian esten
Quoted 1 line · Clemens Ladisch
Please post the output of "lsusb -v".
Bus 001 Device 040: ID 086a:0003 Emagic Soft-und Hardware GmbH .
.
.
These descriptors look very much like those of earlier Edirol devices. It may be possible that the MT4 is similar enough to speak the same protocol.
Please apply the patch below and recompile ALSA. The device and its ports will show up in ALSA, but I'm not sure if sending/receiving MIDI data will work.
HTH
Clemens
Signature · 36 lines
Index: alsa-kernel/usb/usbquirks.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbquirks.h,v
retrieving revision 1.28
diff -u -r1.28 usbquirks.h
--- alsa-kernel/usb/usbquirks.h 18 Feb 2004 16:24:55 -0000 1.28
+++ alsa-kernel/usb/usbquirks.h 20 Feb 2004 11:15:09 -0000
@@ -714,4 +714,19 @@
},
+/* Emagic devices */
+{
+ USB_DEVICE(0x086a, 0x0003),
+ .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
+ .vendor_name = "Emagic",
+ .product_name = "MT4",
+ .ifnum = 2,
+ .type = QUIRK_MIDI_FIXED_ENDPOINT,
+ .data = & (const snd_usb_midi_endpoint_info_t) {
+ .out_cables = 0x000f,
+ .in_cables = 0x0003
+ }
+ }
+},
+
{
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=clickthanks clemens. the mt4 now shows up in /proc/asound/cards. unfortunately though it doesnt seem to be working. i sent it some midi from seq24, and got no blinking lights on the front of the unit. do you think it will be possible to get the mt4 working with alsa? thanks very much,
ian
Quoted 13 lines · Clemens Ladisch
Quoted 7 lines · ian esten
Quoted 1 line · Clemens Ladisch
Please post the output of "lsusb -v".
Bus 001 Device 040: ID 086a:0003 Emagic Soft-und Hardware GmbH .
.
.These descriptors look very much like those of earlier Edirol devices. It may be possible that the MT4 is similar enough to speak the same protocol.
Quoted 7 lines
Please apply the patch below and recompile ALSA. The device and its ports will show up in ALSA, but I'm not sure if sending/receiving MIDI data will work.
HTH
Clemens
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
Quoted 4 lines · ian esten
thanks clemens. the mt4 now shows up in
/proc/asound/cards. unfortunately though it doesnt seem to be working. i sent it some midi from seq24, and got no blinking lights on the front of the unit. do you think it will be possible to get the mt4 working with alsa?
It's possible, but not easy. We have to find out what protocol the device uses. You could install something like usbsnoop on a Windows computer and send/receive a few MIDI bytes, then send me the log file, then I could try to find out what the stuff means. If you do this, please send no more than a few MIDI commands, and don't connect any other USB devices, because the log file can become very big.
Regards,
Clemens
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
ok, i will do that this evening when i get home.
thanks,
ian
Quoted 14 lines · Clemens Ladisch
Quoted 4 lines · ian esten
thanks clemens. the mt4 now shows up in
/proc/asound/cards. unfortunately though it doesnt seem to be working. i sent it some midi from seq24, and got no blinking lights on the front of the unit. do you think it will be possible to get the mt4 working with alsa?It's possible, but not easy. We have to find out what protocol the device uses. You could install something like usbsnoop on a Windows computer and send/receive a few MIDI bytes, then send me the log file, then I could try to find out what the stuff means. If you do this, please send no more than a few MIDI commands, and don't connect any other USB devices, because the log file can become very big.
Quoted 2 lines
Regards,
Clemens
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click