Start a new topic

Pi Top Speaker without X

 Hi there,


I have a Pi-Top with a Pi-Top Speaker add-on, and I'm unable to make it sound.

I understand it uses i2c to output HDMI audio. In fact, my system has the needed modules loaded:


pi@raspberrypi:~ $ lsmod
Module                  Size  Used by
evdev                  12423  0
snd_bcm2835            24427  0
snd_pcm                98501  1 snd_bcm2835
snd_timer              23904  1 snd_pcm
snd                    70032  3 snd_timer,snd_bcm2835,snd_pcm
i2c_bcm2835             7167  0
fixed                   3285  0
i2c_dev                 6913  0


I can see the device on i2c bus also:


pi@raspberrypi:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- 0b -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- 73 -- -- -- --                        


However, "omxplayer -o hdmi <video_file>" does not produce any audio.

There's a final step I must me missing, that's not present on the github info.

I DON'T have an X enviroment or it's dependencies and never will, so please help me configure it on TTY console.

Alsamixer audio meter is at 100% too.


Thanks


Try the command pt-speaker before using the speaker. The scripts set this up to run automatically when xwindows is started.
Rene: I don't have the pt-speaker command. The package containing it depends on X libraries that my system does not have and won't have.
So, what does that command do and how can I do it manually instead?
I just need the speaker to work without any X dependencies.

 

Login or Signup to post a comment