ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Discussion about: tracktion.com
clintonthegeek
KVRer
5 posts since 5 Feb, 2020

Post Wed Feb 05, 2020 12:32 am

I'm glad I came across this community, because it's hard to find info on the problems I'm having.

For some reason my Waveform 10.4.2 (and previous version) produces very garbled, buzzing noise as I increase the buffer size to anything above 32 samples. I'm using a Steinberg USB audio interface, the UR22mkII—pretty common as far as I know. I have the input and output set to "Direct hardware device without any conversions", although it doesn't seem to make any difference what I set.

I've only been able to get audio working by going through Pulseaudio, however the latency is too high. I always have Jack running, and am using a Pulseaudio bridge, so the time gap adds up and makes my MIDI keyboard unplayable.

Whenever I try to use JACK mode directly in Waveform, I can't even play any files. It just doesn't work at all, even though every other JACK program works just fine with my configuration.

I searched around for clues on either issue, but can't find anything. Any ideas? :help:

Kott
KVRist
145 posts since 12 Mar, 2013 from Russia, Vladivostok

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Wed Feb 05, 2020 1:08 am

Hi,

It's not clear, do you use pulseaudio at same time? If yes, did you try to disable it?

clintonthegeek
KVRer
5 posts since 5 Feb, 2020

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Wed Feb 05, 2020 2:14 am

Good thought! I hadn't thought of terminating the Pulseaudio daemon before launching Waveform, even though it doesn't do anything without JACK and the Pulseaudio Bridge running. I just tried terminating the process (I've already got autospawn turned off in the config), but unfortunately it made no difference. :(

clintonthegeek
KVRer
5 posts since 5 Feb, 2020

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Wed Feb 05, 2020 2:24 am

And that's just with ALSA.
Screenshot_20200205_052200.png
These are the options I get for choosing JACK, and obviously "system" is the one I want, yet the play button does nothing. I'm on KDE Neon (Kubuntu) with the KXAudio repository and audio subsystem installed, if that makes a difference.

I may end up just resorting to my crumby onboard audio, since it at least doesn't exhibit the problems with the ALSA backend. But since I was hoping to get some real monitors soon, obviously it's a terrible choice seeing as I have an actual audio interface.

edit: okay, fiddling around more I can sometimes get audio coming out of one channel with the JACK setting. However, when I used my patchbay to plug the second output into the other speaker, Waveform crashes! What is going on? Here's the JACK log.

Code: Select all

subgraph starting at JUCEJack timed out (subgraph_wait_fd=26, status = 0, state = Running, pollret = 0 revents = 0x0)
**** alsa_pcm: xrun of at least 490.863 msecs
05:32:23.957 JACK connection graph change.
05:32:23.962 XRUN callback (7).
05:32:23.993 JACK connection change.
05:32:37.205 JACK connection graph change.
05:32:37.278 JACK connection change.
05:32:39.094 JACK connection graph change.
05:32:50.253 ALSA connection graph change.
05:32:50.465 ALSA connection graph change.
subgraph starting at JUCEJack-01 timed out (subgraph_wait_fd=26, status = 0, state = Running, pollret = 0 revents = 0x0)
**** alsa_pcm: xrun of at least 490.936 msecs
05:32:50.695 JACK connection graph change.
05:32:50.697 XRUN callback (8).
05:32:50.751 JACK connection change.
05:32:50.975 ALSA connection graph change.
05:32:51.089 JACK connection graph change.
05:32:51.155 JACK connection change.
05:32:53.241 ALSA connection graph change.
05:32:53.463 JACK connection graph change.
05:32:53.570 JACK connection change.
subgraph starting at PulseAudio JACK Sink timed out (subgraph_wait_fd=26, status = 0, state = Finished, pollret = 0 revents = 0x0)
05:33:02.953 JACK connection graph change.
**** alsa_pcm: xrun of at least 490.965 msecs
05:33:02.956 XRUN callback (9).
05:33:03.017 JACK connection change.
05:33:16.504 JACK connection graph change.
05:33:16.689 JACK connection change.
05:33:18.272 JACK connection graph change.
unknown source port in attempted connection [JUCEJack-01:out_1]
unknown source port in attempted connection [JUCEJack-01:out_1]
subgraph starting at JUCEJack-03 lost client
timeout waiting for client JUCEJack-03 to handle a latency callback event
05:33:57.252 ALSA connection graph change.
05:33:57.252 JACK connection graph change.
05:33:57.299 JACK connection change.
unknown source port in attempted disconnection [JUCEJack-01:out_1]
unknown destination port in attempted disconnection [JUCEJack-01:in_1]
You do not have the required permissions to view the files attached to this post.

Kott
KVRist
145 posts since 12 Mar, 2013 from Russia, Vladivostok

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Wed Feb 05, 2020 4:27 am

well, at first it seems that issues with this interface is some kind of common: https://linuxmusicians.com/search.php?k ... nberg+ur22

from the other side - you say, that other apps works fine with plain alsa or jack (this is odd, did you try to change samplerate?:) )
is your KDE Neon has recent kernel/alsa version?

