<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Music Player Daemon on the MusicPal</title>
	<atom:link href="http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/</link>
	<description>Things I want to tell the world</description>
	<lastBuildDate>Sun, 08 Aug 2010 11:29:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: maz</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-941</link>
		<dc:creator>maz</dc:creator>
		<pubDate>Thu, 15 Oct 2009 11:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-941</guid>
		<description>I forgot to mention: 

1.64 had a torrent client which was removed in 1.65 (I don&#039;t know why ;-)). The (hidden) CGI file was &#039;torrent.cgi&#039;.</description>
		<content:encoded><![CDATA[<p>I forgot to mention: </p>
<p>1.64 had a torrent client which was removed in 1.65 (I don&#8217;t know why <img src='http://www.gilesbathgate.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ). The (hidden) CGI file was &#8216;torrent.cgi&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maz</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-940</link>
		<dc:creator>maz</dc:creator>
		<pubDate>Thu, 15 Oct 2009 11:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-940</guid>
		<description>v1.65: &lt;a href=&quot;http://www.freecom.com/ecNewsitem.asp?ID=9055&quot; rel=&quot;nofollow&quot;&gt;Page&lt;/a&gt; (&lt;a href=&quot;http://www.freecom.de/objects/00014850.zip&quot; rel=&quot;nofollow&quot;&gt;firmware&lt;/a&gt;)
v1.64: &lt;a href=&quot;http://www.freecom.com/ecNewsitem.asp?ID=9021&quot;  rel=&quot;nofollow&quot;&gt;Page&lt;/a&gt; (&lt;a href=&quot;http://www.freecom.de/objects/00014837.zip&quot; rel=&quot;nofollow&quot;&gt;firmware&lt;/a&gt;)</description>
		<content:encoded><![CDATA[<p>v1.65: <a href="http://www.freecom.com/ecNewsitem.asp?ID=9055" rel="nofollow">Page</a> (<a href="http://www.freecom.de/objects/00014850.zip" rel="nofollow">firmware</a>)<br />
v1.64: <a href="http://www.freecom.com/ecNewsitem.asp?ID=9021"  rel="nofollow">Page</a> (<a href="http://www.freecom.de/objects/00014837.zip" rel="nofollow">firmware</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giles Bathgate</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-936</link>
		<dc:creator>Giles Bathgate</dc:creator>
		<pubDate>Tue, 15 Sep 2009 20:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-936</guid>
		<description>Which Firmware? http://www.musicpal.info/ only has 1.59d</description>
		<content:encoded><![CDATA[<p>Which Firmware? <a href="http://www.musicpal.info/" rel="nofollow">http://www.musicpal.info/</a> only has 1.59d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maz</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-935</link>
		<dc:creator>maz</dc:creator>
		<pubDate>Tue, 15 Sep 2009 17:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-935</guid>
		<description>Hi,

since FW 1.64, CIFS is included :-)

I don&#039;t have any experiences about putting mpd to a samba share, but afaik, the performance impact shouldn&#039;t be too large. This is because mpd stores any information in memory. A second read/write should only occur on database updates.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>since FW 1.64, CIFS is included <img src='http://www.gilesbathgate.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I don&#8217;t have any experiences about putting mpd to a samba share, but afaik, the performance impact shouldn&#8217;t be too large. This is because mpd stores any information in memory. A second read/write should only occur on database updates.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giles Bathgate</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-902</link>
		<dc:creator>Giles Bathgate</dc:creator>
		<pubDate>Wed, 26 Aug 2009 12:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-902</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-893&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-893&quot; rel=&quot;nofollow&quot;&gt;maz&lt;/a&gt; :&lt;/strong&gt;
The thing that’s not so good about mpd is the ram problem. mpd is nice with a lot of swap, but not so good as standalone app.
&lt;/blockquote&gt;

It certainly seems ok with my setup, but maybe I don&#039;t have as many songs as you. I suppose using smbfs as swap has too large a performance impact?</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-893"><p>
<strong><a href="#comment-893" rel="nofollow">maz</a> :</strong><br />
The thing that’s not so good about mpd is the ram problem. mpd is nice with a lot of swap, but not so good as standalone app.
</p></blockquote>
<p>It certainly seems ok with my setup, but maybe I don&#8217;t have as many songs as you. I suppose using smbfs as swap has too large a performance impact?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maz</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-893</link>
		<dc:creator>maz</dc:creator>
		<pubDate>Mon, 17 Aug 2009 16:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-893</guid>
		<description>The only thing we need to exchange would be nashville and the wlandrv module. The second thingy is a little bit harder to do but who needs wlan anyway ;) - maybe the USB-Host can manage other devices.

The mainapp would be the most work. I also dunno if we need a vtuner account. Without would be much easier.

The thing that&#039;s not so good about mpd is the ram problem. mpd is nice with a lot of swap, but not so good as standalone app.

My experiences for now:
- Busybox v1.13.4 is a little bit smaller (about 100KB) and works when you use a cgi_wrapper
- Removing some timezones in /usr/share/zoneinfo can free about ~200KB compressed flash memory
- Removing the jpg files in /var/www/images, converting the html files from mac to unix and removing some languages (/var/www/text_*) can also free about ~200KB

After all, there are 900 KB free compressed rootfs on the MusicPal. That should be enough for some apps. 

But to change kernel and toolchain, we really need to replace the third-party components.</description>
		<content:encoded><![CDATA[<p>The only thing we need to exchange would be nashville and the wlandrv module. The second thingy is a little bit harder to do but who needs wlan anyway <img src='http://www.gilesbathgate.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  &#8211; maybe the USB-Host can manage other devices.</p>
<p>The mainapp would be the most work. I also dunno if we need a vtuner account. Without would be much easier.</p>
<p>The thing that&#8217;s not so good about mpd is the ram problem. mpd is nice with a lot of swap, but not so good as standalone app.</p>
<p>My experiences for now:<br />
- Busybox v1.13.4 is a little bit smaller (about 100KB) and works when you use a cgi_wrapper<br />
- Removing some timezones in /usr/share/zoneinfo can free about ~200KB compressed flash memory<br />
- Removing the jpg files in /var/www/images, converting the html files from mac to unix and removing some languages (/var/www/text_*) can also free about ~200KB</p>
<p>After all, there are 900 KB free compressed rootfs on the MusicPal. That should be enough for some apps. </p>
<p>But to change kernel and toolchain, we really need to replace the third-party components.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giles Bathgate</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-884</link>
		<dc:creator>Giles Bathgate</dc:creator>
		<pubDate>Fri, 14 Aug 2009 22:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-884</guid>
		<description>The firmware replacement sounds like a great idea. Ultimately I would like to replace all the proprietry MusicPal software (nashville) with Free Software. Prehaps the first step would be to write a mpd client that runs on the device itself and makes use of the LCD and control knobs.</description>
		<content:encoded><![CDATA[<p>The firmware replacement sounds like a great idea. Ultimately I would like to replace all the proprietry MusicPal software (nashville) with Free Software. Prehaps the first step would be to write a mpd client that runs on the device itself and makes use of the LCD and control knobs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maz</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-881</link>
		<dc:creator>maz</dc:creator>
		<pubDate>Thu, 13 Aug 2009 17:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-881</guid>
		<description>Hi,

that&#039;s right. I forgot to turn off bass boost. Thanks for the patch.

I played a little bit with mpd and when you&#039;ve got a huge mp3 list, swap space is required! My mpd runs with nearly 24 mb of ram ;-)

Unfortunately, swap is not activated in the musicpal firmware by default. I&#039;ve got an FW-Replacement kit that unpacks the fw-image, replaces the kernel, compiles packages and compresses the fw-image again. Just like OpenWRT. When I finished it, I release it under GPL. 

Cheers,
Marco</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>that&#8217;s right. I forgot to turn off bass boost. Thanks for the patch.</p>
<p>I played a little bit with mpd and when you&#8217;ve got a huge mp3 list, swap space is required! My mpd runs with nearly 24 mb of ram <img src='http://www.gilesbathgate.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Unfortunately, swap is not activated in the musicpal firmware by default. I&#8217;ve got an FW-Replacement kit that unpacks the fw-image, replaces the kernel, compiles packages and compresses the fw-image again. Just like OpenWRT. When I finished it, I release it under GPL. </p>
<p>Cheers,<br />
Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerald</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-875</link>
		<dc:creator>Gerald</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-875</guid>
		<description>I did not ebable bass boost via the web interface so I guess the patch is overwriting this. I could not figure out where this happens as the Wolfson addresses in the patch do not map with the datasheet.

So I added flat equalizer settings at the end of oss_open() and rebuilt mpd. Now it sounds fine:

        ioctl(od-&gt;fd, AUDIO_ALL_ON, NULL);

        eq.bass = 0;
        eq.treble = 0;
        eq.dac = 255;
        eq.flags = 0;
        if (ioctl (od-&gt;fd, AUDIO_SET_EQUALIZER, &amp;eq) == -1)
          {
            perror (&quot;AUDIO_SET_EQUALIZER&quot;);
            exit (-1);
          }
        else
          fprintf(stderr,&quot;AUDIO_SET_EQUALIZER called successfully\n&quot;);

	audioOutput-&gt;open = 1;

	return 0;</description>
		<content:encoded><![CDATA[<p>I did not ebable bass boost via the web interface so I guess the patch is overwriting this. I could not figure out where this happens as the Wolfson addresses in the patch do not map with the datasheet.</p>
<p>So I added flat equalizer settings at the end of oss_open() and rebuilt mpd. Now it sounds fine:</p>
<p>        ioctl(od-&gt;fd, AUDIO_ALL_ON, NULL);</p>
<p>        eq.bass = 0;<br />
        eq.treble = 0;<br />
        eq.dac = 255;<br />
        eq.flags = 0;<br />
        if (ioctl (od-&gt;fd, AUDIO_SET_EQUALIZER, &amp;eq) == -1)<br />
          {<br />
            perror (&#8220;AUDIO_SET_EQUALIZER&#8221;);<br />
            exit (-1);<br />
          }<br />
        else<br />
          fprintf(stderr,&#8221;AUDIO_SET_EQUALIZER called successfully\n&#8221;);</p>
<p>	audioOutput-&gt;open = 1;</p>
<p>	return 0;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giles Bathgate</title>
		<link>http://www.gilesbathgate.com/2009/08/music-player-daemon-musicpal/comment-page-1/#comment-874</link>
		<dc:creator>Giles Bathgate</dc:creator>
		<pubDate>Tue, 11 Aug 2009 12:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gilesbathgate.com/?p=158#comment-874</guid>
		<description>I thought the Bass Boost could be turned off via the web interface

http://musicpal/admin/cgi-bin/admin.cgi?f=sound_boost&amp;n=../sound_boost.html

But it is possible that the patch that Maz wrote for mpd would override this setting.</description>
		<content:encoded><![CDATA[<p>I thought the Bass Boost could be turned off via the web interface</p>
<p><a href="http://musicpal/admin/cgi-bin/admin.cgi?f=sound_boost&#038;n=../sound_boost.html" rel="nofollow">http://musicpal/admin/cgi-bin/admin.cgi?f=sound_boost&#038;n=../sound_boost.html</a></p>
<p>But it is possible that the patch that Maz wrote for mpd would override this setting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
