Ultralite AVB

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: khz, MattKingUSA

nandoll
Established Member
Posts: 4
Joined: Mon Jul 29, 2019 10:29 pm

Re: Ultralite AVB

Post by nandoll »

nandoll wrote:
Sat Sep 19, 2020 9:04 pm
...
This is no longer (apparently) happening under 5.8.9, and while there were some xruns running Jack with 128 frame buffers, the audio quality was good with no weird buzzing or glitches.
Nope, it is still happening... at least this morning, and it took me a while to get it running correctly (restarting jack would get rid of the glitches and a short while later they would be back - ended up rebooting the card just in case). I have it working without problems again, and it has been fine for the afternoon. I don't know why sometimes I get into this glitchy mode.

I was trying to learn a little bit more about the quirks and found what may be an unexplained "bit" in the Motu quirk table I have...

For this endpoint in interface 5:

.ifnum = 5,
.ep_attr = 37,

Binary: 37 -> 100101
(there are three two bit fields in this 6 bit number)
0x03: XFERTYPE_MASK -> 01 -> USB_ENDPOINT_XFER_ISOC
0x0c: USB_ENDPOINT_SYNCTYPE -> 01 -> USB_ENDPOINT_SYNC_ASYNC
0x30: USB_ENDPOINT_INTRTYPE -> 10 -> ?

It seems to me this last two bit field (interrupt type) should be either 00 or 01, 10 is not decoded anywhere that I can see in the software (and would be treated in xhci.c as 00). I imagine the intention might have been to set this to 01 (which is USB_ENDPOINT_INTR_NOTIFICATION).

But looking at the code in xhci.c it seems to be this would be unused anyway, this two bit field is only "decoded" if the endpoint is USB_ENDPOINT_XFER_INT, and we already defined it as USB_ENDPOINT_XFER_ISOC. So there is an extra bit? (which does not hurt - I though I had found a bug but it does not seem to be the case).

I went ahead and replaced "37" by "21" (010101), just to see what happened, built modules, installed and restarted the driver. It still works as before and there are no glitches so far. But I am sure there will be some :-) I'll report back...

zeigerpuppy
Established Member
Posts: 5
Joined: Mon Sep 21, 2020 10:16 am

Re: Ultralite AVB

Post by zeigerpuppy »

I have tried the Drumfix driver with linux v5.8.10 and MOTU Ultralite AVB on Devuan Beowulf.

Works great so far, thanks so much for posting instructions.

I have tested at 48k. Audio out is distortion free and Ardour sees all 24 channels (have only tested recording on 2 channels and sounds clean).

User avatar
bluebell
Established Member
Posts: 1436
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Ultralite AVB

Post by bluebell »

zeigerpuppy wrote:
Tue Sep 22, 2020 1:22 pm
I have tried the Drumfix driver with linux v5.8.10 and MOTU Ultralite AVB on Devuan Beowulf.

Works great so far, thanks so much for posting instructions.

I have tested at 48k. Audio out is distortion free and Ardour sees all 24 channels (have only tested recording on 2 channels and sounds clean).
Do you have the older model or the new model with ESS chips?
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

zeigerpuppy
Established Member
Posts: 5
Joined: Mon Sep 21, 2020 10:16 am

Re: Ultralite AVB

Post by zeigerpuppy »

bluebell wrote:
Tue Sep 22, 2020 4:49 pm
zeigerpuppy wrote:
Tue Sep 22, 2020 1:22 pm
I have tried the Drumfix driver with linux v5.8.10 and MOTU Ultralite AVB on Devuan Beowulf.

Works great so far, thanks so much for posting instructions.

I have tested at 48k. Audio out is distortion free and Ardour sees all 24 channels (have only tested recording on 2 channels and sounds clean).
Do you have the older model or the new model with ESS chips?
I have the older model (found second hand)

I also noticed that the interface is very sensitive to which USB port it's in. Seems happiest in a USB3 port with nothing else on that bus.
I was getting some nice kernel errors on USB2.
I am on MOTU firmware v1.3.5+626.

p.s. testing at 96k at the moment, looks good so far, sampling rate is properly detected at boot (I preset it using the interface menus the first time).

settings:

/etc/pulse/daemon.conf:

Code: Select all

default-sample-rate = 96000
and /etc/modprobe.d/motuavb.conf

Code: Select all

options snd_ua101 samplerate=96000 midi=1
Thanks Drumfix... legendary!

tvaz
Established Member
Posts: 10
Joined: Sun Nov 10, 2019 5:55 pm

Re: Ultralite AVB

Post by tvaz »

Hi, thanks @Drumfix and other folks who are putting efforts on this.

