<?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>SqUe &#187; Geeking</title>
	<atom:link href="http://blogs.kmfa.net/sque/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.kmfa.net/sque</link>
	<description>&#34;Think free speech, not free beer&#34;</description>
	<lastBuildDate>Fri, 02 Apr 2010 01:37:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Radeon R600/R700 with KMS+3D on Karmic 9.10</title>
		<link>http://blogs.kmfa.net/sque/2010/03/radeon-r600r700-with-kms3d-on-karmic-9-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=radeon-r600r700-with-kms3d-on-karmic-9-10</link>
		<comments>http://blogs.kmfa.net/sque/2010/03/radeon-r600r700-with-kms3d-on-karmic-9-10/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 17:34:14 +0000</pubDate>
		<dc:creator>sque</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blogs.kmfa.net/sque/?p=167</guid>
		<description><![CDATA[Open-source attack! Are you bored off that crappy closed-source fglrx (AMD&#8217;s official linux driver)? Or you just can&#8217;t stand having Unidentified Flying Object in your RAM? If you own an R6xx/R7xx gpu based card then good news for you, there is finally 3d support for you! Not finished yet but at very good stage. Let&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<h2>Open-source attack!</h2>
<p>Are you bored off that crappy closed-source fglrx (AMD&#8217;s official linux driver)? Or you just can&#8217;t stand having Unidentified Flying Object in your RAM? If you own an R6xx/R7xx gpu based card then good news for you, there is finally 3d support for you! Not finished yet but at very good stage.</p>
<p>Let&#8217;s try to explain something before we start, there is one &#8220;new&#8221; technology that this new driver is based on, the KMS.</p>
<p><span id="more-167"></span></p>
<h3>Mode-setting</h3>
<p>Is setting up the screen resolution and depth mode for the graphics card. Modern mode setting software support multiple monitors (&#8220;multi-head&#8221;) and hot plugging. In linux there are two ways to do it the old one <strong>U</strong>ser<strong> M</strong>ode <strong>S</strong>etting (UMS) and <strong>K</strong>ernel <strong>M</strong>ode <strong>S</strong>etting.</p>
<p><strong>UMS </strong>is the old one and it was done by the X-server driver at the start of X session. For this to work, the X server needed to run as root so that it could access the resources of graphics card. Further-more switching to console involved freeing resources from graphics card and giving gpu back to the kernel. Switching back to X session from console, the driver had to reinitialize hardware from the scratch and lock it again.</p>
<p><strong>KMS</strong> is the new one and the mode-setting is done by the kernel its self without the need of X server. Kernel modules has been written for some cards and are being developped for the rest, that are capable of controlling gpu mode-setting in-kernel. X server driver does not need to access GPU in low-level anymore but requests mode changes from the kernel&#8217;s KMS API which sends commands to GPU. Advantages are numerous, like switching to console and back does not involve releasing/locking card and reinitializing it each time. Kernel can detect monitors and console is run at the screens optimal resolution (no more 640&#215;480 console). Also x server drivers does not need any more to run under &#8220;root&#8221; to access gpu, (this has been accomplished with changes in others areas of X-server stack too). To work in KMS mode you need the appropriate modules in kernel that will implement KMS for your GPU, and the new X server driver that will access graphics card through KMS and not directly.</p>
<p>There are more stuff involved in the new X server stack like DRM/DRI2, vga_switcheroo (vga switching). There are plenty of information out-there to read.</p>
<h2>Latest R600/R700 stack on Karmic 9.10</h2>
<p><span style="color: #ff0000"><strong>WARNING</strong></span>: <strong>You will run experimental software, that may have serious bugs and make your system unstable. To perform the following steps you must be familiar with linux terminal and deb packages. If you don&#8217;t know what are these, don&#8217;t even try it. In any way the process may result in broken X session.</strong></p>
<p>You want open-source radeon driver with 3D, compiz, KMS support right now? You have to update to the latest unreleased code of drm-next source tree (yes you have to pull 2.6.34 DRM code for proper support), and to the latest MESA-DRI-Xorg radeon driver.</p>
<p>Get latest kernel with drm-next tree from the kernel mainline</p>
<p>Visit <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/current/">http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/current/</a> and download 3 files on folder that you will create on the <strong>Desktop</strong> named <strong>drmnext</strong></p>
<pre>linux-headers-[VERSION]_<strong>all</strong>.deb
linux-headers-[VERSION]_<strong>{ARCH}</strong>.deb
linux-image-[VERSION]_<strong>{ARCH}</strong>.deb</pre>
<p>For example for my i386 I downloaded the following files:</p>
<pre>linux-headers-2.6.33-996_2.6.33-996.201003011149_all.deb
linux-headers-2.6.33-996-generic_2.6.33-996.201003011149_i386.deb
linux-image-2.6.33-996-generic_2.6.33-996.201003011149_i386.deb</pre>
<p>Then open-terminal and CD to the folder where you downloaded them, and install them</p>
<pre>cd ~/Desktop/drmnext
sudo dpkg -i linux-*2.6.33*.deb</pre>
<p>Kernel misses some firmware files R600_rlc.bin and R700_rlc.bin that you have to download manually and install them in your linux installation.</p>
<pre>sudo wget -O /lib/firmware/2.6.33-996-generic/radeon/R600_rlc.bin http://people.freedesktop.org/~agd5f/radeon_ucode/R600_rlc.bin
sudo wget -O /lib/firmware/2.6.33-996-generic/radeon/R700_rlc.bin http://people.freedesktop.org/~agd5f/radeon_ucode/R700_rlc.bin</pre>
<p>You have to update initramfs because this firmware is needed early at kernel load. You will also need to enable the experimental &#8220;power management&#8221; code of the module otherwise your GPU will work at full speed even when idle, resulting in heat and fan working continuously.</p>
<pre>sudo bash -c "echo \"options radeon dynpm=1\" &gt; /etc/modprobe.d/radeon.conf"<strong> </strong>
sudo update-initramfs -u -k 2.6.33-996-generic</pre>
<p>Now you have to update your xorg stack to the latest. This can be done easily using xorg-edgers ppa.</p>
<pre>sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get upgrade</pre>
<p>Ok you are ready! Cross your fingers and reboot, select kernel 2.6.33 on grub and good luck <img src='http://blogs.kmfa.net/sque/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h2>F*$% that crap! I want to go back</h2>
<p>If you are not a satisfied client then you can always return back to default ubuntu packages with the following commands</p>
<pre>sudo apt-get install ppa-purge
sudo ppa-purge xorg-edgers</pre>
<p>Reboot and select 2.6.31 kernel. After that you can use synaptic and remove all *2.6.33* kernels from repository, if you think that you will never need it again.</p>
<p>Please write back your experience or comments in comments section. <img src='http://blogs.kmfa.net/sque/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="color: #ff0000"><strong>Updates</strong></span></p>
<ul>
<li>The command to add module options missed sudo prefix, and resulted in &#8220;permission denied&#8221;. Kudos to <a href="http://www.facebook.com/bluefoxox">Patric</a>!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kmfa.net/sque/2010/03/radeon-r600r700-with-kms3d-on-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Why cloud computing is not safe</title>
		<link>http://blogs.kmfa.net/sque/2010/02/why-cloud-computing-is-not-safe/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-cloud-computing-is-not-safe</link>
		<comments>http://blogs.kmfa.net/sque/2010/02/why-cloud-computing-is-not-safe/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 17:08:20 +0000</pubDate>
		<dc:creator>sque</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blogs.kmfa.net/sque/?p=196</guid>
		<description><![CDATA[www.youtube.com/watch?v=VjfaCoA2sQk]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="360" src="http://www.youtube.com/embed/VjfaCoA2sQk?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=VjfaCoA2sQk&fmt=18">www.youtube.com/watch?v=VjfaCoA2sQk</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kmfa.net/sque/2010/02/why-cloud-computing-is-not-safe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code quality measurement</title>
		<link>http://blogs.kmfa.net/sque/2010/02/code-quality-measurement/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=code-quality-measurement</link>
		<comments>http://blogs.kmfa.net/sque/2010/02/code-quality-measurement/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 16:41:49 +0000</pubDate>
		<dc:creator>sque</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://blogs.kmfa.net/sque/?p=158</guid>
		<description><![CDATA[I was looking for the best way to measure code quality and I found it. Here is the scientific presentation of the formula. I think many coders out there will agree that this is definitely a good way!]]></description>
			<content:encoded><![CDATA[<p style="text-align: left">I was looking for the best way to measure code quality and I <a href="http://phpkitchen.com/2009/04/how-to-measure-code-quality/">found it</a>. Here is the scientific presentation of the formula.</p>
<p style="text-align: center"><img class="aligncenter size-full wp-image-159" title="WTFs/Minute" src="http://blogs.kmfa.net/sque/files/2010/02/wtfspermin1.jpg" alt="" width="500" height="471" /></p>
<p style="text-align: center">
<p style="text-align: left">I think many coders out there will agree that this is definitely a good way!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.kmfa.net/sque/2010/02/code-quality-measurement/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Repair Apple MagSafe cable</title>
		<link>http://blogs.kmfa.net/sque/2010/02/repair-apple-magsafe-cable/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=repair-apple-magsafe-cable</link>
		<comments>http://blogs.kmfa.net/sque/2010/02/repair-apple-magsafe-cable/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 02:16:32 +0000</pubDate>
		<dc:creator>sque</dc:creator>
				<category><![CDATA[Geeking]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[guide]]></category>

		<guid isPermaLink="false">http://blogs.kmfa.net/sque/?p=75</guid>
		<description><![CDATA[Another victim A frayed cable is not a rare case for Apple&#8217;s MagSafe power supplier, and I am proud to be part of this statistical failure. After a quick search I found out that the cable that connects the MagSafe and MacBook is prone to fraying in both ends, near magsafe and near magnetic socket. [...]]]></description>
			<content:encoded><![CDATA[<h3>Another victim</h3>
<p>A frayed cable is not a rare case for Apple&#8217;s MagSafe power supplier, and I am proud to be part of this statistical failure. After a quick search I found out that the cable that connects the MagSafe and MacBook is prone to fraying in both ends, near magsafe and near magnetic socket. There are many users complaining for the quality of this product even in <a href="http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?pn=MA538LL/B&amp;revw=MA538LL/B">Apple&#8217;s store</a>.</p>
<p style="text-align: center"><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="425" height="355" src="http://www.youtube.com/embed/nbUxBI8-flY?color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1&amp;feature=related" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=nbUxBI8-flY">www.youtube.com/watch?v=nbUxBI8-flY</a></p></p>
<p>Apple has <a href="http://blogs.kmfa.net//support.apple.com/kb/TS1713?viewlocale=en_US">acknowledged</a> that some of the power adapters that came with MacBooks and MacBook Pros have a flaw making them fray at the base of the plug.</p>
<div id="attachment_79" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06862.jpg"><img class="size-medium wp-image-79" title="DSC06862" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06862-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">My frayed cable</p></div>
<p style="text-align: left">For me plugging power to MacBook and finding out that it didn&#8217;t charge it, was an uncomfortable situation that had to be solved. At first I went to buy a new MagSafe but 80 euros seemed too much for a frayed cable. So I decided to give it a try and fix it.</p>
<p><span id="more-75"></span></p>
<h3>You can do this!</h3>
<p>With a close look at MagSafe, you get to understand that it will not be easy to open it. The MagSafe has no screw or clips rather than it consists of two plastic plates that are stuck with epoxy glue. To open it you have to &#8220;break&#8221; it. Depending on how much gentle you are, the breakage will or not have aesthetic impact on the final result.</p>
<p><strong>DISCLAIMER: I have no photos from the separation process as I didn&#8217;t thought to blog it until I heard the cracking sound.</strong></p>
<p>You will probably only need one or two screwdrivers with a thin head. The idea is to use screwdrivers to crack the glue between the two plastic covers. You can do this by putting the screwdriver head in the indenture of the MagSafe and use it as a lever to force the edge of one cover away from the others cover edge. The best is to start from the place where the power cable clips in.</p>
<div id="attachment_125" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/cracking.jpg"><img class="size-medium wp-image-125" title="cracking" src="http://blogs.kmfa.net/sque/files/2010/02/cracking-300x277.jpg" alt="" width="300" height="277" /></a><p class="wp-caption-text">Crack the glue of external cover with a skrewdriver</p></div>
<p style="text-align: center">
<p>This process demands a lot of patient otherwise if you press it too much you will injure the external surface. If you are patient and gentle enough you will unstick covers with minimal deformation.</p>
<h4>MagOnion</h4>
<p>MagSafe consists of multiple layers, you start by cracking the outer plastic cover and unfolding two protection shields till you see the actual circuit.</p>
<div id="attachment_90" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06853.jpg"><img class="size-medium wp-image-90 " title="Plastic Cover" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06853-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">MagSafe&#39;s plastic cover opened in 2 piecies</p></div>
<p>The magnetic shield is 3 or 4 metal leaves that are taped with an electrical conductive tape of bronze colour. One of this leaves is short circuited with the main board of the adapter. You have to unsolder this leaf from the board before you unfold it. You also have to unscrew it from the chassis.  Finally you can untape one edge of the shield so that the shield can be removed completely from the circuit.</p>
<div id="attachment_91" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06855.jpg"><img class="size-medium wp-image-91" title="DSC06855" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06855-300x225.jpg" alt="Internal magnetic protection of circuit " width="300" height="225" /></a><p class="wp-caption-text">Internal magnetic protection of circuit</p></div>
<p>There is also a plastic shield that is short-circuit protector. This shield is glued on the circuit using silicon. You can cut the silicon with a knife or use extra force but take care not to destroy the circuit.</p>
<div id="attachment_92" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06856.jpg"><img class="size-medium wp-image-92" title="DSC06856" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06856-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Electrical short-circuit protection</p></div>
<p>Here you are! Naked!</p>
<div id="attachment_111" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06858.jpg"><img class="size-medium wp-image-111" title="DSC06858" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06858-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">The actual circuit of MagSafe</p></div>
<h4 style="text-align: left">The constructive part</h4>
<p>After the complete demolition you are ready to rebuild. At first you unsolder the cable from the board.</p>
<div id="attachment_93" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06860.jpg"><img class="size-medium wp-image-93" title="DSC06860" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06860-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">The edge of the cable that was solder on the board of MagSafe</p></div>
<p style="text-align: left">Then use any of your preferred tool to cut the damaged cable.</p>
<div id="attachment_96" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06869.jpg"><img class="size-medium wp-image-96" title="DSC06869" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06869-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">The edge of the cable cut out</p></div>
<p>With a blade strip the cable and separate the outer and inner cables.</p>
<div id="attachment_95" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06868.jpg"><img class="size-medium wp-image-95" title="DSC06868" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06868-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Cable prepared to re-solder it on the board</p></div>
<p>Although we could just solder the cable back on the board, it would not be mechanically supported and with minimal force, the cable could be cut off of the board. To prevent this damage I have to reuse the supporting plastic but first we have to trim it a bit. Using a blade you cut it in half.</p>
<div id="attachment_97" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06870.jpg"><img class="size-medium wp-image-97" title="DSC06870" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06870-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Split the supporting plastic so that can be cleaned and reused</p></div>
<p>Using any tool you believe it best fits, extract the black plastic part from the hole of the supporting plastic.</p>
<div id="attachment_98" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06872.jpg"><img class="size-medium wp-image-98" title="DSC06872" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06872-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Ready for use!</p></div>
<div id="attachment_99" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06874.jpg"><img class="size-medium wp-image-99" title="DSC06874" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06874-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Fit the cable again inside the supporting plastic</p></div>
<p>You can now use the soldering tool to resolder cable back in the board.</p>
<div id="attachment_100" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06875.jpg"><img class="size-medium wp-image-100" title="DSC06875" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06875-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">The MagSafe with replaced cable</p></div>
<p>At this point the electric circuit should be working again.</p>
<h4 style="text-align: left">Reassemble it!</h4>
<p>You need to reassemble it so that it looks like a MagSafe (or something like that). You need to rebuild all the parts that you previously removed. Starting with the plastic protection.</p>
<div id="attachment_101" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06876.jpg"><img class="size-medium wp-image-101" title="DSC06876" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06876-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Apply short circuit protection on board again</p></div>
<p>After managing the plastic protection you should put back the metal protection. This will not be that easy as the plastic one. At first you can place back all leaves together and with a tape make it steady. You must use soldering tool to resolder protection on the board, as it was in the first place. And don&#8217;t forget the two screws.</p>
<div id="attachment_102" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06879.jpg"><img class="size-medium wp-image-102" title="DSC06879" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06879-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Magnetic shield refited on MagSafe</p></div>
<p>We need to add a mechanical &#8220;stop&#8221; on the cable so that if someone tries to pull it jerkily, it will not unsolder from the board. I used two tire-ups which I placed them between the supporting plastic and the board.</p>
<div id="attachment_103" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06880.jpg"><img class="size-medium wp-image-103" title="DSC06880" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06880-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Tire-ups protecting from pulling the cable off the board</p></div>
<p>Trim tire-ups so that they are able to fit inside the case of MagSafe.</p>
<div id="attachment_104" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06882.jpg"><img class="size-medium wp-image-104" title="DSC06882" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06882-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Tire-ups trimmed to fit inside the case</p></div>
<p>You can now put the circuit back in the plastic cover,though you will probably have to push a bit the cable supporter to place it back in its proper place on the external cover. Before reasempling the external parts you can use a sewage to fix possible deformation of the edges caused at cracking process.</p>
<div id="attachment_105" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06883.jpg"><img class="size-medium wp-image-105" title="DSC06883" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06883-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Board placed back in the cover</p></div>
<p>Finally you can also use epoxy glue to glue the two external parts together. You can also use duct tape for extra protection of the crack.</p>
<h3>You made it!</h3>
<p>It was not trivial but hey you have a working MagSafe again at no extra cost!</p>
<div id="attachment_106" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC06887.jpg"><img class="size-medium wp-image-106" title="DSC06887" src="http://blogs.kmfa.net/sque/files/2010/02/DSC06887-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">MagSafe GT V16 Turbo! <img src='http://blogs.kmfa.net/sque/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p></div>
<p>And here it is my MacBook and MagSafe working again!</p>
<div id="attachment_141" class="wp-caption aligncenter" style="width: 310px"><a href="http://blogs.kmfa.net/sque/files/2010/02/DSC074731.jpg"><img class="size-medium wp-image-141" title="DSC07473" src="http://blogs.kmfa.net/sque/files/2010/02/DSC074731-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Maybe a bit open-source enthusiast</p></div>
<p style="text-align: center">
<p style="text-align: center">
]]></content:encoded>
			<wfw:commentRss>http://blogs.kmfa.net/sque/2010/02/repair-apple-magsafe-cable/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