PS. could you provide the output from aplay -L

clintonthegeek
KVRer
5 posts since 5 Feb, 2020

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Wed Feb 05, 2020 9:48 am

Kott wrote:
Wed Feb 05, 2020 4:27 am
well, at first it seems that issues with this interface is some kind of common: https://linuxmusicians.com/search.php?k ... nberg+ur22
Hmm, didn't find my precise issue there. And yes, it's worked without issue for two years now, both with JACK and ALSA.

Twenty minutes of reading StackExchange and various wikis has made .asoundrc even more confusing than I thought it was, so if you know how to change the ALSA sample rate (and not just up-sample it or whatever) so that there is more than the single 48khz option that Waveform allows me at present, please let me know! Here's my .asoundrc right now—pretty basic.

Code: Select all

pcm.!default {
    type plug
    slave { pcm "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
    }
}

ctl.mixer0 {
    type hw
    card 0
}
My kernel is fine, 4.15.0-76. But that's an interesting point about the ALSA version. Apparently both of the packages in my repos—the default Ubuntu one and the latest KXStudio one—are 1.0.25, but the latest version is apparently 1.2.1.2. I'll try to see if there's a reason for that.
PS. could you provide the output from aplay -L

Code: Select all

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Playback/recording through the PulseAudio sound server
jack
sysdefault:CARD=Intel
    HDA Intel, ALC889 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Front speakers
surround21:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC889 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC889 Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC889 Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
    HDA Intel, ALC889 Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC889 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Hardware device with all software conversions
sysdefault:CARD=UR22mkII
    Steinberg UR22mkII, USB Audio
    Default Audio Device
front:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    Front speakers
surround21:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    Direct sample mixing device
dsnoop:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    Direct sample snooping device
hw:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    Direct hardware device without any conversions
plughw:CARD=UR22mkII,DEV=0
    Steinberg UR22mkII, USB Audio
    Hardware device with all software conversions
sysdefault:CARD=K32
    Default Audio Device

Kott
KVRist
145 posts since 12 Mar, 2013 from Russia, Vladivostok

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Wed Feb 05, 2020 2:22 pm

There are dmix and pcm.jack virtual devices.
I think it's worth to backup your alsa configs and start with default plain config (without pulseaudio and with/without jack).
But that's an interesting point about the ALSA version. Apparently both of the packages in my repos—the default Ubuntu one and the latest KXStudio one—are 1.0.25, but the latest version is apparently 1.2.1.2. I'll try to see if there's a reason for that.
there was major release of alsa not so long ago
I'm not so familiar with Neon+KXStudio repos, you can find many users of it at linuxmusicians.com

dayvyg
KVRist
39 posts since 23 Mar, 2015

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Thu Feb 06, 2020 10:37 am

Are you running this interface in class compliant mode?

d.

clintonthegeek
KVRer
5 posts since 5 Feb, 2020

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Fri Feb 07, 2020 9:29 pm

dayvyg wrote:
Thu Feb 06, 2020 10:37 am
Are you running this interface in class compliant mode?

d.
That's a great question. I'm not sure how to tell. ALSA just sees it as a USB Audio device, but that's also how it recognizes my MIDI controller so I'm not sure that that's helpful.

Here's my alsa-info dump.
http://alsa-project.org/db/?f=a35d4e9cf ... 6f5f6aa774

And here's the verbose output from lsusb:

Code: Select all


