Can't get HifiBerry DAC+ ADC Pro to initialize

I am very new to Elk Audio OS, and have been trying to solve this myself for the past couple days, but I can’t get my HifiBerry DAC+ ADC Pro to initialize. The lights do not turn on when I’m using Elk Audio OS. They do on other OS’s when I’m using the board.

I tried running sudo elk_system_utils --set-audio-hat hifiberry-dac-plus-adc-pro but get the response The audio HAT is autodetected by load-drivers script.

My /tmp/audio_hat value is hifi-berry-pro. But when I run the test sushi -r --multicore-processing=2 -c ~/config_files/play_vst3.json & nothing happens.

Here’s the output from my sushi log after running the stated command:

[2023-12-06 16:33:27.549] [warning] #############################
[2023-12-06 16:33:27.549] [warning]    Started Sushi Logger!
[2023-12-06 16:33:27.549] [warning] #############################
[2023-12-06 16:33:27.626] [info] [plugin_library] Setting base plugin path to: /home/mind/plugins
[2023-12-06 16:33:27.629] [info] [jsonconfig] Setting engine sample rate to 48000.0
[2023-12-06 16:33:27.629] [info] [main] Setting up Xenomai RASPA frontend
[2023-12-06 16:33:27.632] [info] [engine] Track main successfully added to engine
[2023-12-06 16:33:27.632] [info] [engine] Connected engine output 0 to channel 0 of track "0"
[2023-12-06 16:33:27.632] [info] [engine] Connected engine output 1 to channel 1 of track "0"
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Ambience of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Ambience of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Bandisto of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Bandisto of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda BeatBox of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda BeatBox of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Combo of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Combo of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda DeEsser of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda DeEsser of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Degrade of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Degrade of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Delay of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Delay of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Detune of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Detune of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Dither of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Dither of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda DubDelay of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda DubDelay of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda DX10 of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda DX10 of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Dynamics of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Dynamics of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda EPiano of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda EPiano of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Image of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda Image of type Component Controller Class
[2023-12-06 16:33:27.713] [info] [vst3] Querying plugin mda JX10 of type Audio Module Class
[2023-12-06 16:33:27.713] [info] [vst3] Creating plugin mda JX10
[2023-12-06 16:33:27.713] [info] [vst3] Plugin supports Midi Mapping interface
[2023-12-06 16:33:27.713] [info] [vst3] Plugin supports Unit Info interface for programs
[2023-12-06 16:33:27.713] [info] [vst3] Plugin has 0 audio input buffers and 1 audio output buffers
[2023-12-06 16:33:27.713] [info] [vst3] Vst3 wrapper (mda JX10) has 0 inputs and 2 outputs
[2023-12-06 16:33:27.713] [info] [vst3] Plugin has 1 event input buffers and 0 event output buffers
[2023-12-06 16:33:27.714] [info] [vst3] We have a program change parameter at 1886548852
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter OSC Mix, id 0
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter OSC Tune, id 1
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter OSC Fine, id 2
[2023-12-06 16:33:27.714] [info] [vst3] Registered INT parameter Glide, id 3
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Gld Rate, id 4
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Gld Bend, id 5
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Freq, id 6
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Reso, id 7
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Env, id 8
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF LFO, id 9
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Vel, id 10
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Att, id 11
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Dec, id 12
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Sus, id 13
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter VCF Rel, id 14
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter ENV Att, id 15
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter ENV Dec, id 16
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter ENV Sus, id 17
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter ENV Rel, id 18
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter LFO Rate, id 19
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Vibrato, id 20
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Noise, id 21
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Octave, id 22
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Tuning, id 23
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Mod Wheel, id 1836016759
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Pitch Bend, id 1885959266
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Filter Mod+, id 1651668072
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Filter Mod-, id 1668558899
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Filter Resonance, id 1702391922
[2023-12-06 16:33:27.714] [info] [vst3] Registered parameter Aftertouch, id 1634104436
[2023-12-06 16:33:27.714] [info] [vst3] Plugin supports mod wheel parameter mapping
[2023-12-06 16:33:27.714] [info] [vst3] Plugin supports pitch bend parameter mapping
[2023-12-06 16:33:27.714] [info] [vst3] Plugin supports aftertouch parameter mapping
[2023-12-06 16:33:27.714] [info] [vst3] Program list id 1886548852
[2023-12-06 16:33:27.714] [info] [vst3] Plugin supports internal programs, program count: 52
[2023-12-06 16:33:27.714] [info] [vst3] Vst3 wrapper (mda JX10) setting up 0 inputs and 0 outputs
[2023-12-06 16:33:27.714] [error] [vst3] Failed to set a valid channel arrangement

Hi matdave and welcome to the forums. From the sushi logs you’ve posted, it looks like everything has been set up as it is supposed to be and the audio driver is working. Sushi should have quit with an error message if it wasn’t able to connect to the driver.

This is honestly the first time I’ve heard about an led on the hifiberry, so I would guess (though I didn’t write the driver) that the led was added in another revision and we never implemented support for it.

The play_vst3.json config file that’ve you used loads a vst synth on a track, but in order to play it you need to connect a midi keyboard and connect that to sushi using aconnect. Se here for a more detailed description Running Elk on your computer — Elk DevKit documentation

Gustav,

Interesting, on other OS’s the Input and Output light up when they are in use. Maybe it’s a new thing. In any case, what would be a way to just test that it is working? I can’t get it to output anything so far.

You could try the play_arp_mda_link.json config file. It contains an arpeggiator and a synth so it should output something. Another option is to use the empty.json config file and send audio from input to output. It should pass through unchanged. If not let us know.

If you run with an & at the end of the comandline, to give control back to the terminal, remember to kill the first instance of sushi before launching a new one :wink:

As for the LED, maybe @Nitin can give some information if we support that or not.

Awesome, it does work. I just had my wires crossed going in. Had a mono->stereo plug in and a stereo>mono plug coming out but for some reason the left was taking priority on the in and right was taking priority on the out. It was working just not showing LEDs which threw me off.

1 Like

Happens to the best of us :). Great that you got it working and good luck with your project!