User Tools

Site Tools


audio:volumio_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
audio:volumio_tips [2024/04/19 20:19] – [Power-off button] mithataudio:volumio_tips [2024/04/20 16:30] (current) – [On-screen keyboard] mithat
Line 1: Line 1:
 ====== Volumio tips ====== ====== 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.+For my music server and streaming needs, I'm currently using Volumio 3 on a Raspberry Pi 3 with the official Raspberry Pi touchscreen.((Given that Volumio 3 is running on Debian 10, which [[https://wiki.debian.org/LTS|is not supported as of June, 2024]], I will likely move to something else and consider returning when a new version is released.)) Here are some configurations tips I'm employing.
  
 ===== Power-off button ===== ===== 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 [[https://www.raspberrypi.com/documentation/computers/configuration.html#part3.1|dtoverlay]] system. 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 [[https://www.raspberrypi.com/documentation/computers/configuration.html#part3.1|dtoverlay]] system.
  
-To create power-off button functionality using the default GPIO 3 as the shutdown signal, it's as simple as adding:+To enable power-off button functionality using the default GPIO 3 as the shutdown signal, it's as simple as adding the line:
  
 <code> <code>
Line 14: Line 14:
 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. 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.+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 this 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.  **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. 
Line 24: Line 24:
 There's a good discussion about ''gpio-shutdown'' at [[https://www.stderr.nl/Blog/Hardware/RaspberryPi/PowerButton.html|stderr.nl]]. There's a good discussion about ''gpio-shutdown'' at [[https://www.stderr.nl/Blog/Hardware/RaspberryPi/PowerButton.html|stderr.nl]].
  
-===== Power on button =====+===== Power-on button =====
  
 For a kludgey power-on button, I use a [[https://www.amazon.com/gp/product/B01HEXFQTU/|short USB extension cable with a power switch]]. It's short to reduce the potential for voltage drop. After powering off with the power switch above, one push of the button removes power from the RPi, and another push brings it back, which initiates a boot. It's kludgey as hell, but it works. For a kludgey power-on button, I use a [[https://www.amazon.com/gp/product/B01HEXFQTU/|short USB extension cable with a power switch]]. It's short to reduce the potential for voltage drop. After powering off with the power switch above, one push of the button removes power from the RPi, and another push brings it back, which initiates a boot. It's kludgey as hell, but it works.
 +
 +===== On-screen keyboard =====
 +
 +<WRAP alert center round 60%>
 +**CAN'T FIX**
 +
 +The Chrome Web Store won't allow extensions to be installed on the ancient Chromium used in the obsolete Raspbian OS that Volumio 3 is built on.
 +</WRAP>
 +
 +Volumio 3 doesn't have an on-screen keyboard option or plugin for the touchscreen. However, the display is actually just a Chromium web browser display in kiosk mode, and this means in theory we should be able to use an on-screen keyboard for that.
 +
 +Doing this is described [[https://community.volumio.com/t/working-virtual-keyboard-in-volumio3-with-touch-plugin/59571/12|here]]. TL;DR and in case that post goes down, the essence is:
 +
 +  * Connect a keyboard to your system and press ALT+HOME. This will open the Chromium browser.
 +  * Search for “Chrome web store virtual keyboard”
 +  * Install the extension [[https://chrome.google.com/webstore/detail/virtual-keyboard/pflmllfnnabikmfkkaddkoolinlfninn?hl=en|Virtual Keyboard - Chrome Web Store]]
 +
 +The link to Virtual Keyboard given in the post doesn't work. So, I tried installing some alternatives. But this resulted in a messages stating a newer version of Chrome was needed to install extensions. Asking:
 +
 +<code bash>
 +$ chromium-browser --version
 +</code>
 +
 +yielded
 +
 +<code>
 +Chromium 92.0.4515.98 Built on Raspbian , running on Raspbian 10
 +</code>
 +
 +As of this writing, Raspberry Pi OS (formerly known as Raspian) is based on Debian 12. This means Volumio is plodding along with an OS that's two long Debian generations old! In fact, Debian 10 will [[https://wiki.debian.org/LTS|no longer be supported]] after June 30, 2024. :-O
 +
 +Just something to consider.
 +
audio/volumio_tips.1713557948.txt.gz · Last modified: 2024/04/19 20:19 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki