Pirate Audio: I2S on Ubuntu 20.04

Hello everyone,

I’ve got Ubuntu 20.04 running on a raspberry pi 4.
My goal is to play sound files via python over the I2S-DAC which is integrated on the pirate audio speaker board (MAX98357A DAC).
So far I’ve tried to set it up via the tutorial for the pHAT DAC.
Unfortunately the script is not supported for ubuntu 20.04 and I also haven’t got much luck with manually executing the steps.

Any ideas?

Does Ubuntu use a config.txt file?
If yes, make the following edits.

dtoverlay=hifiberry-dac
gpio=25=op,dh

dtparam=audio=off

Already did that, unfortunately the DAC still isn’t available

That’s a bummer. I don’t have any other ideas.