# PICAR-X speaker not working

**URL:** <https://forum.sunfounder.com/t/picar-x-speaker-not-working/289>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [May 24, 2023, 1:08pm UTC](https://forum.sunfounder.com/t/picar-x-speaker-not-working/289 "2023-05-24T13:08:43Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![danfagerburg](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@danfagerburg](https://forum.sunfounder.com/u/danfagerburg)\
**Post date:** [March 16, 2025, 3:20am UTC](https://forum.sunfounder.com/t/picar-x-speaker-not-working/289/7 "2025-03-16T03:20:56Z")

</div>

pi@Picar-X:~/picar-x $ sudo bash i2samp.sh  
Support for your operating system is experimental. Please visit  
[forums.adafruit.com](http://forums.adafruit.com) if you experience issues with this product.

This script will install everything needed to use  
i2s amplifier

— Warning —

Always be careful when running scripts and commands  
copied from the internet. Ensure they are from a  
trusted source.

If you want to see what this script does before  
running it, you should run:  
\curl -sS [github.com/adafruit/Raspberry-Pi-Installer-Scripts/i2samp](http://github.com/adafruit/Raspberry-Pi-Installer-Scripts/i2samp)

Do you wish to continue? [y/N] y

Checking hardware requirements…

Adding Device Tree Entry to /boot/firmware/config.txt  
dtoverlay already active  
i2s mmap dtoverlay already active

Commenting out Blacklist entry in  
/etc/modprobe.d/raspi-blacklist.conf  
Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
alsa-utils is already the newest version (1.2.8-1+rpt1).  
The following packages were automatically installed and are no longer required:  
libcamera0.3 libwlroots12 lxplug-network  
Use ‘sudo apt autoremove’ to remove them.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Installing aplay systemd unit  
Removed “/etc/systemd/system/multi-user.target.wants/aplay.service”.

You can optionally activate ‘/dev/zero’ playback in  
the background at boot. This will remove all  
popping/clicking but does use some processor time.

Activate ‘/dev/zero’ playback in background? [RECOMMENDED] [y/N] y

Created symlink /etc/systemd/system/multi-user.target.wants/aplay.service → /etc/systemd/system/aplay.service.

Configuring sound output  
card\_num=

We can now test your i2s amplifier  
Set your speakers if possible!  
Do you wish to test your system now? [y/N] y  
Testing…

speaker-test 1.2.8

Playback device is default  
Stream parameters are 48000Hz, S16\_LE, 2 channels  
WAV file(s)  
Playback open error: -16,Device or resource busy

All done!

Enjoy your new i2s amplifier!

Some changes made to your system require  
your computer to reboot to take effect.

Would you like to reboot now? [y/N]

---

_[View the full topic](https://forum.sunfounder.com/t/picar-x-speaker-not-working/289)._
