Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

OK, here is a place to discuss OSX on thinkpads.
Message
Author
Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#31 Post by Silencer » Sun Jan 24, 2010 7:36 am

Ok, I have managed to install 10.6 and to upgrade it to 10.6.2, thanks again to bozilla for the really great guide.

I would like to add a few important points which might save someone a lot of time. Bozilla, maybe to can add them as Tips to your guide.

1. I also have T60p, but I have upgraded it to Core2Duo CPU, and Snow Leopard by default uses 64-bit core (since the CPU is x64 capable), but most of the custom kexts (sound, keyboard, video) do not work in x64 mode. You can either manually start with arch=i386 flag in Chameleon (with RC3 or later), or edit /Extra/com.apple.Boot.plist file to have this flag used automatically. You can also add Graphics Mode switch to have Chameleon and OS logo in your default screen resolution.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Kernel</key>
        <string>mach_kernel</string>
        <key>Kernel Flags</key>
        <string>arch=i396</string>
        <key>Graphics Mode</key>
        <string>1400x1050x32</string>
</dict>
</plist>
2. When following the guide, I suggest not to use TechnoJunkie's kexts, but rather use bozilla's kexts. It is also much easier to copy all kexts to respective folders during the very first launch. When preparing your Snow Leopard drive (for example, to /Install folder), copy downloaded kext packs to it and when you boot the very first time with "-s" flag, you can run following commands after you mount the drive.

Code: Select all

sudo mv /System/Library/Extensions/AppleHDA.kext /System/Library/Extensions/AppleHDA.kext.noload
sudo mv /System/Library/Extensions/AppleLPC.kext /System/Library/Extensions/AppleLPC.kext.noload
sudo mv /System/Library/Extensions/AppleIntelCPUPowerManagement.kext /System/Library/Extensions/AppleIntelCPUPowerManagement.kext.noload
sudo mv /System/Library/Extensions/AppleSMBIOS.kext /System/Library/Extensions/AppleSMBIOS.kext.original
sudo cp -r /Install/kext_to_System_Library_Extensions/ /System/Library/Extensions
sudo cp -r /Install/kext_to_Extra_Extensions/ /Extra/Extensions
sudo /Install/scripts/ext_cleanup.sh
3. If you want to update to 10.6.2 or later immediately after system setup, make sure you do the following first:

Code: Select all

sudo mv /Extra/Extensions/SleepEnabler.kext /Extra/Extensions/SleepEnabler.kext.old
And the following after:

Code: Select all

sudo mv /System/Library/Extensions/AppleHDA.kext /System/Library/Extensions/AppleHDA.kext.noload
sudo mv /System/Library/Extensions/AppleLPC.kext /System/Library/Extensions/AppleLPC.kext.noload
sudo mv /System/Library/Extensions/AppleIntelCPUPowerManagement.kext /System/Library/Extensions/AppleIntelCPUPowerManagement.kext.noload
4. If you have problems with DSDT patcher, just ignore them during the Snow Leopard drive preparation step. Wait until you boot into Snow Leopard for the first time and run DSDT patcher from there. It should work fine.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#32 Post by Silencer » Sun Jan 24, 2010 7:40 am

I have also run Xbench and observed similar performance boot comparing to 10.5.6:

10.5.6

Code: Select all

Results	135.56	
	System Info		
		Xbench Version		1.3
		System Version		10.5.6 (9G55)
		Physical RAM		4096 MB
		Model		MacBook2,1
		Drive Type		ST910021AS
	CPU Test	145.39	
		GCD Loop	272.31	14.35 Mops/sec
		Floating Point Basic	132.81	3.16 Gflop/sec
		vecLib FFT	106.13	3.50 Gflop/sec
		Floating Point Library	145.18	25.28 Mops/sec
	Thread Test	202.95	
		Computation	189.40	3.84 Mops/sec, 4 threads
		Lock Contention	218.59	9.40 Mlocks/sec, 4 threads
	Memory Test	144.93	
		System	161.77	
			Allocate	249.80	917.34 Kalloc/sec
			Fill	134.50	6539.57 MB/sec
			Copy	140.72	2906.50 MB/sec
		Stream	131.27	
			Copy	124.28	2566.94 MB/sec
			Scale	128.71	2659.15 MB/sec
			Add	136.27	2902.93 MB/sec
			Triad	136.64	2923.11 MB/sec
	Quartz Graphics Test	182.47	
		Line	162.35	10.81 Klines/sec [50% alpha]
		Rectangle	210.59	62.87 Krects/sec [50% alpha]
		Circle	174.18	14.20 Kcircles/sec [50% alpha]
		Bezier	174.88	4.41 Kbeziers/sec [50% alpha]
		Text	198.62	12.42 Kchars/sec
	OpenGL Graphics Test	98.25	
		Spinning Squares	98.25	124.63 frames/sec
	User Interface Test	101.05	
		Elements	101.05	463.75 refresh/sec
10.6.2

Code: Select all

