<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Howto: Airplay on a Pogoplug</title>
        <description> I don&amp;#039;t know how many folks know about (or might care about) running an airplay service on their plug.  I have an E02 (Pink) pogoplug with wheezy installed and I stumbled on this tutorial for a pi:Raspberry Pi Airplay Tutorial.  It was pretty close to what I needed to get started.  I first purchased this Syba USB sound card for about $8.50 (price changes though).  The tutorial above is very well done, here is the process I followed:


apt-get install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl make libavahi-client-dev libasound2-dev build-essential pkg-config alsa-utils
git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp
cd perl-net-sdp
perl Build.PL
sudo ./Build
sudo ./Build test
sudo ./Build install
cd ..
git clone https://github.com/hendrikw82/shairport.git
cd shairport
make

At this point, everything is basically installed, lets first set the volume (mine was defaulted to max)


alsamixer

left and right to change which part your changing, up and down to set (I set my mic to 0 and main to 20).  Esc will save the settings.  Plug in speakers and lets test it:


./shairport.pl -a Pogoplay

Now you should be able to airplay to the pogo plug (of course, you can change the name from Pogoplay to whatever you wish).

Ctrl-c will end it once you have tested it.  I continued to follow the tutorial above to have the shairport script run on startup:


make install
sudo cp shairport.init.sample /etc/init.d/shairport
cd /etc/init.d
chmod a+x shairport
update-rc.d shairport defaults
nano shairport

In that last script, change the following line to include -a Pogoplay


DAEMON_ARGS=&amp;quot;-w $PIDFILE -a Pogoplay&amp;quot;

Ctrl-x, yes, and you will be ready to go!  You will have to run the script manually the first time, and then should load automatically at each boot.


/etc/init.d/shairport start

