Start a new topic

Setting up the pi-top speaker


 i got my pi-top Ceed and the Speaker this week. Is installed the package and set the speaker to mono. I2C is enabled and the Ceed was rebooted. Than I wanted to play music with the omxplayer. Tried both normal and hdmi, and I tried the mplayer...

But there were nothing to hear. What can I do, to get it to work?


16 people have this question

YOu can try this and let us know whether it works: -/boot/config.txt: Uncomment #hdmi_drive=2. Reboot. -call omxplayer as follows: omxplayer -o hdmi filename where filename is the name of the file to play



 for your message. I just checked the /boot/config.txt. The line was already uncommented:

# uncomment to force a HDMI mode rather than DVI. This can make audio work in

# DMT (computer monitor) modes


und when I tried to use omxplayer -o hdmi (what I have already done)  it worked. I don't know why, but it's good that way.

1 person likes this
I have done some further investigation into how the pt- speakers work. It is not sufficient to enable hdmi audio output, but the volume of the speaker needs to be set using i2c. See the script /user/bin/pt-speaker, the python script /opt/pt-speaker/ and the script /opt/pt-speaker/playback.configure
There is a detailed procedure for the installation of the pi-topSPEAKER in both pi-topOS and Raspbian Jessie available at the bottom

Please provide  a set of instructions  HERE to get my speaker working here.  Have tired things on box


Stewart, please let me know what problem you have with the detailed instructions at the link in my last post, so that I can improve the instructions. The reason why they are at is that it is possible there to improve them whenever a user has a problem or a proposal for an improvement. Thanks for your help, and thanks again to all users of this forum who have helped to put this information together.
After a few problems my Pi-Top Speaker arrived today. Gosh, but it is compact. It came supplied with screws to mount in either the Pi-Top or CEED. I followed the Pi-Top instructions but didn't get sound. I then followed Rene Richarz instructions on GitHub. After the last reboot my Pi-Top powered up and I got sound when I started CEED Universe. Thanks for all of your hard work and excellent documentation Rene. Casual users, like me, really appreciate your efforts. My Kermit can now croak. 

2 people like this
I'm using raspbian jessie.I've tried everything on github and still have no sound. I've follows the directions all the way several times still nothing. When I use pi top os I have sound. But I installed my own card running noobs version of raspbian jessie. Can anyone help?

I assume you have used user pi to install and test the speaker. If not, that's the problem.

If you have sufficient experience with Raspbian, you can try the following to check your installation:

Are the following files present:




Is the the last one (pt-speaker) executable?

Look a /home/pi/.config/lxsession/LXDE-pi/autostart:

Is there a line "@pt-speaker"?

(on a separate line, no empty lines etc.)

Open a terminal again and do the following:

cd /opt/pt-speaker

sudo python m

Does it answer


Done! Exiting...

If all of this is ok, the speaker is present, set to mono and properly initialized.

Please let me know whether this helped. I would like to improve the setup procedure on github.

1 person likes this

Everything you have suggested i have done with great care. The response is always "no directory found" basically. My version of Raspbian is 1.9.2. Any thoughts?

i finally saw the speaker present at 73. still doesn't play. help

"no directory found"? Please let me know exactly what command you used and what error message you got. If the directory /opt/pt-speaker is missing, type again "sudo apt-get install pt-speaker" and look carefully at the output. What error message do you get?

Okay, for each command, such as cd /opt/pt-speaker or all others you listed on your response i get "no such directory found or errno 2 no such directory found. each command was entered after the phrase pi@raspberrypi:~ $ So what do I do now?


pi@raspberrypi:~ $ /opt/pt-speaker/
bash: /opt/pt-speaker/ No such file or directory
pi@raspberrypi:~ $ /opt/pt-speaker/playback.configure
bash: /opt/pt-speaker/playback.configure: No such file or directory
pi@raspberrypi:~ $ /usr/bin/pt-speaker
bash: /usr/bin/pt-speaker: No such file or directory
pi@raspberrypi:~ $ 

this is my terminal as i've entered what you asked.

Login or Signup to post a comment