Results	157.92	
	System Info		
		Xbench Version		1.3
		System Version		10.6.2 (10C540)
		Physical RAM		4096 MB
		Model		MacBookPro5,1
		Drive Type		SAMSUNG HM160HI
	CPU Test	135.12	
		GCD Loop	157.13	8.28 Mops/sec
		Floating Point Basic	99.92	2.37 Gflop/sec
		vecLib FFT	106.79	3.52 Gflop/sec
		Floating Point Library	258.55	45.02 Mops/sec
	Thread Test	196.46	
		Computation	204.69	4.15 Mops/sec, 4 threads
		Lock Contention	188.86	8.12 Mlocks/sec, 4 threads
	Memory Test	143.90	
		System	166.90	
			Allocate	366.56	1.35 Malloc/sec
			Fill	126.43	6147.52 MB/sec
			Copy	136.28	2814.77 MB/sec
		Stream	126.47	
			Copy	119.27	2463.43 MB/sec
			Scale	124.14	2564.74 MB/sec
			Add	131.10	2792.63 MB/sec
			Triad	132.27	2829.53 MB/sec
	Quartz Graphics Test	194.14	
		Line	148.51	9.89 Klines/sec [50% alpha]
		Rectangle	194.91	58.19 Krects/sec [50% alpha]
		Circle	164.28	13.39 Kcircles/sec [50% alpha]
		Bezier	174.22	4.39 Kbeziers/sec [50% alpha]
		Text	484.57	30.31 Kchars/sec
	OpenGL Graphics Test	211.62	
		Spinning Squares	211.62	268.45 frames/sec
	User Interface Test	115.23	
		Elements	115.23	528.86 refresh/sec
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#33 Post by Silencer » Sun Jan 24, 2010 7:49 am

A number of problems are still to be resolved though:

1. Sleep doesn't work for me. Disabled AppleLPC, using VoodooPower and SleepEnabler for 10.6.2. Computer goes to sleep seemingly fine, shuts everything down, lights the sleep light. But when going out of sleep, it turns drives on, but display stays dark, and sleep light never shuts off.

2. Every now and then when starting Snow Leo, the screen stays dark, even though everything else loads just fine. Need to reboot to have screen working again. I have the similar problem on 10.5.6, there I simply close the lid to go to sleep, and when I get back from sleep, screen works fine.

3. Screen backlight brightness controls are still broken, the same way as in 10.5.6. I've read, that playing around with DSDT can solve this problem, but not sure I know where to look. Also, this problem only occurs when using ATIinject.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#34 Post by Silencer » Sun Jan 24, 2010 5:37 pm

BTW, it looks that Extensions.mkext is no longer located in /System/Library, but in /System/Library/Caches/com.apple.kext.caches/Startup/

I recommend using pfix for caches and permissions fixing business: http://osx86.sojugarden.com/2009/12/pfix-v2-3-released/
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#35 Post by Silencer » Wed Jan 27, 2010 3:36 pm

I got the internal microphone working!

Using the latest VoodooHDA from here. There are a few quirks of course. First of all, it shows as CD in Sound settings, but input level is moving as you make noise. I've tested a Skype call, and the weird thing there is that as soon as you make a call, input level slider slowly moves down to zero. If you hold the slider with your mouse, recording is perfect.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

keredn
Posts: 5
Joined: Tue Jan 26, 2010 10:43 pm
Location: Cleveland, OH

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#36 Post by keredn » Wed Jan 27, 2010 9:20 pm

Silencer wrote:A number of problems are still to be resolved though:

1. Sleep doesn't work for me. Disabled AppleLPC, using VoodooPower and SleepEnabler for 10.6.2. Computer goes to sleep seemingly fine, shuts everything down, lights the sleep light. But when going out of sleep, it turns drives on, but display stays dark, and sleep light never shuts off.

2. Every now and then when starting Snow Leo, the screen stays dark, even though everything else loads just fine. Need to reboot to have screen working again. I have the similar problem on 10.5.6, there I simply close the lid to go to sleep, and when I get back from sleep, screen works fine.

3. Screen backlight brightness controls are still broken, the same way as in 10.5.6. I've read, that playing around with DSDT can solve this problem, but not sure I know where to look. Also, this problem only occurs when using ATIinject.
I have a T60p (2007-93U) with 10.6. I am seeing 1. and 2. issues you outlined, however, my screen backlight brightness controls are working fine.

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#37 Post by Silencer » Thu Jan 28, 2010 3:58 am

keredn wrote: I have a T60p (2007-93U) with 10.6. I am seeing 1. and 2. issues you outlined, however, my screen backlight brightness controls are working fine.
Are you using ATIinject? I can disable it and rely on vanilla ATIRadeonX1000.kext, and the brightness control works just fine then, but then I have mouse tearing. But that's fine, the Sleep problem is what killing me. It seems I have tried everything already with no luck.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

