HI,
Are you running on Elk PI or HIfi Berry hat ?
I guess you are running on a Hifi Berry hat but you haven’t set the right hat using “elk_system_utils”. By default Elk Audio OS is configured to be run on Elk Pi hat, so if you are using a Hifi Berry hat then you need to change the audio_hat appropriately using the command “elk_system_utils”. You can find the documentation here.
I am starting to see a problem here, So do you need either the elk pi (dev kit hat) or the HiFiBerryHat to get it to work properly? I am just having the raspberry pi4 alone without any other hardware.
If this is true, Which one would you recommend me:
I am trying to build a guitar amplifier with the effects/vst’s running on the pi.
Hi there!
I’m just writing here because I googled the error I’m getting after the last 0.9.0 update (I used the swu to update my Pi4) and I found this topic.
I’m using a DAC+ ADC PRO and I already set my hat as described, but the error is still there.
In addition to that, I noticed the elk_system_utils is failing to update the config.
sed: can’t read /udata/.elk-system/elk-system.conf: No such file or directory
Using audio hat hifiberry-dac-plus-adc-pro. Please power cycle for changes to take effect…
Note! This is persistent across boot cycles but not after software update.
I tried to create an empty elk-system.conf file and the error is gone, but I still can’t run sushi, also my elk-system.conf seems to be empty even after I try to set my DAC+ ADC PRO as hat.
Is there something I’m missing here?
EDIT:: I also tried with a fresh os install on my sd card. The settings are now correctly stored, but I can’t run sushi:
cat: /sys/module/audio_rtdm/parameters/audio_buffer_size: No such file or directory
/usr/bin/sushi: line 7: exec: sushi_b: not found
Actually, the audio_rtdm folder can’t be found in the /sys/module
Thanks for pointing this bug in elk_system_utils. I have fixed this issue and we ll replace the image on github with the correct one. Meanwhile if you want to use the image that you already have, you need to edit the load-drivers script present here /usr/bin.
You just need to replace the audio hat name as AUDIO_HAT="hifi-berry-pro" .
It should be good enough. Anyways, the new image should be uploaded tomorrow.
Thank you so much @Nitin
About the audio_rtdm folder missing in /sys/module is there something I need to do in this scenario?
Unfortunately sushi still doesn’t run even with a fresh install
If you change the AUDIO_HAT to “hifi-berry-pro” that should solve the problem.
Just replace AUDIO_HAT="elk-pi" to AUDIO_HAT="hifi-berry-pro"
You need to restart the board.
HI @lucanisi,
thanks for pointing out the issue - we have just updated the SWU & images, there was a clear fix that we didn’t identify given the status of our testing boards.
It should be working now. If you don’t want to update, it should be possible to modify the audio hat by directly editing /usr/bin/load-drivers.