Speaker-pHat VU Meter dead


#1

Having assembled by Speaker-pHat, I’m not getting any output from the VU Meter although sound is working fine. Here’s the setup:

  • Pi Zero 1.2 (Not W, but has camera connector)
  • Jessie Lite (have also tried Stretch Lite)
  • I2C enabled
  • Used the one-line install method
  • Using cvlc for playback

All the vumeter bits in /etc/asound.conf are there. However I do get these errors when starting cvlc:

[00bf8cd8] core interface error: no suitable interface module
[00a898f8] core libvlc error: interface “globalhotkeys,none” initialization failed
[00bf8cd8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[00bf8cd8] core interface error: no suitable interface module
[00a898f8] core libvlc error: interface “dbus,none” initialization failed

Bar the X11 error, which I’d expect, I’m not sure what the others mean, although it plays sounds perfectly well. I’ve also tested all the solder joints with a multimeter with no problems.

Any got any ideas?

Many thanks,

PJ


#2

This is- I believe- a problem with the way Pulse Audio is set up. At the moment our install script:

  • Sets up the audio device
  • Installs Pulse Audio
  • Installs Pi VU Meter

The “Installs Pulse Audio” step looks for Pi VU Meter and configures accordingly, but unfortunately it’s not installed at that point! D’oh.

Try:

sudo nano /etc/pulse/default.pa

And right under the line that reads ### Automatically load driver modules depending on the hardware available

Add:

load-module module-alsa-sink device=pivumeter

#3

This worked a treat after a reboot! Thanks.