keredn
Posts: 5
Joined: Tue Jan 26, 2010 10:43 pm
Location: Cleveland, OH

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#38 Post by keredn » Thu Jan 28, 2010 7:44 am

Silencer wrote: Are you using ATIinject? I can disable it and rely on vanilla ATIRadeonX1000.kext, and the brightness control works just fine then, but then I have mouse tearing. But that's fine, the Sleep problem is what killing me. It seems I have tried everything already with no luck.
Silencer -
I am using BOTH ATIinject and ATIRadeonX1000.kext. The vanilla ATIRadeonX1000.kext has my device ID and vendor ID which is a ATI v5200 (0x71C41002).
The only difference between bozilla's ATI v5200 and mine is that his has 512MB on the card and mine has 256mb on the card. I download the ATIinject.kext file from another forum user who has the same ATIv5200 that I have. http://www.speedfile.org/156569 (courtesy of bookmaniac) in this forum thread http://forums.thinkpads.com/viewtopic.php?f=32&t=67130 The thread is for iatkos v4 distro but I basically compared bozilla's kext file for 10.6 and this one and they only differed on the EDID bytes part. I took a gamble and use the ATIinject.kext file in my 10.6 installation and it worked! No mouse tearing and QE CI and brightness controls work on t60p. What is the exact model number of your t60p?

keredn
Posts: 5
Joined: Tue Jan 26, 2010 10:43 pm
Location: Cleveland, OH

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#39 Post by keredn » Thu Jan 28, 2010 7:49 am

Silencer wrote:A number of problems are still to be resolved though:

2. Every now and then when starting Snow Leo, the screen stays dark, even though everything else loads just fine. Need to reboot to have screen working again. I have the similar problem on 10.5.6, there I simply close the lid to go to sleep, and when I get back from sleep, screen works fine.
My workaround for this one on cold boot is to first boot into safe mode and then reboot again. I had to reboot 4 times once to get my screen not to stay dark, but first booting into safe mode and then re-booting from there works and I see my screen. It's annoying workaround to get 10.6 to load correctly but I didn't want to stay at 10.5.8.

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#40 Post by Silencer » Thu Jan 28, 2010 8:24 am

keredn wrote:What is the exact model number of your t60p?
I don't remember it not, but I upgraded CPU, wireless and RAM anyways. I have ATI V5200 256MB (1400x1050), and brightness is a really strange issue, especially now when you say it works for you.

I've removed ATIinject and moved its entries to /Extra/com.apple.Boot.plist as EFI string now, its basically the same solution but without extra kext, so the result is the same. I will have a look at the ATIinject from your URL, maybe there are some additional entries in plist, that I should use.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

keredn
Posts: 5
Joined: Tue Jan 26, 2010 10:43 pm
Location: Cleveland, OH

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#41 Post by keredn » Sun Jan 31, 2010 9:53 am

I have Thinkpad t60p 2007-93U. The cpu is an Intel Core Duo. In about this Mac, in Mac OS X 10.6, it shows up as an Intel Core 2 Duo. I have been running it successfully for a week now. Am I basically overclocking it because Snow leopard sees my cpu as a Intel Core 2 Duo? So far, it's not even overheating.

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#42 Post by Silencer » Sun Jan 31, 2010 4:29 pm

keredn wrote:I have Thinkpad t60p 2007-93U. The cpu is an Intel Core Duo. In about this Mac, in Mac OS X 10.6, it shows up as an Intel Core 2 Duo. I have been running it successfully for a week now. Am I basically overclocking it because Snow leopard sees my cpu as a Intel Core 2 Duo? So far, it's not even overheating.
Nope, you're not overclocking it. It's not that easy. It's a minor problem of CPU identification, the difference between Core Duo and Core 2 Duo is not that huge anyways.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

keredn
Posts: 5
Joined: Tue Jan 26, 2010 10:43 pm
Location: Cleveland, OH

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#43 Post by keredn » Sun Jan 31, 2010 7:33 pm

Nope, you're not overclocking it. It's not that easy. It's a minor problem of CPU identification, the difference between Core Duo and Core 2 Duo is not that huge anyways.
OK, that's a relief. However, the RAM shows up as 800mhz and not 667 mhz like it read when I was using 10.5.8 with it.

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#44 Post by Silencer » Mon Feb 01, 2010 4:32 am

keredn wrote:OK, that's a relief. However, the RAM shows up as 800mhz and not 667 mhz like it read when I was using 10.5.8 with it.
The same for me. It's AppleSMBIOS.kext. Ready how to modify values sotred in there, if you want to change this. But again, it's mostly cosmetic.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

flappinski
Posts: 3
Joined: Sun Nov 29, 2009 2:27 pm
Location: Cambridge, MA

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#45 Post by flappinski » Thu Feb 04, 2010 12:47 pm

Did someone use this successfully on a T61?

Would be great to know, if it is worth a try.

thanks,
Stephan

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#46 Post by Silencer » Thu Feb 04, 2010 2:17 pm

flappinski wrote:Did someone use this successfully on a T61?