I've just tried the ua101.c on a brand new Ultralite AVB with the ESS chip. Sadly it doesn't work as it should :-(

I used the recent ua101.c file shared here in the forum against kernel 5.8.10. EDIT: same for kernel 5.8.11.
MOTU firmware version is 1.3.5+637.

It seems to be the same issue that @root2 and @michaelv are experiencing. Using pulse or jack, it doesn't matter, It gives me some proper output alternating with silence, then comes back, then stops, then comes back again with lots of artifacts. I didn't follow the whole thread, so I don't know exactly how I should debug it properly. However, what I have is:

Code: Select all

root@x1:~# dmesg
[...]
[ 1085.268758] usb 1-3: new high-speed USB device number 5 using xhci_hcd
[ 1085.439872] usb 1-3: config 1 interface 6 altsetting 1 has a duplicate endpoint with address 0x9, skipping
[ 1085.439874] usb 1-3: config 1 interface 7 altsetting 1 has a duplicate endpoint with address 0x87, skipping
[ 1085.448649] usb 1-3: New USB device found, idVendor=07fd, idProduct=0005, bcdDevice= 2.00
[ 1085.448651] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1085.448652] usb 1-3: Product: UltraLite AVB
[ 1085.448653] usb 1-3: Manufacturer: MOTU
[ 1085.448653] usb 1-3: SerialNumber: [edited]
[ 1085.454026] usb 1-3: samplerate = 44100, queue_length = 21, midi = 1
[ 1085.454030] usb 1-3: probing interface 1
[ 1085.454031] usb 1-3: probing interface 2
[ 1085.454032] usb 1-3: probing interface 5
[ 1085.454033] usb 1-3: probing interface 4
[ 1085.454034] usb 1-3: probing interface 6
[ 1085.454035] usb 1-3: probing interface 7
[ 1085.454037] usb 1-3: probing interface 3
[ 1085.454038] usb 1-3: probing interfaces sucessful
[ 1086.875795] usb 1-3: Motu driver 0.1

Code: Select all

root@x1:~# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 6: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 3: Dev 4, If 6, Class=Vendor Specific Class, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 4, Class=Audio, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 2, Class=Audio, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 0, Class=Audio, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 7, Class=Vendor Specific Class, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 5, Class=Vendor Specific Class, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 3, Class=Audio, Driver=snd-motu-avb, 480M
    |__ Port 3: Dev 4, If 1, Class=Audio, Driver=snd-motu-avb, 480M
    |__ Port 7: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
Anything I can do to help please let me know, thanks again!

User avatar
bluebell
Established Member
Posts: 1436
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Ultralite AVB

Post by bluebell »

Do a

Code: Select all

lsusb -v -d 07fd:0005
and post it here. I have an older model. Maybe we find some differences.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

root2
Established Member
Posts: 21
Joined: Wed Apr 15, 2020 9:48 am
Location: Germany

Re: Ultralite AVB

Post by root2 »

Here you go (Ultralite AVB with ESS):

Code: Select all

Bus 001 Device 004: ID 07fd:0005 Mark of the Unicorn UltraLite AVB
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            2.00
  iManufacturer           1 MOTU
  iProduct                2 UltraLite AVB
  iSerial                 3 0001f2fffe010a3f
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x017f
    bNumInterfaces          8
    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       0x004b
        bmControls           0x00
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype     10 (CLOCK_SOURCE)
        bClockID                1
        bmAttributes            3 Internal programmable clock 
        bmControls           0x07
          Clock Frequency Control (read/write)
          Clock Validity Control (read-only)
        bAssocTerminal         16
        iClockSource            5 Internal Clock
      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
        iChannelNames           9 Audio Out 1
        bmControls         0x0000
        iTerminal               7 Audio Out
      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
        iChannelNames          73 Audio In 1
        bmControls         0x0000
        iTerminal               8 Audio In
      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               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              7 Audio Out
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              7 Audio Out
      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 Audio Out 1
      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
        AudioStreaming Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              8 Audio In
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              8 Audio In
      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 Audio In 1
      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           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0ba8  2x 936 bytes
        bInterval               1
        AudioStreaming Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    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       0x0009
        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       0x0025
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        6
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      4 
      bInterfaceProtocol      2 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        6
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      4 
      bInterfaceProtocol      2 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x09  EP 9 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0b84  2x 900 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      4 
      bInterfaceProtocol      2 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      4 
      bInterfaceProtocol      2 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0b84  2x 900 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      0
Device Status:     0x0000
  (Bus Powered)

zeigerpuppy
Established Member
Posts: 5
Joined: Mon Sep 21, 2020 10:16 am

Re: Ultralite AVB

Post by zeigerpuppy »

@tvaz

Have you tried all the USB ports? I was getting a similar problems on some USB ports, where audio would come through for a little while then go silent or get bitcrunched and then come back again. Also check out your logs in /var/log/messages, sometimes some hints from kernel messages there.

tvaz
Established Member
Posts: 10
Joined: Sun Nov 10, 2019 5:55 pm

Re: Ultralite AVB

Post by tvaz »

Hi @bluebell, I can confirm that I get the same output as @root2 for my Ultralite AVB ESS. The only difference is the serial number and the bus device:

Code: Select all

-Bus 001 Device 004: ID 07fd:0005 Mark of the Unicorn UltraLite AVB
+Bus 001 Device 005: ID 07fd:0005 Mark of the Unicorn UltraLite AVB
@zeigerpuppy , yes, I tried all the usb ports and different cables already :\

