I just got Shairport working perfectly on my IQAudio Pi-DAC+ on a
Raspberry Pi 3 running piCorePlayer 2.04.  There were two key things
that needed to be done:

Start Shairport-sync with a "-c Digital" option to operate the hardware
volume control on the DAC.
Turn off the WiFi power management on the Rasbperry Pi 3 with "sudo
iwconfig wlan0 power off".  Before discovering this I would start
getting dropped packets after 3 or 4 minutes and eventually the
Shairport stream would get backed up and had to restart.

Thanks to Mike Brady for helping me debug the Shairport issue!

While there might be a better fix for now, I used the 3 startup commands
in piCorePlayer's Tweaks -> User Commands to hack up the startup to kill
Shairport, and then restart it with the correct parameters.  Having
turned of WiFi power management and then doing a Save settings, the
power management is off after a reboot.

sudo kill -9 $(ps -e | grep shairport-sync | awk '{print $1}')
sudo rm /usr/local/var/run/shairport-sync.pid
/mnt/mmcblk0p2/tce/shairport-sync -a piCorePlayer -o alsa -S soxr -d -D
-R -- -d hw:CARD=IQaudIODAC -c Digital


------------------------------------------------------------------------
skikirkwood's Profile: http://forums.slimdevices.com/member.php?userid=65642
View this thread: http://forums.slimdevices.com/showthread.php?t=105018

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to