<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>A Glimpse on GNU/Linux &#187; Uncategorized</title>
	<atom:link href="http://www.maxinbjohn.info/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maxinbjohn.info</link>
	<description>Life, Fun and Free Software</description>
	<lastBuildDate>Fri, 06 Aug 2010 07:50:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>maxin@maxinjohn.info ()</managingEditor>
		<webMaster>maxin@maxinjohn.info()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Life, Fun and Free Software</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>maxin@maxinjohn.info</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.maxinbjohn.info/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.maxinbjohn.info/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>A Glimpse on GNU/Linux</title>
			<link>http://www.maxinbjohn.info</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Be a man&#8230; Submit a man-page patch today !</title>
		<link>http://www.maxinbjohn.info/2010/06/26/be-a-man-submit-a-man-page-patch-today/</link>
		<comments>http://www.maxinbjohn.info/2010/06/26/be-a-man-submit-a-man-page-patch-today/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 02:26:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=3207196</guid>
		<description><![CDATA[All of us (well, at least some of us) like to test the limit of existing things.. That&#8217;s what I tried to do with the below given program. I decided to find the limit of the directories created in directories for an ext3 file system using mkdir(). Any one of you could find the reason [...]]]></description>
			<content:encoded><![CDATA[<p>All of us (well, at least some of us) like to test the limit of existing things.. That&#8217;s what I tried to do with the below given program. I decided to find the limit of the directories created in directories for an ext3 file system using mkdir(). Any one of you could find the reason behind it ? Well, it was for fun <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p># cat test_max_directories.c<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;sys/stat.h&gt;<br />
#include &lt;fcntl.h&gt;<br />
#include &lt;stdlib.h&gt;<br />
#include &lt;errno.h&gt;</p>
<p>int main()<br />
{<br />
char dirname[50];<br />
int i;<br />
/* The max number of subdirectories in one directory for ext3 is 32000 */<br />
int limit = 32001;</p>
<p>for (i = 0; i &lt; limit; i++) {<br />
sprintf(dirname, &#8220;testdir%d&#8221;, i);<br />
if ((mkdir(dirname, 00777)) == -1) {<br />
perror(&#8220;Error in creating directory!&#8221;);<br />
printf(&#8220;errno = %d\n&#8221;, errno);<br />
exit(1);<br />
}<br />
}<br />
return 0;</p>
<p>}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>As expected, strace showed that it failed, however with an EMLINK error:</p>
<p>mkdir(&#8220;testdir31998&#8243;, 0777)             = -1 EMLINK (Too many links)</p>
<p>Here comes the next  thing&#8230;. EMLINK error is not present in the man page of mkdir(2) &#8230; Wo hoo&#8230; a big chance to submit a patch to Linux Kernel Man page project &#8230;. I have started the exciting process of preparing the patch, mail and follow up process.</p>
<p>First, I should download the latest kernel man pages which is now in a git repository:</p>
<p>#apt-get install git-core</p>
<p>#git clone git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git</p>
<p>After check out, I have made the necessary changes in mkdir.2 page and prepared the patch using the command:</p>
<p># git diff</p>
<p>I got the below listed patch:<br />
<strong>&#8212;&#8212;&#8212;&#8212;</strong></p>
<p>diff &#8211;git a/man2/mkdir.2 b/man2/mkdir.2<br />
index e6cb28c..d01bafd 100644<br />
&#8212; a/man2/mkdir.2<br />
+++ b/man2/mkdir.2<br />
@@ -73,6 +73,10 @@ is a symbolic link, dangling or not.<br />
Too many symbolic links were encountered in resolving<br />
.IR pathname .<br />
.TP<br />
+.B EMLINK<br />
+The new directory cannot be created because the number of sub directories<br />
+in a directory is limited to LINK_MAX defined by the file system.<br />
+.TP<br />
.B ENAMETOOLONG<br />
.IR pathname &#8221; was too long.&#8221;<br />
.TP</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Here comes the most exciting part&#8230; Create a proper mail and convince the man page maintainer to include this to the mkdir man page.</p>
<p>First, I should choose the right mail id&#8217;s to send the patch. From the mailing list it should be mailed with:</p>
<p>To: <span>mtk.manpages@googlemail.com</span></p>
<p><span>CC: </span><span>linux-man@vger.kernel.org</span></p>
<p><span>(make sure that you are already subscribed to </span><span>linux-man@vger.kernel.org)</span></p>
<p><span>Then it is important to give the correct subject line. It gives the required importance to the patch. A wrong subject line could ruin to chances to mainline your patch . As I have previous experience with this mailing list, I chose the subject line:</span></p>
<p><span>[PATCH] mkdir.2: Add EMLINK error</span></p>
<p>Next important thing is what we should write in the mail. We should support our patch and show it&#8217;s importance. It should have the &#8220;Signed-off-by : Name &lt;mail id&gt; and properly placed patch along with the mail. Some groups will reject the patch right away if we attach the patch with the mail as a separate attachment.  So, observe the mailing list and then decide how to send the patch.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Dear Michael,</p>
<p>While executing the below given program in ext3 file system, I came<br />
across the EMLINK error in mkdir(2) syscall.</p>
<p># cat test_max_directories.c</p>
<p>#include &lt;stdio.h&gt;<br />
#include &lt;sys/stat.h&gt;<br />
#include &lt;fcntl.h&gt;<br />
#include &lt;stdlib.h&gt;<br />
#include &lt;errno.h&gt;</p>
<p>int main()<br />
{<br />
char dirname[50];<br />
int i;<br />
/* The max number of subdirectories in one directory for ext3 is 32000 */<br />
int limit = 32001;</p>
<p>for (i = 0; i &lt; limit; i++) {<br />
sprintf(dirname, &#8220;testdir%d&#8221;, i);<br />
if ((mkdir(dirname, 00777)) == -1) {<br />
perror(&#8220;Error in creating directory!&#8221;);<br />
printf(&#8220;errno = %d\n&#8221;, errno);<br />
exit(1);<br />
}<br />
}<br />
return 0;<br />
}</p>
<p># ./a.out<br />
Error in creating directory!: Too many links<br />
errno = 29</p>
<p>An strace of this execution shows that the mkdir(2) call generates an<br />
EMLINK error when it reaches the limit of  maximum number of sub<br />
directories in one directory</p>
<p>#strace ./a.out<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<div id=":s4">&#8212;&#8211;<br />
&#8230;..<br />
mkdir(&#8220;testdir31998&#8243;, 0777)             = -1 EMLINK (Too many links)<br />
dup(2)                                  = 3<br />
fcntl64(3, F_GETFL)                     = 0&#215;8002 (flags O_RDWR|O_LARGEFILE)<br />
brk(0)                                  = 0x804a000<br />
brk(0x806b000)                          = 0x806b000<br />
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), &#8230;}) = 0<br />
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,<br />
0) = 0xb7f71000<br />
_llseek(3, 0, 0xbffc3078, SEEK_CUR)     = -1 ESPIPE (Illegal seek)<br />
write(3, &#8220;Error in creating directory!: To&#8221;&#8230;, 45Error in creating<br />
directory!: Too many links<br />
) = 45<br />
close(3)                                = 0<br />
munmap(0xb7f71000, 4096)                = 0<br />
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), &#8230;}) = 0<br />
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,<br />
0) = 0xb7f71000<br />
write(1, &#8220;errno = 29\n&#8221;, 11errno = 29<br />
)            = 11<br />
exit_group(1)                           = ?<br />
Process 16246 detached<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>However, reference to EMLINK is not present in the mkdir(2) man page.<br />
The following patch adds the EMLINK error in the man page of mkdir(2).</p>
<p>Kindly let me know if there are any issues.</p>
<p>Best Regards,<br />
<span>Maxin</span> B. John<br />
<a href="../" target="_blank">www.maxinbjohn.info</a></p>
<p>Signed-off-by: <span>Maxin</span> B. John &lt;<a href="mailto:maxinbjohn@gmail.com">maxinbjohn@gmail.com</a>&gt;</p>
<p>&#8212;&#8212;-</p>
<p>diff &#8211;git a/man2/mkdir.2 b/man2/mkdir.2<br />
index e6cb28c..d01bafd 100644<br />
&#8212; a/man2/mkdir.2<br />
+++ b/man2/mkdir.2<br />
@@ -73,6 +73,10 @@ is a symbolic link, dangling or not.<br />
Too many symbolic links were encountered in resolving<br />
.IR pathname .<br />
.TP<br />
+.B EMLINK<br />
+The new directory cannot be created because the number of sub directories<br />
+in a directory is limited to LINK_MAX defined by the file system.<br />
+.TP<br />
.B ENAMETOOLONG<br />
.IR pathname &#8221; was too long.&#8221;<br />
.TP</p>
</div>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div>Next process is to follow it up. I got frustrated when nobody from the list replied to me about the patch for the next two days&#8230; So I have sent the follow up mail to the list as a reply to my first mail. All I wanted to show was that my patch was relevant.</div>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</div>
<div>Hi,</p>
<p>A quick google search shows that the sus v3 version of mkdir(2) has<br />
reference to EMLINK error</p>
<p><a href="http://www.opengroup.org/onlinepubs/000095399/functions/mkdir.html" target="_blank">http://www.opengroup.org/onlinepubs/000095399/functions/mkdir.html</a><br />
&#8221;<br />
[EMLINK]<br />
The link count of the parent directory would exceed {LINK_MAX}.<br />
&#8221;<br />
Please let me know your opinion on this.</p>
<p>Best Regards,<br />
<span>Maxin</span> B. John</p>
</div>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div>There were no replies even after 2 days of sending this mail also. So I just decided to ping the group. A mail as a reply to my previous mails just to let them know that I am waiting to know their opinion:</div>
<div>&#8212;&#8212;</div>
<div>ping &#8230;</div>
<div>&#8212;&#8212;</div>
<div>Finally I got this reply from Michael Kerrisk, the Linux Kernel Man pages maintainer:</div>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div>Hello <span>Maxin</span>,</p>
<div>
<div><span id="q_1297446f495bfa50_1">- Show quoted text -</span></div>
<div>On Mon, Jun 21, 2010 at 5:48 PM, <span>Maxin</span> John &lt;<a href="mailto:maxin.john@gmail.com"><span>maxin</span>.john@gmail.com</a>&gt; wrote:<br />
&gt; Dear Michael,<br />
&#8230;..</div>
</div>
</div>
<div>Thanks for the very precise and well supported bug report!</p>
<p>Yes, the page should be fixed. &#8230;..</p>
</div>
<div>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</div>
<div>Bingo.. they accepted the patch, with some modifications though&#8230; <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<div>Links:</div>
<div>http://permalink.gmane.org/gmane.linux.man/1484</div>
<div>http://permalink.gmane.org/gmane.linux.man/1471</div>
<div>http://permalink.gmane.org/gmane.linux.man/1478</div>
<div>http://permalink.gmane.org/gmane.linux.man/1483</div>
<div>Come, be a man &#8230; Submit some kernel man page patches <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2010/06/26/be-a-man-submit-a-man-page-patch-today/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>webm support for mplayer in Ubuntu</title>
		<link>http://www.maxinbjohn.info/2010/05/26/webm-support-for-mplayer-in-ubuntu/</link>
		<comments>http://www.maxinbjohn.info/2010/05/26/webm-support-for-mplayer-in-ubuntu/#comments</comments>
		<pubDate>Wed, 26 May 2010 23:07:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=3207190</guid>
		<description><![CDATA[Today, I have read the blog of Praveen (http://www.j4v4m4n.in/2010/05/26/webm-support-for-fedora-13/) about how he added support for webm in Fedora13 (for ffmpeg).  Though I heard about Google releasing VP8 codec as Free Software, I never thought of downloading a .webm file( What&#8217;s the use of it , if you can&#8217;t play it ). However, after downloading the [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I have read the blog of Praveen (http://www.j4v4m4n.in/2010/05/26/webm-support-for-fedora-13/) about how he added support for webm in Fedora13 (for ffmpeg).  Though I heard about Google releasing VP8 codec as Free Software, I never thought of downloading a .webm file( What&#8217;s the use of it , if you can&#8217;t play it <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). However, after downloading the &#8216;bigbrotherstate.webm&#8221; file from Praveen&#8217;s blog, I have tried to play it in my favorite media player, &#8216;mplayer&#8217; and failed.</p>
<p>maxin@maxin-laptop:~$ mplayer /home/maxin/Downloads/bigbrotherstate.webm<br />
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team<br />
mplayer: could not connect to socket<br />
mplayer: No such file or directory<br />
Failed to open LIRC support. You will not be able to use your remote control.<br />
Playing /home/maxin/Downloads/bigbrotherstate.webm.</p>
<p>Exiting&#8230; (End of file)</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Then I started my night long effort by tinkering with the mplayer source and VP8 patches and finally made it working in Ubuntu Linux.</p>
<p>Mplayer playing the &#8220;bigbrotherstate.webm&#8221;</p>
<div class="wp-caption alignnone" style="width: 810px"><img title="Webm support for mplayer" src="http://lh4.ggpht.com/_DtRSFn688VA/S_2njeNlMmI/AAAAAAAACN0/CdH6dk4ckKA/s800/webm_mplayer.png" alt="webm in mplayer" width="800" height="500" /><p class="wp-caption-text">webm in mplayer</p></div>
<p>I have created a log file for this activity: Here it goes:</p>
<p>As per the project (http://www.webmproject.org/code/build-prerequisites/), the VP8 Codec SDK (libvpx) has build dependency on Yasm assember for optimized building on x86 (32 and 64 bit).</p>
<p>At first, get the Yasm assembler from (http://www.tortall.net/projects/yasm/wiki/Download)</p>
<p>wget http://www.tortall.net/projects/yasm/releases/yasm-1.0.1.tar.gz<br />
tar zxvf yasm-1.0.1.tar.gz<br />
cd yasm-1.0.1<br />
./configure<br />
make<br />
sudo make install</p>
<p>Now, go for the libvpx and build it.We can download the libvpx source from webm project page:http://code.google.com/p/webm/</p>
<p>wget http://code.google.com/p/webm/downloads/detail?name=libvpx-0.9.0.tar.bz2<br />
tar jxvf libvpx-0.9.0.tar.bz2<br />
cd libvpx-0.9.0<br />
./configure<br />
make<br />
sudo make install</p>
<p>There comes the mammoth task of downloading the patches for adding webm support to mplayer :mplayer-vp8-encdec-support-r1.tar.bz2</p>
<p>wget http://code.google.com/p/webm/downloads/detail?name=mplayer-vp8-encdec-support-r2.tar.bz2</p>
<p>tar jxvf mplayer-vp8-encdec-support-r1.tar.bz2</p>
<p>ls<br />
allcodecs-register_VP8.diff<br />
avcodec-AVCodecContext_add_VP8_specifics.diff<br />
avcodec-minor_version_bump.diff<br />
avcodec-VP8_CODEC_ID.diff<br />
avformat-minor_version_bump.diff<br />
ffmpeg-only<br />
libavcodec-build_VP8.diff<br />
libavcodec-new_options.diff<br />
libvpxdec.diff<br />
libvpxenc.diff<br />
Makefile-avcodec-add_webm_demux.diff<br />
Makefile-avformat-add_webm_demux.diff<br />
matroska-add_V_VP8.diff<br />
matroskadec-add_webm.diff<br />
matroskaenc-add_webm.diff<br />
mplayer-only<br />
riff-VP80_fourcc.diff</p>
<p>Hmm.. a number of files to fight with <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyways, get the latest mplayer source:<br />
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer</p>
<p>cd mplayer<br />
patch -p1 &lt;../../mplayer-vp8-encdec-support/libvpxdec.diff<br />
patching file libvpxdec.c</p>
<p>Index: allcodecs.c<br />
===================================================================<br />
&#8212; allcodecs.c    (revision 23341)<br />
+++ allcodecs.c    (working copy)<br />
@@ -349,6 +349,7 @@<br />
REGISTER_DECODER (LIBSPEEX, libspeex);<br />
REGISTER_ENCODER (LIBTHEORA, libtheora);<br />
REGISTER_ENCODER (LIBVORBIS, libvorbis);<br />
+    REGISTER_ENCDEC  (LIBVPX_VP8, libvpx_vp8);<br />
REGISTER_DECODER (LIBVPX, libvpx);<br />
REGISTER_ENCODER (LIBX264, libx264);<br />
REGISTER_ENCODER (LIBXVID, libxvid);</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavcodec$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/libavcodec-new_options.diff<br />
patching file options.c</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavcodec$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/libvpxenc.diff<br />
patching file libvpxenc.c</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavcodec$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/libvpxenc.diff<br />
patching file libvpxenc.c</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavcodec$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/Makefile-avcodec-add_webm_demux.diff<br />
patching file Makefile<br />
Hunk #1 succeeded at 512 with fuzz 1 (offset 14 lines).</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavformat$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/Makefile-avformat-add_webm_demux.diff<br />
patching file Makefile<br />
Hunk #1 succeeded at 257 (offset 2 lines).</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavformat$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/Makefile-avformat-add_webm_demux.diff<br />
patching file Makefile<br />
Hunk #1 succeeded at 257 (offset 2 lines).</p>
<p>Index: matroskadec.c<br />
===================================================================<br />
&#8212; matroskadec.c    (revision 23341)<br />
+++ matroskadec.c    (working copy)<br />
@@ -36,7 +36,9 @@<br />
#include &#8220;isom.h&#8221;<br />
#include &#8220;rm.h&#8221;<br />
#include &#8220;matroska.h&#8221;<br />
-#include &#8220;libavcodec/mpeg4audio.h&#8221;<br />
+#if CONFIG_MATROSKA_DEMUXER<br />
+ #include &#8220;libavcodec/mpeg4audio.h&#8221;<br />
+#endif<br />
#include &#8220;libavutil/intfloat_readwrite.h&#8221;<br />
#include &#8220;libavutil/intreadwrite.h&#8221;<br />
#include &#8220;libavutil/avstring.h&#8221;<br />
@@ -824,7 +826,7 @@<br />
/*<br />
* Autodetecting&#8230;<br />
*/<br />
-static int matroska_probe(AVProbeData *p)<br />
+static int ebml_probe(AVProbeData *p, const char probe_data[], const int probe_data_size)<br />
{<br />
uint64_t total = 0;<br />
int len_mask = 0&#215;80, size = 1, n = 1, i;<br />
@@ -848,15 +850,13 @@<br />
/* Does the probe data contain the whole header? */<br />
if (p-&gt;buf_size &lt; 4 + size + total)<br />
return 0;<br />
-<br />
-    /* The header should contain a known document type. For now,<br />
-     * we don&#8217;t parse the whole header but simply check for the<br />
-     * availability of that array of characters inside the header.<br />
-     * Not fully fool-proof, but good enough. */<br />
-    for (i = 0; i &lt; FF_ARRAY_ELEMS(matroska_doctypes); i++) {<br />
-        int probelen = strlen(matroska_doctypes[i]);<br />
-        for (n = 4+size; n &lt;= 4+size+total-probelen; n++)<br />
-            if (!memcmp(p-&gt;buf+n, matroska_doctypes[i], probelen))<br />
+    /* The header must contain the document type from the demuxer<br />
+     * specific probe function. For now, we don&#8217;t parse the whole<br />
+     * header but simply check for the availability of that array<br />
+     * of characters inside the header. Not fully fool-proof, but<br />
+     * good enough. */<br />
+     for (n = 4+size; n &lt;= 4+size+total-(probe_data_size-1); n++)<br />
+        if (!memcmp(p-&gt;buf+n, probe_data, probe_data_size-1))<br />
return AVPROBE_SCORE_MAX;<br />
}</p>
<p>@@ -864,6 +864,23 @@<br />
return AVPROBE_SCORE_MAX/2;<br />
}</p>
<p>+/*<br />
+ * Autodetecting&#8230;<br />
+ */<br />
+static int matroska_probe(AVProbeData *p)<br />
+{<br />
+    static const char probe_data[] = &#8220;matroska&#8221;;<br />
+    return ebml_probe(p, probe_data, sizeof(probe_data));<br />
+}<br />
+#if CONFIG_WEBM_DEMUXER<br />
+static int webm_probe(AVProbeData *p)<br />
+{<br />
+    static const char probe_data[] = &#8220;webm&#8221;;<br />
+    return ebml_probe(p, probe_data, sizeof(probe_data));<br />
+}<br />
+#endif<br />
+<br />
+<br />
static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska,<br />
int num)<br />
{<br />
@@ -1117,11 +1134,12 @@</p>
<p>static int matroska_aac_sri(int samplerate)<br />
{<br />
-    int sri;<br />
-<br />
+    int sri = 0;<br />
+#if CONFIG_MATROSKA_DEMUXER<br />
for (sri=0; sri&lt;FF_ARRAY_ELEMS(ff_mpeg4audio_sample_rates); sri++)<br />
if (ff_mpeg4audio_sample_rates[sri] == samplerate)<br />
break;<br />
+#endif<br />
return sri;<br />
}</p>
<p>@@ -1146,6 +1164,7 @@<br />
/* First read the EBML header. */<br />
if (ebml_parse(matroska, ebml_syntax, &amp;ebml)<br />
|| ebml.version &gt; EBML_VERSION       || ebml.max_size &gt; sizeof(uint64_t)<br />
+        || strcmp(ebml.doctype, s-&gt;iformat-&gt;name)<br />
|| ebml.id_length &gt; sizeof(uint32_t) || ebml.doctype_version &gt; 2) {<br />
av_log(matroska-&gt;ctx, AV_LOG_ERROR,<br />
&#8220;EBML header using unsupported features\n&#8221;<br />
@@ -1274,11 +1293,13 @@<br />
ff_get_wav_header(&amp;b, st-&gt;codec, track-&gt;codec_priv.size);<br />
codec_id = st-&gt;codec-&gt;codec_id;<br />
extradata_offset = FFMIN(track-&gt;codec_priv.size, 18);<br />
+#if CONFIG_MATROSKA_DEMUXER<br />
} else if (!strcmp(track-&gt;codec_id, &#8220;V_QUICKTIME&#8221;)<br />
&amp;&amp; (track-&gt;codec_priv.size &gt;= 86)<br />
&amp;&amp; (track-&gt;codec_priv.data != NULL)) {<br />
track-&gt;video.fourcc = AV_RL32(track-&gt;codec_priv.data);<br />
codec_id=ff_codec_get_id(codec_movvideo_tags, track-&gt;video.fourcc);<br />
+#endif<br />
} else if (codec_id == CODEC_ID_PCM_S16BE) {<br />
switch (track-&gt;audio.bitdepth) {<br />
case  8:  codec_id = CODEC_ID_PCM_U8;     break;<br />
@@ -1881,6 +1902,7 @@<br />
return 0;<br />
}</p>
<p>+#if CONFIG_MATROSKA_DEMUXER<br />
AVInputFormat matroska_demuxer = {<br />
&#8220;matroska&#8221;,<br />
NULL_IF_CONFIG_SMALL(&#8220;Matroska file format&#8221;),<br />
@@ -1892,3 +1914,19 @@<br />
matroska_read_seek,<br />
.metadata_conv = ff_mkv_metadata_conv,<br />
};<br />
+#endif<br />
+<br />
+#if CONFIG_WEBM_DEMUXER<br />
+AVInputFormat webm_demuxer = {<br />
+    &#8220;webm&#8221;,<br />
+    NULL_IF_CONFIG_SMALL(&#8220;WebM file format&#8221;),<br />
+    sizeof(MatroskaDemuxContext),<br />
+    webm_probe,<br />
+    matroska_read_header,<br />
+    matroska_read_packet,<br />
+    matroska_read_close,<br />
+    matroska_read_seek,<br />
+    .metadata_conv = ff_mkv_metadata_conv,<br />
+};<br />
+#endif<br />
+</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>No need to apply riff patch:<br />
XXXX patch -p1 &lt; ../../../mplayer-vp8-encdec-support/riff-VP80_fourcc.diff</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/etc$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/mplayer-only/codecs_conf-VP8.diff<br />
patching file codecs.conf<br />
Hunk #1 succeeded at 2183 with fuzz 2 (offset 241 lines).</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libmpdemux$ patch -p1 &lt; ../../../mplayer-vp8-encdec-support/mplayer-only/demux_mkv-V_VP8__webm_doctype.diff<br />
patching file demux_mkv.c<br />
patching file matroska.h</p>
<p>maxin@maxin-laptop:~/Downloads/mplayer/svn/mplayer/libavcodec$ patch -p1 &lt;../../../mplayer-vp8-encdec-support/avcodec-AVCodecContext_add_VP8_specifics.diff<br />
patching file avcodec.h<br />
Hunk #1 succeeded at 2665 (offset 6 lines).</p>
<p>Index: configure<br />
===================================================================<br />
&#8212; configure    (revision 31226)<br />
+++ configure    (working copy)<br />
@@ -300,6 +300,7 @@<br />
&#8211;disable-libschroedinger-lavc   disable Dirac in libavcodec (Schroedinger<br />
decoder) [autodetect]<br />
&#8211;disable-libvpx-lavc     disable libvpx in libavcodec [autodetect]<br />
+  &#8211;disable-libvpx-vp8-lavc disable VP8 in libavcodec [autodetect]<br />
&#8211;disable-libnut          disable libnut [autodetect]<br />
&#8211;disable-libavutil_a     disable static libavutil [autodetect]<br />
&#8211;disable-libavcodec_a    disable static libavcodec [autodetect]<br />
@@ -695,6 +696,7 @@<br />
_libdirac_lavc=auto<br />
_libschroedinger_lavc=auto<br />
_libvpx_lavc=auto<br />
+_libvpx_vp8_lavc=auto<br />
_libnut=auto<br />
_lirc=auto<br />
_lircc=auto<br />
@@ -1141,6 +1143,8 @@<br />
&#8211;disable-libschroedinger-lavc)  _libschroedinger_lavc=no   ;;<br />
&#8211;enable-libvpx-lavc)   _libvpx_lavc=yes  ;;<br />
&#8211;disable-libvpx-lavc)  _libvpx_lavc=no   ;;<br />
+  &#8211;enable-libvpx-vp8-lavc)   _libvpx_vp8_lavc=yes  ;;<br />
+  &#8211;disable-libvpx-vp8-lavc)  _libvpx_vp8_lavc=no   ;;<br />
&#8211;enable-libnut)      _libnut=yes     ;;<br />
&#8211;disable-libnut)     _libnut=no      ;;<br />
&#8211;enable-libavutil_a)         _libavutil_a=yes        ;;<br />
@@ -7624,6 +7628,45 @@<br />
fi<br />
echores &#8220;$_libvpx_lavc&#8221;</p>
<p>+<br />
+echocheck &#8220;libvpx_vp8&#8243;<br />
+if test &#8220;$_libvpx_vp8_lavc&#8221; = auto; then<br />
+  _libvpx_vp8_lavc=no<br />
+  if test &#8220;$_libavcodec_a&#8221; != yes; then<br />
+    res_comment=&#8221;libavcodec (static) is required by libvpx_vp8, sorry&#8221;<br />
+  else<br />
+    cat &gt; $TMPC &lt;&lt; EOF<br />
+#define HAVE_STDINT_H 1<br />
+#include &lt;vpx/vpx_decoder.h&gt;<br />
+#include &lt;vpx/vp8dx.h&gt;<br />
+#include &lt;vpx/vpx_encoder.h&gt;<br />
+#include &lt;vpx/vp8cx.h&gt;<br />
+int main(void)<br />
+{<br />
+    vpx_codec_dec_init(NULL,&amp;vpx_codec_vp8_dx_algo,NULL,0);<br />
+    vpx_codec_enc_init(NULL,&amp;vpx_codec_vp8_cx_algo,NULL,0);<br />
+    return 0;<br />
+}<br />
+EOF<br />
+    _inc_vpx_vp8=<br />
+    _ld_vpx_vp8=-lvpx<br />
+    cc_check $_inc_vpx_vp8 $_ld_vpx_vp8        &amp;&amp;<br />
+    _libvpx_vp8_lavc=yes                       &amp;&amp;<br />
+    extra_cflags=&#8221;$extra_cflags $_inc_vpx_vp8&#8243; &amp;&amp;<br />
+    extra_ldflags=&#8221;$extra_ldflags $_ld_vpx_vp8&#8243;<br />
+  fi<br />
+fi<br />
+if test &#8220;$_libvpx_vp8_lavc&#8221; = yes ; then<br />
+  def_libvpx_vp8_lavc=&#8217;#define CONFIG_LIBVPX_VP8 1&#8242;<br />
+  _libavencoders=&#8221;$_libavencoders LIBVPX_VP8_ENCODER&#8221;<br />
+  _libavdecoders=&#8221;$_libavdecoders LIBVPX_VP8_DECODER&#8221;<br />
+  codecmodules=&#8221;libvpx_vp8 $codecmodules&#8221;<br />
+else<br />
+  def_libvpx_vp8_lavc=&#8217;#define CONFIG_LIBVPX_VP8 0&#8242;<br />
+  nocodecmodules=&#8221;libvpx_vp8 $nocodecmodules&#8221;<br />
+fi<br />
+echores &#8220;$_libvpx_vp8_lavc&#8221;<br />
+<br />
echocheck &#8220;libnut&#8221;<br />
if test &#8220;$_libnut&#8221; = auto ; then<br />
cat &gt; $TMPC &lt;&lt; EOF</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Now Compile mplayer:</p>
<p>./configure  &#8211;enable-libvpx-vp8-lavc<br />
make</p>
<p>Finally&#8230; after 5 hours of fight with the includer files and Makefiles and modifying some files (sorry.. in half sleep), I got .webm support working with mplayer&#8230;</p>
<p>Now, my newly built mplayer can play .webm files.. Yooo.. hoooo&#8230;</p>
<p>Thanks to Praveen for inspiration and .webm file.</p>
<p>Finally, see mplayer in action.<br />
./mplayer /home/maxin/Downloads/bigbrotherstate.webm</p>
<p>Hoping to submit the modified patches after re-creating the patches against the latest mplayer source code from SVN.  I will be pushing the modified source code to my blog-site.</p>
<p>Update: The modified tar file is available under the following URL:</p>
<p>http://rapidshare.com/files/398835122/mplayer-with-webm.tar.gz.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2010/05/26/webm-support-for-mplayer-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Humor :) from THE CHURCH OF EMACS</title>
		<link>http://www.maxinbjohn.info/2010/04/28/humor-from-the-church-of-emacs/</link>
		<comments>http://www.maxinbjohn.info/2010/04/28/humor-from-the-church-of-emacs/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 11:10:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=3207183</guid>
		<description><![CDATA[Most of  us believe that the people who follow THE CHURCH OF EMACS are very serious guys with little sense of humor. That&#8217;s not true &#8230; Just follow this URL for some serious techie FUN : http://www.gnu.org/fun For example, when you run command in Linux: $ ^How did the sex change^ operation go? -bash: :s^How [...]]]></description>
			<content:encoded><![CDATA[<p>Most of  us believe that the people who follow THE CHURCH OF EMACS are very serious guys with little sense of humor. That&#8217;s not true &#8230; Just follow this URL for some serious techie FUN :</p>
<p>http://www.gnu.org/fun</p>
<p>For example, when you run command in Linux:</p>
<p>$ ^How did the sex change^ operation go?<br />
-bash: :s^How did the sex change^ operation go?: <strong>substitution failed</strong></p>
<p>$ [ Where is Bill G?<br />
-bash: [: missing `]&#8216;</p>
<p>(&#8230; from : http://www.gnu.org/fun/jokes/unix.errors.html )</p>
<p>Now it&#8217;s a fashion to attack the church. I do enjoy it too <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>x&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;x</p>
<p>/*  One sample GPL v3 licensed joke. I swear that it&#8217;s not created by me */</p>
<h3>Hierarchy of the Church</h3>
<ol>
<li>GODS — Creates Free ideas, software and hardware from emptiness and likes to be flattered through prayers.</li>
<li>DEMIGODS — Capable of proving that NP problems and P problems are the same (NP=P), writes free software for to prove it and tries to alleviate the bullying nature of GODS by distributing the ideas of GODS freely.  They still insist on flattering GODS through prayers and defends the bullying of GODS.</li>
<li>SAINTS — Writes Free software using Free software tools.</li>
<li>SEMI SAINTS — Use lots of Free software and believes in the church of EMACS but signed NDAs or agreed to proprietary software licenses.</li>
<li>PROPHETS — selected by ALMIGHTY (One of the GODS) to reveal his thoughts about humanity.</li>
<li>LAITY — does not care about NDAs or proprietary software licenses but runs after BUZZWORDS to show that he is capable of grasping BUZZWORDS.</li>
<li>Sinners — Insist on using devil&#8217;s software, believing that it is of superior quality.</li>
<li>Devils — Creating NDAs and proprietory software licenses to entangle humanity in their net</li>
</ol>
<h4>Examples of Devils</h4>
<p>Evil Empire: Microsoft</p>
<p>Lucifer: Bill Gates</p>
<p>Evil Countries: SUN, HP, ORACLE, etc.</p>
<p>Other major Devil leaders: Scott Mcnalley, Larry Ellison, etc.</p>
<h3>CONFESSION AND REPENTANCE</h3>
<p>Please take some time to think about yourself.  You can repent and confess at any time by visiting our <a href="http://donate.fsf.org/"> CONFESSION CENTER</a> which is open 7 days a week, 24 hours a day.</p>
<p>Rules for repentance (This is the only important principle of THE CHURCH OF EMACS):</p>
<ol>
<li>$10 for each invocation of a proprietory licensed software.</li>
<li>$1000 for each NDA you signed.</li>
<li>$10000 for each NDA you participated in creating.</li>
<li>$10000000 for each NDA you wrote.</li>
<li>$100 for each proprietary software license you agreed to.</li>
<li>$1000 for each proprietary software license you participated in creating.</li>
<li>$10000 for each proprietary software license you are responsible for writing.</li>
<li>All your sins will be forgiven if you develop a major new Free software package.</li>
</ol>
<p>Warning: Taking THE CHURCH OF EMACS seriously is hazardous to your health; especially MENTAL HEALTH.</p>
<p>x&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-x</p>
<p>+  Some  Hello World C codes ( Side effect of reading &#8220;Deep C Secrets&#8221;):</p>
<p>0. ifelse1.c</p>
<p>#include &lt;stdio.h&gt;<br />
#include &lt;setjmp.h&gt;</p>
<p>jmp_buf buf;</p>
<p>int main()<br />
{</p>
<p>if (setjmp(buf)) {<br />
printf(&#8221; World\n&#8221;);<br />
return 0;<br />
} else {<br />
printf(&#8220;Hello&#8221;);<br />
longjmp(buf, 1);<br />
}<br />
}</p>
<p>1. ifelse2.c</p>
<p>#include &lt;stdio.h&gt;</p>
<p>int main()<br />
{<br />
if (printf(&#8220;Hello&#8221;) == 0) {<br />
} else<br />
printf(&#8221; World \n&#8221;);<br />
return 0;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2010/04/28/humor-from-the-church-of-emacs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>902 people downloaded &#8220;ChickenWarrior&#8221; : my first Mobile game</title>
		<link>http://www.maxinbjohn.info/2010/03/30/902-people-downloaded-chickenwarrior-my-first-mobile-game/</link>
		<comments>http://www.maxinbjohn.info/2010/03/30/902-people-downloaded-chickenwarrior-my-first-mobile-game/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 06:52:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=3207179</guid>
		<description><![CDATA[Today, I have visited the &#8220;ChickenWarrior&#8221; game page in Betavine: http://www.betavine.net/bvportal/application/ChickenWarrior/index.html I was amazed to see the number of downloads for that silly simple game: 902  Now, I really feel sad for what I have done. I just created a small game like program for my K300i mobile out of curiosity. All it did was [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I have visited the &#8220;ChickenWarrior&#8221; game page in Betavine: <a href="http://www.betavine.net/bvportal/application/ChickenWarrior/index.html">http://www.betavine.net/bvportal/application/ChickenWarrior/index.html</a></p>
<p>I was amazed to see the number of downloads for that silly simple game: 902</p>
<p> Now, I really feel sad for what I have done. I just created a small game like program for my K300i mobile out of curiosity. All it did was just added some chunk of code to move the half baked images across the phone and a bit of collission detection code as part of game&#8217;s logic. I didn&#8217;t even added the code to show the score at the end. All I wanted was just to prove that we can do some game programming in GNU/Linux for our dearest Mobile Phones.  After that, I have never looked into that code again and never even thought of improving the game (images and code quality).</p>
<p>The source code of the game is available in Google Code. <a href="http://code.google.com/p/chickenwarrior/">http://code.google.com/p/chickenwarrior/</a></p>
<p>Today I feel guilty for publishing a half baked game.  But on the other hand, I did what I felt right that time.. &#8221; Release early Release often!!&#8221; : One of the principles of Free Software Movement. I have done the first part right: I released it early.. after that I haven&#8217;t followed it&#8230; I haven&#8217;t released even it&#8217;s next version.</p>
<p>I can&#8217;t blame anybody else but myself. I dreamt of a number of applications on Mobile Phones. I will be coding it in the near future .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2010/03/30/902-people-downloaded-chickenwarrior-my-first-mobile-game/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t you have mother and sisters ? Moron !!!</title>
		<link>http://www.maxinbjohn.info/2010/03/09/dont-you-have-mother-and-sisters-moron/</link>
		<comments>http://www.maxinbjohn.info/2010/03/09/dont-you-have-mother-and-sisters-moron/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 20:20:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=91</guid>
		<description><![CDATA[Year 2008&#8230; In one fine morning, I received a mail from my manager in Sony, informing that, I will be visiting Sony Headquarters, Minato, Tokyo, Japan. I will be visiting japan along with the list of people given below: 1. Satheesh-san (Senior manager) 2. Sonali-san (Senior Engineer) 3. Saneesh-san (Engineer) blah&#8230; blah.. Stay will be [...]]]></description>
			<content:encoded><![CDATA[<p>Year 2008&#8230;</p>
<p>In one fine morning, I received a mail from my manager in Sony, informing that, I will be visiting Sony Headquarters, Minato, Tokyo, Japan. I will be visiting japan along with the list of people given below:</p>
<p>1. Satheesh-san (Senior manager)</p>
<p>2. Sonali-san (Senior Engineer)</p>
<p>3. Saneesh-san (Engineer)</p>
<p>blah&#8230; blah..</p>
<p>Stay will be arranged in Shinagawa Prince Hotel , Tokyo .. aaha..!!!</p>
<p>I have started the epic journey from Bangalore Airport. This time, transit was in Hong Kong International Airport, one of the best in the world. In my previous journey, transit was in Singapore. So, I was pretty excited about visiting each and every part of the Hong Kong Airport. After that, we have reached Narita Airport (Tokyo International Airport) in time and reached the Prince Hotel in &#8220;Airport Limousine&#8221;: It&#8217;s just a bus , nothing to do with limousine cars <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>After attending the amazing annual International technology exhibition of Sony in it&#8217;s headquarters and some presentations in Osaki gate city office, we started our journey back to India. This time, Saneesh-san had some more activities to be completed on Sony Erickson office. So, me, Sonali-san and Satheesh-san started our journey to India.</p>
<p>In the way back, during transit at Hong Kong Airport, Sonali-san made a shocking discovery. While waiting for the HongKong -&gt; Bangalore flight in Airport, she thought she lost her credit card. Though I tried to convince her that she might have kept the credit card  in one of those big suitcases, she started weeping.In my broken Hindi, I tried my level best to console her.</p>
<p>HongKong: The land of Jackie Chan&#8230; All those people, who are sitting besides me and whoever walking near to us were thinking something else <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .. For them, a lady is crying and a guy is sitting near to her.. both talking in a &#8220;pre historic language&#8221; . What he might have done .. All those eyes were asking the same question &#8221; Don&#8217;t you have mother and sisters ? Moron !!!&#8221;</p>
<p>Sonali-san kept on weeping without interruption. Though I am an atheist, this situation demanded the help of gods. My mind started the process of optimally selecting the &#8220;God&#8221; who fits for this situation.</p>
<p>1. Ganapathy : Rejected.. No&#8230;no.. noo&#8230; I haven&#8217;t started anything new</p>
<p>2. Sri Krishna: Rejected.. No no.. I am not dealing with a number of women</p>
<p>3. Allah : Rejected.. No.. It&#8217;s not safe to think about Allah during international travel.. Learn from Shah Rukh Khan</p>
<p>4. Holy Spirit :  Rejected.. No.. though there are a number of &#8220;Duty Free&#8221; Alcohol shops</p>
<p>5. Jesus:  Perfect fit&#8230; here, I am crucified for something that I haven&#8217;t done..</p>
<p>One quick idea from God: I have opened my Laptop, booted it and asked Sonali-san to chat with her brother. Luckily, he had the contact number of Bank and along with the necessary details of her card. He made the necessary steps which was just enough to cheer up the weeping girl.</p>
<p><a class="alignleft" title="Hong Kong International Airport" href="http://picasaweb.google.co.in/maxinbjohn/HongKongInternationAirport#" target="_blank">Based on a real story:</a></p>
<p>Only Jesus saves.. Everyone else make backups <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2010/03/09/dont-you-have-mother-and-sisters-moron/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Oscar, Hollywood and my memory lane</title>
		<link>http://www.maxinbjohn.info/2010/03/09/oscar-hollywood-and-my-memory-lane/</link>
		<comments>http://www.maxinbjohn.info/2010/03/09/oscar-hollywood-and-my-memory-lane/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 18:20:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=87</guid>
		<description><![CDATA[sony, Hiromi Nishiyama, IMDB]]></description>
			<content:encoded><![CDATA[<p>Yesterday night, before sleeping, I thought about the Oscar award night. Watching Hollywood movies was one of my hobbies and I almost never missed a chance for that. My father , who was also a fan of movies, used to take me to watch English Movies in &#8220;Priya&#8221;, the first 70MM theater in Kollam (now , Dhanya Theater, part of Muthoot group). That relationship made me a fan of Oscars and I almost never missed the chance to watch the award night ceremonies.</p>
<p>Most of the times, I found joy in finding out the &#8220;original&#8221; hollywood movie behind the Malayalam/Tamil/Hindi Movies. Whenever I got an opportunity to talk about Movies, I found pride in preaching about &#8220;the magic in Hollywood&#8221;. I thought of me as a man who knows too much about Hollywood movies and most of the times, that arrogance was visible in my talks. All those thoughts were about to change when I joined Sony&#8230;.</p>
<p>When I joined Sony India, our office was in Maruti Infotech Centre, Domlur in Bangalore. It was a nice place and the Linux Project group was a small group of amazing people with deep knowledge in Linux. In my work place , cubicles were more or less open. I was sitting near to 3 ladies :</p>
<p>1. Miki &#8211; san: Our Japanese teacher who was born in First November (never ask the year, she insists <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ), which happen to be my birthday also.</p>
<p>2. Gayathri-san : My team mate and she is from the most dangerous place in kerala known as Kannur <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>3. Hiromi -san:  A devotee of Satya Sai Baba and a good friend to us all</p>
<p>Most of the ladies from Kannur knows &#8220;Kalarippayattu&#8221;: A traditional martial art in Kerala. For the Japanese people, it is part of their curriculum to learn Martial arts. This situation demanded me to concentrate on my work mostly because of the following reasons:</p>
<p>1. I don&#8217;t know any form of martial arts</p>
<p>2. I would love to be in a normal shape</p>
<p>However, I couldn&#8217;t control the tendency to boast about my &#8220;deep&#8221; knowledge in English movies. In most of the tea times, I used to talk about the movies that I have watched.. the &#8220;inspiration&#8221; behind the local movies.. etc.. etc..</p>
<p>Once, I happen to talk about the English movies in my cubicle also. I found myself intellectually superior when I talked about various Hollywood movies and how the actors performed in those movies. With ever growing curiosity about Japanese culture and people, I have voiced my question : &#8220;Hiromi san, do you watch English movies ? &#8221;</p>
<p>She smiled and after some seconds of silence, she said:</p>
<p>&#8220;<strong>Yes, I do, Maxin-san. In fact, I have acted in a number of Hollywood Movies&#8221; </strong></p>
<p>That was a great surprise for me and I couldn&#8217;t speak for some time. My colleague, who sits besides me, is a famous Heroine in Hollywood and also in Japan.</p>
<p>Hiromi Nishiyama : http://www.imdb.com/name/nm1036751/</p>
<p>Hiromi-san&#8217;s famous movies includes &#8220;1st Testament CIA Vengeance&#8221;, &#8220;Soap girl&#8221; ,&#8230;etc. Hiromi-san&#8217;s mother is  a famous Movie director in Japan .Last year, Malayala Manorama news paper has reported about  Hiromi-san and her mother&#8217;s visit to Kerala.</p>
<p>Now, I no longer work for Sony. But I got an opportunity to work with a group of amazingly talented people. I will never forget those people in my life.</p>
<p>Finally, Dear friend, don&#8217;t boast.. Just shut up and code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2010/03/09/oscar-hollywood-and-my-memory-lane/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Customizing the Opensuse 11.2 on my Compaq presario Laptop</title>
		<link>http://www.maxinbjohn.info/2009/12/20/customizing-the-opensuse-11-2-on-my-compaq-presario-laptop/</link>
		<comments>http://www.maxinbjohn.info/2009/12/20/customizing-the-opensuse-11-2-on-my-compaq-presario-laptop/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 19:08:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=81</guid>
		<description><![CDATA[I was sort of happy with my Debian lenny installation in my laptop. However, the time taken for booting the machine was slightly higher (specially when I set the wlan on dhcp). So, for a change, I have switched to Opensuse 11.2 today. Till now , everything goes well. Opensuse 11.2 boots in a minute [...]]]></description>
			<content:encoded><![CDATA[<p>I was sort of happy with my Debian lenny installation in my laptop. However, the time taken for booting the machine was slightly higher (specially when I set the wlan on dhcp). So, for a change, I have switched to Opensuse 11.2 today. Till now , everything goes well.</p>
<p>Opensuse 11.2 boots in a minute and almost everything is up now. One of the interesting commands specific to opensuse is zypper. It is equivalent to the &#8216;apt-get&#8217; in debian.</p>
<p>maxin@linux-fqsa:~/Documents&gt; zypper search vim<br />
Reading installed packages&#8230;</p>
<p>S | Name                   | Summary                                | Type<br />
&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8211;<br />
| avimanager             | Manage your (large) movie (DVD,DivX,-&gt; | package<br />
| avimanager             | Manage your (large) movie (DVD,DivX,-&gt; | srcpackage<br />
| gvim                   | A GUI for Vi                           | package<br />
| gvim-debuginfo         | Debug information for package gvim     | package<br />
| supercollider-vim      | SuperCollider support for Vim          | package<br />
i | vim                    | Vi IMproved                            | package<br />
| vim                    | Vi IMproved                            | srcpackage<br />
i | vim-base               | Vi IMproved                            | package<br />
| vim-base-debuginfo     | Debug information for package vim-base | package<br />
i | vim-data               | Vi IMproved                            | package<br />
| vim-debuginfo          | Debug information for package vim      | package<br />
| vim-debugsource        | Debug sources for package vim          | package<br />
| vim-enhanced           | A version of the VIM editor which in-&gt; | package<br />
| vim-enhanced-debuginfo | Debug information for package vim-en-&gt; | package<br />
| vim-plugin-devhelp     | Developer&#8217;s Help Program for GNOME     | package</p>
<p>After copying the firmware for Broadcom BCM4311 802.11b/g WLAN , the wireless lan is working and I am able to connect to the internet.</p>
<p>One of the annoying thing about opensuse was the absence of mplayer or vlc player with the installation media itself. We need to setup the players and resolve the dependencies by ourselves as described in this URL:</p>
<p>http://www.susegeek.com/media-player/install-configure-mplayer-free-opensource-media-player-in-opensuse/</p>
<p>Since, I wanted to wash my clothes, I have decided to go with the easiest way (can&#8217;t think of spending time for a generic application like Mplayer after using debian (apt-get) for a long time).</p>
<p>The mplayer installation steps in Opensuse 11.2 is as listed below:</p>
<p>sudo zypper ar http://packman.iu-bremen.de/suse/11.2 mplayer</p>
<p>sudo zypper mr -r mplayer</p>
<p>sudo zypper in mplayer</p>
<p>Well done ! &#8230; It&#8217;s done <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_83" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-83" title="mplayer" src="http://www.maxinbjohn.info/wp-content/uploads/2009/12/mplayer1-300x187.png" alt="mplayer in opensuse 11.2" width="300" height="187" /><p class="wp-caption-text">mplayer in opensuse 11.2</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2009/12/20/customizing-the-opensuse-11-2-on-my-compaq-presario-laptop/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The best FOSS event ever: Foss.in/2009</title>
		<link>http://www.maxinbjohn.info/2009/12/06/the-best-foss-event-ever-foss-in2009/</link>
		<comments>http://www.maxinbjohn.info/2009/12/06/the-best-foss-event-ever-foss-in2009/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 06:34:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[foss.in]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[openbeacon]]></category>
		<category><![CDATA[Openezx]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=75</guid>
		<description><![CDATA[Wooooww.. I am still intoxicated by the charm of Foss.in/2009. I can&#8217;t believe that it is over. It was , by far, the best  FOSS event that I have ever attended. The reason why I felt it most attractive was it put the &#8220;zip on the mouth&#8221; and provided you with two powerful hands which [...]]]></description>
			<content:encoded><![CDATA[<p>Wooooww..</p>
<p>I am still intoxicated by the charm of Foss.in/2009. I can&#8217;t believe that it is over. It was , by far, the best  FOSS event that I have ever attended.</p>
<p>The reason why I felt it most attractive was it put the &#8220;zip on the mouth&#8221; and provided you with two powerful hands which could mould your idea into a reality- be it in Software or in Hardware.  This time, there were less talks and more &#8220;workout sessions&#8221;, which means we could work with the project of our choice, code and if the core developer likes it, it will be committed to the repository , right away!!!</p>
<p>There are pros and cons to every events. Now, let me show you the list of pros and cons of the foss.in  so that you will get a feel of what happened over there. Since, I have the habit of finding pleasure in finding the faults, let me put the cons first <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cons:</p>
<p>1.    The Foss.in people used OSX laptop for projecting presentations in the Main Auditorium</p>
<p>Pros:</p>
<p>1. Less number of Talks (More time for workouts.. go to first floor, meet the people and work with them).</p>
<p>2. Timing was great : 11 AM to 10 PM &#8211; In Bangalore, considering the traffic, if you are fortunate enough,  you can  reach a place like NIMHANS and attend the programs if it is scheduled at 9AM. It also allowed the &#8220;Software Professionals&#8221; like me to, go to office for their daily bread,come back in the evening and attend Foss.in. I was able to attend the Keynotes everyday and also participate in some of the hands on sessions in the evening (after 6 PM ) because of this schedule.</p>
<p>3. Selection of  Talks/Speakers were good.</p>
<p>4. I got the opportunity to meet some of the great minds and discuss something with them. The list is as follows:</p>
<p>a. <span style="font-size: x-small;"><em>Harald Welte </em></span>: We discussed about Openezx project and issues with Motorola not realeasing the kernel source code for A1600 mobile.</p>
<p>b. Santhosh Thottingal: We discussed about the Silpa project. Silpa is an amazing project and Santhosh is doing amazing things with it. He explained the algorithms that he has used in the Silpa project for Language computing.</p>
<p>c. <span style="font-size: x-small;"><em>Stefan Schmidt </em></span>: We discussed about the Openezx project. Tried to boot the A1600 with the latest 2.6.x kernel . However, the attempt failed after about 5 -6 attempts and he guided me to have a look into the bootloader code &#8220;Blob&#8221;</p>
<p>d. Baiju. M:  He has presented about &#8220;Buildout&#8221; . We discussed about Silpa.</p>
<p>e. <span style="font-size: x-small;"><strong>Jain Basil Aliyas:  The &#8220;scribus&#8221; boy. We discussed about how his girl friend got engaged to another person . Probably he is so busy with his codings, that he couldn&#8217;t spare time for her <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong><em><br />
</em></span></p>
<p><span style="font-size: x-small;"><em> </em></span>f.  <strong><span style="font-size: x-small;">Milosch Meriac: We discussed about Openbeacon project and he helped me in setting up the arm toolchain for openbeacon project in my laptop.</span></strong></p>
<p>g. Ciju Rajan : My college mate and now a proud &#8220;IBM LTC&#8221; guy. I have attended his presentation on &#8220;Suspend and Resume&#8221;  in Linux.</p>
<p><span style="font-size: x-small;"><em> </em><strong>h</strong>. <strong>Hundreds of other &#8220;Birds of the same feather&#8221;  flying with their groups  and very rarely fighting with the birds with slightly different color (KDE v/s GNOME ) <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span></p>
<p>5.  The &#8220;TRDP&#8221; band&#8217;s performance at the end of Foss.in was awesome. It was the first time I came to know that the Kannada Folk songs are this sweet. Kudos to Raghu Dixit for a wonderful evening.</p>
<p>In this event, I also witnessed some of my friends get their form back . One such example was Justin&#8217;s workout with Openbeacon project. He was so interested in the project that he spent 2 days with Miloch and finally coded the &#8220;Jana gana mana &#8221; using the Openbeacon&#8217;s PWM in FreeRTOS. Miloch became so happy that he gifted the Openbeacon board and tag to Justin and he accepted Justin&#8217;s code to the openbeacon repository after some optimizations.</p>
<p>Justin.. way to go&#8230;</p>
<p>Sujith was running around with the KDE guys despite his health issues.  He was totally with the  KDE group that I seldom found him attending other sessions <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .. Kudos to Sujith</p>
<p>I felt sorry that I couldn&#8217;t attend Jain&#8217;s presentation on Scribus. I have also missed Pramode sir , who couldn&#8217;t attend  Foss.in/2009 due to health issues. Felt sad when Atul Chitnis said he is not going to lead from the next Foss.in onwards.  I think he should be the &#8220;BDFL&#8221; of Foss.in. I also felt happy when Atul Chitnis mentioned the amazing hack of &#8220;GPL&#8221; by RMS. In fact, it was the first time I heard Atul said something good about RMS <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In effect, it was kind of &#8220;event of a lifetime&#8221; for me. Some of the snaps from Foss.in</p>
<div class="wp-caption alignnone" style="width: 810px"><img title="Me along with Harald Welte and Stephan Schmidt" src="http://lh4.ggpht.com/_Xb2epRVlweo/Sxtj9RkrUiI/AAAAAAAAFn4/7hAdFe1_Aro/s800/dsc05058.jpg" alt="" width="800" height="600" /><p class="wp-caption-text">Me along with Harald Welte and Stephan Schmidt</p></div>
<div class="wp-caption alignnone" style="width: 810px"><img title="With Khasim and Sony Team" src="http://lh6.ggpht.com/_Xb2epRVlweo/Sxtj3XbltyI/AAAAAAAAFno/Uh8G4FVdqTg/s800/dsc05054.jpg" alt="Khasim and Sony Team" width="800" height="600" /><p class="wp-caption-text">Khasim and Sony Team</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2009/12/06/the-best-foss-event-ever-foss-in2009/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>User  2 Hacker workshop at NIT, Calicut</title>
		<link>http://www.maxinbjohn.info/2009/12/06/user-2-hacker-workshop-at-nit-calicut/</link>
		<comments>http://www.maxinbjohn.info/2009/12/06/user-2-hacker-workshop-at-nit-calicut/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 20:55:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=70</guid>
		<description><![CDATA[I have started my journey from Bangalore to Kozhikode on October 23.  The purpose of my journey was to conduct a workshop on Tathva-09, the three-day annual techno-management festival of the National Institute of Technology, Calicut (NIT-C). A week before this, Vivek (my friend from GEC who is currently doing in MS in NITC, a [...]]]></description>
			<content:encoded><![CDATA[<p>I have started my journey from Bangalore to Kozhikode on October 23.  The purpose of my journey was to conduct a workshop on Tathva-09, the three-day annual techno-management festival of the National Institute of Technology, Calicut (NIT-C).</p>
<p>A week before this, Vivek (my friend from GEC who is currently doing in MS in NITC, a GNU/Linux hacker and geek) has called me and asked me whether I can present a session on how to contribute to Free Software projects. Though, it was the first time for me, I never wanted to say &#8220;NO&#8221; to Vivek. I have agreed to conduct the &#8220;User2Hacker&#8221; session and prepared the presentation in Latex+ beamer using Lyx.</p>
<p>I have reached NITC campus on 24th, Saturday morning. The organizers has arranged for a cab to pick me and they also arranged accommodation for me at the NITC hostel.</p>
<p>Since  I was free on that day, I have decided to attend the &#8220;beagle board&#8221; session by Khasim. The session was very interesting and Khasim demonstrated some amazing ideas using beagle board. He also mentioned about the new &#8220;Hawk Board&#8221;.After that event, me and Vivek went to the Lab to setup the softwares needed to conduct the &#8220;Hands on session&#8221; . We have installed vim, indent, svn, git ..etc on  20 machines.</p>
<p>Next day, I went to Vivek&#8217;s room after breakfast. After that,  we went to the lab. As I have called up Pramode sir about the talk, he has informed a number of students about the talk and almost 10 people from GEC, Thrissur came to attend my workshop. The total number of students attended the workshop was around 50. I was happy about this number as this was the healthiest number of participants for a &#8220;Hands on workshop&#8221;. Later I have presented the &#8220;User2Hacker&#8221; workshop.</p>
<div class="wp-caption aligncenter" style="width: 650px"><img title="User2Hacker" src="http://lh3.ggpht.com/_DtRSFn688VA/SuQlR5uPhtI/AAAAAAAABY8/kALVXQYIkHQ/s640/DSCF2082.JPG" alt="User2Hacker @NITC" width="640" height="480" /><p class="wp-caption-text">User2Hacker @NITC</p></div>
<p>Response from the students were very good. Some of them hav already contributed to the FOSS community. Some of them are willing to contribute provided somebody guide them in the right way. I liked their attitude and determination. For me, this was the purpose of my workshop. I am glad that I could at least make a number of  to seriously think about the various possibilities of the FOSS world.</p>
<p>The organizers were very energetic and professional. I felt the freshness of college after a couple of years. I thought about my days in GEC. The organizers has arranged a cab for my travel from NITC to Kozhikode Town.</p>
<p>I have tried the &#8220;Manchurian Dosa&#8221; for the first time from Kozhikkode. It is similar to Masala dosa .. however, in Manchurian Dosa, they replaced ordinary &#8220;masala&#8221; in masala dosa with Gobi Manchurian. It was an experiment worth trying <img src='http://www.maxinbjohn.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The Hindu reported &#8220;The User 2 Hacker workshop had a positive response&#8221; : http://www.hindu.com/2009/10/26/stories/2009102650160200.htm</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2009/12/06/user-2-hacker-workshop-at-nit-calicut/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>First (silly, silly, silly) official kernel patch</title>
		<link>http://www.maxinbjohn.info/2009/09/23/first-silly-silly-silly-official-kernel-patch/</link>
		<comments>http://www.maxinbjohn.info/2009/09/23/first-silly-silly-silly-official-kernel-patch/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 14:29:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Greg KH]]></category>
		<category><![CDATA[Kernel Patch]]></category>
		<category><![CDATA[Linus Torvalds]]></category>
		<category><![CDATA[Linux kernel]]></category>

		<guid isPermaLink="false">http://www.maxinbjohn.info/?p=61</guid>
		<description><![CDATA[Today, I got a mail from Greg Kroah-Hartman !!! from Greg Kroah-Hartman &#60;gregkh@suse.de&#62; to linux-usb@vger.kernel.org cc Maxin John &#60;maxin.john@gmail.com&#62;, &#8220;Maxin B. John&#8221; &#60;maxinbjohn@gmail.com&#62;, Greg Kroah-Hartman &#60;gregkh@suse.de&#62; date Wed, Sep 23, 2009 at 7:25 PM subject [PATCH 056/142] USB: serial: Spelling correction in Motorola USB Phone driver hide details 7:25 PM (24 minutes ago) From: Maxin [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I got a mail from <span><span style="color: #00681c;">Greg Kroah-Hartman !!!</span></span></p>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td><span><img src="http://mail.google.com/mail/images/cleardot.gif" alt="Starred" /></span></td>
<td><span>from</span></td>
<td colspan="2"><span><span><img id="upi" src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span><span style="color: #00681c;">Greg Kroah-Hartman</span> <span>&lt;gregkh@suse.de&gt;</span></span></td>
</tr>
<tr>
<td colspan="2"><span>to</span></td>
<td colspan="2"><span><span><img id="upi" src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span>linux-usb@vger.kernel.org<br />
</span></td>
</tr>
<tr>
<td colspan="2"><span>cc</span></td>
<td colspan="2"><span><span><img id="upi" src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span>Maxin John &lt;maxin.john@gmail.com&gt;,<br />
<span><img id="upi" src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span>&#8220;Maxin B. John&#8221; &lt;maxinbjohn@gmail.com&gt;,<br />
<span><img id="upi" src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span>Greg Kroah-Hartman &lt;gregkh@suse.de&gt;<br />
</span></td>
</tr>
<tr>
<td colspan="2"><span>date</span></td>
<td colspan="2"><span><span><img src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span>Wed, Sep 23, 2009 at 7:25 PM</span></td>
</tr>
<tr>
<td colspan="2"><span>subject</span></td>
<td colspan="2"><span><span><img src="http://mail.google.com/mail/images/cleardot.gif" alt="" width="16" height="16" /></span>[PATCH 056/142] USB: serial: Spelling correction in Motorola USB Phone driver</span></td>
</tr>
<tr>
<td colspan="4"></td>
</tr>
</tbody>
</table>
</td>
<td>
<div><span>hide details</span> <span id=":13h" title="Wed, Sep 23, 2009 at 7:25 PM">7:25 PM (24 minutes ago)</span></div>
</td>
<td></td>
</tr>
</tbody>
</table>
<p>From: Maxin John &lt;<a href="mailto:maxin.john@gmail.com">maxin.john@gmail.com</a>&gt;</p>
<p>Spelling correction in Motorola USB Phone driver</p>
<p>Changed: * Mororola should be using the CDC ACM USB spec, but instead<br />
To: * Motorola should be using the CDC ACM USB spec, but instead</p>
<p>Signed-off-by: Maxin B. John &lt;<a href="mailto:maxinbjohn@gmail.com">maxinbjohn@gmail.com</a>&gt;<br />
Signed-off-by: Greg Kroah-Hartman &lt;<a href="mailto:gregkh@suse.de">gregkh@suse.de</a>&gt;<br />
&#8212;<br />
drivers/usb/serial/moto_modem.</p>
<div id=":112">c |    2 +-<br />
1 files changed, 1 insertions(+), 1 deletions(-)</p>
<p>diff &#8211;git a/drivers/usb/serial/moto_modem.c b/drivers/usb/serial/moto_modem.c<br />
index b66b71c..99bd00f 100644<br />
&#8212; a/drivers/usb/serial/moto_modem.c<br />
+++ b/drivers/usb/serial/moto_modem.c<br />
@@ -8,7 +8,7 @@<br />
*  published by the Free Software Foundation.<br />
*<br />
* {sigh}<br />
- * Mororola should be using the CDC ACM USB spec, but instead<br />
+ * Motorola should be using the CDC ACM USB spec, but instead<br />
* they try to just &#8220;do their own thing&#8221;&#8230;  This driver should handle a<br />
* few phones in which a basic &#8220;dumb serial connection&#8221; is needed to be<br />
* able to get a connection through to them.<br />
<span style="color: #888888;">&#8211;</span></div>
<div><strong><span style="color: #888888;">Wow, he has accepted my silly patch. It is now in the linux-next git tree<br />
</span></strong></div>
<p>Link to the patch:<a href="http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=36602efbf4eb77cc54236d59f147a42602b1db4c"> moto_modem.c</a></p>
<div>It was one of my dreams to submit patches to the Linux Kernel (can be anything, just anything).  Now it is true !!!</div>
<p><span><span style="color: #00681c;">It&#8217;s now in <a href="http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&amp;a=search&amp;h=HEAD&amp;st=commit&amp;s=maxinbjohn">Linux-2.6.32-rc1 tree</a>:</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxinbjohn.info/2009/09/23/first-silly-silly-silly-official-kernel-patch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
