<?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>Notes from Nemo &#187; Computing</title>
	<atom:link href="http://www.jamiesutherland.com/category/computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamiesutherland.com</link>
	<description>Jamiesutherland.com</description>
	<lastBuildDate>Sun, 30 May 2010 21:39:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using vi and forgetting the bastarding sudo command.</title>
		<link>http://www.jamiesutherland.com/2009/05/19/ubuntu-vi-and-forgetting-the-bastarding-sudo-command/</link>
		<comments>http://www.jamiesutherland.com/2009/05/19/ubuntu-vi-and-forgetting-the-bastarding-sudo-command/#comments</comments>
		<pubDate>Tue, 19 May 2009 14:16:27 +0000</pubDate>
		<dc:creator>jsutherland</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jamiesutherland.com/?p=39</guid>
		<description><![CDATA[OK, so how many of you have been messing about with a system file using vi and you&#8217;ve edited about 10 lines. You go to save the file and it complains that it&#8217;s Read-Only!! Gah, you then do your thing to correct it and slap yourself for making THAT mistake AGAIN.
Anyway, rant over. Fix it [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so how many of you have been messing about with a system file using vi and you&#8217;ve edited about 10 lines. You go to save the file and it complains that it&#8217;s Read-Only!! Gah, you then do your thing to correct it and slap yourself for making THAT mistake AGAIN.</p>
<p>Anyway, rant over. Fix it by doing this!</p>
<blockquote><p>vi ~/.vimrc</p></blockquote>
<p>Insert this</p>
<blockquote><p>command! -bar -nargs=0 Sw :w !sudo tee % &gt;/dev/null</p></blockquote>
<p>Now when you go to save and it complains just type :Sw and it will save it out as root and then ask you to reload (If someone know how to do this part automatically it would be appreciated <img src='http://www.jamiesutherland.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )</p>
<p>Problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamiesutherland.com/2009/05/19/ubuntu-vi-and-forgetting-the-bastarding-sudo-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sonyintosh &#8211; My experience with OSx86 on my Vaio VGN-C1Z</title>
		<link>http://www.jamiesutherland.com/2009/05/16/sonyintosh-my-experience-with-osx86-on-my-vaio-vgn-c1z/</link>
		<comments>http://www.jamiesutherland.com/2009/05/16/sonyintosh-my-experience-with-osx86-on-my-vaio-vgn-c1z/#comments</comments>
		<pubDate>Sat, 16 May 2009 12:46:53 +0000</pubDate>
		<dc:creator>jsutherland</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[OSx86 Hackintosh Sony Vaio VGN-C1Z]]></category>

		<guid isPermaLink="false">http://www.jamiesutherland.com/?p=40</guid>
		<description><![CDATA[So everyone has been banging on about how great Macs are for a while now. I&#8217;m not convinced, the little time I&#8217;ve had using them I&#8217;ve found the OS annoying to work on. Now, I&#8217;m happy to admit it&#8217;s because I haven&#8217;t given it a chance, and the reason for that is I don&#8217;t have [...]]]></description>
			<content:encoded><![CDATA[<p>So everyone has been banging on about how great Macs are for a while now. I&#8217;m not convinced, the little time I&#8217;ve had using them I&#8217;ve found the OS annoying to work on. Now, I&#8217;m happy to admit it&#8217;s because I haven&#8217;t given it a chance, and the reason for that is I don&#8217;t have a spare grand to shell out for my own one.</p>
<p>Recently I&#8217;ve been feeling the need to try out some iPhone development. (I don&#8217;t even own one, yet) This proves particularly difficult under Window so I started looking at Mac hardware. As lovely as it is, I can&#8217;t bring myself to spend the cash on one without a purpose for doing so when I can do almost everything I need to under XP/Ubuntu. Then I came across the Hackintosh community who have documented alot of their experiences while attempting to install Mac OS X on various types of hardware with varying degrees of success.</p>
<p>So this brings me to my experience with it. Thankfully the community has taken the sting out of getting the majority of components for my laptop working. Hazza!</p>
<p>So here&#8217;s a step-by-step guide for getting OSX installed on a Sony Vaio VGN-C1Z/B Laptop. This has the following specs which might help people looking at this with a differnet model laptop which has the same hardware. <a title="VGN-C1Z/B Specification" href="http://www.vaio-link.com/specifications/specifications.asp?site=voe_en_GB_cons&amp;c=-1&amp;s=-1&amp;m=2409" target="_blank">Specification Link</a></p>
<p><span id="more-40"></span></p>
<blockquote><p>00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)</p>
<p>00:01.0 PCI bridge [0604]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03)</p>
<p>00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)</p>
<p>00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)</p>
<p>00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)</p>
<p>00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)</p>
<p>00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 02)</p>
<p>00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)</p>
<p>00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)</p>
<p>00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)</p>
<p>00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)</p>
<p>00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)</p>
<p>00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)</p>
<p>00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)</p>
<p>00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 02)</p>
<p>00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller [8086:27c4] (rev 02)</p>
<p>00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)</p>
<p>01:00.0 VGA compatible controller [0300]: nVidia Corporation G72M [GeForce Go 7400] [10de:01d8] (rev a1)</p>
<p>02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller [11ab:4351] (rev 13)</p>
<p>06:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:4222] (rev 02)</p>
<p>0a:03.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]</p>
<p>0a:03.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]</p>
<p>0a:03.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]</p></blockquote>
<p>Find an ISO of Mac OS X and burn it to DVD. I used ideneb 10.5.6 for this laptop. I tried others and had problems getting though even the basic installation with them so I stopped when I found one that worked without a problem. Other ones may well be better but as I&#8217;m only doing this to see if I can cope with Mac OS before purchasing a machine then I just want functional for now.</p>
<p>Partition your hard drive. I have currently wiped everything from the HD in this laptop, except the recovery partition. I used GParted ISO which can be downloaded <a title="GParted ISO 0.4.4" href="http://sourceforge.net/project/downloading.php?group_id=115843&amp;filename=gparted-live-0.4.4-1.iso" target="_blank">here</a>. I created a 25Gb partition formatted in hfs+ as I intend on bringing windows/ubuntu back onto the disc in the future. Be sure to label this new partition as a bootable one otherwise you&#8217;ll have problems after you install Mac OS.</p>
<p>Boot from the DVD you burnt in step 1 and allow the system to boot into the installer software. You hopefully shouldn&#8217;t need any parameters, launch it with -v however for your first time incase something does go wrong then you&#8217;ll have a better chance of finding the problem.</p>
<p>Once into the GUI installer you need to launch the Disk Utility program. You&#8217;ll see your disc on the left and hopefully two partitions underneath it. a ~8Gb partition as disk0s01 which is your recovery one and disk0s02 which will be the partition you created in GParted. Select disk0s02 and then click the erase tab. Select Mac os extended as the filesystem type. Label the drive, mines is MacOSx, and then click Erase. Once this is complete you should see the partition go from greyed out to black on the left. This means you have a partition which can be installed to now.. hurra! Close the disk utility program.</p>
<p>Now your back to the installation GUI. Click continue until you can pick the partition we sorted in step 4. Select that disc and click continue. You should now have the option to customize the installation. Click customize. (I&#8217;ve not had a chance to play with the most optimal setup at this stage. This is only a doc of what worked for me. If you know a better way, fire it in comments and I&#8217;ll try and update the post) I install the following extras over the defaults.</p>
<blockquote><p>Tools-&gt;OSx86Tools</p>
<p>Uhh I can&#8217;t remember the other ones now, but I&#8217;m sure this is pretty much all you need.</p></blockquote>
<p>Now start the installation and wait for a bit, make tea, cheese on toast, knock one out, whatever works for you.</p>
<p>So it&#8217;s installed now without a hitch, you&#8217;ve put in your username and you now at a Mac Desktop.. WOOP you think! until you realise nothing is as it should be. No network, wifi, sound and the gfx are slow and clunky (not to mention a 1024&#215;768 resolution on your lovely 1440&#215;900 screen) Not to worry these are all sortable fortunatly due to the hard work of many people which we&#8217;ve tapped into here through the wonders of google!</p>
<p>The first thing you want is networking as this will make the rest much easier. Now firstly I got the wired ethernet port going. To do this we need to modify the Info.plist of one of the drivers. I&#8217;ll go through the full process rather than just telling you what to change as it will help for other people new to this. Firstly we need to look at the hardware we have using the lspci out (see above). From this we can see our ethernet controller.</p>
<blockquote><p>02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller [11ab:4351] (rev 13)</p></blockquote>
<p>Fortunately, there is already a Mac driver for a similar ethernet controller, and even more fortunate is the fact that it works without any need for modification to the driver itself. All we need to do is tell the OS that the driver works on our hardware as well as the hardware found in the Mac hardware range. Run this (you can use your editor of choice)</p>
<blockquote><p>sudo vi /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext/Contents/Info.plist</p></blockquote>
<p>Search for 436211ab and it should take you to a section of XML starting with the key &#8220;Yukon-88E8052&#8243; Now I just replaced the entries for this section, however I think you could probably copy this key and dict tags and make your own entry should you wish to keep the original. Anyway, you need to edit the Key so it now says</p>
<blockquote><p>&lt;key&gt;Yukon-88E8036&lt;/key&gt;</p></blockquote>
<p>Then withing the dict tag there should be a key called &#8220;IOPCIPrimaryMatch&#8221; and the string is &#8220;0&#215;436211ab&#8221; modify this to be</p>
<blockquote><p>&lt;string&gt;0&#215;435111ab&lt;/string&gt;</p></blockquote>
<p>For your reference, this value is taken from the lspci output &#8220;[11ab:4351]&#8221; The first number is the manufacturer code and the second is the hardware identifier code.</p>
<p>The next step is to redo the extensions details. I&#8217;m not entirely sure if all these steps are required. I&#8217;ll update when I know for sure, but do this anyway.</p>
<blockquote><p>sudo rm -f /System/Library/Extensions.mkext</p>
<p>sudo rm -f /System/Library/Extensions.kextcache</p>
<p>sudo diskutil repairPermissions /</p>
<p>sudo kextcache -k /System/Library/Extensions</p>
<p>sudo reboot</p></blockquote>
<p>Now once the machine restarts, you should now beable to find your wired ethernet controller in the network utility and if you are running DHCP on your network that should be you good to go.</p>
<p>TODO: Wireless drivers</p>
<p>Graphics Drivers. OK this is the most annoying part about this experience. It </p>
<p>Audio drivers are pretty simple once your up and running on the network. All you need is AppleHDAPatcher v1.20 and a codec dump of the ALC262 hardware. Fortunatly I have provided both here! This should get the speakers and headphones working.</p>
<p>Download  <a href="http://www.jamiesutherland.com/wp-content/uploads/2009/05/applehdapatcherv120.zip">AppleHDAPatcherv1.20.zip </a>file to the mac, unzip the binary to the desktop. Download <a href="http://www.jamiesutherland.com/wp-content/uploads/2009/05/alc262.txt">alc262.txt</a> to the desktop also. Then just drag the txt file onto the binary and away it goes. Reboot and your sorted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamiesutherland.com/2009/05/16/sonyintosh-my-experience-with-osx86-on-my-vaio-vgn-c1z/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>New projects page</title>
		<link>http://www.jamiesutherland.com/2009/01/24/new-projects-page/</link>
		<comments>http://www.jamiesutherland.com/2009/01/24/new-projects-page/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 17:38:29 +0000</pubDate>
		<dc:creator>jsutherland</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.jamiesutherland.com/?p=7</guid>
		<description><![CDATA[New projects page is up!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve transferred the projects from my old wedgybo.co.uk domain as they fit better with this site. Have a looksie, most of it&#8217;s rubbish from back in the day but hey I&#8217;m proud of them!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamiesutherland.com/2009/01/24/new-projects-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Welcome!</title>
		<link>http://www.jamiesutherland.com/2009/01/24/hello-world/</link>
		<comments>http://www.jamiesutherland.com/2009/01/24/hello-world/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 17:02:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.jamiesutherland.com/?p=1</guid>
		<description><![CDATA[Well I&#8217;ve finally taken the plunge into this world of blogging that everyone has been going on about. I&#8217;ve opened this site with the intention of displaying projects I&#8217;ve been involved with and showcasing anything interesting. Also I&#8217;ll be using it as a place to store random information I find useful to gather it in [...]]]></description>
			<content:encoded><![CDATA[<p>Well I&#8217;ve finally taken the plunge into this world of blogging that everyone has been going on about. I&#8217;ve opened this site with the intention of displaying projects I&#8217;ve been involved with and showcasing anything interesting. Also I&#8217;ll be using it as a place to store random information I find useful to gather it in one place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamiesutherland.com/2009/01/24/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