Would be great to know, if it is worth a try.
With T61 the main problem is video. If you have nVIDIA Quadro NVS 140M, then you shouldn't bother, you won't get decent OS X experience. If you have Intel X3100 you can have a pretty much perfect machine for Snow Leopard.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

flappinski
Posts: 3
Joined: Sun Nov 29, 2009 2:27 pm
Location: Cambridge, MA

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#47 Post by flappinski » Mon Feb 08, 2010 12:15 pm

thanks,
now I see that I actually have the nVIDIA. Any chance to exchange it?

madchicken
Posts: 1
Joined: Mon Feb 08, 2010 1:10 pm
Location: Vercelli, Italia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#48 Post by madchicken » Mon Feb 08, 2010 2:10 pm

Only to share my experience: I installed a retail OSX 10.6.2 on a Thinkpad R60 using some of the kext from this post.
I changed the wifi network adapter with a new compatible one for 18$ on ebay and now I have a good working system, audio and microphone included.
The sound card is the same (I think) of the T60p, so here is a patched VoodooHDA.kext for snow leopard to have a working in/out sound. Hope this helps. In the zip there is also a RadeonHD.kext that should work for all ATI Radeon HD to get aworking framebuffer (not for QE).

Kext files: http://www.mediafire.com/file/nmnywymnn ... deonhd.zip

rsramirez
Posts: 21
Joined: Sun Dec 12, 2004 5:43 am
Location: Los Angeles, CA

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#49 Post by rsramirez » Sat Feb 13, 2010 2:37 am

Hi all,

I'm still trying to get my keyboard and trackpad and trackpoint working.

T60p - 2007-86U with upgraded CPU (Core2Duo).
SnowOSx Universal 3.6 (10.6.2).

I tried using the OP's PS2 kexts and the pfix program per Silencer's post, as well as the PS2 kexts on http://osx86.sojugarden.com/downloads/. In addition, I tried booting normally as well as w/ arch=i386

Any ideas? While the install wasn't actually w/ this guide, I wanted to see if anyone had any ideas before I have to create another install (pre SL) in order to do the install per this guide.

Thanks!
-R

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#50 Post by Silencer » Sat Feb 13, 2010 6:41 am

rsramirez wrote: I tried using the OP's PS2 kexts and the pfix program per Silencer's post, as well as the PS2 kexts on http://osx86.sojugarden.com/downloads/. In addition, I tried booting normally as well as w/ arch=i386
PS2 kexts are a very tricky things, 'cause there are like hundreds of them out there. I have two different packages now, one does wonders with touchpad (two finger scrolling, proper settings, etc), another allows me to use trackpoint which I can't leave without and it works in x64. I will post both packages here the next time I boot to OSX.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#51 Post by Silencer » Sat Feb 13, 2010 5:25 pm

Here are promised two different packs of PS2 kexts.

The first one is Synaptics PS2 pack, which will allow you to use two finger scrolling on trackpad and there's also pref pane included to allow very fine tuning. But trackpoint won't work.
http://rapidshare.com/files/350254644/S ... plePS2.zip

The other is regular PS2 kexts which will work in x64 as well including trackpoint, but no two finger scrolling on trackpad.
http://rapidshare.com/files/350254643/Legacy_PS2.zip

I also include pfix 2.3, which works best for me. 2.6 doesn't generate /Extra/Extensions cache properly somehow. You can use PS2 kexts in /Extra/Extensions, but you MUST generate mkext cache, otherwise they won't get picked up during boot. So run pfix after any changes in your kexts.
http://rapidshare.com/files/350254645/pfix
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

rsramirez
Posts: 21
Joined: Sun Dec 12, 2004 5:43 am
Location: Los Angeles, CA

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#52 Post by rsramirez » Sun Feb 14, 2010 12:54 pm

Silencer wrote:Here are promised two different packs of PS2 kexts.
Thank you for the kexts and the pfix. They worked great. Now I'm going to PM bozilla regarding ATIinject, unless anyone here wants to explain it.

Thanks again!
-R

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#53 Post by Silencer » Sun Feb 14, 2010 4:37 pm

rsramirez wrote: Thank you for the kexts and the pfix. They worked great. Now I'm going to PM bozilla regarding ATIinject, unless anyone here wants to explain it.
What's the problem with it? I personally don't use it, there are better alternatives, but at first it worked great. I suggest you to try RadeonHD. Here's the main thread: http://www.insanelymac.com/forum/index. ... pic=190586

Download the latest version of RadeonHD.kext for 10.6 (works only in 32-bit mode, the same as ATIinject/ATINDRV option). Put it either in /Extra/Extensions or /System/Library/Extensions. Then update ATIRadeonX1000.kext (in /S/L/E) Info.plist to include your device id - 0x71c41002. Generate mkext caches, reboot and it should work. If it doesn't, you need to generate EDID, but try without it first.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