Bus 001 Device 008: ID 0499:170f Yamaha Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x0499 Yamaha Corp.
  idProduct          0x170f 
  bcdDevice            1.04
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          292
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         4
      bFunctionClass          1 Audio
      bFunctionSubClass       0 
      bFunctionProtocol      32 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      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               41
        bmAttributes         0x03 Internal programmable Clock 
        bmControls           0x07
          Clock Frequency Control (read/write)
          Clock Validity Control (read-only)
        bAssocTerminal          0
        iClockSource            0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bCSourceID             41
        bNrChannels             2
        bmChannelConfig   0x00000000
        bmControls    0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            18
        wTerminalType      0x0603 Line Connector
        bAssocTerminal          0
        bSourceID               1
        bCSourceID             41
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0603 Line Connector
        bAssocTerminal          0
        bCSourceID             41
        bNrChannels             2
        bmChannelConfig   0x00000000
        bmControls    0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID            20
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               3
        bCSourceID             41
        bmControls         0x0000
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bmControls           0x00
        bFormatType             1
        bmFormats         0x00000001
          PCM
        bNrChannels             2
        bmChannelConfig   0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            4
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 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     0x83  EP 3 IN
        bmAttributes           17
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink          20
        bmControls           0x00
        bFormatType             1
        bmFormats         0x00000001
          PCM
        bNrChannels             2
        bmChannelConfig   0x00000000
        iChannelNames           0 
      AudioStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bSubslotSize            4
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 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           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                 1
        iJack                   0 
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                 2
        iJack                   0 
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                 3
        bNrInputPins            1
        baSourceID( 0)          2
        BaSourcePin( 0)         1
        iJack                   0 
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                 4
        bNrInputPins            1
        baSourceID( 0)          1
        BaSourcePin( 0)         1
        iJack                   0 
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        bRefresh                0
        bSynchAddress           0
        MIDIStreaming Endpoint Descriptor:
          bLength                 5
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         1
          baAssocJackID( 0)       1
      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               0
        bRefresh                0
        bSynchAddress           0
        MIDIStreaming Endpoint Descriptor:
          bLength                 5
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         1
          baAssocJackID( 0)       3
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          442
    bNumInterfaces          5
    bConfigurationValue     2
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  0a 24 01 00 01 34 00 02 01 02
      ** UNRECOGNIZED:  0c 24 02 01 01 01 00 02 03 00 00 00
      ** UNRECOGNIZED:  09 24 03 02 01 03 00 01 00
      ** UNRECOGNIZED:  0c 24 02 03 03 06 00 02 03 00 00 00
      ** UNRECOGNIZED:  09 24 03 04 01 01 00 03 00
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 01 01 01 00
      ** UNRECOGNIZED:  0e 24 02 01 02 04 18 02 44 ac 00 80 bb 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 01 01 01 00
      ** UNRECOGNIZED:  0e 24 02 01 02 04 18 02 88 58 01 00 77 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0068  1x 104 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 01 01 01 00
      ** UNRECOGNIZED:  0e 24 02 01 02 04 18 02 10 b1 02 00 ee 02
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 04 01 01 00
      ** UNRECOGNIZED:  0e 24 02 01 02 04 18 02 44 ac 00 80 bb 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 04 01 01 00
      ** UNRECOGNIZED:  0e 24 02 01 02 04 18 02 88 58 01 00 77 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0068  1x 104 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 04 01 01 00
      ** UNRECOGNIZED:  0e 24 02 01 02 04 18 02 10 b1 02 00 ee 02
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      3 
      bInterfaceProtocol    255 
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 00 01 24 00
      ** UNRECOGNIZED:  06 24 02 02 01 00
      ** UNRECOGNIZED:  09 24 03 02 01 01 01 01 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      ** UNRECOGNIZED:  07 24 01 00 01 24 00
      ** UNRECOGNIZED:  06 24 02 02 01 00
      ** UNRECOGNIZED:  09 24 03 02 01 01 01 01 00
      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               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

dayvyg
KVRist
39 posts since 23 Mar, 2015

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Sat Feb 08, 2020 4:16 am

I had a quick look at the manual for your device and I didn't see how you switch it to class compliant mode. Looks like it may do it automatically if no driver is installed. It supports iPads so it definitely supports cc mode. It's usually your best bet when it comes to linux. The manual did say to not use a usb3 cable. So check that as well.

Make sure you have the latest firmware installed.

I have a UR824 and it works in both modes in linux. I have to hold down a couple of buttons while starting the device to switch modes.

Good luck!
d.

madrang
KVRist
42 posts since 21 Jun, 2016

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Thu Feb 13, 2020 12:08 am

For me in Waveform if i try to use Jack the inputs and outputs are reversed breaking Waveform...

This is not new -->> viewtopic.php?f=22&t=534699&p=7663452

madrang
KVRist
42 posts since 21 Jun, 2016

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Thu Feb 13, 2020 12:11 am

clintonthegeek wrote:
Wed Feb 05, 2020 2:24 am
And that's just with ALSA.
Screenshot_20200205_052200.png
In your own screenshot i see a "PulseAudio Jack Sink" that is sending the audio from PulseAudio to Jack.... So why is it under Output then ????

If Jack is expecting to receive audio from it, i think it is supposed to be called an Input....
You do not have the required permissions to view the files attached to this post.
Last edited by madrang on Thu Feb 13, 2020 12:20 am, edited 2 times in total.

madrang
KVRist
42 posts since 21 Jun, 2016

Re: ALSA (Linux) to my UR22mkII gets more garbled as I increase buffer. And JACK just won't work.

Post Thu Feb 13, 2020 12:12 am

[Duplicate, Can't delete...]

Return to “Tracktion”