michaelforney / oscmix

Mixer for RME Fireface UCX II
Other
20 stars 4 forks source link

Fireface UFX II Support #7

Open laex333 opened 6 months ago

laex333 commented 6 months ago

Hi, @michaelforney !

It's great to see movement in this area. Thank you very much for your effort!

I've been an RME enthusiast for 20+ years now... Some of the enthusiasm vanished with switching to Linux 10ish years ago... It would be sooo great to finally improve handling in CC mode - even if it just meant to be able to control basic things like phantom power etc (I got very undemanding and modest in this respect)... ;)

My skills are not those of a real software developer, but I'm gladly willing to help as much as I can... I start with the data you asked for over at the RME forum...

Device details: RME Fireface UFX II (HW-Rev. A) Latest firmware: USB revision: 26 CC revision: 15 DSP version: 23

laex333 commented 6 months ago

$ lsusb

Bus 001 Device 013: ID 2a39:3fd1

(No vendor or device name given here - just this ID...)

laex333 commented 6 months ago

$ sudo lsusb -d 2a39:3fd1 -v

Bus 001 Device 014: ID 2a39:3fd1  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x2a39 
  idProduct          0x3fd1 
  bcdDevice            3.01
  iManufacturer           1 RME
  iProduct                2 Fireface UFX II (23932050)
  iSerial                 3 F8D489A0A5237C8
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x01de
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         3
      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       0x004b
        bmControls           0x00
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype     10 (CLOCK_SOURCE)
        bClockID                1
        bmAttributes            3 Internal programmable clock 
        bmControls           0x03
          Clock Frequency Control (read/write)
        bAssocTerminal          0
        iClockSource            0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bCSourceID              1
        bNrChannels             2
        bmChannelConfig    0x00000000
        iChannelNames           0 
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0603 Line Connector
        bAssocTerminal          0
        bCSourceID              1
        bNrChannels            22
        bmChannelConfig    0x00000000
        iChannelNames           0 
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               3
        bCSourceID              1
        bmControls         0x0000
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        bCSourceID              1
        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           3
        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            3
        bBitResolution         24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0096  1x 150 bytes
        bInterval               1
        AudioStreaming Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 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        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bmControls           0x00
        bFormatType             1
        bmFormats          0x00000001
          PCM
        bNrChannels            22
        bmChannelConfig    0x00000003
          Front Left (FL)
          Front Right (FR)
        iChannelNames           0 
      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     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x035a  1x 858 bytes
        bInterval               1
        AudioStreaming Endpoint Descriptor:
          bLength                 8
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bmControls           0x00
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 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              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           6
        bmControls           0x00
        bFormatType             1
        bmFormats          0x00000001
          PCM
        bNrChannels            22
        bmChannelConfig    0x00000000
        iChannelNames           0 
      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     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x035a  1x 858 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       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol     32 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                16
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           6
        bmControls           0x00
        bFormatType             1
        bmFormats          0x00000001
          PCM
        bNrChannels            12
        bmChannelConfig    0x00000000
        iChannelNames           0 
      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     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0384  1x 900 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           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      3 MIDI Streaming
      bInterfaceProtocol      0 
      iInterface              2 Fireface UFX II (23932050)
      MIDIStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0061
      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                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                 2
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                 7
        bNrInputPins            1
        baSourceID( 0)          6
        BaSourcePin( 0)         1
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                 6
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               1 Embedded
        bJackID                11
        bNrInputPins            1
        baSourceID( 0)         10
        BaSourcePin( 0)         1
        iJack                   6 Port 3
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               2 External
        bJackID                10
        iJack                   6 Port 3
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                 1
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                 4
        bNrInputPins            1
        baSourceID( 0)          4
        BaSourcePin( 0)         1
        iJack                   4 Port 1
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                 5
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                 8
        bNrInputPins            1
        baSourceID( 0)          8
        BaSourcePin( 0)         1
        iJack                   5 Port 2
      MIDIStreaming Interface Descriptor:
        bLength                 6
        bDescriptorType        36
        bDescriptorSubtype      2 (MIDI_IN_JACK)
        bJackType               1 Embedded
        bJackID                 9
        iJack                   6 Port 3
      MIDIStreaming Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (MIDI_OUT_JACK)
        bJackType               2 External
        bJackID                12
        bNrInputPins            1
        baSourceID( 0)         12
        BaSourcePin( 0)         1
        iJack                   6 Port 3
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x07  EP 7 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                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         3
          baAssocJackID( 0)       1
          baAssocJackID( 1)       5
          baAssocJackID( 2)       9
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 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                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (GENERAL)
          bNumEmbMIDIJack         3
          baAssocJackID( 0)       3
          baAssocJackID( 1)       7
          baAssocJackID( 2)      11
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        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     0x09  EP 9 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      0
Device Status:     0x0000
  (Bus Powered)
laex333 commented 6 months ago

$ aconnect -l

client 20: 'Fireface UFX II (23932050)' [type=Kernel,card=1]
    0 'Fireface UFX II (23932050) Port'
    1 'Fireface UFX II (23932050) Port'
    2 'Fireface UFX II (23932050) Port'

$ aseqdump -p 20:0 and $ aseqdump -p 20:1 don't receive anything just like that.

$ aseqdump -p 20:2