bozilla
Posts: 49
Joined: Sun Sep 07, 2008 8:56 pm
Location: Vancouver, BC, Canada

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#54 Post by bozilla » Thu Feb 18, 2010 2:23 pm

I got some questions on the EDID section so I wrote up the following to help:

---

Hi amags,

From the phoenix dump you will see a series of 8-bit words like so

Code: Select all

EDID BYTES: 
0x 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 
------------------------------------------------ 
00 | 00 FF FF FF FF FF FF 00 24 4D 4D 25 00 00 00 00 
10 | 00 0E 01 03 80 1D 15 78 EE EE 91 A3 54 4C 99 26 
20 | 0F 50 54 21 08 00 81 80 90 40 01 01 01 01 01 01 
30 | 01 01 01 01 01 01 30 2A 78 20 51 1A 10 40 30 70 
40 | 13 00 1E D6 10 00 00 18 00 00 00 FC 00 54 68 69 
50 | 6E 6B 50 61 64 20 4C 43 44 20 00 00 00 FC 00 31 
60 | 34 30 30 78 31 30 35 30 0A 20 20 20 00 00 00 00 
70 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B8
Now you need to convert these hex values into 32-bit words as one long string (there are no linefeeds in this block below)

Code: Select all

00FFFFFF FFFFFF00 244D4D25 00000000 
000E0103 801D1578 EEEE91A3 544C9926 
0F505421 08008180 90400101 01010101 
01010101 0101302A 7820511A 10403070 
13001ED6 10000018 000000FC 00546869 
6E6B5061 64204C43 44200000 00FC0031 
34303078 31303530 0A202020 00000000 
00000000 00000000 00000000 000000B8
Now open plist editor pro and open the ATIinject.kext Info.plist file.

Copy and paste this into the DFP1,EDID section of the plist inside plist editor pro. In the editor, it will show the "@0, EDID" key in left column and you will paste your EDID data in right column. Once you paste these fields and save it, the field in the Info.plist should be converted to some kind of encoded string that looks like this

Code: Select all

                               <key>ATY,EFIVersion</key>
                                <string>01.00.068</string>
                                <key>ATY,VendorID</key>
                                <integer>4098</integer>
                                <key>DFP1,EDID</key>
                                <data>
                                AP///////wAwrkZAAAAAAAAPAQOAHhZ46r0wkVRPiyYh
                                UFQhCACBgKlAAQEBAQEBAQEBAQEBSD9AMGKwMkBAwBMA
                                MOQQAAAZvDRAMGKwMkBAwBMAMOQQAAAZAAAADwCpQzKp
                                QygUAgAJ5QAAAAAA/gBIVjE1MFVYMS0xMDAKAKc=
                                </data>
Save and done.
---
BIOS:
As for BIOS changes, I used to have to turn BIOS thermal management off but now it is back on and working just fine. My BIOS is now setup as per usual for a windows box (everything on, ACPI on, Hard drives in ACPI mode and not compatibility mode).

UPGRADEABILITY:
Always a tough one to answer but I have updated to the latest SL release with few issues. Be aware there are some problems with sleepenabler in 10.6.1 and 10.6.2. Search the forums for updated sleepenabler and clamshell kexts. Make sure so DISABLE sleepenabler.kext when upgradeing or you'll get a kernel panic!

bozilla
Posts: 49
Joined: Sun Sep 07, 2008 8:56 pm
Location: Vancouver, BC, Canada

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#55 Post by bozilla » Thu Feb 18, 2010 2:32 pm

This is great everyone,

I haven't checked the forum in a while and noticing some great discussion! The VoodooHDA that enables the mic just made my day!

Just to touch base with some known issues reported here
1. Sleep doesn't work for me. Disabled AppleLPC, using VoodooPower and SleepEnabler for 10.6.2. Computer goes to sleep seemingly fine, shuts everything down, lights the sleep light. But when going out of sleep, it turns drives on, but display stays dark, and sleep light never shuts off.
Sleep is a b**ch. Make sure AppleLPC is missing form both the main /System/Library/Extensions folder as well as from the AppleACPI* folders. I would do a find /System/Library/Extensions/. -name "*LPC*" to see where else it pops up. Also make sure to disable AppleCPUPowerManagement.kext.
2. Every now and then when starting Snow Leo, the screen stays dark, even though everything else loads just fine. Need to reboot to have screen working again. I have the similar problem on 10.5.6, there I simply close the lid to go to sleep, and when I get back from sleep, screen works fine.
This one is interesting. I had not noticed it till I started booting from Chameleon with no -v verbose flag. I can tell you that when booting verbose (-v) I have NEVER seen this issue. I guess verbose is the boot choice for me then.
3. Screen backlight brightness controls are still broken, the same way as in 10.5.6. I've read, that playing around with DSDT can solve this problem, but not sure I know where to look. Also, this problem only occurs when using ATIinject.
Yep this is a known problem which I do not find necessary for my usage so I didn't bother :)

4. Other issues I have noticed are the [censored] microphone with Skype. I will try that VoodooHDA driver tonight, hopefully it works :)

