dagargo / elektroid

Sample and MIDI device manager
https://dagargo.github.io/elektroid/
GNU General Public License v3.0
223 stars 32 forks source link

Digitakt II doesn't work #142

Closed psie closed 3 months ago

psie commented 3 months ago

Built successfully on Debian from 0b2b981dcb7a9378a3c0504e2c4501581fb8f7f8.

GUI detects the Digitakt II but without the correct capabilities

image

The CLI is similar:

$ elektroid-cli info 1
Type: MIDI
Device name: MIDI device
Device version: 
Device description: 
Connector name: default
Filesystems: program
$ elektroid-cli -v df 1:/
DEBUG:backend_alsa.c:371:(backend_get_system_subdevices): Adding hw:3 (name 'Elektron Digitakt II', subname 'Elektron Digitakt II MIDI 1')...
DEBUG:backend.c:306:(backend_init): Initializing backend (ALSA) to 'hw:3,0,0'...
DEBUG:backend_alsa.c:87:(backend_init_int): Setting blocking mode...
DEBUG:backend.c:393:(backend_rx_raw_loop): Timeout (1000)
DEBUG:backend.c:317:(backend_init): Stopping device...
DEBUG:connector.c:149:(connector_init_backend): Connector elektron matches the device
DEBUG:backend.c:144:(backend_midi_handshake): Illegal SUB-ID2
DEBUG:connector.c:189:(connector_init_backend): Testing elektron connector (non standard handshake)...
DEBUG:connectors/elektron.c:773:(elektron_tx): Message sent (5): 00 00 00 00 01
DEBUG:connectors/elektron.c:818:(elektron_rx): Message received (63): 00 0d 00 00 81 2a 2c 01 02 03 05 04 06 07 09 50 52 51 10 13 11 12 20 21 22 23 28 30 31 32 36 40 41 42 46 17 18 19 29 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 44 69 67 69 74 61 6b 74 20 49 49 00
DEBUG:connector.c:189:(connector_init_backend): Testing microbrute connector (standard handshake)...
DEBUG:connector.c:189:(connector_init_backend): Testing microfreak connector (standard handshake)...
DEBUG:backend.c:393:(backend_rx_raw_loop): Timeout (5000)
DEBUG:connector.c:189:(connector_init_backend): Testing phatty connector (standard handshake)...
DEBUG:connector.c:189:(connector_init_backend): Testing summit connector (standard handshake)...
DEBUG:connector.c:189:(connector_init_backend): Testing cz connector (non standard handshake)...
DEBUG:backend.c:393:(backend_rx_raw_loop): Timeout (1000)
DEBUG:connector.c:189:(connector_init_backend): Testing sds connector (non standard handshake)...
DEBUG:connectors/elektron.c:773:(elektron_tx): Message sent (5): 00 00 00 00 01
DEBUG:connectors/elektron.c:818:(elektron_rx): Message received (63): 00 0e 00 00 81 2a 2c 01 02 03 05 04 06 07 09 50 52 51 10 13 11 12 20 21 22 23 28 30 31 32 36 40 41 42 46 17 18 19 29 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 44 69 67 69 74 61 6b 74 20 49 49 00
DEBUG:connector.c:189:(connector_init_backend): Testing efactor connector (non standard handshake)...
DEBUG:connectors/efactor.c:503:(efactor_handshake): Illegal SUB-ID2
DEBUG:connector.c:189:(connector_init_backend): Testing default connector (non standard handshake)...
DEBUG:connector.c:219:(connector_init_backend): Using default connector...
ERROR:elektroid-cli.c:895:(main): Error: Function not implemented
psie commented 3 months ago

-vv:

$ elektroid-cli -vv df 1:/
DEBUG:backend_alsa.c:371:(backend_get_system_subdevices): Adding hw:3 (name 'Elektron Digitakt II', subname 'Elektron Digitakt II MIDI 1')...
DEBUG:backend.c:306:(backend_init): Initializing backend (ALSA) to 'hw:3,0,0'...
DEBUG:backend_alsa.c:87:(backend_init_int): Setting blocking mode...
DEBUG:backend.c:624:(backend_rx_drain): Draining buffers...
DEBUG:backend.c:393:(backend_rx_raw_loop): Timeout (1000)
DEBUG:backend.c:317:(backend_init): Stopping device...
DEBUG:connector.c:149:(connector_init_backend): Connector elektron matches the device
DEBUG:backend_alsa.c:206:(backend_tx_sysex_internal): Raw message sent (6): f0 7e 7f 06 01 f7
DEBUG:backend.c:604:(backend_rx_sysex): Raw message received (6): f0 7e 00 7c 00 f7
DEBUG:backend.c:144:(backend_midi_handshake): Illegal SUB-ID2
dagargo commented 3 months ago

The output with -vv doesn't show the messages related to the elektron.json file so I guess the issue is that you have a custom one in ~/.config/elektroid/elektron/devices.json. Is this correct?

psie commented 3 months ago

Oh yes, I forgot about it. It works, hallelujah! Thanks a lot! :]