0

Adafruit Speaker Bonnet Not Working
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

Adafruit Speaker Bonnet Not Working

by GuyyuG on Tue Jan 08, 2019 6:50 pm

I received an Adafruit Speaker Bonnet and Stereo Enclosed Speaker Set earlier today, but I am not able to get the speakers to play any sound. I have tried the tutorial for setting up the speakers twice on two different cards and it has not worked either time that I have tried. The software install worked fine both times the only strange thing being that every time I run it, it will ask if I want to "Activate '/dev/zero' playback in the background?" no matter how many times I have answered Yes or No and then rebooted my Raspberry Pi on either card. I have followed the instructions to the best of my ability both times so I have no idea why it is not working.

Both cards are running Raspbian Stretch

Thanks!

GuyyuG
 
Posts: 6
Joined: Wed Nov 21, 2018 10:36 am

Re: Adafruit Speaker Bonnet Not Working

by adafruit_support_mike on Wed Jan 09, 2019 4:12 am

Post a photo showing your hardware and connections please. 800x600 images usually work best.

adafruit_support_mike
 
Posts: 54838
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit Speaker Bonnet Not Working

by GuyyuG on Wed Jan 09, 2019 4:43 pm

Here are some pictures:
Attachments
IMG_1777.jpg
IMG_1777.jpg (57.42 KiB) Viewed 106 times
IMG_1776.jpg
IMG_1776.jpg (38.95 KiB) Viewed 106 times
IMG_1775.jpg
IMG_1775.jpg (33.58 KiB) Viewed 106 times

GuyyuG
 
Posts: 6
Joined: Wed Nov 21, 2018 10:36 am

Re: Adafruit Speaker Bonnet Not Working

by adafruit_support_mike on Sat Jan 12, 2019 5:43 am

Thank you. I don't see anything out of the ordinary there.

Let's take a look at the config files. Post the contents of /etc/modprobe.d/raspi-blacklist.conf and /etc/modules please.

adafruit_support_mike
 
Posts: 54838
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit Speaker Bonnet Not Working

by GuyyuG on Sat Jan 12, 2019 9:57 am

The file /etc/modprobe.d/raspi-blacklist.conf is empty. The file /etc/modules contains:
Code: Select all | TOGGLE FULL SIZE
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

i2c-dev


Thanks!

GuyyuG
 
Posts: 6
Joined: Wed Nov 21, 2018 10:36 am

Re: Adafruit Speaker Bonnet Not Working

by adafruit_support_mike on Sun Jan 13, 2019 1:15 am

Okay, there are no background configuration issues getting in the way.

Post the contents of your /etc/asound.conf file please.

adafruit_support_mike
 
Posts: 54838
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit Speaker Bonnet Not Working

by GuyyuG on Sun Jan 13, 2019 9:10 am

Here are the contents of /etc/asound.conf:
Code: Select all | TOGGLE FULL SIZE
pcm.speakerbonnet {
   type hw card 0
}

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
}

pcm.softvol {
    type softvol
    slave.pcm "dmixer"
    control.name "PCM"
    control.card 0
}

ctl.softvol {
    type hw card 0
}

pcm.!default {
    type             plug
    slave.pcm       "softvol"
}

GuyyuG
 
Posts: 6
Joined: Wed Nov 21, 2018 10:36 am

Re: Adafruit Speaker Bonnet Not Working

by adafruit_support_mike on Mon Jan 14, 2019 3:15 am

That also looks good. The last thing to check will be /boot/config.txt

Post the contents of that please.

adafruit_support_mike
 
Posts: 54838
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit Speaker Bonnet Not Working

by GuyyuG on Mon Jan 14, 2019 5:33 pm

Here is /boot/config.txt:

Code: Select all | TOGGLE FULL SIZE
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
start_x=1
gpu_mem=128
dtoverlay=hifiberry-dac
dtoverlay=i2s-mmap

GuyyuG
 
Posts: 6
Joined: Wed Nov 21, 2018 10:36 am

Re: Adafruit Speaker Bonnet Not Working

by adafruit_support_mike on Tue Jan 15, 2019 2:55 am

Everything looks good there too. At this point it's either a dead GPIO pin on the RasPi or a pair of dead I2S amplifiers.

Do you happen to have another RasPi you can use for comparison?

adafruit_support_mike
 
Posts: 54838
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit Speaker Bonnet Not Working

by GuyyuG on Thu Jan 17, 2019 7:24 pm

I have tested the speakers on a different Raspberry Pi (the new raspberry pi 3B+) with this card and with a different card and it has not worked with any combination so I am not sure what is going on. The one thing that I noticed on the new Raspberry Pi 3B+ is that the bonnet is kept from sitting flat on the pi because of the POE header near the GPIO pins. However, I used a GPIO ribbon cable to combat that, and I still didn't have any luck. Thanks for your continual help!
IMG_1814.jpg
IMG_1814.jpg (73.42 KiB) Viewed 23 times

GuyyuG
 
Posts: 6
Joined: Wed Nov 21, 2018 10:36 am

Re: Adafruit Speaker Bonnet Not Working

by adafruit_support_mike on Fri Jan 18, 2019 3:45 am

That makes dead I2S amps more likely than dead pins on the RasPis, so I can call that Bonnet dead. Thank you.

Send a note containing a link to this page and your order number to support@adafruit.com. The folks there will get you another Speaker Bonnet.

adafruit_support_mike
 
Posts: 54838
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.