Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fireface UFX+ Support #5

Open
Sojuzstudio opened this issue Feb 19, 2024 · 12 comments
Open

Fireface UFX+ Support #5

Sojuzstudio opened this issue Feb 19, 2024 · 12 comments

Comments

@Sojuzstudio
Copy link

Is it possible to get support for the UFX+ device as well. I can do similar actions for the Device in question, as I did 802

https://forum.rme-audio.de/viewtopic.php?pid=214545#p214545

@huddx01
Copy link
Contributor

huddx01 commented Feb 19, 2024

i think the procedure is similar as described in #4

  • First step should be:

Provide the descriptors from the lsusb stuff (as you did with 802).

Once in CC Mode and once in USB Mode
Tip: run the second lsusb -d XXXX:YYYY -v command as sudo. So that the line "Couldn't open device, some information will be missing" will not appear

  • Second step:

Provide all the sysex logs in CC mode after power on the unit here. Its important to have the full messages, as they provide first impression which registers and values are offered.

@michaelforney michaelforney changed the title Fireface UFX+ Suppott Fireface UFX+ Support Feb 19, 2024
@Sojuzstudio
Copy link
Author

Bus 001 Device 004: ID 2a39:3fd1 RME Fireface UFX+
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x2a39 RME
idProduct 0x3fd1 Fireface UFX+
bcdDevice 0.01
iManufacturer 1 RME
iProduct 2 Fireface UFX+ (2405xxxx)
iSerial 3 000000000000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x01f1
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
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 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 0x0055
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 12
bmChannelConfig 0x00000000
iChannelNames 0
bmControls 0x0000
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 5
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bCSourceID 1
bNrChannels 24
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 2
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
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 2
bSourceID 3
bmaControls(0) 0x0000000c
Volume Control (read/write)
iFeature 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 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 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 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 24
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 0x0400 1x 1024 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 24
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 0x0400 1x 1024 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 0x0400 1x 1024 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+ (24054593)
MIDIStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x00a1
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 M
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 2 External
bJackID 10
iJack 6 Port M
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 1 Embedded
bJackID 15
bNrInputPins 1
baSourceID( 0) 14
BaSourcePin( 0) 1
iJack 7 Port R
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 2 External
bJackID 14
iJack 7 Port R
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) 1
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) 5
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 M
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 2 External
bJackID 12
bNrInputPins 1
baSourceID( 0) 9
BaSourcePin( 0) 1
iJack 6 Port M
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 1 Embedded
bJackID 13
iJack 7 Port R
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 2 External
bJackID 16
bNrInputPins 1
baSourceID( 0) 13
BaSourcePin( 0) 1
iJack 7 Port R
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 8
bDescriptorType 37
bDescriptorSubtype 1 (GENERAL)
bNumEmbMIDIJack 4
baAssocJackID( 0) 1
baAssocJackID( 1) 5
baAssocJackID( 2) 9
baAssocJackID( 3) 13
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 8
bDescriptorType 37
bDescriptorSubtype 1 (GENERAL)
bNumEmbMIDIJack 4
baAssocJackID( 0) 3
baAssocJackID( 1) 7
baAssocJackID( 2) 11
baAssocJackID( 3) 15
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)

@Sojuzstudio
Copy link
Author

aseqdump -p 20:03
Waiting for data. Press Ctrl+C to end.
Source Event Ch Data
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03
20:3 System exclusive 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12
20:3 System exclusive 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C
20:3 System exclusive 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00
20:3 System exclusive 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10 03 00 00 0E 10 0B 12 5C 00 10 03 12 5C 00 10
20:3 System exclusive 03 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7
20:3 System exclusive F0 00 20 0D 10 00 00 00 0E 10 0B F7
20:3 System exclusive F0 00 20 0D 10 00 12 5C 00 10 03 F7

@Sojuzstudio
Copy link
Author

It goes on forever, but I only printed part of it

@michaelforney
Copy link
Owner

Thanks! Next, can you try the following:

  1. Make sure you've checked out the latest version of oscmix, and have the alsa-lib development package installed (perhaps libasound2-dev).
  2. Build regtool: make tools/regtool.
  3. Run ./tools/regtool 20:3. Based on the output above, I think you'll see lines 3200 2E12 and 3203 8000. Check that this is the case.
  4. Stop regtool, and start again, this time filtering out 3200 and 3203: ./tools/regtool 20:3 | awk '$1 != "3200" && $1 != "3203" {print; fflush()}' | tee regtool.log. This probably won't print anything initially.
  5. In another terminal, start writing values to 3F00 in a loop: 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:3. You should start to see output in the first terminal.
  6. After a few seconds, you can kill both processes.
  7. Send me regtool.log.

@Sojuzstudio
Copy link
Author

I will take those actions. I'll get back to it over the weekend.

@Sojuzstudio
Copy link
Author

It's delayed a bit because I don't have experience installing that package, "alsa-lib development package installed (perhaps libasound2-dev)."

But I made a help request on the MxLinux forum,
https://forum.mxlinux.org/viewtopic.php?t=79487

@Sojuzstudio
Copy link
Author

I got installed.

Run ./tools/regtool 20:3. Based on the output above, I think you'll see lines 3200 2E12 and 3203 8000. Check that this is the case.:

Pport is changed, 24:3 for some reason

./tools/regtool 24:3
3200 2E12
3200 2E12
3203 8000
3200 2E12
3200 2E12
3203 8000
3200 2E12

Stop regtool, and start again, this time filtering out 3200 and 3203: ./tools/regtool 20:3 | awk '$1 != "3200" && $1 != "3203" {print; fflush()}' | tee regtool.log. This probably won't print anything initially.
In another terminal, start writing values to 3F00 in a loop: 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:3. You should start to see output in the first terminal.

Second terminal:

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 24:3
3F00 0000
snd_seq_event_output: Invalid argument
3F00 0001
snd_seq_event_output: Invalid argument
3F00 0002
snd_seq_event_output: Invalid argument
3F00 0003
snd_seq_event_output: Invalid argument
3F00 0004
snd_seq_event_output: Invalid argument
3F00 0005
snd_seq_event_output: Invalid argument
3F00 0006
snd_seq_event_output: Invalid argument
3F00 0007

First terminal: Nothing ??

@michaelforney
Copy link
Owner

Thanks for trying. Someone else reported that same error, snd_seq_event_output: Invalid argument, on IRC. I think it's probably a bug in regtool not initializing the event fully or something. Looking at alsa docs more closely, I think I was missing snd_seq_ev_clear, so some field was probably uninitialized. It should be fixed now if you'd like to try again, but I think I already have enough info now from the other devices.

@Sojuzstudio
Copy link
Author

Now I got it working:
regtool.log

@michaelforney
Copy link
Owner

@Sojuzstudio
Copy link
Author

Great. Hopefully we will be able to test at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants