[PlanetCCRMA] MOTU Fastlane USB MIDI doesn't work

Lance Blisters geoff@riyal.ugcs.caltech.edu
Fri Feb 20 09:56:02 2004


Below describes my troubles attempting to
use a motu fastlane usb midi device, both
standard kernel and alsa drivers.

Please copy me, as i am not subscribed. email:
domain ffem.org, user geoff.


  -geoff

Fedora core 1 + planetccrma on a compaq presario x1000 (centrino) 
2.4.24-1.ll.rhfc1.ccrma
alsa-kernel-2.4.24-1.ll.rhfc1.ccrma 
motu fastlane usb 


1) Attempting to use usb-midi and usb-uhci (loaded by hotplug)

% lsusb -v | grep HCI
  iProduct                2 USB UHCI Root Hub
  iProduct                2 USB UHCI Root Hub
  iProduct                2 USB UHCI Root Hub


%  dmesg

usb.c: registered new driver midi
usbmidi: found [ MOTU Fastlane USB ] (0x07fd:0x0001), attached:
usbmidi: /dev/midi00: in (ep:82 cid: 0 bufsiz: 4) out (ep:02 cid: 0 bufsiz: 4)
usbmidi: /dev/midi01: in (ep:82 cid: 1 bufsiz: 4) out (ep:02 cid: 1 bufsiz: 4)

%  cat /dev/midi00

 [no output on midi input.  fastlane midi data 
  indicator flashed red on midi input]

%  dmesg

usb-uhci.c: uhci_submit_urb: pipesize for pipe c0010280 is zero
usbmidi: Cannot submit urb for MIDI-IN

  Tried adding to /etc/modules.conf:

options usb-midi ualt=1

  but didn't change behaviour when ualt set to 0 or 1


2) attempt to use uhci

% modprobe -ra usb-midi usb-uhci
% modprobe -a uhci usb-midi
% dmesg

uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0x48c0, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0x48e0, IRQ 5
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0x4c00, IRQ 5
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver midi
hub.c: new USB device 00:1d.0-2, assigned address 2
usbmidi: found [ MOTU Fastlane USB ] (0x07fd:0x0001), attached:
usbmidi: /dev/midi00: in (ep:82 cid: 0 bufsiz: 4) out (ep:02 cid: 0 bufsiz: 4)
usbmidi: /dev/midi01: in (ep:82 cid: 1 bufsiz: 4) out (ep:02 cid: 1 bufsiz: 4)

% cat /dev/midi00
% cat /dev/midi01

 [no output on midi input.  fastlane midi data 
  indicator flashed red on midi input]


% dmesg

usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 101 ret -6
usb.c: registered new driver snd-usb-audio
usbmidi: Cannot submit urb for MIDI-IN
usbmidi: Cannot submit urb for MIDI-IN





3) attempt to use ALSA and usb-uhci

% modprobe -ra usb-midi
% modprobe -a snd-usb-audio snd-pcm snd-timer snd-rawmidi snd-seq-device

% dmesg

usb.c: registered new driver snd-usb-audio

% amidi --dump 
% amidi --dump --port="hw:0,0,0"
% amidi --dump --port="hw:0,0,1"

  [produced nothing on MIDI input.  the usb module red 
   light was flashing on MIDI input]

% dmesg

  [no new lines]


4) same results for ALSA with uhci


%  lsusb -v

 001 Device 002: ID 07fd:0001 Mark of the Unicorn
  Language IDs: none (invalid length string descriptor 00; len=2)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         2
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x07fd Mark of the Unicorn
  idProduct          0x0001
  bcdDevice            1.00
  iManufacturer           0
  iProduct              101 FastLane
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          101
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower                2mA
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          4
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          4
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          4
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      3
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               none
        wMaxPacketSize          4
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               none
        wMaxPacketSize          4
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               none
        wMaxPacketSize          4
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               none
        wMaxPacketSize      28160
        bInterval               0
  descriptor length past end: 65 00 6d 20 43 6f 2e 2c 20 4c 74 64 00 00 00 00 00 31 00 00 00 08 ae 06 08 8b 0d 41 73 63 6f 6d 20 54
  Language IDs: none (invalid length string descriptor bf; len=0)