Adafruit I2C Bonnet does not work

Hey Guys,

i tried to do some research and found a similar issue in here, I2S DAC: Adafruit I2S 3W Stereo Speaker Bonnet

but the hints from @dgerton do not work for me…
As this bonnet is quite cheap, its an affordable option to bring volumio with good sound on devices

Adafruit’s SpeakerBonnet setup guide uses PhatDAC. I was able to get that going as well as HiFiBerry DAC. PhatDAC did not respond to volume, but I didn’t play around with it much to see if I could get it to work.

Whats my problem:
I installed everything according to the following instructions from the supplier and did some audio tests, which were successfull:

speaker-test -c2 --test=wav -w /usr/share/sounds/alsa/Front_Center.wav


works like a charm.

But Volumio does not play sound, will all these options no output is made on the speakers:

  • Adafruit UDA1334A
  • HifiBerry DAC
  • pHAT DAC

All the time the following error message appears, doesnt matter which option i choose:

Help is appreciated!

Thanks for the Link, i know this already and have installed the i2c according to the Manual/ description of this Page.

So, what do you mean, where do you Point to?

hardware is pointing to card 0 and asla pointing to card 2 ?

pcm.speakerbonnet {
type hw card 0

asla error says card 2

my /etc/asound.conf looks like:

pcm.speakerbonnet {
   type hw card 0

pcm.!default {
   type plug
   slave.pcm "dmixer"

pcm.dmixer {
   type dmix
   ipc_key 1024
   ipc_perm 0666
   slave {
     pcm "speakerbonnet"
     period_time 0
     period_size 1024
     buffer_size 8192
     rate 44100
     channels 2

ctl.dmixer {
  type hw card 0

BUT my /etc/mpd.conf referred to

audio_output {
                type            "alsa"
                name            "alsa"
                device          "hw:2,0"
                dop                     "no"

i changed after your tip to device "hw:0,0", and now the error looks like this:

sorry i can’t help you with it, can’t test it.
maybe some one with the card can help you with it .

i found herea solution, maybe its helpful for those you ran into the same issue than me:

I removed the “device hw:0,0” line from the “ALSA default” audio_output section in /etc/mpd.conf and restarted MPD by sudo service mpd restart

now, it works!

glad you found a solution :slight_smile:

for those using this soundcar the following link is essential as well: