2022-01-17 11:08:12 +00:00
2022-01-16 12:37:00 +00:00
2022-01-15 09:13:48 +00:00
2022-01-17 11:08:12 +00:00

Hardware

  • Raspberry PI W
  • HiFiBerry - DAC Plus

Setup

OS Setup, Instructions

HiFiBerry Setup (Information source)

  • Remove/comment from /boot/config.txt if it exists, for disabling onboard sound.

    dtparam=audio=on
    
  • Add this lines to /boot/config.txt

    force_eeprom_read=0
    dtoverlay=hifiberry-dacplus
    
  • Copy file etc/asound.conf

  • Reboot

SqueezeLite

  • Requires Logitech Media Server check instructions for setup

  • Check latest version SqueezeLite

  • Download latest version

    cd /tmp
    wget https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-1.9.9.1392-armhf.tar.gz  
    
  • Untar downloaded files

    tar -xvzf squeezelite-1.9.9.1392-armhf.tar.gz
    
  • Move untar file file to /usr/bin/

    sudo mv squeezelite /usr/bin      
    
  • Check if is executable

    ls -la /usr/bin/squeezelite
    
  • If not make executable

    sudo chmod +x /usr/bin/squeezelite
    
  • Start on boot

  • Download/copy file etc/systemd/system/squeezelite.service to /etc/systemd/system/
    check file for squeezelite configurations
    squeezelite --help for arguments

  • Start service
    if used with bluealsa only one can be running

    sudo systemctl start squeezelite
    
  • Enable service on boot
    if used with bluealsa only one can be used on boot

    sudo systemctl enable squeezelite
    

Bluealsa

Using pi as bluetooth speaker

  • Install

    sudo apt update && sudo apt install bluealsa -y
    
  • Start on boot

    sudo service bluealsa enable && sudo service bluealsa start
    
  • Setup bluealsa-aplay
    Download/copy file etc/systemd/system/bluealsaaplay.service to /etc/systemd/system/

    • Enable service on boot
      if used with squeezelite only one can be used on boot

          sudo systemctl enable bluealsaaplay
      
    • Start service if used with squeezelite only one can be running

          sudo systemctl start bluealsaaplay
      

bluealsa-aplay and Squeezelite

  • squeelite on boot

    sudo systemctl enable squeezelite
    
  • change to bluealsa-aplay

    sudo sh -c 'systemctl stop squeezelite; systemctl start bluealsaaplay'
    
  • change to squeezelite

    sudo sh -c 'systemctl stop bluealsaaplay; systemctl start squeezelite'
    
Description
No description provided
Readme 59 KiB
Languages
desktop 100%