SharePoint Stuff



Setup Raspberry Pi – Using Wolfson DAC for rPlay and Squeezelite

Written by admin. Posted in Uncategorized

The following blog will help you to install and configure your raspberry pi (B) to use Wolfson Audio DAC with rPlay and Squeezelite

 

INSTALL WOLFSON DISTRO
———————-

download and install http://downloads.element14.com/wolfson/wolfson_3.10_master.zip?COM=WolfsonAudioCard  

More information here: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi

cd /home/pi
./Playback_to_Lineout.sh

SETUP PI
——–

sudo raspi-config
– Enable SSH
– Set hostname
– Set password
– overclock 900Mhz

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Add the following at the bottom:

network={
ssid=”your network ID in quote marks”
psk=”your network password in quote marks”
}

INSTALL SQUEEZELITE
——————-

sudo alsamixer (to confirm card)
sudo apt-get install -y libflac-dev libfaad2 libmad0

mkdir squeezelite
cd squeezelite
wget http://squeezelite.googlecode.com/files/squeezelite-armv6hf

sudo mv squeezelite-armv6hf /usr/bin
cd /usr/bin

sudo chmod a+x squeezelite-armv6hf

sudo /usr/bin/squeezelite-armv6hf -l (to confirm sounds card)

sudo ./squeezelite-armv6hf -o default:CARD=sndrpiwsp

cd /home/pi/squeezelite
sudo wget http://www.gerrelt.nl/RaspberryPi/squeezelitehf.sh
sudo mv squeezelitehf.sh /etc/init.d/squeezelite

cd /etc/init.d
sudo chmod a+x squeezelite

sudo update-rc.d squeezelite defaults

sudo nano squeezelite

===== Search and replace =====

SL_SOUNDCARD=”default:CARD=sndrpiwsp”
SL_NAME=”<name>” (unremark)
SL_ALSA_PARAMS=”80″ (unremark)

==============================

sudo ./squeezelite start
ps -A |grep squeeze
sudo ./squeezelite update
REBOOT AT NIGHT
—————
crontab -e
0 3 * * * sudo /sbin/shutdown -r now

SETUP RPLAY (AirPlay)
———————

sudo apt-get install libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev
sudo apt-get install youtube-dl –fix-missing
sudo youtube-dl –update
sudo apt-get -f install
sudo wget -O rplay-1.0.1-armhf.deb http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb
sudo dpkg -i rplay-1.0.1-armhf.deb

 

sudo nano /etc/default/avahi-daemon

====== update configuation file =========
AVAHI_DAEMON_DETECT_LOCAL=0
=========================================
sudo service avahi-daemon restart
reboot

http://<ip of your RPi>:7100/admin

user: admin
Password: admin
===== Setup your Key =======
============================

If rplay doesn’t appear stop and start rplay from the web UI

Thanks to the following blogs:

http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-player-on-raspbian/

http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi/blog/2014/03/14/can-you-hear-the-wolfson-calling-setting-up-and-using-the-wolfson-audio-card

http://adventuresandwhathaveyou.wordpress.com/2013/09/02/airplay-mirroring-on-raspberry-pi-with-rplay/

http://www.jackenhack.com/raspberry-pi-avahi-daemon-disabled-because-there-is-a-unicast-local-domain-solved/

Tags:

Trackback from your site.

Leave a comment