Volumio

From Alessandro's Wiki


Mount SMB/CIFS

  • add to options:
vers=2.0

ssh

default user:pass volumio:volumio

http://volumio.local/dev

Mount points

Filesystem                               Type      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1                           vfat       61M   57M  3.4M  95% /boot
/dev/mmcblk0p2                           ext4      2.2G  1.3G  854M  60% /imgpart
  • the slash partition (where all the avail. space goes)
Filesystem                               Type      Size  Used Avail Use% Mounted on
overlay                                  overlay   464G  1.2G  439G   1% /
  • a mount point
Filesystem                               Type      Size  Used Avail Use% Mounted on
//NAS_IP/Public/Music                    cifs      2.8T  2.2T  545G  81% /mnt/NAS/Public

Plugins

  • if you change the volumio user password, some plugin will fail to install

AutoStart Plugin

* https://community.volumio.org/t/volumio-3-autostart/52123/16

wget https://community.volumio.org/uploads/short-url/nchUtIoCxCrhvP7x1kAP4wQopvQ.zip
sudo apt update && sudo apt install unzip -y
unzip nchUtIoCxCrhvP7x1kAP4wQopvQ.zip
cd autostart && volumio plugin install

wget

Screen

work in progress

  • touchscreen (after reboot)

touch display plugins in the plugin manager in volumio.local/plugin-manager and rotate

hdmi_cvt

https://www.raspberrypi.com/documentation/computers/config_txt.html#video-options

hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace>

Value Default Default
width (required) width in pixels
height (required) height in pixels
framerate (required) framerate in Hz
aspect 3 aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10, 6=15:9
margins 0 0=margins disabled, 1=margins enabled
interlace 0 0=progressive, 1=interlaced
rb 0 0=normal, 1=reduced blanking



3.5 inch

  • easy way
  • in /boot/userconfig.txt
dtparam=spi=on
dtoverlay=tft35a:rotate=90
  • messy way

https://www.waveshare.com/wiki/3.5inch_DPI_LCD https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(C)

another guide: https://community.volumio.org/t/volumio-with-3-5-tft-touch-screen-gpio-rpi-3b/11265

  • rotate the display

in /boot/userconfig.txt

dtoverlay=tft35a:rotate=270

in /etc/rc.local

xinit /usr/bin/chromium-browser --no-sandbox --no-first-run --noerrdialogs --start-fullscreen --start-maximized --disable-notifications --disable-infobars --kiosk --incognito 127.0.0.1:3000 &


  • in /etc/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
       Driver          "evdev"
       Identifier      "calibration"
       MatchProduct    "ADS7846 Touchscreen"
       Option  "Calibration"   "268 3880 227 3936"
       Option  "SwapAxes"      "0"
EndSection

5 inch display

http://www.lcdwiki.com/5inch_HDMI_Display

  • in /boot/userconfig.txt:

(hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace>)

dtparam=spi=on
enable_uart=1
display_rotate=0
hdmi_force_edid_audio=1
config_hdmi_boost=7
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_drive=1
hdmi_cvt=800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900volumio@volumio2:~$ cat /boot/config.txt 

7 inch display

  • in /boot/userconfig.txt:

(hdmi_cvt=<width> <height> <framerate> <aspect> <margins> <interlace>)

hdmi_group=2
hdmi_mode=87
hdmi_cvt=1024 600 60 6 0 0 0

---

https://www.waveshare.com/wiki/7inch_HDMI_LCD_(C)

  • connecting the display

Raspberrypi-7inch-connections.png


rotation

in /boot/userconfig.txt (2 = 180degrees)

  • "lcd_rotate=2" must be the last line
#### Touch Display rotation setting below: do not alter ####
display_lcd_rotate=2
display_hdmi_rotate=2
lcd_rotate=2

Errors

Failed to load module +fbturbo (module does not exist, 0)

https://github.com/ssvb/xf86-video-fbturbo/wiki/Installation

My Volumio

even thought i've a subscription, I don't like the menu occupying space of the screen. A little hack can help. It will revert to the original on every update

in www3/styles/app-936d2e26fe.css

#main-menu .myvolumio-card-container {
    margin-top: 46px;
    display: none;
}