Waiting for data. Press Ctrl+C to end.
Source  Event                  Ch  Data
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03
 20:2   System exclusive           00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00
 20:2   System exclusive           2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E
 20:2   System exclusive           00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00
 20:2   System exclusive           10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10 03 00 2E 00 10 03 00 00 0C 10 03 00 2E 00 10
 20:2   System exclusive           03 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 00 0C 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 00 0C 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 00 0C 10 03 F7
 20:2   System exclusive           F0 00 20 0D 10 00 00 2E 00 10 03 F7
(and so forth...)
laex333 commented 6 months ago

Waiting for further instructions...

michaelforney commented 6 months ago

Thanks! Can you try the directions at https://github.com/michaelforney/oscmix/issues/5#issuecomment-1960265780? Except replace 20:3 with 20:2, of course.

huddx01 commented 6 months ago

Hi laex333,

$ lsusb

Bus 001 Device 013: ID 2a39:3fd1 (No vendor or device name given here - just this ID...)

I assume you ran the lsusb while it was in CC-Mode. Right?

It seems ok. 2a39 ist the Vendor ID for RME. 3fd1 is the product ID of your UFX II. We need the vid:pid for the next command. -d picks just your UFX II, as we dont need info of other usb devices. And -v means verbose, which shows us the descriptors the device offers.

Could you run this as sudo? sudo lsusb -d 2a39:3fd1 -v

So this line should disappear:

Couldn't open device, some information will be missing

I will pull your results to the docs direcory in the repo then.

laex333 commented 6 months ago

Could you run this as sudo? sudo lsusb -d 2a39:3fd1 -v

To avoid useless cluttering of this thread, I updated the result of the command (now including sudo) five comments above (https://github.com/michaelforney/oscmix/issues/7#issuecomment-1959454242)!

Thanks!

huddx01 commented 6 months ago

@michaelforney @laex333 interesting, that the pid for your UFX II seems to be the same as the UFX+ /issues/5#

laex333 commented 6 months ago

Thanks! Can you try the directions at #5 (comment)? Except replace 20:3 with 20:2, of course.

As I don't have much understanding of what I'm doing, I'll report step by step... ;)

$ git clone https://github.com/michaelforney/oscmix $ cd oscmix/ $ make tools/regtool -> OK, seems to have worked so far... $ ./tools/regtool 20:2

3200    1700
3201    7FFF
3202    01BF
3200    1700
3203    0000
3202    02BF
3200    1700
3201    7FFF
3202    03BF
3200    1700
3203    0000
3202    04BF
3200    1700
3201    7FFF
3202    05BF
3200    1700
3203    0000
3202    06BF
3200    1700
3201    7FFF
3202    07BF
3200    1700
3203    0000
3205    001E
3202    08BF
3200    1700
3201    7FFF
3202    09BF
3200    1700
3203    0000
3202    0ABF
3200    1700
3201    7FFF
3202    0BBF
3200    1700
3203    0000
3202    0CBF
3200    1700
3201    7FFF
3202    0DBF
3200    1700
3203    0000
3202    0EBF
3200    1700
3201    7FFF
3202    0FBF
3200    1700
3203    0000
3202    10BF
3200    1700
3201    7FFF
3202    11BF
3200    1700
3203    0000
3202    12BF
3200    1700
3201    7FFF
3202    13BF
3200    1700
3203    0000
3202    14BF
3200    1700
3201    7FFF
3202    15BF
3200    1700
3203    0000
3202    16BF
3200    1700
3201    7FFF
3202    17BF
3200    1700
3203    0000
3205    001E
3202    18BF
3200    1700
3201    7FFF
3202    19BF
3200    1700
3203    0000
3202    1ABF
3200    1700
3201    7FFF
3202    1BBF
3200    1700
3203    0000
3202    1CBF
3200    1700
3201    7FFF
3202    1DBF
3200    1700
3203    0000
3202    1EBF
3200    1700
3201    7FFF
3202    1FBF
3200    1700
3203    0000
3202    20BF
3200    1700
3201    7FFF
3202    21BF
3200    1700
3203    0000
3202    22BF
3200    1700
3201    7FFF
3202    23BF
3200    1700
3203    0000
3202    24BF
3200    1700
3201    7FFF
3202    25BF
3200    1700
3203    0000
3202    26BF
3200    1700
3201    7FFF
3202    27BF
3200    1700
3203    0000
3200    1700
3200    1700
3203    0000
3200    1700
3200    1700
3203    0000
3200    1700
3200    1700
3203    0000
3200    1700
3200    1700
3203    0000
3200    1700
[... and so forth ...]

As for the two terminals with: $ ./tools/regtool 20:2 | awk '$1 != "3200" && $1 != "3203" {print; fflush()}' | tee regtool.log $ while true; do for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do echo 3F00 "$i"; sleep 0.2; done; done | ./tools/regtool -w 20:2 -> here is the regtools.log file attached: regtool.log

laex333 commented 6 months ago

@michaelforney @laex333 interesting, that the pid for your UFX II seems to be the same as the UFX+ /issues/5#

IIRC, the UFX+ was more or less a UFX II plus Madi-I/O...

michaelforney commented 6 months ago

Thanks, I started a wiki doc here: https://github.com/michaelforney/oscmix/wiki/Fireface-UFX-II

It seems the UFX II uses a different layout and value format for the mixer format. Still needs some more investigation.