Updated 09.11.2008 - Speedstep working
Updated 09.09.2008 - with more "code" blocks
I finally got a stable working version of 10.5.4 on my Thinkpad. First off here's a summary of what works and what doesn't.
- Video works fully with resolution switching and CI/QE (details below)
- Sound works OOB
- Wifi (Atheros) full working with IO80211.kext changes
- Bluetooth works OOB
- Battery meter working with AppleACPI.kext changes
- Sleep works (!) with removal of AppleLPC.kext(s) wakes using lid and power button and AppleSMBIOS-27
- Speedstep WORKING
(using experimental speedstep kext)
Download my zip file of kexts first then read on...
I've broken the guide up into sections to get each block of hardware working. After each section I will write "fix permissions" which means the following (I just wrote a shell script for this).
sudo chown -R root:wheel /System/Library/Extensions/
sudo chmod -R 755 /System/Library/Extensions/
sudo rm /System/Library/Extensions.mkext
sudo rm /System/Library/Extensions.kextcache
1. Download iATKOS 4i (10.5.4) DVD and burn it
2. Boot off the DVD
3. Run Disk Utility and make your partition (ext,journaled)
4. Select the following from the iATKOS package
4a. iATKOS Main System
4b. Darwin Bootloader
4d. Kernel 9.4.0
4e. AppleSMBIOS-27 6th rev Macbook
5. Install and get a drink, play some GTA4
6. Once install is complete, you'll got booted into Leopard probably in 1024x768 with no networking but hey it works. You might even have a battery meter!
First let's get Wifi hooked up since no internet means life sucks
1. open up a terminal (in finder type terminal then click on the terminal.app)
2. Switch to your Atheros card Info.plist
3. backup your existing wifi stuff
sudo cp -r Info.plist Info.plist.bak
4. Copy my Info.plist from the same directory tree in my zip file over
sudo cp -r <your dir where my folder is>/IO80211Family.kext/Contents/PlugIns/AirportAtheros.kext/Contents/Info.plist Info.plist
5. Fix Permissions
This one is a two parter as we want to get CI/QE working first using the standard (mouse tearing) solution
1. Click on "About this Mac"
2. Click on "more info"
3. Click on "Graphics/Displays"
4. Note the Vendor number (1002)
5. Note the DeviceID (71c4)
6. Open a terminal
8. edit 'com.apple.Boot.plist' and add the following lines
10. edit 'Info.plist' and add your DeviceID and VedorID from above to the 'IOPCIMatch' key in the file
<string>0x71C41002 0x71871002 0x72101002 0x71DE1002 0x71461002 0x71421002 0x71091002 0x71C5100
2 0x71C01002 0x72401002 0x72491002 0x72911002</string>
11. Save the files and fix permissions
At this stage you should have full 1400x1050 with CI/QE but there is probably mouse tearing
Now you want to add my custom ATIinject.kext*** Warning *** this uses MY EDID which means you can get serious video artifacting if your hardware is any different from mine!!
sudo cp -r <dir where you unzipped my stuff>/ATIinject.kext .
3. *** Keep the ATINDRV.kext the same as default
4. Fix permissions
Fingers crossed if you boot back in without crashing and still in 1400x1050 you're golden!
6. Check your mac video settings and see if you still have CI/QE (I noticed my vendor id changed to 71c5 - shrug).
Mouse tearing should be gone and if you activate screen saver it should be zippy
At this stage if you installed SMBIOS from the iATKOS installer you're mostly the way there.
If you do NOT have battery meter yet (red pill)
sudo cp -r AppleACPIPlatform.kext AppleACPIPlatform.kext.bak
sudo cp -r <dir where you unzipped my stuff>/AppleACPIPlatform.kext .
sudo mv AppleLPC.kext AppleLPC.kext.bak
6. Fix permissions
This should just replace your power management with mine and remove the AppleLPC.kext from booting
If you already HAVE battery working... (blue pill)
sudo mv AppleLPC.kext AppleLPC.kext.bak
sudo mv AppleACPILPC.kex AppleACPILPC.kext.bak
5. Fix permissions
Now sleep should work!
Luckily by installing a sleep kernel (not a speedstep one), I've managed to load up an Experimental Speedstep kext from here http://forum.insanelymac.com/index.php?s=624f2c17453203edfdea13de83d41363&showtopic=119370
Mercurysquad and Tuxx rock on the insanelymac forums.
1. Dowload the following
SpeedStep.zip tuxx's SpeedStep GUI (original)
2. Make sure you unload ACPICPUThrottle.kext and/or AppleIntelCPUPowerManagement.kext before loading this!
3. unzip IntelEnhancedSpeedStep.kext and load it manually first
sudo chmod -R 755 IntelEnhancedSpeedStep.kext
sudo chown -R root:wheel IntelEnhancedSpeedStep.kext
4. Load the kext
sudo kextload IntelEnhancedSpeedStep.kext
5. Load up a frequency display program like coolbook
6. If you havn't crashed, thats a good sign. Now follow the web site's guide on manually switching frequencies
sudo sysctl -w kern.cputhrottle_curfreq=YYYY
7. Experiment with different frequencies, check stability and check SLEEP still works
8. Stable? Ok unzip SpeedStep.zip from Tuxx
9. close coolbook if it is running
10. Run SpeedStep.app
Speedstep is working! You will probably want to move IntelEnhancedSpeedStep.kext to /System/Library/Extensions and fix permissions to autoload the kext. Also add speedstep to your startup items.