Pi DAC+ fails on Pi 5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[Impact]
First reported on the Raspberry Pi forums (https:/
The board *does* work on Ubuntu on prior models, including 3B+ and 4B (those are all I've tested so far), but it does require the overlay (iqaudio-dacplus or rpi-dacplus depending on the variant) to be manually specified in config.txt (RaspiOS automatically detects and loads the board; I haven't figured out why we don't yet but that's an additional data-point that may be worth exploring).
Anyway, on the Pi 5 the HAT is detected (/proc/
[ 7.383734] designware-i2s 1f000a0000.i2s: Missing dma channel for stream: 0
[ 7.392977] designware-i2s 1f000a0000.i2s: ASoC: error at snd_soc_
[ 7.403212] snd-rpi-iqaudio-dac soc:sound: ASoC: can't create pcm Raspberry Pi DAC+ HiFi :-22
[ 7.405612] rpivid 1000800000.codec: bcm2712_
[ 7.416183] rpivid 1000800000.codec: bcm2712_
[ 7.418036] snd-rpi-iqaudio-dac soc:sound: snd_soc_
[Test Case]
See impact above.
[Fix]
Build AXI dma driver into the kernel rather than a loadable module.
[Where Problems Could Occur]
At boot and when SPI-devices are attached.
Incidentally, this is the product in question:
https:/ /www.raspberryp i.com/products/ dac-plus/
I've been using one of the older IQaudIO DAC+ boards, but I'm told they're electrically equivalent; they were just rebranded when Raspberry Pi started producing them directly.