5. Every so often, when the screensaver goes on and stays on for a few hours, the LCD doesn't come back yet programs that are running are still running, just no video. Not sure if theres a power management issue with the video card.

bozilla
Posts: 49
Joined: Sun Sep 07, 2008 8:56 pm
Location: Vancouver, BC, Canada

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#56 Post by bozilla » Thu Feb 18, 2010 2:45 pm

Silencer wrote: What's the problem with it? I personally don't use it, there are better alternatives, but at first it worked great. I suggest you to try RadeonHD. Here's the main thread: http://www.insanelymac.com/forum/index. ... pic=190586
This is most intriguing. I'll take a look at this Driver. It sounds promising. I'll update the guide it it looks smooth! Thanks!

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#57 Post by Silencer » Thu Feb 18, 2010 3:24 pm

bozilla, great to see you here. While you were away I've spent quite some time on polishing SnowLeo on T60p and I did extensive research on DSDT editing. I'm still planning to write a huge post about, but still fighting with a couple of issues.

So far I have the following:
- 100% vanilla /System/Library/Extensions, which includes no changes to ATIRadeonX1000.kext to make video working, no non-official kexts there, no deleting of AppleHDA to make audio working.
- Vanilla speedstep with C-states to ensure CPU goes into deep sleep to save power. Temperature of the CPU in idle dropped to 43 degrees (opposed to 65 degrees without speedstep and 55 degrees in Windows - Core2Duo 2.3Ghz).
- Fixes for IOATAFamily panic, fix for native ICH7-M recognition, some other very minor fixes.
- Brightness slider in Display settings.
- Clamshell sleep fix in DSDT - easy, but I still can't make sleep working.
- Restart fix (shutdown works OOB).
- You don't need ATIinject. You can either use EFI strings or put data directly into DSDT. Relatively easy too.

I can also switch fan rotation speed using any Fn+ hotkeys that are not used in OSX, but I'm looking to make a resident in DSDT to do the automatic check of temperatures (might be not possible at all).

There's a theoretical possibility to make vanilla AppleSmartBattery work with Thinkpad batteries, but it's really painful to debug, so I've abandoned this idea for now.

