<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mike Gerwitz &#187; Free Software</title>
	<atom:link href="http://mikegerwitz.com/tags/free-software/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikegerwitz.com</link>
	<description>Free Software Hacker</description>
	<lastBuildDate>Mon, 07 May 2012 14:14:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OSCON Attendees Use Primarily Proprietary Devices / Software</title>
		<link>http://mikegerwitz.com/oscon-attendees-use-primarily-proprietary-devices-software/</link>
		<comments>http://mikegerwitz.com/oscon-attendees-use-primarily-proprietary-devices-software/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 03:38:02 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://mikegerwitz.com/?p=353</guid>
		<description><![CDATA[I&#8217;d just like to comment on some irony I&#8217;ve seen while attending the O&#8217;Reilly Open Source Convention (OSCON). I&#8217;m fully aware that this conference makes no attempt to represent purely free software. However, it is still an &#8220;open source&#8221; conference. Why, then, do the vast majority of attendees bring in laptops running proprietary operating systems [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d just like to comment on some irony I&#8217;ve seen while attending the <a href="http://oscon.com">O&#8217;Reilly Open Source Convention (OSCON)</a>. I&#8217;m fully aware that this conference makes no attempt to represent purely <a href="http://www.fsf.org/about/what-is-free-software">free software</a>. However, it is still an &#8220;open source&#8221; conference. Why, then, do the vast majority of attendees bring in laptops running proprietary operating systems such as Windows and OSX, as well as use proprietary devices such as the iPhone, iPad, Blackberries, etc? There&#8217;s some slight irony in that.</p>
<p>During the keynotes this morning, <a href="http://www.oscon.com/oscon2010/public/schedule/detail/13426">one of the presenters</a> (who is a part of the <a href="http://foundation.gnome.org/">GNOME foundation</a>) stated how, in the past, she would bring a laptop running Microsoft Windows into work. It would boot up and make that distinctive noise and everyone would turn to her. They would ask why she was running a proprietary <acronym title="Operating System">OS</acronym>, and she would make excuses for it. But not everyone made such excuses. She stated that it is because of those who decided to make such sacrifices &#8211; to spend hours getting things to work using free software &#8211; that free software is where it is today. She encouraged attendees to use free software themselves. Yet, they sit there typing notes in Microsoft Word. Do the attendees not understand the values of free software? Do they even understand the values of open source? I know some of them do &#8211; there are some there that have <acronym title="GNU's Not Unix!">GNU</acronym> stickers on their laptops, run <acronym title="GNU's Not Unix!">GNU</acronym>/Linux operating systems, etc. But not enough. It is astonishing and shameful.</p>
<p>The conference does little to encourage free software either. Yes, there are some presenters that make the distinction between free software and open source. However, there are also sessions that are essentially advertisements for proprietary solutions! For example, a vendor may have an &#8220;open source&#8221; or &#8220;community&#8221; version of their product, which they advertise as a trial. One such phrase I heard in one of the sessions was &#8220;we encourage you to at least try the community version&#8221;, or to try the community version &#8220;first&#8221;. They would then go through a list of <a href="http://www.fsf.org/bulletin/2007/fall/antifeatures/">anti-features</a> in the &#8220;open source&#8221; version that essentially make it useless in any performance-intensive or enterprise settings, forcing users to upgrade to their &#8220;enterprise&#8221; versions. This is an excellent example of the distinction between the free software philosophy and simply making your product &#8220;open source&#8221;. In this instance, it appears to be a sales pitch. The vendor then went on to state that they have patents pending for their software. Let&#8217;s not even get me started on that. <em>Why would you have such a session at an open source conference?!</em></p>
<p>Clearly, while many of the attendees and presenters do recognize software freedom and understand concepts that give the meaning behind the term &#8220;open&#8221;, there are many that do not. OSCON also meets the needs of business owners. I am willing to bet that the vast majority of those using proprietary devices were there for their companies. Hell, I&#8217;m there because my employer funded it &#8211; it&#8217;s an expensive conference. However, this is also a conference I would love to go to on my own. I understand the core principles behind free software. I understand the open source movement. But if your employer simply sees open source as a benefit to business and sends you there, and you are just an employee&#8230;well, of course you&#8217;re not going to care. You&#8217;re just there to see what new and exciting technologies exist to help your employer or your own business.</p>
<p>I wish during the tutorial sessions the first two days that I took the time to count the number of laptops and devices in each of the areas I entered in order to give an actual figure. Now that the tutorial days are over, there are much less devices. Even still, out of a handful of 20 or so laptops, I&#8217;m lucky to see a single one running a free operating system. Even the majority of the presenters used Macs. However, some of those presenters had no idea what they were doing on a Mac, leading me to believe that OSCON supplied them! That is even worse! It left a very bad impression. For those attendees that I did see at OSCON that understood and embodied the spirit of the open source movement (or even better, the free software movement), I was very pleased. For everyone else &#8211; very disappointed. I hope that they are able to take something away from those speakers that do mention free software and do explain the values of open source.</p>
<p>This also brings up another thought. Lack of presence from members of the <a href="http://fsf.org">Free Software Foundation</a>. The most I saw of them was a single booth in the Expo hall. Where are the speakers? Where are the sessions? (In their defense, I understand that there were hundreds of session proposals that were unable to make it into the conference. Maybe someone tried. I&#8217;ll ask FSF directly.) There are little tags you can put on your badges, such as &#8220;Git&#8221;, &#8220;Desperate <acronym title="Practical Extraction and Report Language">Perl</acronym> Hacker&#8221;, etc. Why is there no &#8220;Free Software&#8221; one? Why isn&#8217;t Richard Stallman himself helping to spread the word of free software at such a large conference? Now, don&#8217;t get me wrong &#8211; I completely understand him not being there. If I were Stallman I&#8217;d probably have a heart attack from what I saw there (metaphorically speaking &#8211; I almost did). But that is not the point. The point is that there are plenty of people there who have been introduced to this concept &#8211; may even be new to the concept &#8211; of &#8220;open source&#8221;. They may not understand what free software is, or why it is important. But they may be interested in it. How often do you see such a large group of software enthusiasts and developers in a single location for a conference focusing on openness in software? This would have been an excellent opportunity for the Free Software Foundation to spread its values. If anything, help combat the vendors that are lacing their &#8220;open source&#8221; products with proprietary bits. Give out CDs containing free <acronym title="GNU's Not Unix!">GNU</acronym>/Linux distributions. Explain our core values. Ask people to join. I was very disappointed by FSF&#8217;s presence at that conference. I&#8217;ll bring that up in the appropriate channels &#8211; I just wanted to mention it publically as well.</p>
<p>Overall, OSCON has been an interesting experience thus far. I&#8217;m not trying to recognize it as a free software conference &#8211; it clearly isn&#8217;t, and I never expected it to be. However, it is an excellent learning experience and there are many free software projects represented there.</p>
<p>Oh, and a last note that just puts the icing on the cake: After the conference, I went on a walking tour of Portland. The tour guide saw an iPhone and stated, &#8220;Isn&#8217;t this an open source conference? Aren&#8217;t iPhones kind of anti-open source?&#8221; (I quoted him to the best degree I possibly could, though those may not have been his exact words.) Yeah, that&#8217;s just great. A tour guide was able to recognize that. Yet the group of OSCON attendees that were asked that question remained silent. Swell.</p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/oscon-attendees-use-primarily-proprietary-devices-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>False Freedom in WordPress Themes</title>
		<link>http://mikegerwitz.com/false-freedom-in-wordpress-themes/</link>
		<comments>http://mikegerwitz.com/false-freedom-in-wordpress-themes/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 01:09:08 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikegerwitz.com/?p=235</guid>
		<description><![CDATA[I&#8217;ve always had one major issue with some of the &#8220;free&#8221; WordPress themes out there &#8211; the encryption of footer data. I&#8217;ve seen countless themes licensed under the GNU GPL that violate the very principles for which it exists. Someone took the time to make their theme available under the GPL &#8211; that&#8217;s an excellent, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always had one major issue with some of the &#8220;free&#8221; WordPress themes out there &#8211; the encryption of footer data. I&#8217;ve seen countless themes licensed under the <a href="http://www.gnu.org/licenses/gpl.html"><acronym title="GNU's Not Unix!">GNU</acronym> <acronym title="GNU General Public License">GPL</acronym></a> that violate the very principles for which it exists.</p>
<p>Someone took the time to make their theme available under the <acronym title="GNU General Public License">GPL</acronym> &#8211; that&#8217;s an excellent, noble thing. However, the encryption of footer data shows a complete lack of understanding of the philosophy behind <a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a> and the <acronym title="GNU General Public License">GPL</acronym>.</p>
<p>Freedom #1 states:</p>
<blockquote><p>The freedom to study how the program works, and change it to make it do what you wish (freedom 1). Access to the source code is a precondition for this.</p></blockquote>
<p>Here is an example footer from one of the themes I found (most of the content has been removed and what remains has been altered to (a) not throw anyone under a bus and (b) reduce the size of this post):</p>

<div class="wp_codebox"><table><tr id="p2352"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p235code2"><pre class="php" style="font-family:monospace;"><a href="http://www.php.net/eval"><span style="color: #990000;">eval</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/gzinflate"><span style="color: #990000;">gzinflate</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/base64_decode"><span style="color: #990000;">base64_decode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'gfE8f[...]T8='</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */</span>
<span style="color: #000088;">$o</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;ZnvJF[...]Mn=&quot;</span><span style="color: #339933;">;</span>eval<span style="color: #009900;">&#40;</span><a href="http://www.php.net/base64_decode"><span style="color: #990000;">base64_decode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Xvxsbe0wO2V2YWwoYmFzZT[...]GxsfW9cnw==&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>return<span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Clearly, this is in violation of Freedom #1 for the following reasons:</p>
<ol>
<li><strong>The only way to gain access to the source code is to decrypt (reverse engineer) the above content.</strong> The fact that it is a very simple matter to do so is irrelevant &#8211; the source code should be clearly visible.</li>
<li><strong>There is a comment in the code that clearly states that any attempt to reverse engineer the code is illegal.</strong> This is in direct conflict with the <acronym title="GNU General Public License">GPL</acronym> &#8211; in fact, it&#8217;s completely incompatible. So that statement is actually negated by the license. You&#8217;re more than welcome to do so under terms of the <acronym title="GNU General Public License">GPL</acronym>.</li>
<li><strong>Since you do not have access to the original source code without decrypting the data, you are not free to modify it.</strong> Many try to decrypt the data and are unable to do so because they do are familiar with the <acronym title="PHP: Hypertext Preprocessor">PHP</acronym> language or are otherwise unable to figure out how to decrypt it. If you do decrypt the above, you will find that the majority of it is <acronym title="HyperText Markup Language">HTML</acronym>, with one call to <tt>wp_footer()</tt>. This means that, were it not encrypted, users would need only know <acronym title="HyperText Markup Language">HTML</acronym> to safely modify it.</li>
</ol>
<p>But those aren&#8217;t the only issues. There&#8217;s also some other considerations:</p>
<ol>
<li>The encrypted footer is <strong>7743 bytes</strong>. Decrypted, it is roughly <strong>996 bytes</strong>. That is a <em>huge</em> size difference &#8211; a lot of wasted bytes to secure the footer.</li>
<li>There are <strong>a great number of function calls in order to decrypt the footer</strong>. You can see some of them above, but the eval()&#8217;d code contains additional methods to decrypt further encrypted and obfuscated code. That&#8217;s unnecessary overhead. Not to mention that <strong>eval() in itself is very slow</strong>. <em>So, not only did the author prevent you from modifying the footer, you&#8217;re taking a performance hit because of it!</em></li>
</ol>
<p>I can understand why the author would want to encrypt the footer. They probably felt that, if they&#8217;re releasing their source code free of charge to the public, they should at least be allowed to keep their copyright notice in tact. And yes, they should be able to. In fact, the copyright notice should never be removed on <acronym title="GNU General Public License">GPL</acronym>&#8217;d code &#8211; it&#8217;s a legal requirement to keep it there. It is still the author&#8217;s work, and it is a copyrighted work, so the notice must remain in tact. But yes, people do remove it anyway, even though they shouldn&#8217;t.</p>
<p>But when an author takes the time to not only prevent me from modifying the source, but in doing so causes me to incur a performance hit, <em>and</em> on top of it licenses the theme under the <acronym title="GNU General Public License">GPL</acronym> &#8211; I see some very large ethical issues. Especially considering that all I wanted to do was add my own link, and its placement required being able to modify the encrypted <acronym title="HyperText Markup Language">HTML</acronym>.</p>
<p>I propose that all those who support free software boycott such themes and send a notice to the authors when they come by such themes (or send them a link to this post). Furthermore, do not let developers who try to restrict your freedom push you around. I do not propose you remove the copyright notice &#8211; in fact, I would never, ever suggest that someone do that; but I do propose that, if the theme is licensed under the <acronym title="GNU General Public License">GPL</acronym>, you decrypt the footer regardless of any notices that state you otherwise cannot. The license clearly states you have access to the source code, and if you are not given such access, the code either needs to be relicensed, or the developer needs to comply with its terms.</p>
<p>As there are also many themes out there that encrypt their data and are <em>not</em> licensed under the <acronym title="GNU General Public License">GPL</acronym> or other free software licenses, I&#8217;m not going to provide any methods of decrypting the data. I do not support proprietary software, but I also do not encourage license violations.</p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/false-freedom-in-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defend Your Liberties &#8211; Speak Against ACTA!</title>
		<link>http://mikegerwitz.com/defend-your-liberties-speak-against-acta/</link>
		<comments>http://mikegerwitz.com/defend-your-liberties-speak-against-acta/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 04:04:53 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FSF]]></category>
		<category><![CDATA[liberties]]></category>

		<guid isPermaLink="false">http://www.mikegerwitz.com/?p=71</guid>
		<description><![CDATA[&#8220;ACTA, the Anti-Counterfeiting Trade Agreement, is a proposed enforcement treaty between United States, the European Community, Switzerland, Japan, Australia, the Republic of Korea, New Zealand and Mexico, with Canada set to join any day now.&#8221; &#8211; More information here The name of the treaty sounds innocent enough, but what are they not telling you? This [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;ACTA, the Anti-Counterfeiting Trade Agreement, is a proposed enforcement treaty between United States, the European Community, Switzerland, Japan, Australia, the Republic of Korea, New Zealand and Mexico, with Canada set to join any day now.&#8221; &#8211; <a href="http://www.fsf.org/campaigns/acta/">More information here</a></p></blockquote>
<p>The name of the treaty sounds innocent enough, but what are they not telling you? This is just another addition to the huge string of laws recently forced upon us by corrupt governments and corporations to take away our liberties. For what? Money, as always.</p>
<p>What makes this law so bad? I just want to highlight a few points. I <a href="http://arstechnica.com/news.ars/post/20080916-100-groups-demand-to-see-secret-anticounterfeiting-treaty.html">quote ars technica</a> with the following details with what the treaty may cause:</p>
<ul>
<li>Require Internet Service Providers to monitor all consumers&#8217; Internet communications, terminate their customers&#8217; Internet connections based on rights-holders&#8217; repeated allegation of copyright infringement, and divulge the identity of alleged copyright infringers possibly without judicial process</li>
<li>Interfere with fair use of copyrighted materials</li>
<li>Criminalize peer-to-peer file sharing</li>
<li>Interfere with legitimate parallel trade in goods, including the resale of brand-name pharmaceutical products</li>
<li>Impose liability on manufacturers of active pharmaceutical ingredients (APIs), if those APIs are used to make counterfeits</li>
<li>Improperly criminalize acts not done for commercial purpose and with no public health consequences</li>
<li>Improperly divert public resources into enforcement of private rights</li>
</ul>
<p>What does this mean for the average computer user? Peer-to-peer (<acronym title="Peer to Peer">P2P</acronym>) file sharing will become unlawful, knocking out a huge chunk of collaborative file sharing, including Bittorrent. Some may consider this a good thing &#8211; after all, files are often unlawfully distributed using these services. But <em>not always</em>. Venues like bittorrent help reduce costs by allowing for the <em>legal distribution</em> of files, such as <a href="http://fsf.org">free software</a> or your own personal files. Corporations also use it to cut costs of file distribution (let&#8217;s take the popular example of Blizzard&#8217;s use of bittorrent to distribute World of Warcraft files to their users).</p>
<p>File sharing itself is not illegal! It is how some use it is that is. You should not criminalize an entire right for the sake of hindering pirates, which will simply find another venue. Crackers use computers to steal account information and steal identities &#8211; why not make computers illegal? The internet&#8217;s being used to download all these illegal files, why not abolish the internet? How soon before they begin taking away additional rights simply so corporations will stop fussing because <em>their multi-billion profits are not enough</em>?</p>
<p>Think of this like prohibition. The law was repealed because you cannot force people to behave. You cannot take away the right to free will &#8211; people will do what they want despite the laws. It&#8217;s the same with drugs &#8211; they&#8217;re illegal, yet still used. And what do we do? Waste countless tax dollars putting druggies in prison while that space and money could be put to much better use to catch <em>actual criminals!</em> (I highly recommend <a href="http://www.last.fm/music/System+of+a+Down/_/Prison+Song/+lyrics">reading the lyrics to Prison Song by System of a Down</a> for an excellent demonstration of this point.)</p>
<p>If this law passes &#8211; what will happen? The &#8220;good guys&#8221; will get screwed. We will be down a major, cheap venue for distributing our software when we may not have the money or resources to use other services. Businesses and corporations will also be forced to pay higher distribution costs. What about the pirates? What about those who are actually breaking the law? That won&#8217;t stop them. Hell, it may not even hinder them. They&#8217;ll come up with another method before the law is even passed. There already <em>are</em> plenty of other methods that are not <acronym title="Peer to Peer">P2P</acronym>. You are loosing your right because others do not know how to behave and it&#8217;s <em>not even going to stop them!</em></p>
<p>If you don&#8217;t know what <acronym title="Digital Restrictions Management">DRM</acronym> is yet (which may be surprising considering how often it is seen all over this website), I encourage you <a href="http://www.defectivebydesign.org/what_is_drm">to take a look</a>. Digital Right Management, more appropriately called Digital <em>Restrictions</em> Management, is seen all over, and is growing. With <acronym title="Digital Restrictions Management">DRM</acronym>, your computer, your devices, your software tells <em>you</em> what to do. It says, &#8220;oh, I don&#8217;t want you to do that&#8221; or &#8220;oh, you can only play this song this many times&#8221;. It restricts you. You should tell your computer what to do, <em>not</em> the other way around. It&#8217;s just another ploy to further remove our rights &#8211; to control our lives.</p>
<p>This treaty would enforce the use of <acronym title="Digital Restrictions Management">DRM</acronym>. You would not be able to buy any music that is not encrypted with <acronym title="Digital Restrictions Management">DRM</acronym> &#8211; meaning you cannot share it with your friends, you can&#8217;t transfer it to another device without your computer&#8217;s permission, and sometimes <em>if you upgrade your computer you will be denied the right to listen to your own music!</em> You will also only be able to play the music on <acronym title="Digital Restrictions Management">DRM</acronym>-compatible devices. Free software cannot play <acronym title="Digital Restrictions Management">DRM</acronym>-encrypted music. You will be eating out of the palms of the corporations.</p>
<p>I&#8217;m sure many recognize the recent release of the game Spore by EA Games. It was a very controversial release because it incorporated <acronym title="Digital Restrictions Management">DRM</acronym> to a ridiculous degree, needing to &#8220;call home&#8221; every once in a while (it may have been 10 days) to re-activate. This means that in the future, once the activation server was taken down, Spore would no longer be playable. It was as if you were renting the game, not purchasing it. Because EA tried to control its users, they ended up <a href="http://games.slashdot.org/article.pl?sid=08/12/06/0734206&amp;tid=95">making Spore the most pirated game of 2008</a> &#8211; exactly the opposite effect they had intended. The point &#8211; you cannot control people. They will rebel. You need to focus on the problem under the peoples&#8217; own terms or you&#8217;ll just make things worse. Now imagine what something like the ACTA will do. Probably make things worse.</p>
<p>Let&#8217;s not forget about the mention of ISPs (Internet Service Providers) monitoring their customers&#8217; connections for illegal material. Such plans are already attempting to be forced upon the users of other countries, such as the UK and Australia. What does this mean? Well, putting aside the fact that you are being <em>spied on without a warrant</em>, the software used to track your connection will <em>slow down your connection speeds</em>. This affects everyone &#8211; regardless of whether or not you are doing anything illegal. As if the connection monitoring wasn&#8217;t bad enough.</p>
<p><strong>The world&#8217;s governments need to prioritize and stop taking from us our liberties! </strong>Before you know it, they&#8217;ll all be gone. You have to help put a stop to it before it&#8217;s too late &#8211; before you wake up one morning and realize you have nothing left and are powerless to do anything about it. Stop letting your government and your corporations boss you around. Some may not think technology right are such a big deal &#8211; but keep in mind. Technology already rules society, and it&#8217;s only going to continue to take more control. We&#8217;re becoming increasingly dependant on technology and we cannot allow it to enslave us.</p>
<p><a href="http://arstechnica.com/news.ars/post/20080916-100-groups-demand-to-see-secret-anticounterfeiting-treaty.html">Please read more information about this treaty here.</a></p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/defend-your-liberties-speak-against-acta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sansa e280v2 Regrets &amp; Guide for GNU/Linux</title>
		<link>http://mikegerwitz.com/sansa-e280v2-regrets-guide-for-gnulinux/</link>
		<comments>http://mikegerwitz.com/sansa-e280v2-regrets-guide-for-gnulinux/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 04:58:20 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.mikegerwitz.com/?p=21</guid>
		<description><![CDATA[Well, I recently ordered a Sansa e280 from Amazon. I was looking for a good mp3 player that the open-source firmware RockBox supported. I noted that the v2 series was not supported, but Amazon did not state that it was such a model. You can imagine my disappointment once it arrived. After debating whether or [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I recently ordered a Sansa e280 from Amazon. I was looking for a good mp3 player that the open-source firmware <a href="http://www.rockbox.org/">RockBox</a> supported. I noted that the v2 series was not supported, but Amazon did not state that it was such a model. You can imagine my disappointment once it arrived.</p>
<p>After debating whether or not to return it, I decided to keep it. v2s are out now, so v1 I assume will be discontinued &#8211; RockBox will eventually support it. And I&#8217;d like to provide aid to the RockBox team however I can. Unfortunately I have not looked into the firmware so I will not be much help in the actual development, however I will provide whatever information I can regarding the player, as the dev team does not own any v2s.</p>
<h1>Using the Sansa e200v2 Series on <acronym title="GNU's Not Unix!">GNU</acronym>/Linux</h1>
<p>So, in deciding to keep it, I ran into a few problems. It was a bit frustrating, and in order to help save you guys some of the frustration, I&#8217;ll post some information on how to use it with <acronym title="GNU's Not Unix!">GNU</acronym>/Linux. Specifically, <a href="http://www.ubuntu.com/">Ubuntu Gutsy</a>.</p>
<p><span id="more-21"></span></p>
<h2>Connecting to your PC</h2>
<p>Right when my Sansa arrived, I had a big problem &#8211; Ubuntu didn&#8217;t seem to recognize it. Depending on your firmware version, there&#8217;s a couple ways to solve this. I assume this applies to other distributions as well.</p>
<p><strong>Before you begin, you need to load the necessary module.</strong> When it could not recognize my device, I checked dmesg and noticed the following message:</p>
<p><code>[38018.977087] usb 2-3: new high speed <acronym title="Universal Serial Bus">USB</acronym> device using ehci_hcd and address 6</code></p>
<p>Entering the following command in the terminal should solve the problem of your device not being recognized:</p>
<p><code>sudo modprobe ehci_hcd</code></p>
<p>You probably don&#8217;t want to run that command every time you restart your computer, so open /etc/modules in your favorite editor (I recommend VIM, but gedit may be easier for some) as root and add &#8220;ehci_hcd&#8221; to the list. For example:</p>
<p><code>sudo gedit /etc/modules</code></p>
<p><strong>Check your firmware version:</strong></p>
<ol>
<li>Start your Sansa e200v2 and navigate to the &#8220;Settings&#8221; menu</li>
<li>Scroll down to &#8220;Info&#8221; and select it</li>
<li>Note your firmware version at the top (ex: V03.01.14A)</li>
</ol>
<p><strong>Firmware version 03.01.14A:</strong><br />
You must put the device into MSC mode:</p>
<ol>
<li>Go back to the &#8220;Settings&#8221; menu</li>
<li>Select &#8220;<acronym title="Universal Serial Bus">USB</acronym> Mode&#8221;</li>
<li>Select &#8220;MSC&#8221;</li>
<li>Connect your device to the PC with the supplied <acronym title="Universal Serial Bus">USB</acronym> cable</li>
</ol>
<p><strong>Older v2 firmware versions (03.XX.XX)</strong><br />
You need to place the device into recovery mode:</p>
<ol>
<li>Turn the player off</li>
<li>Slide the top button into the lock position (toward the headphone jack)</li>
<li>Hold the rewind button (|&lt;&lt;)</li>
<li>Plug the <acronym title="Universal Serial Bus">USB</acronym> cable into the player and computer</li>
<li>Keep holding the button until your distribution recognizes the device (in Ubuntu Nautilus will display the device after it mounts)</li>
</ol>
<p><em>If your device did not mount, please ensure you loaded the ehci_hcd module as discussed above. Run &#8220;dmesg&#8221; from a terminal to see any errors if it still does not work.</em></p>
<h2>How to correctly disconnect</h2>
<p>If you just pull out the <acronym title="Universal Serial Bus">USB</acronym> cable from your device to disconnect from the computer after writing data, chances are you may lose something. If you have written data to the device, unmount the device before disconnecting the cable. Ubuntu users may use the following method:</p>
<ol>
<li>Open Nautilus (if it&#8217;s not open you can go to Places &#8211; Computer)</li>
<li>Either on the left sidebar or, if you&#8217;re in &#8220;Computer&#8221;, in the main area, right-click on your device (it may be labeled &#8220;sansa&#8221;, &#8220;disk&#8221;, etc)</li>
<li>Select &#8220;unmount&#8221;</li>
<li>Wait until a balloon states it is safe to disconnect the device, then you may remove the <acronym title="Universal Serial Bus">USB</acronym> cable.</li>
</ol>
<p>You may also use the &#8220;umount&#8221; command from the terminal.</p>
<h2>Upgrading the Firmware</h2>
<p>Above I mentioned two types of firmware. If you do not have the newest version, I recommend that you get it (so that the <acronym title="Universal Serial Bus">USB</acronym> Mode menu is available). To upgrade:</p>
<ol>
<li>First download the V03.01.14A firmware from <a href="http://anythingbutipod.com/forum/showthread.php?t=25425">this website</a></li>
<li>Connect your device to your PC and place the firmware file into the root directory of the device (for example, /media/disk). The root directory contains the AUDIBLE, MUSIC, PHOTO, RECORD and VIDEO directories.</li>
<li>Disconnect your device from the computer (<em>SEE ABOVE FOR THE CORRECT WAY TO DISCONNECT YOUR DEVICE</em>)</li>
</ol>
<h2>Alas, No OGG support</h2>
<p><em><a href="http://www.fsf.org/resources/formats/playogg"><img src="images/play_ogg_small.png" alt="Play Ogg" style="border: medium none " /></a></em></p>
<p>I was rather annoyed and disappointed to see that SanDisk did not add OGG support in their v2 series. All my music I had converted to OGG format from mp3s and I had deleted the old mp3 files. So, I had to convert all of them back (I still keep them in OGG format on my computer) in order for the Sansa to play them. Once RockBox works, out with the mp3s again.</p>
<h2>Copying Music to the Device</h2>
<p>Once your music is in MP3 format, you may copy it to your device simply by placing it into the &#8220;MUSIC&#8221; folder. You may organize the music however you wish &#8211; feel free to place them in their own subfolders. As long as they are within the MUSIC directory, Sansa will recognize them.</p>
<p>Note that, for users who use MTP mode (Windows users or Linux users with MTP support), those files are not visible in MSC mode. Similarly, files in MSC mode are not visible in MTP mode.</p>
<h2>Deleting Music from the Device</h2>
<p>In GNOME (I&#8217;m unsure with others), when you delete a file, it places it into a trash folder (unless you delete it with the &#8220;rm&#8221; command or use the Nautilus delete command rather than &#8220;Move to Trash). The files will not be removed from your device if you simply pull the <acronym title="Universal Serial Bus">USB</acronym> cable, but the device will no longer list the music. So, it&#8217;ll be taking up space, but will be in a hidden folder (.trash). So, use the above method to properly disconnect from the computer. If you do so, it&#8217;ll prompt you to empty the trash on the device.</p>
<h2>Music Metadata (Song Title &amp; Track Order Problems)</h2>
<p>You may notice that some of your music isn&#8217;t properly displayed. The title, artist, etc may be displayed as &#8220;Unknown&#8221;, or the title may be the filename. This was something that had frustrated me for a while. So, I have a fix for you.</p>
<p><strong>Download <a href="http://easytag.sourceforge.net/">EasyTag</a> (below step for Ubuntu users):</strong><br />
<code>sudo apt-get install easytag</code></p>
<p>Once you have EasyTag installed, run it (for Ubuntu users it&#8217;ll be under &#8220;Applications &#8211; Sound &amp; Video&#8221;). Don&#8217;t get too carried away yet. This is the part that frustrated me. If you try anything now, you may still have some problems. You&#8217;ll be able to save the track titles, artists, etc, however the track number will not properly save. So your tracks will be out of order. This is because the firmware does not support ID3v2.4, which is the default for EasyTag.</p>
<ol>
<li>Go to Settings &#8211; Preferences</li>
<li>Select the &#8220;ID3 Tag Settings&#8221; tab</li>
<li>Select &#8220;ID3v2.3&#8243; for Version</li>
<li>Click the &#8220;Save&#8221; button</li>
</ol>
<p>Now we can get to work. EasyTag will attempt to get as much information as it can from the filenames and other sources, so you should not have to enter much, if anything, by hand (I didn&#8217;t have to).</p>
<ol>
<li>On the left, navigate to your device&#8217;s MUSIC folder</li>
<li>Wait very patiently while EasyTag retrieves the songs. This may take a while if you have a large number of songs with long filenames.</li>
<li>All the songs listed in red have to be saved. Check through the list and make sure EasyTag generated them correctly and make modifications as needed. Or, just skip this step if you&#8217;re lazy and trust EasyTag&#8217;s skills.</li>
<li>Select &#8220;File &#8211; Save File(s)&#8221; or click the corresponding button in the toolbar</li>
<li>Don&#8217;t forget to unmount before disconnecting the <acronym title="Universal Serial Bus">USB</acronym> cable</li>
</ol>
<p>Tada! You should now have properly named songs and correct track listings.</p>
<h2>Album Art</h2>
<p>This one also bugged me. Some other sites suggested using EasyTag to embed the album art in the MP3 file itself, but it never worked for me. So I figured out some alternate solutions. The Sansa was designed to work with Windows Media Player, so I looked at some old folders back from when I used Windows, before I ditched it for <acronym title="GNU's Not Unix!">GNU</acronym>/Linux. It would save the album art as &#8220;Folder.jpg&#8221;. So I copied Folder.jpg to the folder containing the album I wanted art for on the device, and sure enough, it worked!</p>
<ol>
<li>Organize the tracks into folders for their albums</li>
<li>Get a hold of the album art for your tracks. I use <a href="http://www.exaile.org/">Exaile</a> as my media player, so I simply went to &#8220;.exaile&#8221; in my home folder and retrieved the album art from there.</li>
<li>Place the album art in the folder containing the tracks for that album, and rename the file to either &#8220;Folder.jpg&#8221; or &#8220;Album Art.jpg&#8221;. Case-sensitive.</li>
</ol>
<p>Enjoy your album art <img src='http://mikegerwitz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Playlists</h2>
<p>Yes, the v2 series supports M3U playlists! In EasyTag, you can generate a playlist by selecting files and clicking &#8220;Write Playlist&#8230;&#8221; in the toolbar. Save it anywhere in the MUSIC folder &#8211; you may also save them in sub-directories.</p>
<h2>Rockbox Development Progress</h2>
<p>I&#8217;ll add more information on the Sansa if I can recall what else I had looked into. However, my true interest is in RockBox. Therefore, you can track the progress via the following links:</p>
<p><a href="http://www.rockbox.org/twiki/bin/view/Main/SansaE200v2">http://www.rockbox.org/twiki/bin/view/Main/SansaE200v2</a><br />
<a href="http://forums.rockbox.org/index.php?topic=13961.0">http://forums.rockbox.org/index.php?topic=13961.0</a><br />
<a href="http://forums.rockbox.org/index.php?topic=14064.0">http://forums.rockbox.org/index.php?topic=14064.0</a></p>
<p>Good luck!</p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/sansa-e280v2-regrets-guide-for-gnulinux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FSF Membership</title>
		<link>http://mikegerwitz.com/fsf-membership/</link>
		<comments>http://mikegerwitz.com/fsf-membership/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 05:24:22 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[FSF]]></category>
		<category><![CDATA[GNU]]></category>

		<guid isPermaLink="false">http://mikegerwitz.com/?p=17</guid>
		<description><![CDATA[A few days ago, I received my FSF membership goodies in the mail. Among these things were a bootable GNU/Linux membership card / CD-ROM, utility flash drive, a CD containing the source code for the files contained on the membership card, a small collection of articles and a very generous amount of creative stickers which [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img src="http://www.mikegerwitz.com/images/fsf-card.png" title="FSF Membership Card / Bootable CD-ROM" alt="FSF Membership Card / Bootable CD-ROM" /> <a href="http://www.mikegerwitz.com/images/fsf-stickers.png"><img src="http://www.mikegerwitz.com/images/fsf-stickers-small.png" title="FSF Stickers" alt="FSF Stickers" /></a></p>
<p>A few days ago, I received my FSF membership goodies in the mail. Among these things were a bootable <acronym title="GNU's Not Unix!">GNU</acronym>/Linux membership card / <acronym title="Compact Disc">CD</acronym>-ROM, utility flash drive, a <acronym title="Compact Disc">CD</acronym> containing the source code for the files contained on the membership card, a small collection of articles and a very generous amount of creative stickers which I could not help but show everyone. Click on the image above to enlarge.</p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/fsf-membership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supporting Free Software</title>
		<link>http://mikegerwitz.com/supporting-open-source/</link>
		<comments>http://mikegerwitz.com/supporting-open-source/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 11:15:53 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[FSF]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[MyCustomBB]]></category>

		<guid isPermaLink="false">http://mikegerwitz.com/?p=16</guid>
		<description><![CDATA[In an effort to give back to the open source and free software communities that has so positively affected both my life and career, I have become an Associate Member of the Free Software Foundation to provide my support. I encourage other open source supporters to do the same, or make a small donation toward [...]]]></description>
			<content:encoded><![CDATA[<p>In an effort to give back to the open source and free software communities that has so positively affected both my life and career, I have become an Associate Member of the Free Software Foundation to provide my support. I encourage other open source supporters to do the same, or make a small donation toward the effort. For more information on membership, click the image on the lower-right hand column of this page.</p>
<p>With that said, <acronym title="GNU's Not Unix!">GNU</acronym> GPLv3 has been released and has some impressive improvements over version two. All my open source projects, most notably MyCustomBB, will adopt this new license.</p>
<p>I have also made my final decision not to return to developing for Microsoft Windows. All my open source projects will be cross-os / cross-browser, however I will no longer be developing projects exclusively for Windows. After getting Internet Explorer working on Linux (for developing websites to conform to its absence of standards), I have abandoned it completely and now exclusively use Linux (Ubuntu) and open source software.</p>
<p>Finally, on a lesser note, I&#8217;ve modified this blog&#8217;s theme to be a bit more fitting. Hopefully everyone likes it.</p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/supporting-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyCustomBB :: Free / Open Source</title>
		<link>http://mikegerwitz.com/mycustombb-open-source/</link>
		<comments>http://mikegerwitz.com/mycustombb-open-source/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 22:39:03 +0000</pubDate>
		<dc:creator>Mike Gerwitz</dc:creator>
				<category><![CDATA[MyCustomBB]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://mikegerwitz.com/?p=14</guid>
		<description><![CDATA[Not too long ago I decided to go open-source with my MyCustomBB bulletin board software. I couldn&#8217;t bear requiring licenses for it &#8211; I&#8217;m not that type of guy. I&#8217;ve wanted to create an open-source project for a while &#8211; a way to give back to the open-source community &#8211; so here it is. Though [...]]]></description>
			<content:encoded><![CDATA[<p>Not too long ago I decided to go open-source with my MyCustomBB bulletin board software. I couldn&#8217;t bear requiring licenses for it &#8211; I&#8217;m not that type of guy. I&#8217;ve wanted to create an open-source project for a while &#8211; a way to give back to the open-source community &#8211; so here it is.</p>
<p>Though open-source, the project&#8217;s design has not changed. It will still be the professional, completely customizable bulletin board that I originally intended. My goal is to give it all the features of current bulletin board systems, except make them a tad bit better. This will be an open-source alternative to major competitors such as vBulletin and InvisionBoard. Why do I think it will be better? Well, this is my passion. Those other guys seem to just be out to make money. I&#8217;m out to start communities.</p>]]></content:encoded>
			<wfw:commentRss>http://mikegerwitz.com/mycustombb-open-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

