[LAU] Hardware - Soundcard - MOTU Ultralite AVB - Working Gnu/Linux Debian 8.7

From: list <list@email-addr-hidden>
Date: Thu Mar 30 2017 - 05:23:17 EEST

Hello.

Just put my hands on one Motu Ultralite AVB

Work out of the box - Debian/Gnu 8.7 - with Jackd / Qjackctl (with
an .asoundrc, not sure usefull to record, but needed to play audio from
the browser with html5 videos online)

Plugged in USB.
Plugged with RJ45 cable to a hub, total access to the internal software
with firefox on the IP address assigned to the card - DHCP working - to
change all the routing/effects/mixing of the card.
Firmware update through the web interface too.
Plugged quickly a microphone, worked with Ardour.

http://achromatopsie.fr/list/qjackctl.jpg
http://achromatopsie.fr/list/routing.jpg

This is a really good idea to put all the controls on the card, with a
web browser, this make this card «agnostic» from the OS
Can not believe this from MOTU...hope others major brands will follow
this idea.

Did not really test all the settings - 96000 was the setting of the
card from the owner - for latency, optical input/output (do not own
any device for that) etc

aplay -l

**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: AVB [UltraLite AVB], périphérique 0: USB Audio [USB Audio]
  Sous-périphériques: 0/1
  Sous-périphérique #0: subdevice #0

cat /proc/asound/cards

 0 [AVB ]: USB-Audio - UltraLite AVB
                      MOTU UltraLite AVB at usb-0000:00:1a.7-5, high
                      speed

cat /proc/asound/card0/stream0

MOTU UltraLite AVB at usb-0000:00:1a.7-5, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 1080
    Momentary freq = 95996 Hz (0xb.ffdc)
    Feedback Format = 16.16
  Interface 1
    Altset 1
    Format: S24_3LE
    Channels: 24
    Endpoint: 9 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us