Some other findings:
- Mic works only with VoodooHDA 0.2.35 (later versions didn't work for me). You need to install pref panel for it and then adjust input sliders there. It is very tricky, because once you try to make a call using Skype, it starts autoadjusting levels and drops to zero very soon. I've managed to play with it and had a long (30 minutes) call with no problems. The trick is not to set gains very high.
- RadeonHD.kext is very nice, brightness controls work fine with it, but it has a number of problems. I've observed that mouse cursor becomes hidden in some applications, which is related to HWcursor enabled. If you disable it - welcome back mouse tearing. RadeonHD also cannot switch the display off (maybe I'll find a DSDT fix for it) and thus it stops T60p going into sleep (I've spent hours to find this one out, only ATINDRV.kext knows how to do it, and T60p goes to sleep to never wake up after that). But RadeonHD handles EDID better, and I was able to switch to 640x480 with it, while ATINRDV fails to do that resulting blank screen.

What I still cannot figure out is Sleep. This really kills me, since I've tried almost everything now. Sleep worked fine for me in 10.5.6, but here I have two problems:
- Only with ATINDRV.kext properly enabled I can actually make my T60p to go to sleep. Without it - display won't shut off, and laptop stays on, even though it disables hard drives, wireless, etc.
- Even if I go to sleep, I can't wake it up. Fans start spinning, hard drive comes to life, but displays stays off and the moon icon also stays on. bozilla, if you have sleep working currently with your T60p on Snow Leo, can you please send me two things: 1) full kextstat log 2) IORegistryExplorer dump?
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

bozilla
Posts: 49
Joined: Sun Sep 07, 2008 8:56 pm
Location: Vancouver, BC, Canada

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#58 Post by bozilla » Sat Feb 20, 2010 3:44 pm

Silencer wrote:bozilla, great to see you here. While you were away I've spent quite some time on polishing SnowLeo on T60p and I did extensive research on DSDT editing. I'm still planning to write a huge post about, but still fighting with a couple of issues.
Silencer it appears you've been a busy bee. Very cool for me since I get to jump some steps in the T60p OSX stuff. I've been looking into some of the suggestions you made...The DSDT patching is very interesting I'd like to get more information on what you've found. The more Vanilla we can make our boxes, the better it is protected on updates. Right now my box is still pretty kludgy. Maybe you should write a guide on DSDT patching and reference all your material used.
So far I have the following:
- 100% vanilla /System/Library/Extensions, which includes no changes to ATIRadeonX1000.kext to make video working, no non-official kexts there, no deleting of AppleHDA to make audio working.
How do you get around the PCI ID problem? Through the DSDT patching?
- Vanilla speedstep with C-states to ensure CPU goes into deep sleep to save power. Temperature of the CPU in idle dropped to 43 degrees (opposed to 65 degrees without speedstep and 55 degrees in Windows - Core2Duo 2.3Ghz).
I'm guessing you're going to say everything is DSDT patching so maybe I'll stop asking.....how did you accomplish this with the Vanilla power management? One other problem of course is the thinkpad security chip problem which occurs with Apple's LPC.
- Fixes for IOATAFamily panic, fix for native ICH7-M recognition, some other very minor fixes.
- Brightness slider in Display settings.
- Clamshell sleep fix in DSDT - easy, but I still can't make sleep working.
- Restart fix (shutdown works OOB).
- You don't need ATIinject. You can either use EFI strings or put data directly into DSDT. Relatively easy too.
Again DSDT or other drivers? IOATAFamily I just replaced it with a recompiled version of the PIIXATA driver.
Brightness for me is still gradiented
Clamshell works IF you use the ATIInject, but with RadeonHD.kext it is hosed (for the reasons you already mentioned)
Can you avoid ATIinject and still get sleep to work?
I can also switch fan rotation speed using any Fn+ hotkeys that are not used in OSX, but I'm looking to make a resident in DSDT to do the automatic check of temperatures (might be not possible at all).
Please do tell the secrets!
Some other findings:
- Mic works only with VoodooHDA 0.2.35 (later versions didn't work for me). You need to install pref panel for it and then adjust input sliders there. It is very tricky, because once you try to make a call using Skype, it starts autoadjusting levels and drops to zero very soon. I've managed to play with it and had a long (30 minutes) call with no problems. The trick is not to set gains very high.
MIC for me still does not work and I tried going through KingPins documentation. Something weird with ID 24 and 25 and the codec 2. I will need to investigate further. At the timebeing the latest VoodooHDA does give me sound but mic is still dead. It does appear that "CD" is the mic input.
- RadeonHD.kext is very nice, brightness controls work fine with it, but it has a number of problems. I've observed that mouse cursor becomes hidden in some applications, which is related to HWcursor enabled. If you disable it - welcome back mouse tearing. RadeonHD also cannot switch the display off (maybe I'll find a DSDT fix for it) and thus it stops T60p going into sleep (I've spent hours to find this one out, only ATINDRV.kext knows how to do it, and T60p goes to sleep to never wake up after that). But RadeonHD handles EDID better, and I was able to switch to 640x480 with it, while ATINRDV fails to do that resulting blank screen.
Yep. I abandoned the RadeonHD because sleep to me is more important than proper dimming and resolution control. With my ATIInject and EDID hacking my screen operates in full openGL mode and I can do some level of resolution switching AND the sleep works with clamshell.kext. Please keep us posted on this as I like RadeonHD it is so much more elegant than EDID hacking.
- Even if I go to sleep, I can't wake it up. Fans start spinning, hard drive comes to life, but displays stays off and the moon icon also stays on. bozilla, if you have sleep working currently with your T60p on Snow Leo, can you please send me two things: 1) full kextstat log 2) IORegistryExplorer dump?
I use clamshell.kext and sleepenabler (compatible with Snow Leo) to enable proper sleeping. This is in conjunction with ATINDRV.kext and ATIInjext.kext. The ATIinject uses the ATI,WORMY method.

here's a dump of the pertinent info.

http://www.mediafire.com/?gnewdtywoz0

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#59 Post by Silencer » Sat Feb 20, 2010 5:26 pm

Maybe you should write a guide on DSDT patching and reference all your material used.
The plan is to write a proper guide. I'm now trying last couple of things with video, trying to inject more vanilla parameters to see if it will make it better. Really wanted to try vanilla Wormy framebuffers, but think it's impossible without heavy code patching, which I'm too lazy to investigate.
How do you get around the PCI ID problem? Through the DSDT patching?
With HDA you simply need to remove HDEF device from DSDT. With video it's trickier. In general for any device you have about 50% chance to inject fake device ID from DSDT, it's relatively simple. When it doesn't work, you can put so called "legacy kext" into /Extra/Extensions. This kext will consist only of single Info.plist, which replaces any Info.plist from any kext in /S/L/E. Basically, it overrides original kext. It's not the 100% upgrade proof solution, but it's pretty good, since you don't mess with original kexts. You can also have multiple Info.plist overrides in a single Info.plist!

It's not 100% upgrade proof, because sometimes Apple decides to change the structure of Info.plist in any given kext, so your override wont' work. But the fix, of course, is simple.
I'm guessing you're going to say everything is DSDT patching so maybe I'll stop asking.....how did you accomplish this with the Vanilla power management? One other problem of course is the thinkpad security chip problem which occurs with Apple's LPC.
With CPU power management it's very complex fix, I've spent quite some time to polish it into perfection. I will write about it later in details, but what you looking into are the following steps:
1) You need to make some patched to DSDT.
2) You need to use proper Mac model or make your own - I've created my own - MacBookPro2,3. MacBook2,1 - is the one that is almost identical to my T60p (CPU and graphic wise).
3) You need make legacy kext (from above) patch Info.plist of ACPI_SMC_Platform.kext to include information about your fake model to enable P-states and C-states.
Again DSDT or other drivers? IOATAFamily I just replaced it with a recompiled version of the PIIXATA driver.
Brightness for me is still gradiented
Clamshell works IF you use the ATIInject, but with RadeonHD.kext it is hosed (for the reasons you already mentioned)
Can you avoid ATIinject and still get sleep to work?
IOATAFamily.kext - simple DSDT fix, makes it upgrade proof. I've read that current patched kexts rise Kernel Panics in 10.6.3.
Brightness slider doesn't fix the brightness itself (still bad with ATINDRV), but it allows you to adjust brightness in very fine steps, so you can go 15% down on brightness without any problems.
Restart fix is not DSDT fix per se, but close. You need to use patched Chameleon and then extract FADT.aml table (the same area as DSDT) and patch single bit there and put FADT.aml in /Extra next to DSDT. Once you done this, you're good.
Clamshell is simple DSDT fix to basically call SLPB button function on LID close. This code is not in our DSDTs, since on PCs you don't always go to sleep on LID close. Easy to add though, Clamshell.kext does the same thing on software level (if lid closed, call Sleep). The problem is, that it works only with ATIinject because ATIinject uses ATINDRV framebuffers, and they are the ones that can shut display off and allow T60p to go to sleep. Once you make DSDT fix, you don't need Clamshell fix in any case.
I can also switch fan rotation speed using any Fn+ hotkeys that are not used in OSX, but I'm looking to make a resident in DSDT to do the automatic check of temperatures (might be not possible at all).