Bests,

zeigerpuppy
Established Member
Posts: 5
Joined: Mon Sep 21, 2020 10:16 am

Re: Ultralite AVB

Post by zeigerpuppy »

an update....
I left my system running all day at 96k playing music.

Sounded OK still after returning but when I stopped playback and restarted playback, I got the bitcrunch and reducing volume issue.
Seems that maybe USB stability not quite there yet.

Restarting ALSA, pulse and interface doesn't fix the issue, I need to reboot.
I'm fairly happy though that it lasted a number of hours without issue, must be getting close to a working solution...

p.s.
I notice that when the kernel module loads it sets the buffers (21 for me if I remember properly).
Is there a way to change the buffers? I'd like to try adding more to see if it helps.

User avatar
bluebell
Established Member
Posts: 1436
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Ultralite AVB

Post by bluebell »

root2 wrote:
Thu Sep 24, 2020 11:01 am
Here you go (Ultralite AVB with ESS):
No difference to my old device. I was hoping that there were other endpoint numbers. No luck.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

User avatar
bluebell
Established Member
Posts: 1436
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Ultralite AVB

Post by bluebell »

zeigerpuppy wrote:
Thu Sep 24, 2020 1:16 pm
an update....
I left my system running all day at 96k playing music.

Sounded OK still after returning but when I stopped playback and restarted playback, I got the bitcrunch and reducing volume issue.
Seems that maybe USB stability not quite there yet.

Restarting ALSA, pulse and interface doesn't fix the issue, I need to reboot.
I'm fairly happy though that it lasted a number of hours without issue, must be getting close to a working solution...

p.s.
I notice that when the kernel module loads it sets the buffers (21 for me if I remember properly).
Is there a way to change the buffers? I'd like to try adding more to see if it helps.

Code: Select all

options snd_ua101 samplerate=48000 queue_length=xx midi=1
I had problems with small queue_lengths so I don't set this parameter.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

tvaz
Established Member
Posts: 10
Joined: Sun Nov 10, 2019 5:55 pm

Re: Ultralite AVB

Post by tvaz »

Still on Ultralite AVB ESS using the recent ua101.c from Drumfix: I'm having different results when testing the same kernel in different computers.

For instance, in a Thinkpad X1 carbon it doesn't last 10 seconds of proper sound before getting artifacts and stop. In a regular desktop machine I can keep it working for a while if I set sample rate to 44100. However, the sound is not super clean. For higher sample rates it works beautiful for a few minutes, just enough time to give me some hope, which I never get on the Thinkpad. Then it stops again.

I've tried now old patches shared on this thread on early 5.7.X and 5.8.X versions, getting quite the same results, unfortunately.

I'm intrigued by this message, though, from @michaelv :
michaelv wrote:
Sun May 03, 2020 6:20 pm
Drumfix wrote:
Sat May 02, 2020 8:10 pm
The patches will only go into the kernel after i get verification from users of the Ultralite AVB that they solve the problem. I can only check with my 16A AVB which uses the same vendor/product ID as all the other AVB products. With the patches, everything runs smooth. Without the patches, channel hopping galore.
Hello,
i got the Ultralite AVB ESS Version with Firmware 1.3.5+637 last Tuesday. Unfortunately i found this Forum too late. Anyway i installed 2 days ago the patches from Drumfix on Kernel 5.6.7 and also on 5.6.7-rt3. I`m̀ using Debian unstable. Til now with the Realtimekernel the patches works perfect. There is no channelhopping at all. With vanilla kernel the sound disappears sometimes. Often a restart from jack helps than. I'm using it with pulseaudio and jack on both kernels.
Michael
So, Michael, could you share if things are still working on your side? If so, which patch exactly did you use for the 5.6.7-rt3?

Thanks.

zeigerpuppy
Established Member
Posts: 5
Joined: Mon Sep 21, 2020 10:16 am

Re: Ultralite AVB

Post by zeigerpuppy »

Thanks @bluebell

Seems like I'm having some odd issues too, after my previous stable performance with the new driver.
The interface works on some boots but generally stops working after a while.

I am thinking that AVB may be the best way to go, 8/8 channels is fine for my purposes, so I have purchased an intel i210 NIC for testing.
I wonder if sending the jack timing signal may also be a good option to get better stability.

More testing....

User avatar
bluebell
Established Member
Posts: 1436
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Ultralite AVB

Post by bluebell »

zeigerpuppy wrote:
Sun Sep 27, 2020 1:30 am
Thanks @bluebell

Seems like I'm having some odd issues too, after my previous stable performance with the new driver.
The interface works on some boots but generally stops working after a while.

I am thinking that AVB may be the best way to go, 8/8 channels is fine for my purposes, so I have purchased an intel i210 NIC for testing.
I wonder if sending the jack timing signal may also be a good option to get better stability.

More testing....
I have a fixed switch-on procedure:

1.) power on the UltraLite AVB until it's ready
2.) power on and boot the computer

If I start the computer too early, e.g. together with the UltraLite AVB then I get some issues.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

Post Reply