Capture:
  Status: Running
    Interface = 2
    Altset = 1
    Packet Size = 1080
    Momentary freq = 96000 Hz (0xc.0000)
  Interface 2
    Altset 1
    Format: S24_3LE
    Channels: 24
    Endpoint: 7 IN (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000
    Data packet interval: 125 us

lsusb -v :

Bus 009 Device 002: ID 07fd:0005 Mark of the Unicorn
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize0 64
  idVendor 0x07fd Mark of the Unicorn
  idProduct 0x0005
  bcdDevice 1.05
  iManufacturer 1
  iProduct 2
  iSerial 3
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 340
    bNumInterfaces 6
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x40
      (Missing must-be-set bit!)
      Self Powered
    MaxPower 0mA
    Interface Association:
      bLength 8
      bDescriptorType 11
      bFirstInterface 0
      bInterfaceCount 5
      bFunctionClass 1 Audio
      bFunctionSubClass 0
      bFunctionProtocol 32
      iFunction 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 1 Audio
      bInterfaceSubClass 1 Control Device
      bInterfaceProtocol 32
      iInterface 0
      AudioControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 1 (HEADER)
        bcdADC 2.00
        bCategory 8
        wTotalLength 75
        bmControl 0x00
      AudioControl Interface Descriptor:
        bLength 8
        bDescriptorType 36
        bDescriptorSubtype 10 (CLOCK_SOURCE)
        bClockID 1
        bmAttributes 0x03 Internal programmable Clock
        bmControls 0x07
          Clock Frequency Control (read/write)
          Clock Validity Control (read-only)
        bAssocTerminal 16
        iClockSource 5
      AudioControl Interface Descriptor:
        bLength 17
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 16
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bCSourceID 1
        bNrChannels 24
        bmChannelConfig 0x00000000
        bmControls 0x0000
        iChannelNames 9
        iTerminal 7
      AudioControl Interface Descriptor:
        bLength 12
 bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 36
        wTerminalType 0x0602 Digital Audio Interface
        bAssocTerminal 0
        bSourceID 16
        bCSourceID 1
        bmControls 0x0000
        iTerminal 0
      AudioControl Interface Descriptor:
        bLength 17
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 20
        wTerminalType 0x0602 Digital Audio Interface
        bAssocTerminal 0
        bCSourceID 1
        bNrChannels 24
        bmChannelConfig 0x00000000
        bmControls 0x0000
        iChannelNames 73
        iTerminal 8
      AudioControl Interface Descriptor:
        bLength 12
        bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 32
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bSourceID 20
        bCSourceID 1
        bmControls 0x0000
        iTerminal 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0006 1x 6 bytes
        bInterval 4
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 1 Audio
      bInterfaceSubClass 2 Streaming
      bInterfaceProtocol 32
      iInterface 7
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 1 Audio
      bInterfaceSubClass 2 Streaming
      bInterfaceProtocol 32
      iInterface 7
      AudioStreaming Interface Descriptor:
        bLength 16
        bDescriptorType 36
        bDescriptorSubtype 1 (AS_GENERAL)
        bTerminalLink 16
        bmControls 0x00
        bFormatType 1
        bmFormats 0x00000001
          PCM
        bNrChannels 24
        bmChannelConfig 0x00000000
        iChannelNames 9
      AudioStreaming Interface Descriptor:
        bLength 6
        bDescriptorType 36
        bDescriptorSubtype 2 (FORMAT_TYPE)
        bFormatType 1 (FORMAT_TYPE_I)
        bSubslotSize 3
         bBitResolution 24
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x09 EP 9 OUT
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x0ba8 2x 936 bytes
        bInterval 1
        AudioControl Endpoint Descriptor:
          bLength 8
          bDescriptorType 37
          bDescriptorSubtype 1 (EP_GENERAL)
          bmAttributes 0x00
          bmControls 0x00
          bLockDelayUnits 0 Undefined
          wLockDelay 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x8b EP 11 IN
        bmAttributes 17
          Transfer Type Isochronous
          Synch Type None
          Usage Type Feedback
        wMaxPacketSize 0x0004 1x 4 bytes
        bInterval 4
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 1 Audio
      bInterfaceSubClass 2 Streaming
      bInterfaceProtocol 32
      iInterface 8
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 1
      bNumEndpoints 1
      bInterfaceClass 1 Audio
      bInterfaceSubClass 2 Streaming
      bInterfaceProtocol 32
      iInterface 8
      AudioStreaming Interface Descriptor:
        bLength 16
        bDescriptorType 36
        bDescriptorSubtype 1 (AS_GENERAL)
        bTerminalLink 32
        bmControls 0x00
        bFormatType 1
        bmFormats 0x00000001
          PCM
        bNrChannels 24
        bmChannelConfig 0x00000000
        iChannelNames 73
      AudioStreaming Interface Descriptor:
        bLength 6
        bDescriptorType 36
        bDescriptorSubtype 2 (FORMAT_TYPE)
        bFormatType 1 (FORMAT_TYPE_I)
        bSubslotSize 3
        bBitResolution 24
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x87 EP 7 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x0ba8 2x 936 bytes
        bInterval 1
        AudioControl Endpoint Descriptor:
          bLength 8
          bDescriptorType 37
         bDescriptorSubtype 1 (EP_GENERAL)
          bmAttributes 0x00
          bmControls 0x00
          bLockDelayUnits 0 Undefined
          wLockDelay 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 3
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 1 Audio
      bInterfaceSubClass 1 Control Device
      bInterfaceProtocol 0
      iInterface 0
      AudioControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 1 (HEADER)
        bcdADC 1.00
        wTotalLength 9
        bInCollection 1
        baInterfaceNr( 0) 4
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 4
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 1 Audio
      bInterfaceSubClass 3 MIDI Streaming
      bInterfaceProtocol 0
      iInterface 0
      MIDIStreaming Interface Descriptor:
        bLength 7
        bDescriptorType 36
        bDescriptorSubtype 1 (HEADER)
        bcdADC 1.00
        wTotalLength 37
      MIDIStreaming Interface Descriptor:
        bLength 6
        bDescriptorType 36
        bDescriptorSubtype 2 (MIDI_IN_JACK)
        bJackType 1 Embedded
        bJackID 116
        iJack 0
      MIDIStreaming Interface Descriptor:
        bLength 6
        bDescriptorType 36
        bDescriptorSubtype 2 (MIDI_IN_JACK)
        bJackType 2 External
        bJackID 124
        iJack 0
      MIDIStreaming Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (MIDI_OUT_JACK)
        bJackType 1 Embedded
        bJackID 100
        bNrInputPins 1
        baSourceID( 0) 124
        BaSourcePin( 0) 1
        iJack 0
      MIDIStreaming Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (MIDI_OUT_JACK)
        bJackType 2 External
        bJackID 108
        bNrInputPins 1
        baSourceID( 0) 116
        BaSourcePin( 0) 1
        iJack 0
      Endpoint Descriptor:
        bLength 9
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 1
        bRefresh 0
        bSynchAddress 0
        MIDIStreaming Endpoint Descriptor:
          bLength 5
          bDescriptorType 37
          bDescriptorSubtype 1 (GENERAL)
          bNumEmbMIDIJack 1
          baAssocJackID( 0) 100
      Endpoint Descriptor:
        bLength 9
        bDescriptorType 5
        bEndpointAddress 0x06 EP 6 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 1
        bRefresh 0
        bSynchAddress 0
        MIDIStreaming Endpoint Descriptor:
          bLength 5
          bDescriptorType 37
          bDescriptorSubtype 1 (GENERAL)
          bNumEmbMIDIJack 1
          baAssocJackID( 0) 116
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 5
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 4
      bInterfaceProtocol 1
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 1

cat .asoundrc

# convert alsa API over jack API
# use it with
# % aplay foo.wav
#https://wiki.archlinux.org/index.php/JACK_Audio_Connection_Kit
# use this as default
pcm.!default {
    type plug
    slave { pcm "jack" }
}

ctl.mixer0 {
    type hw
    card 0
}

# pcm type jack
pcm.jack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Mar 30 08:15:01 2017

This archive was generated by hypermail 2.1.8 : Thu Mar 30 2017 - 08:15:02 EEST