OS 1.0.0 support for Hifiberry DAC+ ADC?

Hello, new user here trying to setup my RPi4 to run the GuitarML project.

I have a RPi4 (Model B Rev 1.5) with a Hifiberry DAC+ ADC. I flashed Elk OS 1.0.0 on an SD card and it boots, comes up on my network, and I can login via the console or ssh. Unfortunately, the following message is displayed on login:

Sorry, elk-stereo hat is not currently supported!

Audio driver load failed.

This is my first time playing around with Elk, but I’ll note that I have plenty of experience working with Linux, including a fair amount of work on ALSA and PulseAudio over the years.

The GuitarML instructions include the following command:

$ sudo elk_system_utils --set-audio-hat hifiberry-dac-plus-adc

…but when I run this command, it outputs “The audio HAT is autodetected by the load-drivers script.”

I checked the journal for errors, and sure enough there are a few firmware related errors reported:

Apr 28 17:42:28 elk-pi kernel[191]: [    5.543638] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Apr 28 17:42:29 elk-pi kernel: brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
Apr 28 17:42:29 elk-pi kernel[191]: [    6.505351] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
Apr 28 17:42:30 elk-pi alsactl[325]: alsa-lib ../../../alsa-lib-1.2.6.1/src/ucm/main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Apr 28 17:42:30 elk-pi alsactl[325]: alsa-lib ../../../alsa-lib-1.2.6.1/src/ucm/main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2

Unfortunately this is my first time play around with a Pi HAT, so I don’t know all that much about introspecting HATs and/or determining if it’s functioning properly.

If there’s any additional information that would help, please let me know!

Any help / pointers would be much appreciated. I guess my next step will be to flash one of the older Elk OS releases and see if that makes any difference.

Just a quick update…

I installed Elk OS 0.1.1 (RPi4) and I no longer get the login error message. I also was successfully able to run the elk_systen_utils command mentioned in my original post, and this time it looks like it works because it output a message stating that the change wouldn’t take effect until I power cycled the hardware.

I will note however that sudo shutdown now failed to properly power off the system, so I had to pull the power cable…

Hello,
starting from ELK audio OS 1.0.0 the audio hat is autodetected by the load-drivers script, so the elk_system_utils command is not necessary in this case and it warns you with a message. Apart from the warning message the audio should be functional if the hat is properly detected and supported.

Since you’re experimenting it might be worth giving a shot to the latest 1.1.0 release Elk Audio OS 1.1

Thanks for your reply Marco. That said, in my case when I booted 1.0.0, the first message I see at login is that the hat isn’t supported. Hopefully this has been fixed in 1.1. Is there a ChangeLog and or release notes available for the release?

Regards,
/tony