Please do tell the secrets!
Will show the piece of code and how to put it in your DSDT, but it's not very useful at the moment. Although, there's a bug in DSDT or fan controller at the moment, which doesn't spin the fan in OSX at full speed when temperatures rise, so you can fry to CPU (little chance though). The bug is when you set fan control in BIOS to Automatic, it starts in the slowest speed, and it never changes in OSX. Once you go to sleep and then wake up, fan is shut off and then again set to Automatic (in the DSDT code), but after that it starts spinning at very fast speed.
MIC for me still does not work and I tried going through KingPins documentation. Something weird with ID 24 and 25 and the codec 2. I will need to investigate further. At the timebeing the latest VoodooHDA does give me sound but mic is still dead. It does appear that "CD" is the mic input.
I've discovered Mic working almost randomly. You need to use 0.2.35 version of VoodooHDA. Input will be marked as CD, but in reality it's Mic. Then you need to install VoodooHDA pref panel and then go to Input adjustments and move all enabled sliders right (but not all the way). Then you can go back to Sound settings to Input tab and you should see that Input level is present. After that you need to test Skype calls and adjust sliders in VoodooHDA preferences so that they are not very high.
Yep. I abandoned the RadeonHD because sleep to me is more important than proper dimming and resolution control. With my ATIInject and EDID hacking my screen operates in full openGL mode and I can do some level of resolution switching AND the sleep works with clamshell.kext. Please keep us posted on this as I like RadeonHD it is so much more elegant than EDID hacking.
ATIinject.kext by itself does nothing. What it does it injects some vanilla Mac ATI parameters during boot into ACPI. The real magic happens in ATINDRV.kext, which contains the framebuffer drivers. ATIinject can be abandoned all together if you inject the same info either directly to DSDT or in com.apple.Boot.plist in /Extra as EFI string.

Again, sorry for teasing you with all the DSDT patching, just want to make the full story in a single post. I promise, I will write it next week - no point of spending so much time and not share it with others.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

BenderFender
Posts: 1
Joined: Tue Feb 23, 2010 3:49 am
Location: Paris, France

Re: Vanilla (10.6) Guide for T60p (2007-CQ8) 1400x1050

#60 Post by BenderFender » Tue Feb 23, 2010 6:43 am

Hey everyone,

After one long week of struggle, I finally got my T60p working with Snow Leopard. First of all, I want to thank everyone who posted on this thread and especially bozilla and silencer. I'd probably have spent a whole month trying to understand everything if it wasn't for you guys.

A few things that helped me get the system working :

1. DSDT Patcher GUI did not work for me in Leopard (10.5.7 / iAtkos v7), I received the same 4095 error as mnlavey (see above). It's not really a problem if you're running iAtkos v7, because you already have a dsdt.aml file at the root of your system drive (which I did not know at first). You can also try another DSDT patcher called DSDTSE.

2. I got systematic kernel panic when trying to boot the SL drive with Chameleon (even the latest versions). If that happens, try PC EFI v9 (as indicated in the tutorial), it solved everything for me.

3. My keyboard / mouse were not recognized during the first SL boot. Turns out I needed to have appleacpips2nub.kext included in the /Extra/Extensions folder.

Cheers !

L.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “OS-X on a ThinkPad”

Who is online

Users browsing this forum: No registered users and 2 guests