User Tools

Site Tools


audio:volumio_tips

This is an old revision of the document!


Volumio tips

For my music server and streaming needs, I'm currently using Volumio 3 on a Raspberry Pi 3 with the official Raspberry Pi touchscreen. Here are some configurations tips I'm employing.

Power-off button

One of the biggest gripes about the Rasperry Pi is the poor out-of-the-box support it has for a power button. However, not a lot of people know that the Raspberry Pi OS does have almost out-of-the-box support for an OFF button. It's enabled using the platform's dtoverlay system.

To create power-off button functionality using the default GPIO 3 as the shutdown signal, it's as simple as adding:

dtoverlay=gpio-shutdown

to /boot/userconfig.txt. Then wire up a momentary switch from GPIO 3 to GND. After a reboot, pushing the button should turn off the RPi.

If you add this to /boot/config.txt as many folks suggest, it'll still work until a system update rewrites that file. Adding it to /boot/userconfig.txt circumvents that problem.

However, you can't do this with the official touchscreen (and likely others), because the touchscreen uses GPIO 3. Instead, you need to specify a different GPIO pin. I chose GPIO 5 because there's a GND pin right next to it on the GPIO header.

dtoverlay=gpio-shutdown,gpio_pin=5

There's a good discussion about gpio-shutdown at stderr.nl.

audio/volumio_tips.1713557509.txt.gz · Last modified: 2024/04/19 20:11 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki