Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

OS-X on ThinkPads
Post Reply
Message
Author
bozilla
Posts: 49
Joined: Sun Sep 07, 2008 8:56 pm
Location: Vancouver, BC, Canada

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#181 Post by bozilla » Fri Jul 02, 2010 12:57 am

Silencer wrote:The only problem is that you can't use 60Hz, only 50Hz. But I prefer to use vanilla solutions.
Interesting. With Plastikman's EFI injection I'm getting 60Hz! Yay!

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#182 Post by Silencer » Fri Jul 02, 2010 2:44 am

bozilla wrote:Interesting. With Plastikman's EFI injection I'm getting 60Hz! Yay!
Great, but might be related to the fact that you have V5250, and not V5200. I'm pretty happy with my 50Hz :)
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: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#183 Post by Silencer » Fri Jul 02, 2010 2:45 am

bozilla wrote: P.S. Silencer I solved my heat issues (combination of a fan cleaning, heatpipe hack and i had an error in my thermal management profile. Running nice and cool now!
What is you idle temp? For me on Core2Duo 2.3GHz I have it idling on around 40-43 degrees Celsius.
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: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#184 Post by bozilla » Fri Jul 02, 2010 9:36 am

Considering my fan assembly is the ghetto older kind I'm very happy with my 44-48 Idles. I did see some of the newer ones on sale at ebay but your post about faulty fans scared me off a little.

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#185 Post by Silencer » Fri Jul 02, 2010 9:40 am

bozilla wrote:Considering my fan assembly is the ghetto older kind I'm very happy with my 44-48 Idles. I did see some of the newer ones on sale at ebay but your post about faulty fans scared me off a little.
Yep, as far as I recall I had to purchase 2 or 3 of them to find the one that worked without any problems. You can always try to get new replacement part from one of the online dealers.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

teladoy
Sophomore Member
Posts: 171
Joined: Sat Oct 11, 2008 2:32 am
Location: Princeton, Florida

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#186 Post by teladoy » Fri Jul 02, 2010 9:45 am

silencer wrote: It's not really a guide per se, but rather an extensive knowledge base on the subject. You should definitely at least read it, you will be able to answer a lot of questions.

As for V5250, I think this is something that can be solved, I've seen some custom kexts for that video, so if not vanilla solution, but something will work for sure.
Thank you for the encouragement I am reading since yesterday.

bozilla wrote: The pfix script is just that. A script. The first thing it will ask is which /dev/disk to run on. Make sure you know which disk and partition has your OSX on it. If you only have one drive then more than likely it will be option 1. The script takes a while to run and will return you to the terminal prompt when it is done. Once you are back in the terminal prompt (ie you can type other commands etc) it is safe to close that window.
bozilla if pfix is a script should it be run on apple script or the terminal? I try on the terminal yesterday few times all in one line sudo -s /extra/pfix -t / then type password and got no command exist.
Except for one time that crash google that was open. Restart and it was fine.
I use the terminal like I walk on eggs so that is why I ask about this to feel a more secure and being it such of important command (script) that has to be done over and over.
Never see any /dev/disk.
I have another hard drive with 10.6.3 (distro) (with internet problems) that I can use for practice and one that I will like to run the pfix if you could tell me what am I doing wrong.
bozilla wrote: My t60p has a v5250 and the X1600 drivers mention on this page of the discussion works perfectly.
I am very happy to hear that. I work for over month in ebay to get the t60p.
Mac Mini 10.8, iPad First Generation Jailbroken, T61 10.5.8

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#187 Post by Silencer » Fri Jul 02, 2010 9:54 am

teladoy wrote: bozilla if pfix is a script should it be run on apple script or the terminal? I try on the terminal yesterday few times all in one line sudo -s /extra/pfix -t / then type password and got no command exist.
Before you can run a script /Extra/pfix you should first put it there :) Download it here, extract and then put into /Extra. After that you will be able to run that command.
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: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#188 Post by Silencer » Fri Jul 02, 2010 9:56 am

teladoy wrote: bozilla if pfix is a script should it be run on apple script or the terminal? I try on the terminal yesterday few times all in one line sudo -s /extra/pfix -t / then type password and got no command exist.
Also, the example you show is incorrect. The correct would be:

Code: Select all

sudo /Extra/pfix -s -t /
Please note that OSX is case sensitive (/extra is not /Extra) and that the order of arguments is very important.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Blue Thunder
Freshman Member
Posts: 84
Joined: Fri Dec 07, 2007 8:50 am
Location: Brisbane, Australia

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#189 Post by Blue Thunder » Mon Jul 05, 2010 10:36 pm

bozilla wrote:What is you idle temp? For me on Core2Duo 2.3GHz I have it idling on around 40-43 degrees Celsius.
Just curious, how do you guys check your temps? Does OSX have a built-in application or do you use a third party application?

Oh and I've also updated to 10.6.4 without problems.
BT - R50, T60p, X60T.
"Freshman"!? I ain't fresh... :P

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#190 Post by bozilla » Mon Jul 05, 2010 10:58 pm

I use a free app called "Temperature Monitor" which comes in two flavours. The "lite" version is all you really need!

P.S. OSX running on SSD is simply divine. It makes DSDT patching even faster since reboot times are quick.

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#191 Post by bozilla » Mon Jul 05, 2010 11:16 pm

Hey Silencer,

How far did you dive into _PR in the DSDT? I setup 8 P-States for my machine and actually had them load in properly but I could never find a way to get the O/S to switch between them. I thought I had modified my thermal management profile correctly to handle the P-State switching but it's a bit of a mystery to me. Certainly mimicking the MacbookPro and having it adjust P-States that way (4 states I think) was MUCH simpler, I just feel that I'm missing out on some additional stepping (which is really kind of overkill).

It's the mystery that is killing me.

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#192 Post by bozilla » Mon Jul 05, 2010 11:44 pm

Just a General Note:

I have tar'd up my /Extra folder for anyone with a 2007-CQ8 or equivalent box. Pay heed to my warnings

**** Warning 1 ****
I use the boot loader suggested in this thread to patch using SMBIOS.plist in my /Extra. I do not know what will happen if you just use Chameleon or something else. If you decide no to use AserBLN 1.9 then you're on your own. Actually you're on your own no matter what :)

**** Warning 2 ****
If you used a distro to get up and running you need to roll back all your /System/Library/Extensions hacks and replace them back with the vanilla copies. Also remove any "added" drivers such as ATIinject.kext etc as they will conflict with /Extra/Extensions. Ideally your S/L/E will be totally vanilla and untouched.

**** Notes ****
There are some boot-up errors related to the PS2Nub which I am still investigating and I have noticed sometimes the VoodooHDA doesn't load up on boot and I have to kextload it manually. Lastly, every so often when the planets align, the CPU doesn't speedstep and CPUPlimit is gone from the IORegistry. Might be a SMBIOS patching problem with the bootloader.

**** Warning 3 ****
If you blindly use my DSDT.aml and SMBIOS.plist and video card settings you might hose your system. If you have the following specs on you T60p, there is a good chance you might be able to use my Extra/ folder as-is.
If you want to check your PCI addresses against some of the ones I have listed I suggest using lspci from here
http://www.x86dev.org/forum/index.php?topic=307.0

2007-CQ8
http://www-307.ibm.com/pc/support/site. ... ry=2007CQ8
- 2.16Ghz Core Duo (NOT core 2 duo)
- Trackpoint and Trackpad, no finger scanner
- 1400x1050 256MB ATI FireGL V5200 [0x71C41002]
(sorry teladoy i have a v5200 - just checked against lenovo site)
- AD1981HD Audio
- Atheros 5212 802.11/abg [pci168c,1014]

You can download my /Extra/ here:
http://www.mediafire.com/?hogzydemhuz

APPENDIX
This is a complete dump of my PCI bus

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
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)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller [8086:27c5] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M56GL [Mobility FireGL V5200] [1002:71c4]
02:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212 802.11abg NIC [168c:1014] (rev 01)
15:00.0 CardBus bridge [0607]: Texas Instruments PCI1510 PC card Cardbus Controller [104c:ac56]

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#193 Post by Silencer » Tue Jul 06, 2010 2:16 am

Blue Thunder wrote: Just curious, how do you guys check your temps? Does OSX have a built-in application or do you use a third party application?
I use iStat Menus 2.0, new version is not free anymore.
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: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#194 Post by Silencer » Tue Jul 06, 2010 2:21 am

bozilla wrote:How far did you dive into _PR in the DSDT? I setup 8 P-States for my machine and actually had them load in properly but I could never find a way to get the O/S to switch between them. I thought I had modified my thermal management profile correctly to handle the P-State switching but it's a bit of a mystery to me. Certainly mimicking the MacbookPro and having it adjust P-States that way (4 states I think) was MUCH simpler, I just feel that I'm missing out on some additional stepping (which is really kind of overkill).

It's the mystery that is killing me.
Well, I never needed more p-states that are already defined in my SSDT, so I don't change _PR section except for c-states.

But in regards of your problem, you need to check a few things. With IORegistryExplorer in ACPI_SCM_PlatformPlugin you should see PerformanceStateArray with the number of values you have defined (8 in your case). Then CPUPlimit should be 0x0 - this is the part that actually unlocks stepping. There are also CSTInfo and CStateOverride values, but they are only for c-states, not related to stepping.

There's also an MCH Throttle array, or something similar, which is again set automatically from SSDT, not sure if you also need to define throttling values for correct stepping. Shouldn't be related.
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: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#195 Post by Silencer » Tue Jul 06, 2010 2:30 am

A note on updating to 10.6.4.

The update itself goes on without any problems. But after you reboot, that regenerate kext caches and reboot again, you might notice that CPU temperature is way too high comparing to what you had before. I checked and SpeedStep was not enabled.

The reason for that some new values that are defined in the Mac models plists. You once again need to carefully study your legacy kext and your chosen prototype model plist. I've found three values that I needed to add. After that I regenerated caches, rebooted and stepping was working as before.

The other problem I stumbled upon with 10.6.4 is that I can't wake my T60p from sleep. It goes to Sleep, but then no matter what I do, it stays in the sleep state. I will investigate it further.
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: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#196 Post by bozilla » Tue Jul 06, 2010 1:13 pm

Silencer wrote:A note on updating to 10.6.4.
The reason for that some new values that are defined in the Mac models plists. You once again need to carefully study your legacy kext and your chosen prototype model plist. I've found three values that I needed to add. After that I regenerated caches, rebooted and stepping was working as before.
I should restate that this method is upgrade-resistant not upgrade-proof. You are correct. The 10.6.4 update has some changes to the MacBookProX_X.plists which, in my case, actually forced my CPUPLimit to "3" which means "min frequency". What I had initially thought was a big upgrade in power management and fan control turned out to be me running at < 1Gig. Nice and cool, but boy, try to watch a video - good luck!
The other problem I stumbled upon with 10.6.4 is that I can't wake my T60p from sleep. It goes to Sleep, but then no matter what I do, it stays in the sleep state. I will investigate it further.
Interestingly when I had upgraded to 10.6.4 and ran into the same hurdle I had assumed it was something I did wrong. When I swapped in my SSD drive the problem actually went away making me wonder if the "hard drive sleep" function was changed somehow in this update. Try disabling the "put hard drives to sleep" function in OSX and see whether your laptop will wake.

Regarding the P-states, I do know when I resort to _PR hacking, the PStateArray shows all 8 values correctly but the CPUPLimit value is complete gone which seems to point to P-State changing being disabled for some reason. I'll play around with it some more but it really does move us away from Vanilla operation (no Macbook uses 8 Pstates, they all use 3-5 states depending on model).

I do know if you load VoodooPstate.kext you can really see the stepping in action (just for educational purposes).

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#197 Post by Silencer » Tue Jul 06, 2010 1:39 pm

bozilla wrote: Regarding the P-states, I do know when I resort to _PR hacking, the PStateArray shows all 8 values correctly but the CPUPLimit value is complete gone which seems to point to P-State changing being disabled for some reason. I'll play around with it some more but it really does move us away from Vanilla operation (no Macbook uses 8 Pstates, they all use 3-5 states depending on model).
Well, the thing with p-states is that it's not a really good thing if you have a lot of them. When I used CoolBook with 10.5, I had only two states defined. The problem is that going from one step to another and back takes some computing time. Margins, really, but still. One thing I can see _PR section p-states defined for is underclocking. You can have your CPU running on higher frequencies with less voltage (and so is temperature) and have higher frequency defined for the lowest voltage setting. But this is a rather tricky task.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

Neflem
Posts: 34
Joined: Sun Apr 11, 2010 1:57 pm
Location: Toronto, Ontario, Canada

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#198 Post by Neflem » Tue Jul 06, 2010 5:12 pm

Silencer wrote:A note on updating to 10.6.4.

The other problem I stumbled upon with 10.6.4 is that I can't wake my T60p from sleep. It goes to Sleep, but then no matter what I do, it stays in the sleep state. I will investigate it further.
When I upgraded to 10.6.4, I had to DL a new SleepEnabler.kext file.
Not sure if you use this bad boy or not - just thought I would chime in.
ThinkPad X60 Tablet (6363-C7U)
Intel Core 2 Duo L7400(1.5GHz)
4GB Memory / Seagate ST9500420AS 500GB HD
12.1in 1400x1050 LCD ( Intel GMA950 )
SD Card / 9 Cell Battery / Bluetooth / Wifi Atheros AR5BXB72
MacOSX 10.6.4

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#199 Post by Silencer » Tue Jul 06, 2010 5:33 pm

Neflem wrote: When I upgraded to 10.6.4, I had to DL a new SleepEnabler.kext file.
Not sure if you use this bad boy or not - just thought I would chime in.
SleepEnabler is only needed when you are not using vanilla CPU power management. It got something to do with the kernel talking to the AppleIntelCPUPM.kext, which is disables in the most of the quick and dirty guides. SleepEnabler.kext tricks kernel somehow to make sure sleep is working. But the problem is usually not being able to go to sleep, which works fine for me.
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

chris-uk
Posts: 23
Joined: Fri Jun 06, 2008 3:18 pm
Location: Portsmouth, UK

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#200 Post by chris-uk » Tue Jul 06, 2010 5:39 pm

I'm still on leopard with my t60p but my idle is 78deg c - thats running coolbook set to a frequency of 1002 mhz and 0.95v - it's the later v5250 t60p but either way looks like something in my setup is screwed so will have to give SL a try

teladoy
Sophomore Member
Posts: 171
Joined: Sat Oct 11, 2008 2:32 am
Location: Princeton, Florida

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#201 Post by teladoy » Tue Jul 06, 2010 11:35 pm

This message comes from R60 running 10.6.4 looking at a external monitor 1920x1080.
bozilla wrote:Just a General Note:
I have tar'd up my /Extra folder for anyone with a 2007-CQ8 or equivalent box. Pay heed to my warnings
(sorry teladoy i have a v5200 - just checked against lenovo site)
[/code]
But at lease you try and for that I thank you.
bozilla wrote:J
- 2.16Ghz Core Duo (NOT core 2 duo)
- Trackpoint and Trackpad, no finger scanner
- 1400x1050 256MB ATI FireGL V5200 [0x71C41002]
(sorry teladoy i have a v5200 - just checked against lenovo site)
- AD1981HD Audio
- Atheros 5212 802.11/abg [pci168c,1014]
[/code]
Well bozilla that is to bad now I may have to sell this beauty (T60p). I am simple mac user with 12 years experience since the iMac that look like a television. I have developed a small amount of requisite: Internet, Adobe Illustrator, iTunes and VLC for movies yes I use TextEdit, Preview or Adobe Photoshop, Synergy and a bunch of small programs for my daily use but sleep has never been a problem for me and workaround have provided me with a cheap mac. Do to a fact that when I own areal one I lose it twice so my destiny is a cheap mac but not a perfect cheap mac yet one that I can do my stuff.
So I will keep reading and perhaps even trying on another laptop to learn the a DSDT "wooooow" and the other ACPI tables that make me tremble this post is a real university all I wish that I was smart like you are no smart like I am.
chris-uk wrote:I'm still on leopard with my t60p but my idle is 78deg c - thats running coolbook set to a frequency of 1002 mhz and 0.95v - it's the later v5250 t60p but either way looks like something in my setup is screwed so will have to give SL a try
chris-uk I also have a v5250 and external monitor is a must do you have that option in system preference because if I could fix that problem I have a hard drive with 10.6.4 ready for Adobe Illustrator on 64bit wich is the only reason I move out of 10.5.8 the most stable and worry free OS X because they never will do nothing to mess it up but 64bit is only possible in 10.6 with core 2 duo a reason why the T60p with 2.33 was my choice. I am able to see the image at 1280 x 1024 and with not external available forget
CQ and the other C that I dont even know what they do. Is shame that a strong video car with memory to give away can't not perform for me.
Any info will be appreciated.
Mac Mini 10.8, iPad First Generation Jailbroken, T61 10.5.8

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#202 Post by bozilla » Wed Jul 07, 2010 4:16 am

chris-uk wrote:I'm still on leopard with my t60p but my idle is 78deg c - thats running coolbook set to a frequency of 1002 mhz and 0.95v - it's the later v5250 t60p but either way looks like something in my setup is screwed so will have to give SL a try
Chris, what are your temps in windows? One thing to check is to set BIOS to disable speedstep OR setup so that the bios puts the cpu in the lowest power mode no matter what and then check temps. I suspect if you are still running hot under those situations your thinkpad has a bad cooling issue (bad fan, clogged fan, bad contact with heatpipe). In which case you should look up "hot thinkpad" in google and try to locate the solutions they have for fixing the hardware to run cooler.

I did the "penny" mod on mine as well as rejigged my heatpipe and got much cooler temps as a result. Silencer mentioned upgrading the CPU and as a result upgrading to a new t60 fan which has very good results.

Lastly double check against the guide here on your BIOS settings for thermal management as the BIOS controlled fan plays a big roll in how it is cooled in OSX.

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#203 Post by bozilla » Wed Jul 07, 2010 4:31 am

teladoy wrote:I have a hard drive with 10.6.4 ready for Adobe Illustrator on 64bit wich is the only reason I move out of 10.5.8 the most stable and worry free OS X because they never will do nothing to mess it up but 64bit is only possible in 10.6 with core 2 duo a reason why the T60p with 2.33 was my choice. I am able to see the image at 1280 x 1024 and with not external available forget CQ and the other C that I dont even know what they do. Is shame that a strong video car with memory to give away can't not perform for me.
Any info will be appreciated.
If you had working video in 10.5.8 what were you using? A modified ATIX1000.kext and maybe ATIinject or RadeonHD.kext? If you had a working solution in 10.5.x then you should be able to port that solution to 10.6 or at least understand what is missing in 10.6. You can also USE the 10.5.x solution in 10.6 but simply use the 32-bit driver that was working (at least for now). If your T60p was fully workin in 10.5.8 then it will have a good chance at fully working in 10.6

I am guessing your best chance of success is to google around for "EDID" table extraction of your LCD panel (you will need windows for this). And find out how to inject that information into either ATIinject, RadeonHD, or through EFI strings (which is what Silencer has done using com.Apple.boot.plist in this guide).

There even appears to be a T60 EDID database on this very forum
http://www.thinkpads.com/forum/viewtopi ... 29&t=82149

I have information on getting my V5200 working using ATIinject.kext (which is the old method but it is what i used since 10.5.2
http://www.thinkpads.com/forum/viewtopi ... 32&t=81631
Just scroll down to the VIDEO section

For EDID extraction check out this page
http://akson.sgh.waw.pl/aci/EDIDguide/

For EDID editting I wrote a little blurb inside the same thread
http://www.thinkpads.com/forum/viewtopi ... 1&start=53

You will need plist editor pro, your EDID information and the steps i posted.

The key here is to "get it working" first and then try to tweak it to make it perfect. THEN you can start playing around with EFI string injection and back out the changes as you go. I prefer to have a heavily hacked working OSX and then back out changes to optimize for Vanilla operation as I go. Keeps my sanity.

chris-uk
Posts: 23
Joined: Fri Jun 06, 2008 3:18 pm
Location: Portsmouth, UK

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#204 Post by chris-uk » Wed Jul 07, 2010 5:52 pm

@bozilla ah, the word thermal got me thinking back - i checked through kextstat and didn't have any of the problematic thermal kexts loaded - but then i found a plugin kext under acpi that was loaded called AppleACPIThermal.kext - removing that, rebooting and rebuilding kext cache has meant i've gone down to a 45deg idle - stupid me, why didn't i get round to doing it earlier?!

@teladoy i'm still on 10.5.7 - i just haven't had time to give SL a go yet, though i've been reading this thread intently hoping someone would do all the hard work with the slight differences on the v5250. i manually patched the ATI 1000 kexts in my 10.5.7 install and then inject the EDID - i was hoping to do some DSDT trickery to change the device id of the v5250 to one of the cards supported by default within osx (rather than patching a kext) - i believe the v5250 is the same as either the ati 1600/1650/1700 from memory - but i haven't figured out a way to do it yet

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

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#205 Post by bozilla » Wed Jul 07, 2010 11:15 pm

Glad to be of help, despite it being a total roudabout way.
As far as I know the v5200/v5250 should both be X1600 compatible/similar. Plastikman's EFI injection string (mentioned in this thread somewhere) does this trickery. So if you wanted to try it you could always try the EFI method and disable your ATINdrv.kext, ATIinject.kext. Make sure you have a way to recover if it fails horribly. Probably the -s boot option in the bootloader will do it (no graphics involved).

The way I migrate from ATIinject to EFI strings was to disable ATIinject.kext, ATINdrv.kext (for frame buffers). Then following Silencer's instructions I created an EFI string from my EDID data and put it into my com.Apple.boot.plist. I then downloaded RadeonHD (linked in this guide) and used IT as my framebuffer driver (within Extra/Extensions). I booted up with the EFI injection and it worked great with resolution switching. THEN I disabled RadeonHD.kext and replaced my EDID data in com.Apple.boot.plist with Plastikman's version and rebooted (crossed fingers). And it worked! Under this setup, about this mac shows an X1600.

teladoy
Sophomore Member
Posts: 171
Joined: Sat Oct 11, 2008 2:32 am
Location: Princeton, Florida

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#206 Post by teladoy » Sat Jul 10, 2010 6:19 am

Well I am back about v5250 issue.
I found a link to a possible solution
http://www.projectosx.com/forum/index.p ... 0&hl=v5250
but I can't do it I have try numerous times and can't edit the:
ATIRadeonX1000.kext/Contents/Info.plist
or
ATIRadeonX100.kext/Contents/MacOS/ATIRadeonX1000
I download the applications and can use v to edit because I don't know the way to use it I will read about while I waiting and in the case of hex editor using OxED can find the offsets # he mention.
If any one of you guy could help me editing this kext for me I will appreciated this may be the solution about the the v5250.
My devise ID # is 0x71d4
Mac Mini 10.8, iPad First Generation Jailbroken, T61 10.5.8

Neflem
Posts: 34
Joined: Sun Apr 11, 2010 1:57 pm
Location: Toronto, Ontario, Canada

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#207 Post by Neflem » Sun Jul 11, 2010 8:51 pm

Hey teladoy,

I followed the instructions on the page and up'd the modified kext to ATIRadeonX1000.kext.zip

Please post if it works for you.

Unzip the file anywhere you want
chown as root:wheel.
ie: At the terminal prompt

Code: Select all

sudo chown -R root:wheel ATIRadeonX1000.kext
Now move the file to /System/Extensions/Library

Code: Select all

sudo mv ATIRadeonX1000.kext /System/Extensions/Library
Be sure to backup your original kext file first. ;)
ThinkPad X60 Tablet (6363-C7U)
Intel Core 2 Duo L7400(1.5GHz)
4GB Memory / Seagate ST9500420AS 500GB HD
12.1in 1400x1050 LCD ( Intel GMA950 )
SD Card / 9 Cell Battery / Bluetooth / Wifi Atheros AR5BXB72
MacOSX 10.6.4

teladoy
Sophomore Member
Posts: 171
Joined: Sat Oct 11, 2008 2:32 am
Location: Princeton, Florida

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#208 Post by teladoy » Sun Jul 11, 2010 11:27 pm

Neflem

Thank you for this.
I been trying myself to at lease edit with text edit, with no luck.
But I think I need a little more help, this time with the terminal.

