Files
pi.bluetooth.speaker/README.md
2022-01-16 11:42:49 +00:00

73 lines
1.6 KiB
Markdown

# Hardware
- Raspberry PI W
- HiFiBerry - DAC Plus
# Setup
- OS Setup, [Instructions](/marcio.fernandes/raspberrypi)
- HiFiBerry Setup ([Information source](https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/))
- 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
- Check latest [version](https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/)
- Download latest version
wget https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/ squeezelite-pulse-1.9.9.1392-armhf.tar.gz
- Untar downloaded files
tar -xvzf download
- 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 (as a service)
- Download/copy file [etc/systemd/system/squeezelite.service](etc/systemd/system/squeezelite.service) to /etc/systemd/system/
*check file for squeezelite configurations*
*squeezelite --help for arguments*
- Start service
sudo systemctl start squeezelite
- Enable service on boot
*if used with bluealsa only one can be used on boot*
sudo systemctl enable squeezelite