Thanks again to Adam Burkepile from the tutorial linked at the beginning, I really only had to tweak a few small things to make it work on mine.</description>
        <link>https://forum.doozan.com/read.php?2,14949,14949#msg-14949</link>
        <lastBuildDate>Wed, 11 Mar 2026 17:43:58 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,94049#msg-94049</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,94049#msg-94049</link>
            <description><![CDATA[ Continuing on with this project I recently got an Echo Flex for Christmas. As far as Amazon Echo devices go, this one is pretty interesting. It plugs directly into the wall, has a small integrated speaker for voice responses, as well as an AUX (audio output) 3.5mm jack and a USB port. <br />
<br />
I&#039;m planning to use this in my garage and want to route the AUX out from the Flex to the Mic input on the Pogoplug&#039;s USB DAC. The idea then is to capture the audio from the Flex and play it through the output of the USB DAC.<br />
<br />
So that Shairport-sync (airplay receiver) and the Aux in setup play nice together I&#039;m wanting to utilize a couple of config options within Shairport-sync that can run scripts when playback starts and when playback ends.<br />
<br />
<b>Basically this is the formula:</b> <br />
<ol type="1"><li> Default to Mic capture so I can request music from the Flex and hear it on my speakers </li><li> When playing to Shairport-sync (pogoplug via airplay) kill the Mic capture/playback </li><li> When done playing to Shairport-sync start the Mic capture again </li></ol>
<br />
I found a guide that is doing pretty much this - <a href="https://www.hifiberry.com/docs/projects/airplay-player-with-line-input/"  rel="nofollow">https://www.hifiberry.com/docs/projects/airplay-player-with-line-input/</a><br />
<br />
However I&#039;m stuck trying to get Shairport-sync to run my capture start and capture stop scripts. I know it&#039;s most likely a permissions issue but I&#039;ve tried totally opening up permissions on the file (777) and it shairport-sync still isn&#039;t running the scripts.<br />
<br />
<b>The Permissions</b><br />
<pre class="bbcode">
root@pogoplugpro:~/shScripts# ls -l
total 20
drwxrwxrwx 2 root root 4096 Dec 29 14:27 .
drwx------ 6 root root 4096 Dec 29 20:06 ..
-rwxrwxrwx 1 root root  104 Dec 29 13:56 shairportend.sh
-rwxrwxrwx 1 root root  118 Dec 29 13:57 shairportfade.sh
-rwxrwxrwx 1 root root   41 Dec 29 14:24 shairportstart.sh</pre>
<br />
<b>The Scripts contents:</b><br />
<pre class="bbcode">
root@pogoplugpro:~/shScripts# cat shairportstart.sh 
#!/bin/sh
/usr/bin/pkill arecord&amp;
exit 0</pre>
<br />
<pre class="bbcode">
root@pogoplugpro:~/shScripts# cat shairportend.sh 
#!/bin/sh
/usr/bin/arecord -D plughw:CARD=Set -f dat | /usr/bin/aplay -D plughw:CARD=Set -f dat&amp;
exit 0</pre>
<br />
If I run them manually they work as expected (I think).<br />
<pre class="bbcode">
root@pogoplugpro:~/shScripts# bash -x shairportend.sh 
+ exit 0
root@pogoplugpro:~/shScripts# + /usr/bin/arecord -D plughw:CARD=Set -f dat
+ /usr/bin/aplay -D plughw:CARD=Set -f dat
Recording WAVE &#039;stdin&#039; : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Playing WAVE &#039;stdin&#039; : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo</pre>
<br />
<pre class="bbcode">
root@pogoplugpro:~/shScripts# bash -x shairportstart.sh 
+ exit 0
root@pogoplugpro:~/shScripts# + /usr/bin/pkill arecord</pre>
<br />
And the result on the running shairportend.sh script when testing the shairportstart.sh script (this should result in the recording process being killed)<br />
<pre class="bbcode">
root@pogoplugpro:~/shScripts# + /usr/bin/arecord -D plughw:CARD=Set -f dat
+ /usr/bin/aplay -D plughw:CARD=Set -f dat
Recording WAVE &#039;stdin&#039; : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Playing WAVE &#039;stdin&#039; : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
root@pogoplugpro:~/shScripts# Aborted by signal Terminated...</pre>
<br />
Shairport-sync uses a user and group of &quot;shairport-sync:shairport-sync&quot;<br />
<br />
However I can&#039;t do a &#039;su shairport-sync&#039; to test things as this user because I get &#039;This account is currently not available&#039;.<br />
<br />
Do I need to make the shairport-sync user/group the owner of these scripts? Permissions and file paths seem to be my general weak points :)<br />
<br />
Assuming I can get this working I&#039;m curious if there&#039;s a better approach to getting this record command to run other than adding it to &#039;/etc/rc.local&#039;? I&#039;ve used a program called cpiped in the past to capture mic input conditionally which is nice (capture when sound is detected, stop when silence is detected on the mic input), however I&#039;m not sure if there is a way to tell ALSA to play from a pipe, or to tell cpiped to output to a different file type (whatever &quot;dat&quot; is).<br />
<br />
Anyway thanks for reading and any tips on getting the last pieces in place. If I can get it working I&#039;ll write a more complete tutorial.]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 31 Dec 2019 10:03:23 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,58954#msg-58954</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,58954#msg-58954</link>
            <description><![CDATA[ Cool!]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 09 May 2018 23:57:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,58934#msg-58934</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,58934#msg-58934</link>
            <description><![CDATA[ Pogo is definitely aware of the USB sound card. I&#039;ve been able to get audio to play through it and it shows up when I:<br />
<pre class="bbcode">
root@debian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0</pre>
<br />
And yet<br />
<pre class="bbcode">
root@debian:~# amixer
amixer: Mixer attach default error: No such file or directory</pre>
<br />
So I try re-installing alsa-utils<br />
<pre class="bbcode">
root@debian:~# apt-get install alsa-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
alsa-utils is already the newest version (1.1.3-1).</pre>
<br />
Thanks to Google I found a command that works to open the mixer as I think it goes straight to card 1 (my USB card in this case)<br />
<pre class="bbcode">
alsamixer -c 1</pre>
<br />
I used this command to see if the root user was part of the audio group (root is not in the audio group)<br />
<pre class="bbcode">root@debian:~# id -Gn &quot;root&quot;|grep -c &quot;audio&quot;</pre>
<br />
I added root to the audio group but <b>alsamixer command had no change</b><br />
<pre class="bbcode">root@debian:~# usermod -a -G audio root</pre>
<br />
So the problem with simply running alsamixer is that there is no default sound device. We need to list the devices, get the card number:<br />
<pre class="bbcode">
aplay -l</pre>
<br />
Then create/edit the alsa configuration file at /etc/asound.conf, and paste these lines:<br />
<pre class="bbcode">
pcm.!default {
    type hw
    card 0
}

ctl.!default {
    type hw           
    card 0
}</pre>
but changing card 0 to the card number of your sound device (1 in my case).<br />
<br />
Use alsamixer to double check that the default has been set correctly. <b>Worked for me!</b>]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 09 May 2018 09:59:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,58924#msg-58924</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,58924#msg-58924</link>
            <description><![CDATA[ cdlenfert,<br />
<br />
I am running Debian jessie on the HP T5325 box.<br />
<br />
<pre class="bbcode">
root@T5325:~# uname -a
Linux T5325 4.16.1-kirkwood-tld-1 #1 PREEMPT Mon Apr 9 00:51:18 PDT 2018 armv5tel GNU/Linux</pre>
<br />
<br />
<pre class="bbcode">
root@T5325:~# cat /etc/apt/sources.list
deb <a href="http://ftp.us.debian.org/debian"  rel="nofollow">http://ftp.us.debian.org/debian</a> jessie main
deb <a href="http://security.debian.org/"  rel="nofollow">http://security.debian.org/</a> jessie/updates main contrib non-free

deb     <a href="http://http.debian.net/debian"  rel="nofollow">http://http.debian.net/debian</a> jessie-updates main contrib
deb-src <a href="http://http.debian.net/debian"  rel="nofollow">http://http.debian.net/debian</a> jessie-updates main contrib</pre>
<br />
<br />
<pre class="bbcode">
root@T5325:~# amixer 
Simple mixer control &#039;Headphone&#039;,0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 15 [48%] [-24.00dB] [on]
  Front Right: Playback 14 [45%] [-25.50dB] [on]
Simple mixer control &#039;Speaker&#039;,0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 22 [71%] [-13.50dB] [on]
  Front Right: Playback 22 [71%] [-13.50dB] [on]
Simple mixer control &#039;Speaker Mix AUXI2SPK&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Speaker Mix DAC2SPK&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Speaker Mix LI2SPK&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Speaker Mix MIC12SPK&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Speaker Mix MIC22SPK&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;SpeakerOut Mux&#039;,0
  Capabilities: enum
  Items: &#039;Vmid&#039; &#039;HPOut Mix&#039; &#039;Speaker Mix&#039; &#039;Mono Mix&#039;
  Item0: &#039;Vmid&#039;
Simple mixer control &#039;SpeakerOut N Mux&#039;,0
  Capabilities: enum
  Items: &#039;RN/-R&#039; &#039;RP/+R&#039; &#039;LN/-R&#039; &#039;Vmid&#039;
  Item0: &#039;Vmid&#039;
Simple mixer control &#039;PCM&#039;,0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 22 [71%] [-1.50dB]
  Front Right: Playback 22 [71%] [-1.50dB]
Simple mixer control &#039;LineIn&#039;,0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB]
  Front Right: Capture 23 [74%] [0.00dB]
Simple mixer control &#039;Mic 1 Boost&#039;,0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 2
  Mono: 1 [50%] [20.00dB]
Simple mixer control &#039;Mic 2 Boost&#039;,0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 2
  Mono: 1 [50%] [20.00dB]
Simple mixer control &#039;Mic1&#039;,0
  Capabilities: cvolume cvolume-joined
  Capture channels: Mono
  Limits: Capture 0 - 31
  Mono: Capture 23 [74%] [0.00dB]
Simple mixer control &#039;Mic2&#039;,0
  Capabilities: cvolume cvolume-joined
  Capture channels: Mono
  Limits: Capture 0 - 31
  Mono: Capture 23 [74%] [0.00dB]
Simple mixer control &#039;AuxI&#039;,0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB]
  Front Right: Capture 23 [74%] [0.00dB]
Simple mixer control &#039;AuxOut Mux&#039;,0
  Capabilities: enum
  Items: &#039;Vmid&#039; &#039;HPOut Mix&#039; &#039;Speaker Mix&#039; &#039;Mono Mix&#039;
  Item0: &#039;Mono Mix&#039;
Simple mixer control &#039;Auxout&#039;,0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 22 [71%] [-13.50dB] [on]
  Front Right: Playback 22 [71%] [-13.50dB] [on]
Simple mixer control &#039;Mono Mix ADC2MONO_L&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Mono Mix ADC2MONO_R&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Mono Mix AUXI2MONO&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Mono Mix DAC2MONO&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Mono Mix LI2MONO&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Mono Mix MIC12MONO&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Mono Mix MIC22MONO&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;AB-D Amp Mux&#039;,0
  Capabilities: enum
  Items: &#039;AB Amp&#039; &#039;D Amp&#039;
  Item0: &#039;AB Amp&#039;
Simple mixer control &#039;Digital Boost&#039;,0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 2 [67%] [12.00dB]
Simple mixer control &#039;HP Mix AUXI2HP&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;HP Mix DAC2HP&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;HP Mix LI2HP&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;HP Mix MIC12HP&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;HP Mix MIC22HP&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;HPL Mix ADC2HP_L&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;HPR Mix ADC2HP_R&#039;,0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control &#039;Left Capture Mix HPMixerL&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Capture Mix Left AuxI&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Capture Mix LineInL&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Capture Mix Mic1&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Capture Mix Mic2&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Capture Mix MonoMixer&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Capture Mix SPKMixer&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Left Headphone Mux&#039;,0
  Capabilities: enum
  Items: &#039;Vmid&#039; &#039;HP Left Mix&#039;
  Item0: &#039;Vmid&#039;
Simple mixer control &#039;Rec&#039;,0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 11 [35%] [0.00dB]
  Front Right: Capture 11 [35%] [0.00dB]
Simple mixer control &#039;Right Capture Mix HPMixerR&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Capture Mix LineInR&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Capture Mix Mic1&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Capture Mix Mic2&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Capture Mix MonoMixer&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Capture Mix Right AuxI&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Capture Mix SPKMixer&#039;,0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control &#039;Right Headphone Mux&#039;,0
  Capabilities: enum
  Items: &#039;Vmid&#039; &#039;HP Right Mix&#039;
  Item0: &#039;HP Right Mix&#039;</pre>
<br />
alsamixer also brought up the GUI for amixer.<br />
<br />
So I&#039;d say look at dmesg to see if your USB sound device was initialized successfully.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 09 May 2018 04:05:28 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,58909#msg-58909</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,58909#msg-58909</link>
            <description><![CDATA[ Haven&#039;t had much luck in troubleshooting. On Wheezy it worked out of the gate.<br />
<br />
<pre class="bbcode">
root@debian:~# alsamixer
cannot open mixer: No such file or directory
root@debian:~# amixer
amixer: Mixer attach default error: No such file or directory
root@debian:~# 
</pre>]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 08 May 2018 22:23:53 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,58554#msg-58554</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,58554#msg-58554</link>
            <description><![CDATA[ cdlenfer,<br />
<br />
&gt;  This got audio to output through Shairport-Sync<br />
&gt; to my cheapo USB sound card. I still don&#039;t know<br />
&gt; how to get audio control from the Pogo side of<br />
&gt; things without Alsamixer, but that can wait.<br />
<br />
Try amixer and alsamixer. The command name is all lơwercase.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 04 May 2018 17:02:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,58534#msg-58534</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,58534#msg-58534</link>
            <description><![CDATA[ Finally figured out that the output device I was using was incorrect. I had thought it was hw:0, but it was really hw:1,0<br />
<br />
<pre class="bbcode">
alsa =
{
  output_device = &quot;hw:1,0&quot;;</pre>
<br />
 This got audio to output through Shairport-Sync to my cheapo USB sound card. I still don&#039;t know how to get audio control from the Pogo side of things without Alsamixer, but that can wait.]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 04 May 2018 09:31:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,54814#msg-54814</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,54814#msg-54814</link>
            <description><![CDATA[ Updating with what I discovered today. Previously the Pogo was never available as an airplay endpoint (speaker) on my network. I went into the shairport-sync config file and set it up to output audio to a named pipe and configured the path to that pipe. Once I saved the config, I was able to get shairport-sync to start successfully and now see my PogoPlug in the list of airplay devices. <br />
<br />
Still need to figure out what the issue was with the alsa device and not being able to use that output method.]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 19 Mar 2018 12:08:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,48179#msg-48179</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,48179#msg-48179</link>
            <description><![CDATA[ I&#039;ve been trying to get shairport-sync running on my Pogo Pro running on Stretch. I initially came up against a 16mb limit during the install. Resolved by this thread - <a href="https://forum.doozan.com/read.php?2,34313"  rel="nofollow">https://forum.doozan.com/read.php?2,34313</a><br />
<br />
After removing and re-installing shairport-sync via:<br />
<pre class="bbcode">
apt-get install shairport-sync</pre>
<br />
Everything looked to go smoothly. And here is the status.<br />
<pre class="bbcode">
root@debian:~# systemctl status shairport-sync
● shairport-sync.service - ShairportSync AirTunes receiver
   Loaded: loaded (/lib/systemd/system/shairport-sync.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-01-19 15:37:48 PST; 12s ago
     Docs: man:shairport-sync(7)
           file:///usr/share/doc/shairport-sync/README.md.gz
           <a href="https://github.com/mikebrady/shairport-sync"  rel="nofollow">https://github.com/mikebrady/shairport-sync</a>
  Process: 1870 ExecStart=/usr/bin/shairport-sync --daemon $DAEMON_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 1872 (shairport-sync)
   CGroup: /system.slice/shairport-sync.service
           └─1872 /usr/bin/shairport-sync --daemon

Jan 19 15:37:48 debian systemd[1]: Starting ShairportSync AirTunes receiver...
Jan 19 15:37:48 debian systemd[1]: Started ShairportSync AirTunes receiver.</pre>
<br />
However if I run &quot;top&quot; I don&#039;t see shairport-sync running anywhere. But if I run &quot;htop&quot; it&#039;s at the top of the list<br />
<br />
My thought was maybe I didn&#039;t have the config right and the Alsa output device wasn&#039;t correct. I went to check that by running:<br />
<pre class="bbcode">
alsamixer</pre>
Only to find out that it wasn&#039;t installed. I don&#039;t know much about Alsa. The mixer was available but default under Wheezy I think. I tried installing alsa-utils and still no mixer, but the following worked to check for the USB sound card:<br />
<pre class="bbcode">
root@debian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0</pre>
<br />
Restarting shairport-sync doesn&#039;t seem to have any effect either<br />
<pre class="bbcode">
systemctl restart shairport-sync</pre>
<br />
Any ideas would be appreciated.]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 19 Jan 2018 17:49:06 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34471#msg-34471</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34471#msg-34471</link>
            <description><![CDATA[ Thanks Ray! That would have been nice to know when I set it up on my Pi Zero. On the main git page it says it would be back ported to Jessie if there was enough interest. I guess they had enough interest.]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 01 Jun 2017 16:41:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34465#msg-34465</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34465#msg-34465</link>
            <description><![CDATA[ If you&#039;re using Debian Jessie shairport-sync is available in jessie-backports.<br />
<br />
Ray]]></description>
            <dc:creator>rayknight</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 01 Jun 2017 13:58:21 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34456#msg-34456</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34456#msg-34456</link>
            <description><![CDATA[ cdlenfert ,<br />
<br />
&gt; Here&#039;s my guide for shairport-sync<br />
<br />
Cool! thanks for your contribution, I will add this to the Wiki thread.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 01 Jun 2017 11:59:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34453#msg-34453</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34453#msg-34453</link>
            <description><![CDATA[ Thanks bodhi. Good to know.<br />
<br />
Here&#039;s my guide for shairport-sync<br />
<br />
A majority of the steps are available at the github page (link below), but steps for multiple platforms are provided and it can get confusing on which ones to follow. Here’s what you need to do to get shairport-sync running on a PogoPlug Pro running Debian Wheezy and a cheap usb sound card (specifically this one - <a href="http://amzn.to/2rokplS"  rel="nofollow">http://amzn.to/2rokplS</a>)<br />
<a href="https://github.com/mikebrady/shairport-sync"  rel="nofollow">https://github.com/mikebrady/shairport-sync</a><br />
<br />
<pre class="bbcode">
apt-get install build-essential git xmltoman
apt-get install autoconf automake libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev
apt-get install avahi-daemon libavahi-client-dev</pre>
<br />
<br />
There are some additional installs for things like encryption and libsoxr-based resampling. I don’t think I need these, and don’t really know what resampling is??<br />
<br />
<pre class="bbcode">
git clone <a href="https://github.com/mikebrady/shairport-sync.git"  rel="nofollow">https://github.com/mikebrady/shairport-sync.git</a>

cd shairport-sync

autoreconf -i -f</pre>
<br />
<br />
There are a lot of options for how you compile shairport-sync, here are the ones I’ve elected to use (metadata and pipe are optional):<br />
<br />
<pre class="bbcode">
./configure --with-alsa --with-avahi --with-metadata --with-systemv —with-pipe

make

sudo make install

sudo update-rc.d shairport-sync defaults 90 10</pre>
<br />
<br />
Configuring shairport-sync<br />
<br />
<pre class="bbcode">
cd /etc

nano shairport-sync.conf</pre>
<br />
<br />
By  default shairport-sync will use the devices hostname, let’s change it! (optional)<br />
under “general” find “name =…”<br />
uncomment by removing the // and add your desired name in the parenthesis removing %H<br />
<br />
Look for the option “mixer_control_name”, if you have my same sound card, uncomment this line and enter “Speaker” in the parenthesis.<br />
If you have a different sound card run command “alsamixer” and look at the name of column on the left. Mine says “Speaker” but yours could say “PCM” or something else entirely. Use this name for “mixer_control_name”.<br />
<br />
Start shairport-sync<br />
<br />
<pre class="bbcode">
/etc/init.d/shairport-sync restart</pre>
<br />
<br />
Now go forth and Airplay everything! shairport-sync should start automatically on a reboot (takes a minute or two).]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 01 Jun 2017 09:54:39 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34443#msg-34443</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34443#msg-34443</link>
            <description><![CDATA[ cdlenfert Wrote:<br />
-------------------------------------------------------<br />
&gt; Oh nice. I didn&#039;t know you could set up a read onl<br />
&gt; y mode for Wheezy. For a dedicated device like an<br />
&gt; airplay speaker that makes a lot of sense. I manag<br />
&gt; ed to tweak settings a bit and make the volume con<br />
&gt; trol a lot better. In my testing the Pogoplug hasn<br />
&gt; &#039;t dropped a stream nearly as much as my old origi<br />
&gt; nal airport express (1st gen wireless G model)<br />
<br />
You don&#039;t need make a read-only rootfs. Use Ext3 or Ext4 file system and it will survive all power outages.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 31 May 2017 23:21:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34442#msg-34442</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34442#msg-34442</link>
            <description><![CDATA[ Oh nice. I didn&#039;t know you could set up a read only mode for Wheezy. For a dedicated device like an airplay speaker that makes a lot of sense. I managed to tweak settings a bit and make the volume control a lot better. In my testing the Pogoplug hasn&#039;t dropped a stream nearly as much as my old original airport express (1st gen wireless G model)]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 31 May 2017 22:37:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34439#msg-34439</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34439#msg-34439</link>
            <description><![CDATA[ Cool!  It&#039;s funny, I just found a few pogo plugs in my basement I had with this setup.  I think a few years ago I had a power outage and of course, the partitions crashed.  I never fooled around with fixing them.  I&#039;d be interested to see what you come up with though.  I wanted to get wheezy into read-only mode to keep it from that problem]]></description>
            <dc:creator>ubermacin</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 31 May 2017 20:33:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,34348#msg-34348</guid>
            <title>Re: Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,34348#msg-34348</link>
            <description><![CDATA[ Has anyone managed to do something like this except using the newer and supported Shairport-Sync? I&#039;d like to be able to use the Pogoplug Pro as an airplay receiver amongst other things.<br />
<br />
Edit: I&#039;ve got this working at least at a base level. There are a lot of options in the settings and compiling stage for shairport-sync. I&#039;ll try to write up a tutorial.]]></description>
            <dc:creator>cdlenfert</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 26 May 2017 19:35:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,14949,14949#msg-14949</guid>
            <title>Howto: Airplay on a Pogoplug</title>
            <link>https://forum.doozan.com/read.php?2,14949,14949#msg-14949</link>
            <description><![CDATA[ I don&#039;t know how many folks know about (or might care about) running an airplay service on their plug.  I have an E02 (Pink) pogoplug with wheezy installed and I stumbled on this tutorial for a pi:<a href="http://www.raywenderlich.com/44918/raspberry-pi-airplay-tutorial"  rel="nofollow">Raspberry Pi Airplay Tutorial</a>.  It was pretty close to what I needed to get started.  I first purchased this <a href="http://www.amazon.com/gp/product/B001MSS6CS/ref=oh_details_o00_s00_i00?ie=UTF8&amp;psc=1"  rel="nofollow">Syba USB sound card</a> for about $8.50 (<a href="http://camelcamelcamel.com/Syba-SD-CM-UAUD-Adapter-C-Media-Chipset/product/B001MSS6CS"  rel="nofollow">price changes though</a>).  The tutorial above is very well done, here is the process I followed:<br />
<br />
<pre class="bbcode">
apt-get install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl make libavahi-client-dev libasound2-dev build-essential pkg-config alsa-utils
git clone <a href="https://github.com/njh/perl-net-sdp.git"  rel="nofollow">https://github.com/njh/perl-net-sdp.git</a> perl-net-sdp
cd perl-net-sdp
perl Build.PL
sudo ./Build
sudo ./Build test
sudo ./Build install
cd ..
git clone <a href="https://github.com/hendrikw82/shairport.git"  rel="nofollow">https://github.com/hendrikw82/shairport.git</a>
cd shairport
make</pre>
<br />
At this point, everything is basically installed, lets first set the volume (mine was defaulted to max)<br />
<br />
<pre class="bbcode">
alsamixer</pre>
<br />
left and right to change which part your changing, up and down to set (I set my mic to 0 and main to 20).  Esc will save the settings.  Plug in speakers and lets test it:<br />
<br />
<pre class="bbcode">
./shairport.pl -a Pogoplay</pre>
<br />
Now you should be able to airplay to the pogo plug (of course, you can change the name from Pogoplay to whatever you wish).<br />
<br />
Ctrl-c will end it once you have tested it.  I continued to follow the tutorial above to have the shairport script run on startup:<br />
<br />
<pre class="bbcode">
make install
sudo cp shairport.init.sample /etc/init.d/shairport
cd /etc/init.d
chmod a+x shairport
update-rc.d shairport defaults
nano shairport</pre>
<br />
In that last script, change the following line to include -a Pogoplay<br />
<br />
<pre class="bbcode">
DAEMON_ARGS=&quot;-w $PIDFILE -a Pogoplay&quot;</pre>
<br />
Ctrl-x, yes, and you will be ready to go!  You will have to run the script manually the first time, and then should load automatically at each boot.<br />
<br />
<pre class="bbcode">
/etc/init.d/shairport start</pre>
<br />
Thanks again to Adam Burkepile from the tutorial linked at the beginning, I really only had to tweak a few small things to make it work on mine.]]></description>
            <dc:creator>ubermacin</dc:creator>
            <category>Debian</category>
            <pubDate>Sat, 01 Feb 2014 22:51:03 -0600</pubDate>
        </item>
    </channel>
</rss>
