Archive for February, 2010


Become an Xcoder !

February 17, 2010


Just wanted to report the great initiative at Cocoalab, that offers A free book for starting with Cocoa using Objective-C

Bert Altenburg, author of AppleScript for Absolute Starters, in co-operation with Alex Clarke and Philippe Mougin, has released a book for newcomers to Cocoa programming using Objective-C and XCode.


book_xcoder_128.pngTutorial is written for non-programmers, and is aimed at levelling the learning curve as much as possible. In the best tradition, BecomeAnXcoder is released as a free booklet in pdf format under a CC Attribution license. It is also available online, simply follow the links below.

So, take the blue pill, follow the link and join the Xcoder community 🙂




OS X 10.5.8 running on my N120 :)

February 16, 2010 I recently got my hands on a Samsung netbook, and as a true Apple fan, I decided to try installing OS X on  it. The Samsung N120 is very close in terms of hardware to his little brother the NC10, and as a start point I used the information from the following page : to setup my machine.

That gave me a first working version but with some limitations :

– Wifi card not working
– switch on/off bluetooth not working
– no brightness control
– wake up issues

In order to have it working in an optimal way, I then spent my time to :

1./ Clean my install (ideneb 10.5.8, is quite “old” now, and a lot of things happened in the scene since that)
– Switch to Vanilla Kernel 9.8.0 (yes not new, but I wanted to have vanilla system as most as possible)
– Update booloader to Chameleon RC3 (patched version from tea blog)
+ clean up (create missing Extra folder, move custom kext to /Extra/…., etc…)
– Update the various driver available through (other great forum)
– install FakeSMC 2.5 (and removed OpenHaltRestart.kext)
– removed dmos.kext, appleDecrypt.kext
– update VoodooBattery, VoodooPower
– removed or replaced various (and not anymore necessary) hacked kext with legacy ones (AppleSMBios, SMSBiosResolver, etc…)
– removed VoodooUSBHECI (since this machine has no issues with USB)

2/ Fix the wifi :

No miracle here, the easy way was to change it for a Dell 1490 cards (that you can easily find on ebay) and which is supported out of the box by the OS. I would recommend however a Dell 15xx, as they should support b/g/n connectivity.

3/ Fix the bluetooth :
to make the on/off switch working, I changed the following value in the Info.plist of the bluetooth driver :
change the two occurences of :


The “8529” value can be find using the System profifer (Product ID: 0x2151) under the corresponding USB Bus. Of course the value must be converted in decimal, which gives the value here below.

4/ Fix through DSDT patch
I would first recommend this very good guide on DSDT patching :
For the patch source, I used the information available on another great forum :

a) HPET (new one) & RTC functions

These two ones are automatically applied when you run the patching tools, and allow for the first one to use the HPET features of       AppleIntelCPUPowerManagement function (AppleHPET). So i removed as well NullCPUPowerManagement (and Disabler.kext)

b) Brightness control patch
Allowing to use the FN+ F12 / FN + Insert command to change the brighness level :

c) patch for sleep on lid close

d) proper Audio Injection, allowing to remove the need for HDAEnabler kext

e) proper Video Injection, and switch to last GMA950 driver

f) first but not yet 100% working native vanilla speedstep

5/ Remaining Issue
as of today, I still have issue with the resume from sleep (only resume one time, the second time the computer is put on sleep, it cannot wake up).

And “Ta Ta !”, except from the last issue to sort out, I’m the proud owner of a nice netbook running a 99% working install of OS X 🙂

And here is my geekbench result, which is not so bad I guess .}