In the S/L/E it is a kext (ATIRadeonX100) already install what should I do with that?
What I been doing is send it or drag it to trash, then using KextHelper I send the new kext to the S/L/E then I use pfix, and I get a KP.
I probably been using and doing the wrong things.

Because of not understanding Terminal English
Neflem wrote:Unzip the file anywhere you want
I did that
Neflem wrote:chown as root
Means I have to write sudo s and password and them
Neflem wrote:sudo chown -R root:wheel ATIRadeonX1000.kext

There I am confuse???

Then
Neflem wrote:Now move the file to /System/Extensions/Library
How drag it? Or use KextHelper
Or by typing
Neflem wrote:sudo mv ATIRadeonX1000.kext /System/Extensions/Library

in the terminal does it.
Neflem wrote:Be sure to backup your original kext file first
Why is not good anyway

Sorry if I sound a novice or less but what I say sure will give you and idea how low my knowledge is.
I am looking forward to try aging (20times) already but a few more I don't mind.
Like I say a bit more help and I think I can do it.
Mac Mini 10.8, iPad First Generation Jailbroken, T61 10.5.8

Neflem
Posts: 34
Joined: Sun Apr 11, 2010 1:57 pm
Location: Toronto, Ontario, Canada

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#209 Post by Neflem » Mon Jul 12, 2010 8:21 am

You guys are spoilt by the GUI!!! :P

I forget that not everyone was weened on the command line, my apologies.

Ok, let's try to make it as easy as possible:

1st, you'll be performing all the commands in a Terminal (sorry, I don't use kexthelper)

All the commands will be in the "code" box (followed by any output).
These are the commands that you will type in the terminal.

Let's start:

cd to where you have the ATIRadeonX1000.kext.zip file.
I put mine in my "tmp" directory.

Code: Select all

[user@straken ~/tmp]$ unzip ATIRadeonX1000.kext.zip
Archive:  ATIRadeonX1000.kext.zip
   creating: ATIRadeonX1000.kext/
Now, you have the kext unzipped but the ownership is set to your user id.
You need to change this to root:wheel (needed for any kext that resides in /S/L/E directory)

Code: Select all

[user@straken ~/tmp]$ sudo chown -R root:wheel ATIRadeonX1000.kext
The kext now has the proper user and group (root:wheel) ownership.
We just have to move it to the correct directory - namely /System/Library/Extensions

Code: Select all

[user@straken ~/tmp]$ sudo mv ATIRadeonX1000.kext /System/Library/Extensions
Just to make sure you're following me, you are typing everything after the "$" in the above "code" boxes.
(Once you have the file unzipped, you can just copy and paste the commands from the above code boxes where appropriate)

Once you have all that done reboot and you should be good.

About backing up the old/original kext.
It's just good practice - you are correct in that it is "not good" - for your use.
But if you needed the original to make further or a better modification, you would no longer have it.
Also, what if i f00ked up the kext, you may not be able to boot and get the kernel panics. :(
ThinkPad X60 Tablet (6363-C7U)
Intel Core 2 Duo L7400(1.5GHz)
4GB Memory / Seagate ST9500420AS 500GB HD
12.1in 1400x1050 LCD ( Intel GMA950 )
SD Card / 9 Cell Battery / Bluetooth / Wifi Atheros AR5BXB72
MacOSX 10.6.4

teladoy
Sophomore Member
Posts: 171
Joined: Sat Oct 11, 2008 2:32 am
Location: Princeton, Florida

Re: DSDT Patching for Dummies - SnowLeo with 100% vanilla /S/L/E

#210 Post by teladoy » Mon Jul 12, 2010 8:44 am

Neflem wrote:You guys are spoilt by the GUI!!!
Yes me in particular :oops:
Neflem wrote:I forget that not everyone was weened on the command line
Wish other will notice too. :idea:



I am using a already made disk (distro) for installation because of not having any terminal skills.
Appreciate your respond and I will get to this ASAP.

Good luck to you.
Mac Mini 10.8, iPad First Generation Jailbroken, T61 10.5.8

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “OS-X Questions”

Who is online

Users browsing this forum: No registered users and 48 guests