Disable all plugins partaking in the audio output like multiroom, play here, etc. We need direct DAC to Alsa relation.
Setup your VolumiOS to use different audio output like HDMI.
Verify with ssh session that the dtoveraly in /boot/config.txt has been removed or commented out. If not, delete line with dtoverlay=allo-boss-dac-pcm512x-audio.
Shutdown your Volumio, remove power for at least 10s.
Power up and login with ssh session and do the following:
sudo dtoverlay -v -D allo-boss-dac-pcm512x-audio
Above will produce only dry-run.dtbo file in dry-run. Compress the dry-run.dtbo file with zip and attach it to your reply.
sudo dtoverlay -v allo-boss-dac-pcm512x-audio
Above will attempt to register DAC. We need system messages, hence:
dmesg > dmesg.txt
Compress the dmesg.txt file with zip and attach it to your reply.
It looks like there are some different GPIO pins in the CM4 settings and the RP4 itself
when connecting another ES9038 dac i-sabre works normally.
Only this innomaker works normally on Rp4
The i-sabre-q2m-overlay is not referencing brcm,pins, only relies on i2s-controller.
The allo-boss-dac-pcm512x-audio-overlay relies on i2s-controller and also uses mute-gpios gpio 6 initial pull-up.
This is important, that you confirm status from my previous post, that the combination is in fact captured properly. Should this be the case, then a custom overlay for CM4 will be required whereas DAC kernel module works as designed.
The CM4 will very likely require alternative gpio mode when matted with CM4-IO-BASE-A base board. And yes, it can be “fixed” with a custom overlay.
Please prepare your VolumioOS on CM4 and configure as you normally would for Innomaker Rasp Pi Hifi DAC Hat Pcm5122 Audio.
Download and unzip attached overlay.
Copy or upload to /boot/overlays location
Check that the overlay is in /boot/overlays/allo-boss-dac-pcm512x-audio-cm4.dtbo
Edit /boot/config.txt and reference the new overlay:
change
dtoverlay=allo-boss-dac-pcm512x-audio
to
dtoverlay=allo-boss-dac-pcm512x-audio-cm4
Power down for 10s and boot normally. Test DAC functions. Report back for further instructions.
### DO NOT EDIT THIS FILE ###
### APPLY CUSTOM PARAMETERS TO userconfig.txt ###
initramfs volumio.initrd
gpu_mem=128
gpu_mem_256=32
gpu_mem_512=32
gpu_mem_1024=128
max_usb_current=1
[pi5]
usb_max_current_enable=1
[all]
include volumioconfig.txt
include userconfig.txt
#### Volumio i2s setting below: do not alter ####
dtoverlay=allo-boss-dac-pcm512x-audio-cm4
I need to dig into the CM4 tech specs with alternative pin handlers. This is going to to take some time. Taking the festive period upon us - I don’t think I will have time to research before mid of next week.
The carrier board CM4-IO-BASE-A you have - is it revision 1 or 4?
CM4-IO-BASE-A V4
Could you tell me what the problem is?
Does CM4 and allo-boss in a different combination(mainboard) work or does CM4 alone have this problem?
@Darmur has mention - he does not have access to the DAC, neither do I. As such, you will need to test what works and what does not.
If there is any logic in the device tree attached should get us further. Follow the same instructions as before, however extra diagnostic step is needed: