raspberrypi / bookworm-feedback

14 stars 1 forks source link

I2s Audio issues #110

Closed rhysmorgan134 closed 1 year ago

rhysmorgan134 commented 1 year ago

I am using this overlay to create a generic i2s audio input and output device using external clocks.

https://github.com/AkiyukiOkayasu/RaspberryPi_I2S_Slave/blob/master/genericstereoaudiocodec.dts

I have enabled i2s and loaded the overlay in /boot/config.txt exactly as per bullseye where it works well, however in bookworm dmesg is full with these logs

[   33.674081] bcm2835-i2s fe203000.i2s: ASoC: error at snd_soc_dai_hw_params on fe203000.i2s: -22
[   33.674139]  bcm2835-i2s-dit-hifi: ASoC: error at __soc_pcm_hw_params on bcm2835-i2s-dit-hifi: -22
[   38.049743] bcm2835-i2s fe203000.i2s: ASoC: error at snd_soc_dai_hw_params on fe203000.i2s: -22
[   38.049807]  bcm2835-i2s-dit-hifi: ASoC: error at __soc_pcm_hw_params on bcm2835-i2s-dit-hifi: -22

Any attempts to play audio results in silence, this was tested on a pi4

rhysmorgan134 commented 1 year ago

Solved via this forum post, issue was pi5 specific

https://forums.raspberrypi.com/viewtopic.php?p=2156043#p2156043