PDA

View Full Version : Installing Snow Leopard on ThinkPad X61


NIXin
08-22-2009, 10:58 PM
Hi everybody,

I have just successfully installed Snow Leopard on my ThinkPad X61s, from which I'm writing right now. I think this should also work with 10.5 vanilla too. Also, should be the same as with ThinkPads X61 Tablet and T61 (version with GMA X3100).

What you need:
1. another computer running Snow Leopard (Leopard is probably okay too)
2. a screwdriver :)
3. a couple of .kexts (listed below)
4. about 2 hours or your time

My ThinkPad X61 Pack (http://dl.getdropbox.com/u/114474/MacOSX/ThinkPad-X61%20Pack.zip)

Here are the steps:
1. backup all your data from your X61
2. take out the hard disk from your X61 (there only one screw, then pull out the HDD)
3. install the 2.5" disk from X61 to an external enclosure or a desktop PC
4. format the disk using GUID Partition Table (if you want to multiboot later then make a more then one partition)
5. install Snow Leopard onto the X61's disk by directly opening the OSInstall.mpkg from /System/Installation/Packages on the SL's image
6. when installation completes, copy the provided dsdt.aml to root directory of your new SN
7. install latest fakesmc.kext from netkas.org (or you can try the newest dsmos.kext - a bit slower but shutdown and reboot works)
8. add the ID of Atheros card to IO80211Family.kext (see the link on bottom on how to do that)
9. remove the kexts: AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient and AppleHDA.kext
10. replace the FrameBuffer kext with the one provided - AppleIntelGMAX3100FB.kext
11. install VoodooHDA (for audio), VoodooPS2Controller (for keyboard and Trackpoint) and IOSDHCIBlockDevice.kext (for SDHC card reader) and Intel82566MM.kext (for LAN)
12. repair permissions:

chown -R root:wheel /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*
chmod -R 755 /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*
13. install Chameleon 1.0.12 on that partition and replace the /boot file (added in pack)
14. add the following code to com.apple.Boot.plist on the X61's partition:

<key>Timeout</key>
<string>4</string>
<key>device-properties</key>
<string>da0300000100000003000000390000000100000002010c00d0 41030a000000000101060000197fff04001600000062007500 69006c0074002d0069006e0000000500000001720200000a00 000002010c00d041030a000000000101060000027fff04001e 00000072006f006d002d007200650076006900730069006f00 6e0000002a0000004f70656e474c20456e67696e6520616374 697661746564207669612045464920537472696e672a000000 4100410050004c00300031002c0044006100740061004a0075 0073007400690066007900000008000000010000001c000000 4100410050004c00300031002c005000690070006500000008 00000001000000260000004100410050004c002c004e007500 6d0044006900730070006c0061007900730000000800000004 000000200000004100410050004c002c004800610073005000 61006e0065006c00000008000000010000002e000000410041 0050004c002c004e0075006d004600720061006d0065006200 750066006600650072007300000008000000020000001c0000 004100410050004c00300031002c0045004400490044000000 8400000000ffffffffffff004ca34549000000000011010380 2115780a87f594574f8c272750540000000101010101010101 0101010101010101ee1a008050201030103013004bcf100000 190000000f0000000000000000002387026401000000fe0053 414d53554e470a2020202020000000fe004c544e3135345841 2d4c30310a0041380000004100410050004c002c0053006500 6c006600520065006600720065007300680053007500700070 006f007200740065006400000008000000010000001c000000 4100410050004c002c004800610073004c0069006400000008 000000010000001e0000004100410050004c00300031002c00 44006500700074006800000008000000200000002301000007 00000002010c00d041030a0000000001010600001b7fff0400 28000000500069006e0043006f006e00660069006700750072 006100740069006f006e0073000000040000001c0000007200 650076006900730069006f006e002d00690064000000080000 000100000018000000760065006e0064006f0072002d006900 640000000800000086800000180000006c00610079006f0075 0074002d00690064000000080000000a0000002c0000007300 75006200730079007300740065006d002d00760065006e0064 006f0072002d0069006400000008000000d41100001e000000 730075006200730079007300740065006d002d006900640000 000800000084190000160000006200750069006c0074002d00 69006e0000000500000000</string>15. unmount/eject the disk, insert it back into your ThinkPad
16. you should see the chameleon loading, boot with flag -f

Summary
What's working:
- Ethernet
- WiFi (shows as Airport)
- Graphics (X3100) full support
- Display brightness control (use Pause and ScrLk to change the backlight)
- Firewire
- Keyboard and trackpoint
- SDHC card reader
- Audio (with mic and headphones jack)

What's not working:
- Battery meter / power settings
- FSB and multiplier is wrong (same problem as with 10.5.7-10.5.8) - injecting via smbios.plist doesn't help
- No SpeedStep
- Sleep/Wake
- Shutdown/Reboot (probably because of FakeSMC)

Didn't try the PCMCIA driver yet, but it should also work.

Most of the credit goes to people from this thread: http://insanelymac.com/forum/index.php?showtopic=87574
I've only adapted some things in order for it to work with Snow Leopard.

I'll upload the kext+DSDT pack in a moment and edit this post to add a link.

Note on running the 64 bit kernel:
It works, but no LAN, no WiFi, no audio and no internal keyboard or trackpoint. If somebody can compile the 64 bit versions of Intel82566MM, VoodooHDA and VoodooPS2 then that would be cool.

EDIT:
You can also use Chameleon RC1 with replaced boot file for netkas's EFI 10.2. It works, but for some reason it defaults to x64 so you must manually boot to 32-bit by this flag: -x32
DSMOS.kext + OpenHaltRestart.kext also work and there's reboot and shutdown capability.

EDIT2:
Battery meter and power management works with Superhai's VoodooPower.kext

cili0
08-23-2009, 12:16 PM
Hi NIXin,

where have you find a 64bit working version of VoodoPower.kext ?

Thanks in advance,
cheers!

markswell
08-23-2009, 01:40 PM
some kernel functions like cpu identification change place in 10.6 so need wait 10.6 xnu apple sources release.
beside this i think i knows how to make only for intel,much code lazing)

NIXin
08-24-2009, 01:27 AM
Hi NIXin,

where have you find a 64bit working version of VoodoPower.kext ?

Thanks in advance,
cheers!
Only 32-bit for VoodooPower for now, I'm afraid...

PHANT0M
08-29-2009, 07:16 PM
I try to install SL on my X61 Tablet, but I have Kernel Panic. Maybe because I do not copy dsdt.aml to root directory, because I don't know where to download it... Maybe somebody can upload it and other kexts...

NIXin
08-30-2009, 12:21 PM
It's in my pack, look at my first post.

bd4utonite2
09-17-2009, 06:19 AM
Nixin..

I can assure the x61 is different from a x61s and x61T
I followed your instructions to a T.. can i have all sorts of issues... and only being able to boot up in Safe Mode.
Just thought i'd let you know...

NIXin
09-21-2009, 01:00 AM
The only difference between X61 an X61s is the processor. X61s has got a low voltage Intel Core 2 Duo 1.6GHz, while X61 have various regular voltage processors.

virtualdiver
11-08-2009, 07:45 AM
NIXin,

Thanks for the helpful article... I spent most of the day trying to install this on a drive for my X61s and haven't succeeded yet... I'm a noob to the Apple world, and the learning curve is steep. I bought a new WD 320 GB Drive to install Snow Leopard on, installed it in a USB2 external case, partitioned it with 1 partition, Mac OS Extended (Journaled) and GUID.

I was a bit stumped, but with a little help from the net, I found out how to configure Finder to show hidden files and folders so I could run OSInstall.mpkg. After that, the installation went smoothly, I dragged & dropped dsdt.aml to the drive's root. Then I backed up the 3 kexts I was to remove and deleted the originals from my hard drive, backed up the kext I was to replace, then I dragged and dropped all the new kexts to the '/System/Installation/Packages' directory- ist this how I was supposed to install the kexts, or was I supposed to use something like 'kexthelper'??? (for 'VdooPS2Controller', I used it's own installer).

I didn't add the Atheros ID because I've got an Intel 4965AGN adapter (is there a kext or solution for this???) Not too big of a deal if I don't get this to work right away because I've got a Sierra Wireless USB broadband adapter thats supported on Apple computers.

Everything went pretty smoothly until this point. I have zero experience with Terminal, but I followed your instructions to the 'T'. When I type in the commands, I get 'No such file or directory'. I tried prefixing the commands with sudo -s in case it was a user permissions problem, tried using the paths:

'/Volumes/Snow Leopard/System/Library/Extensions/* ' ,
'/Volumes/Snow_Leopard/System/Library/Extensions/* ' ,
'/Volumes/SNOW LEOPARD/System/Library/Extensions/* ' ,
'/Volumes/SNOW_LEOPARD/System/Library/Extensions/* ' ,

all to no avail. I can't figure out where the problem lies after hours of searching on the net. I do notice that in 'Disk Utility', 'Verify Disk Permissions' & 'Repair Disk Permissions' are both disabled (greyed out) for my new 'Snow Leopard' Volume, but the Hackintosh Volume 'Hack Snow Leopard' has them enabled, and I don't know if this has anything to do with the problem.

Anyways, if you could point me in the right direction I'd be grateful... I'm out of ideas at the moment....


Thanks!

virtualdiver
11-08-2009, 08:42 AM
I think I figured it out:

In terminal:

sudo -s

chown -R root:wheel /Volumes/Snow\ Leopard/System/Library/Extensions/ *
chmod -R 755 /Volumes/Snow\ Leopard/System/Library/Extensions/ *

or, another way to do it:

sudo -s

cd /volumes/Snow\ Leopard/System/Library/Extensions/
chmod -R root:wheel *
chown -R 755 *

(it's all about the syntax!!!)


...does this sound right? (I'm not sure whether there's a space between the last forward slash and the asterisk but I'm pretty sure there is...

so, how about kext installation, is it just drag & drop???

and any idea about the 4965AGN ????


Thanks for the tutorial!





* Noob Note: My Install partition was named 'Snow Leopard'… so the path for it is:

/Volumes/Snow\ Leopard/

If your Install partition was 'My Partition' (with a space between 'My' and 'Partition', then your path would be:

/Volumes/My\ Partition/

This is probably obvious to everyone else, but if you're as big a Noob as I am to Apple, it might save you a lot of time figuring out the correct syntax.

virtualdiver
11-08-2009, 05:12 PM
13. install Chameleon 1.0.12 on that partition and replace the /boot file (added in pack)

After searching the web for Chameleon 1.0.12 and not finding it, I discovered that it is contained in the 'Bootloader2.dmg' that you supplied in your package.

the Readme 'INSTRUCTIONS:' provided in that package say:

INSTRUCTIONS:

1. Install the Chameleon Package.

2. Using Terminal, copy "boot" to the root of the volume you installed Chameleon on.

sudo -s
cp. /Volumes/Snow Alternative/boot /Volumes/<<VolumeName>>


This did not work for me:

cp. /Volumes/Snow Alternative/boot /Volumes/Snow\ Leopard/
bash: cp.: command not found

I removed period after cp because I could not find it as an option in my Terminal reference - http://ss64.com/osx/ :

cp /Volumes/Snow Alternative/boot /Volumes/Snow\ Leopard/
cp: /Volumes/Snow: No such file or directory

I changed the path syntax in the command line for the source directory:

cp /Volumes/Snow\ Alternative/boot /Volumes/Snow\ Leopard/

this seems to have done the trick.




* Noob Note: My Install partition was named 'Snow Leopard'… so the path for it is:

/Volumes/Snow\ Leopard/

If your Install partition was 'My Partition' (with a space between 'My' and 'Partition', then your path would be:

/Volumes/My\ Partition/

This is probably obvious to everyone else, but if you're as big a Noob as I am to Apple, it might save you a lot of time figuring out the correct syntax.

virtualdiver
11-08-2009, 06:37 PM
14. add the following code to com.apple.Boot.plist on the X61's partition:

This Noob didn't know where the com.apple.Boot.plist was... after searching, found that it was here:

/Library/Preferences/SystemConfiguration/

I opened up Terminal and entered the commands:

sudo -s

cd /Volumes/Snow\ Leopard/Library/Preferences/SystemConfiguration/

nano com.apple.Boot.plist

Then I copied the code from this tutorial, step 14, and pasted it to the Terminal window between these lines:

<string></string>
(Added lines of code with an indenting TAB at the beginning of each line)
</dict>

Control-X to save the file and exit




* Noob Note: My Install partition was named 'Snow Leopard'… so the path for it is:

/Volumes/Snow\ Leopard/

If your Install partition was 'My Partition' (with a space between 'My' and 'Partition', then your path would be:

/Volumes/My\ Partition/

virtualdiver
11-08-2009, 07:36 PM
First Boot Attempt- No joy. Started the Darwin loader, got the first grey & white 'apple' logo screen, then a message saying:

'You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again'.

I tried powering down and restarting, but it stops at that same screen every time.

Do I need to make any changes to the X61s BIOS?

Maybe someone could review the way I did my install and see if I did anything wrong???

Thanks for any help...

virtualdiver
11-08-2009, 08:39 PM
Diagnostic mode dump... can anyone help me understand how to read?


-----


The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 16384 buffer headers and 4096 cluster IO buffer headers
Trying to change a collection in the registry
Backtrace 0x4ff2a8 0x5309ff 0x52fd24 0x54fa0ce2 0x54fa0fef 0x5389f2 0x536c27
Kernel Extensions in backtrace (with dependencies):
org.voodoo.driver.PS2Controller(1.10)@0x54f9d000->0x54fa2fff
IOAPIC: Version 0x20 Vectors 64:87
PS2Controller: Created dev /ps2controllers
Using new IRQ layout 0,1
ACPI: System State [S0 S3 S4 S5] (S3)
RTC: Only single RAM bank (128 bytes)
mbinit: done (64 MB memory set for mbuf pool)
AppleIntelPIIXPATA: Secondary PCI IDE channel is disabled
panic(cpu 1 caller 0x2a6ac2): Kernal trap at 0x5adccfcd, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x06bfd800, ECX: 0x5adccf6e, EDX: 0x00000000
CR2: 0x00000000, EBP: 0x550fbe38, ESI: 0x00000000, EDI: 0x06bfd800
EFL: 0x00210246, EIP: 0x5adccfcd, CS: 0x00000000, DS: 0x00030010
Error code: 0x00000000

Debugger called: <panic>
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x550fbc48 : 0x21acfa (0x5ce650 0x550fbc7c 0x223156 0x0)
0x550fbc98 : 0x2a6ac2 (0x590a50 0x5adccfcd 0xe 0x590c1a)
0x550fbd78 : 0x29c968 (0x550fbd90 0x0 0x550fbe38 0x5adccfcd)
0x550fbd88 : 0xadccfcd (0xe 0x6bf0048 0x550f0010 0x4f0010)
0x550fbe38 : 0x4fba02 (0x6bfd800 0x0 0x1 0x6c0a580)
0x550fbe58 : 0x4fba1d (0x6bfd800 0x0 0x532ac0 0x6c01580)
0x550fbe78 : 0x536c8d (0x6bfd800 0x6bfd800 0x6c01640 0x6c02e20)
0x550fbf28 : 0x5371b8 (0x6bf8600 0x6c016c0 0x0 0xffffffff)
0x550fbf78 : 0x538e67 (0x6bf8600 0x0 0x550fbfac 0x1)
0x550fbfc8 : 0x29c68c (0x6bfccd0 0x0 0x29c69b 0x6b3e7a8)
Kernal Extensions in backtrace (with dependencies):
com.apple.iokit.IOATAFamily(2.5.0)@0x5adc8000->0x5add4fff

BSD process name corresponding to current thread: kernel_task

Mac OS version:
Not yet set

Kernal version:
Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:34 PDT 2009; root:xnu-1456.1.25-1/RELEASE_I386
System model name: 7668CTO

System uptime in nanoseconds: 1465761186

-----

Pitrako
11-08-2009, 11:09 PM
Hi!

I´m running SL on my X61s.

By now Sleep don´t works, it seems to go to sleep but for awake I have to push the on button and then SL load form the beggining.

Another thing is, is possible to get the middle trackpoint button to works like in Windows for do the scrolling!!???... that trick is very useful for surf in webs!.

Cheers!

virtualdiver
11-17-2009, 12:28 AM
This is the original guide with my notes about the methods I employed to install SL to my X61s... I'm still getting kernel panics, I think there must be one little thing I don't understand how to do properly, if you could look at this and let me know, I would greatly appreciate it.
--------------------------------------------------------------------------------------------------------------------------

My installation notes are in RED. Use them at your own risk... I may have something wrong.

Installing Snow Leopard on ThinkPad X61

Hi everybody,

I have just successfully installed Snow Leopard on my ThinkPad X61s, from which I'm writing right now. I think this should also work with 10.5 vanilla too.
Also, should be the same as with ThinkPads X61 Tablet and T61 (version with GMA X3100).

What you need:
1. another computer running Snow Leopard (Leopard is probably okay too)
2. a screwdriver
3. a couple of .kexts (listed below)
4. about 2 hours or your time

My ThinkPad X61 Pack
[http://dl.getdropbox.com/u/114474/MacOSX/ThinkPad-X61%20Pack.zip]

Here are the steps:
1. backup all your data from your X61
2. take out the hard disk from your X61 (there only one screw, then pull out the HDD)
3. install the 2.5" disk from X61 to an external enclosure or a desktop PC
4. format the disk using GUID Partition Table (if you want to multiboot later then make a more then one partition)
(For the next part of the install you will need to change Finder so that you can see hidden system files)
To Show hidden files in Finder:
A. Open terminal and type:
defaults write com.apple.Finder AppleShowAllFiles YES
B. Restart finder by holding the option (or PC keyboard Alt) key and right-clicking (or click-and-hold the left mouse button) on the Finder icon in the dock. Select "Restart Finder".
To Hide hidden files in Finder:
A. Open terminal and type:
defaults write com.apple.Finder AppleShowAllFiles NO
B. Restart finder by holding the option (or PC keyboard Alt) key and right-clicking (or click-and-hold the left mouse button) on the Finder icon in the dock. Select "Restart Finder".
OR:
Download Tools folder from:
http://www.mediafire.com/?ydzm1whjwnm
or
http://rapidshare.com/files/272072059/Tools.zip
To Show hidden files in Finder:
A. Launch the 'ShowAllFiles' (included in 'Tools' folder) and click 'Show'.
To Hide hidden files in Finder:
B. Launch the 'ShowAllFiles' (included in 'Tools' folder) and click 'Hide'.
5. install Snow Leopard onto the X61's disk by directly opening the OSInstall.mpkg from /System/Installation/Packages on the SL's image
6. when installation completes, copy the provided dsdt.aml to root directory of your new SL - In Finder, Drag-and-drop dsdt.aml from the ThinkPad- X61 Pack /DSDT folder to the root directory of your new SL drive.
7. install latest fakesmc.kext from netkas.org (or you can try the newest dsmos.kext - a bit slower but shutdown and reboot works) Drag-and-drop this kext to the System/Library/Extensions/ on the new SL drive ( http://netkas.org/?p=155 - Download the snowleopard version (not the leopard version) of this kext - fakesmc.kext.zip - The one I used is from the page dated August 22, 2009. When you click on the link you will be directed to rapidshare.de. After downloading the file will unzip itself in your 'Downloads' folder).
8. add the ID of Atheros card to IO80211Family.kext (see the link on bottom on how to do that)
9. remove the kexts: AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient and AppleHDA.kext - drag-and-drop these three kexts into the Trash
10. replace the FrameBuffer kext with the one provided - AppleIntelGMAX3100FB.kext - In Finder, drag-and-drop the original AppleIntelGMAX3100FB.kext from /System/Library/Extensions/ into the Trash and copy-and-paste the new kext from the 'X61-BrightnessPack' folder to /System/Library/Extensions/ on the new SL drive.
11. install VoodooHDA (for audio) from ThinkPad- X61 Pack/VoodooHDA-0.2.2/ folder, VoodooPS2Controller (for keyboard and Trackpoint) (found in ThinkPad-X61 Pack/kexts/ folder… this is an installer pkg.… run it, make sure to point the installer to your new SL drive and check the 'Trackpad' and 'keyboard' options to install both) and IOSDHCIBlockDevice.kext (for SDHC card reader) and Intel82566MM.kext (for LAN) (also found in the ThinkPad-X61 Pack/kexts/ folder… In Finder, drag-and-drop these files to /System/Library/Extensions/ folder on new SL disk.
12. repair permissions in Terminal:
Code:
sudo -s
chown -R root:wheel /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*
chmod -R 755 /Volumes/YOUR_PARTITIONS_NAME/System/Library/Extensions/*

If your SL disk has more than one word in the name separated with a space, like 'Snow Leopard' the syntax is:

sudo -s
chown -R root:wheel /Volumes/Snow\ Leopard/System/Library/Extensions/*
chmod -R 755 /Volumes/Snow\ Leopard/System/Library/Extensions/*


Some other sources have said to:
Delete /System/Library/Extensions.kextcache and /System/Library/Extensions.mkext
so that the kext cache will be rebuilt when it is not found at boot time.
Another source said to:
Delete /System/Library/Extensions.mkext and /System/Library/Extensions/Caches/
'to clear extensions cache manually'.
Personally, I couldn't find any of the files or the Caches folder in the path that was specified. Maybe they don't exist until after the first time the system boots? And maybe the path for the Cache folder should have been /System/Library/Caches/ (this does exist). Or maybe these methods are for OS X before Snow Leopard?
At any rate, in step 16. below, using the -f flag at boot time appears to do the same thing.

13. install Chameleon 1.0.12 (also known as: PC EFI v9 Chameleon Bootloader) on that partition and replace the /boot file - drag-and-drop the original boot file in the Trash and using Terminal, copy the new boot file (added in pack - both Chameleon installer and the boot file are contained in 'bootloader 2.dmg' installer in the ThinkPad- X61 Pack) to the new SL disk root- see instructions below:

!!!! BIG NOTE: There is a Readme.RTF file in the Chameleon installer folder 'Snow Alternative' that opens when you run Bootloader2.dmg ('Snow Alternative' will also mount itself when the Bootloader2.dmg is run)… the instructions in the Readme are incorrect! The instructions say:
1. Install the Chameleon Package.
2. Using Terminal, copy "boot" to the root of the volume you installed Chameleon on.

sudo -s
cp. /Volumes/Snow Alternative/boot /Volumes/<<VolumeName>>

This is incorrect syntax for Snow Leopard. The '.' after 'cp' should not be there. The '.' was an 'auto-correction' added by 'TextEdit' when creating this 'Readme.RTF' that was not caught by the writer.
The path also has incorrect syntax. In 'Terminal' when a directory has 2 words separated by a space, the syntax is not:

/FirstWord SecondWord/

it is:

/FirstWord\ SecondWord/


The correct syntax should be:

sudo -s
cp /Volumes/Snow\ Alternative/boot /Volumes/<<VolumeName>>

If your new SL disk name is: Snow Leopard , the corrected command in Terminal is:

sudo -s
cp /Volumes/Snow\ Alternative/boot /Volumes/Snow\ Leopard/

14. add the following code to /Library/Preferences/System Configuration/com.apple.Boot.plist on the [new SL] X61's partition:
Code:
<key>Timeout</key>
<string>4</string>
<key>device-properties</key>
<string>da0300000100000003000000390000000100000002010c00d0 41030a000000000101060000197fff04001600000062007500 69006c0074002d0069006e0000000500000001720200000a00 000002010c00d041030a000000000101060000027fff04001e 00000072006f006d002d007200650076006900730069006f00 6e0000002a0000004f70656e474c20456e67696e6520616374 697661746564207669612045464920537472696e672a000000 4100410050004c00300031002c0044006100740061004a0075 0073007400690066007900000008000000010000001c000000 4100410050004c00300031002c005000690070006500000008 00000001000000260000004100410050004c002c004e007500 6d0044006900730070006c0061007900730000000800000004 000000200000004100410050004c002c004800610073005000 61006e0065006c00000008000000010000002e000000410041 0050004c002c004e0075006d004600720061006d0065006200 750066006600650072007300000008000000020000001c0000 004100410050004c00300031002c0045004400490044000000 8400000000ffffffffffff004ca34549000000000011010380 2115780a87f594574f8c272750540000000101010101010101 0101010101010101ee1a008050201030103013004bcf100000 190000000f0000000000000000002387026401000000fe0053 414d53554e470a2020202020000000fe004c544e3135345841 2d4c30310a0041380000004100410050004c002c0053006500 6c006600520065006600720065007300680053007500700070 006f007200740065006400000008000000010000001c000000 4100410050004c002c004800610073004c0069006400000008 000000010000001e0000004100410050004c00300031002c00 44006500700074006800000008000000200000002301000007 00000002010c00d041030a0000000001010600001b7fff0400 28000000500069006e0043006f006e00660069006700750072 006100740069006f006e0073000000040000001c0000007200 650076006900730069006f006e002d00690064000000080000 000100000018000000760065006e0064006f0072002d006900 640000000800000086800000180000006c00610079006f0075 0074002d00690064000000080000000a0000002c0000007300 75006200730079007300740065006d002d00760065006e0064 006f0072002d0069006400000008000000d41100001e000000 730075006200730079007300740065006d002d006900640000 000800000084190000160000006200750069006c0074002d00 69006e0000000500000000</string>

To add the code to com.apple.Boot.plist, start up Terminal and enter the commands:

sudo -s

cd /Volumes/Snow\ Leopard/Library/Preferences/SystemConfiguration/

nano com.apple.Boot.plist

Copy the code from this tutorial, step 14, and paste it to the Terminal window between these 2 lines:

<string></string>
[Add the 4 lines of code with an indenting TAB at the beginning of each line here]
</dict>

'Control-X' to save the file and 'Return' to accept 'com.apple.Boot.plist' as the filename & save

Before you exit Terminal you can check to see that everything was entered and save in the correct location by entering:

nano com.apple.Boot.plist

You should see the changes you made in the file.


15. unmount/eject the disk, insert it back into your ThinkPad
16. you should see the chameleon loading, boot with flag -f
(The -f flag tells Darwin to reload all kext and dump the boot configuration cache)

At power-up:
A. ThinkPad Splash screen: 'To interrupt normal startup, press the blue ThinkVantage button'
Options when 'ThinkVantage' button is pressed:
ESC to resume normal startup
F1 to enter BIOS Setup Utility
F12 to choose a temporary startup device
Press ENTER to pause…

B. Blinking '_' for about 2 seconds…

C. Darwin /x86 boot v5.0.132 - Chameleon v1.0.1.2
Build date: 2009-02-09 18:24:37
4022MB memory
VESA v3.0 7MB (Intel®Crestline Graphics Chip Accelerated VGA BIOS)
Press any key to enter startup options (counts down from 4 before booting…)

When a key is pressed at startup:
D. Darwin /x86 boot v5.0.132 - Chameleon v1.0.1.2
Build date: 2009-02-09 18:24:37
4022MB memory
VESA v3.0 7MB (Intel®Crestline Graphics Chip Accelerated VGA BIOS)
Use [arrow up/arrow down] keys to select the startup volume.

hd(0,2) X61SnowLeopard

Press Enter to start up Darwin/x86 with no options. or you can:
Type -v and press Enter to start up with diagnostic messages
Type ? and press Enter to learn about advanced startup options

boot: [this is where you type in ' -f ' and 'Enter' to 'ignore boot configuration file']






Summary
What's working:
- Ethernet
- WiFi (shows as Airport)
- Graphics (X3100) full support
- Display brightness control (use Pause and ScrLk to change the backlight)
- Firewire
- Keyboard and trackpoint
- SDHC card reader
- Audio (with mic and headphones jack)

What's not working:
- Battery meter / power settings
- FSB and multiplier is wrong (same problem as with 10.5.7-10.5.8) - injecting via smbios.plist doesn't help
- No SpeedStep
- Sleep/Wake
- Shutdown/Reboot (probably because of FakeSMC)

Didn't try the PCMCIA driver yet, but it should also work.

Most of the credit goes to people from this thread:
http://insanelymac.com/forum/index.php?showtopic=87574
I've only adapted some things in order for it to work with Snow Leopard.

I'll upload the kext+DSDT pack in a moment and edit this post to add a link.

Note on running the 64 bit kernel:
It works, but no LAN, no WiFi, no audio and no internal keyboard or trackpoint. If somebody can compile the 64 bit versions of Intel82566MM,
VoodooHDA and VoodooPS2 then that would be cool.

EDIT:
You can also use Chameleon RC1 with replaced boot file for netkas's EFI 10.2. It works, but for some reason it defaults to x64 so you must manually boot
to 32-bit by this flag: -x32

------------------

Some Additional Notes

• How to check Whether your Mac has the 32-bit EFI or 64-bit EFI: When you are reading this i m sure you understand that you can boot into full 64bit mode if your Mac has 64-bit EFI. Also note that Apple disabled 64-bit kernel support for any Macbooks, even- with 64-bit EFI. So if you have an older Mac Pro, iMac and you wants to check Whether your Mac has the 32-bit EFI or 64-bit EFI just enter the following command in Terminal:

ioreg -l -p IODeviceTree | grep firmware-abi

And you’ll get the answer either “EFI32″ or “EFI64.”

• How to boot 64-bit Kernel by default at every boot: Though you have a EFI64 and 64-bit compatible Mac your install will boot into 32-bit- kernel by default. Thanx to Netkas for highlighting a trick to change default boot kernel. All you have to do is edit a string file in com.apple.Boot.plist To edit boot.plist navigate to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and open the boot.plist with text editor and find the following string:
<key>Kernel Flags</key> 
<string></string>

and change it to:

<key>Kernel Flags</key> 
<string>arch=x86_64</string>

That’s it, now your installation will boot in to 64-bit kernel mode every time. So no more holding down the ‘6′ and ‘4′ keys during boot. Just in case if you need to boot the 32-bit kernel just hold down the ‘3′ and ‘2′ keys during boot.

------------------

To boot in 32-bit kernel mode every time use this code:

<key>Kernel Flags</key> 
<string>arch=i386</string>


Method 2: On-disk setting (persistent)
To select the 64-bit kernel for the current startup disk, use the following command in Terminal:

sudo systemsetup -setkernelbootarchitecture x86_64

To select the 32-bit kernel for the current startup disk, use the following command in Terminal:

sudo systemsetup -setkernelbootarchitecture i386

Note: This setting is stored in the /Library/Preferences/SystemConfiguration/com.apple.Boot.plist file and will take effect every time you start up from this disk. If you start up from a different disk, the setting on that disk, or the hardware default, will take effect.
------------------[/B]

DSMOS.kext + OpenHaltRestart.kext also work and there's reboot and shutdown capability.

EDIT2:
Battery meter and power management works with Superhai's VoodooPower.kext


Terminal Command reference - http://ss64.com/osx/

---------------------------------------------------------------------------------------------------------------------------

virtualdiver
11-17-2009, 01:32 AM
---------------------------------------------------------------------------------------------------------------------------
QUESTIONS:
----------------
1. In the /ThinkPad- X61 Pack/X61-BrightnessPack/ subfolder there is a file called 'lenovo_x61_sound_ether_3100-efi-string.plist'
What is this for?

2. The /ThinkPad- X61 Pack/Backlight Stuff/ subfolder is empty… is this supposed to be empty?

3. From Step 7. "Install the latest fakeSMC.kext"- There is a note on the netkas page that says "p.s. this doesn't work well with voodoo kernel, because voodoo kernel blocks Don't Steal mac os.kext, so you need to use dsmos/ appledecrypt anyway". I don't think this applies to the other voodoo kexts, though).
I am still getting a kernal panic at bootup… could this be the cause?

4. From Step 8. "add the ID of Atheros card to IO80211Family.kext (see the link on bottom on how to do that)"
• What 'link on bottom' are you talking about?

5. From Step 11. "install VoodooHDA (for audio), VoodooPS2Controller (for keyboard and Trackpoint) and IOSDHCIBlockDevice.kext (for SDHC card reader) and Intel82566MM.kext (for LAN)"
• The installer for Voodoo PS2Controller (for keyboard and Trackpoint) actually has a selection for 'keyboard' and 'Trackpad', can I assume it works with the 'TrackPoint' as well?

6. From Step 14. "add the following code to [/Library/Preferences/System Configuration/]com.apple.Boot.plist on the [new SL] X61's partition:"
• Please see my method of adding the code using Terminal in the 'Tutorial' section. Is this correct? Copy-and-paste from your 'infinitemac' website tutorial, right?
• What does this code do?
• Is this code for the Atheros card?
• Is this the com.apple.Boot.plist found in /Library/Preferences/System Configuration/ ?
• Or is there another copy that is in the root directory ("add the following code to com.apple.Boot.plist on the X61's partition:") after Chameleon has been installed????

7. At the end of your tutorial you mention 3 kexts:
DSMOS.kext
OpenHaltRestart.kext
Superhai's VoodooPower.kext
• What is the best source to get these from?

8. What is your X61s Model and BIOS version?
Mine is:
X61S Type 7668-CTO
BIOS Version: 1.05 (7NET24WW)
BIOS Date (Y-M-D) 2007-06-15
Embedded Controller Version 1.02
CPU Type Intel® Core™ 2 Duo CPU L7500
CPU Speed 1.60 GHz
Installed memory 4096 MB

9. In the ThinkPad-X61 Pack DSDT folder there are 2 files... dsdt.aml and dsdt_fixed.txt... the dsdt.aml has the icon of a Unix Executable file, but the dsdt.aml I have on my 2 working Hackintoshes are document files... they are located in the 'Extras' folder in my working machines, and in the root of the x61s install. The working machines also have com.apple.Boot.plist, Extensions.mkext, smbios.plist and a 'Themes' folder. The 'Extras' folder on my x61s is empty (maybe this last part is normal for an unconfigured install). Should the dsdt.aml be in the 'Extras' folder, and why does it have a 'Unix Executable file' icon instead of a 'Document' icon??? And what is the dsdt_fixed.txt file???

adrimaxi
11-18-2009, 10:16 PM
Hi I am planning to install snow leo on my x61... So I am wondering where I could fine the x61 pack... link is dead :-(
Thanks

virtualdiver
11-19-2009, 04:10 PM
@adrimaxi-

just checked- link still good.

adrimaxi
11-22-2009, 06:56 PM
Sorry I get:
Oops! (404)
We can't find the page you're looking for. Check out our FAQ or forums for help. Or maybe you should try heading home
Because the link is http://dl.dropbox.com/u/114474/MacOSX/ThinkPad-X61%20Pack.zip%5D with the %5D at the end... But with out it works: thanks

virtualdiver
11-25-2009, 05:42 AM
glad you got it...

cheers!

sammys
12-26-2009, 10:24 AM
Hi all,

I've managed to install SnowOSX distribution on my X61 (7676-3PM). The machine is stock with an Atheros AR5BXB72 bought from eBay (http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&item=390135583680) and using AHCI for SATA. The wifi card doesn't work without a quick additional step. See the bottom of this post for that.

The only thing that's not working at the moment is the LCD brightness. Will update this post once I'm done.

I used most of the instructions from the first post in this thread. Only issues I hit were the bootloader wouldn't work. Here are my amendments to the instructions above:

Before installation:

Copy the X61 pack to a USB stick. I've used TransMac trial version to format the USB stick in HFS+ and then dragged the files over from a folder on Windows. Delete the DSDT folder.
Download the ZIP attachment below and extract it to a Windows folder then copy the content over to the USB stick using TransMac.
Download Chameleon bootloader RC4 and extract it to a Windows folder then copy over to the USB stick using TransMac. Make sure you copy the snow leopard version over to a new folder on the USB stick.
Optionally download the 64-bit kexts I've listed below as they are what I've used. I've installed those AFTER I updated to 10.6.2 so I'm not sure they'll work in SnowOSX 10.6.0.

After installation and before the first restart:

Insert your USB stick and do all the kext deletes/replacements etc in the first post. Delete dsmos.kext and AppleHDA.kext from /System/Library/Extensions and install to the same place fakesmc 2.5 (http://files.netkas.org/fakesmc2.5_release.zip) from the USB stick. No need to delete AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient kexts because SnowOSX has NullCPUPowerManagement, which disables those modules. Copy the DSDT.aml file from the USB stick to your filesystem root (/Volumes/<volume name>). Use the kexts in my zip instead of the ones in the X61 pack as my zip has newer versions. If they don't work in 10.6.0 use the ones in the X61 pack instead.
Follow instructions on How to install Chameleon manually (http://www.insanelymac.com/forum/index.php?showtopic=164809) to replace the broken bootloader with the new one.
Run the following command in Terminal:
diskutil repairPermissions /Volumes/<volume name>/System/Library/Extensions
Where <volume name> is the name of the volume you installed Snow Leopard to. Make sure you use double quotes around it if i you have a space in the volume name. Use ls -d /Volumes to see what the available volumes are.
Restart

When you see the first boot screen from Chameleon press any key then type:-f arch=i386
This flushes the kernel extension caches in OS X. After booting you can add the kernel flag arch=i386 to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist so you don't have to type it anymore.

It is possible to update your system to 10.6.2, 10.6.3 or 10.6.4. 10.6.2 introduced 64-bit drivers for the X3100 display adapter but sleep is currently broken (http://www.insanelymac.com/forum/index.php?showtopic=197002) in 64-bit mode (Haven't tested it since 10.6.2). It works in 32-bit mode.

There are 64-bit drivers available for all the hardware on the X61. All of them are working except for the X3100 FB driver. I've installed 64bit drivers for the following:

Intel 82566MM (http://www.infinitemac.com/f57/intel-ethernet-82566-kext-for-snow-anyone-t3829/post40095.html) (from this page (http://www.infinitemac.com/f57/intel-ethernet-82566-kext-for-snow-anyone-t3829/post40095.html) and it's included in the kext bundle in my later post (http://www.infinitemac.com/f57/installing-snow-leopard-on-thinkpad-x61-t3735/post45881.html))
VoodooPS2Controller (http://forum.voodooprojects.org/index.php/topic,235.0.html) from VoodooLabs
VoodooHDA (http://forum.voodooprojects.org/index.php/topic,1204.msg5366.html#msg5366) (AppleClip updated by AnV using original VoodooLabs sources with the latest fantastic enhancements by Slice and AutumnRain

If anyone figures out the sleep issue on 64-bit kernel please post about it (http://www.insanelymac.com/forum/index.php?showtopic=197002). :)

NOTE: I may have accidentally skipped some stuff above. E.g you may have a problem booting either 32-bit or 64-bit because of kexts like IOPCIFamily or IOATAFamily. I've replaced both of those on my X61 as I was getting kernel panics or bluetooth wasn't working. I didn't try 32-bit mode until after I had replaced them so I'm mentioning them in case the problems exist in 32-bit mode. (UPDATE) Since 10.6.3 (could be earlier) I now have vanilla IOPCIFamily, IOATAFamily and IO80211Family kexts working though the latter (IO80211) might still not work in 64-bit mode though it's compiled for it.

Here are the links to the versions I was using:

IOPCIFamily (http://www.projectosx.com/forum/index.php?s=&showtopic=552&view=findpost&p=2520) (Fixes kernel panic in AppleHPET when booting 64-bit kernel). The vanilla version works fine in 10.6.3 and later (32-bit).
IOATAFamily (http://www.insanelymac.com/forum/index.php?s=&showtopic=195996&view=findpost&p=1320650). The vanilla version works fine in 10.6.3 and later (32-bit).

Atheros AR5BXB72 (AR5418): Install the AtherosFix kext and it'll work in 32-bit mode. Install a 64-bit IO80211Family kext (http://netkas.org/?p=189#comment-47086) and it'll work in 64-bit mode as well. NOTE: If you don't have the same adapter as I do you'll need to add your adapter's PCI ID to the AtherosFix.kext/Contents/Info.plist file before it'll work. The AtherosFix kext makes your card look like a AR5416 card (Airport Extreme).

That about does it... Would love to hear if anyone manages to get their X61 working.

Don't download the kext bundle in this post. I've been updating it in later posts and you'll find the latest one at:
Latest sammys 10.6.2 kext bundle for X61 (http://www.infinitemac.com/f57/installing-snow-leopard-on-thinkpad-x61-t3735/post45881.html)
Latest sammys 10.6.3 kext bundle for X61 (http://www.infinitemac.com/f57/installing-snow-leopard-on-thinkpad-x61-t3735/post47024.html)
Latest sammys 10.6.4 kext bundle for X61 (http://osx86.net/post48911.html)

junying
01-01-2010, 06:32 AM
Hi Sammys,

Thank you for your helpful post. Also you NIXin.

Have you noticed that your bluetooth was working after the initial install, but stops after the 10.6.2 upgrade? Seem to have happened to me.

sammys
01-25-2010, 10:36 PM
Yeah I have the same problem. I'm also getting app crashes for firefox and thunderbird plus USB holds up the shutdown for a few seconds.

sammys
01-26-2010, 12:00 AM
I've managed to get bluetooth running again! I stumbled on this post by laqk (http://www.projectosx.com/forum/index.php?showtopic=886) explaining that HPETs should have all interrupts they use assigned in the DSDT. So I added an extra (unassigned) interrupt to the DSDT and away we went.

I used the following command to figure out what interrupts were taken:

ioreg -w 0 -k IOInterruptSpecifiers | grep IOInterruptSpecifiers | tr ',' "\n" | sed 's/^.*<//; s/>.*$//; s/^\([0-9a-f]\{8\}\)\([0-9a-f]\{8\}\)/\1 \2/' | tr ' ' '\n' | sortYou might need macports installed for some of these commands :-/

I've attached an updated zip file containing my DSDT.aml, DSDT decompiled and all non-apple kexts I'm using. I've also replaced the previous IOSDHCI kext with a 32-bit only version of VoodooSDHC. Haven't found the 64-bit version yet.

junying
01-29-2010, 06:25 PM
You da man (hope I'm not insulting if you are a woman :) ) Sammys. The DSDT worked like a charm. Do you see bluetooth found as a network adapter every boot? Also, I've been booting in 32 bit (32 bit geekbench shows no difference running in 32 or 64 bit). Sleep is OK, but bluetooth doesn't come back when waking. Finally, restart doesn't work either. Do you have that working? Thx!

sammys
02-10-2010, 01:04 AM
Yeah the bluetooth goes to sleep and never wakes up on my X61. Have to boot into another OS to wake it up again. Rebooting into Snow Leopard has it working after this.

Bluetooth will keep getting found as a network adapter each time you use OS X if you don't add it as a network adapter. :)

In addition to what you've experienced I've been experiencing bluetooth mouse movement slowing down when I'm copying files across WIFI. Haven't tested LAN yet to see whether it slows it down mouse movement as well. I also get weird behaviour in iTunes if I sync an iPhone through the left-hand USB port. I have to keep clicking the iPhone entry in the left window pane to update the status. I imagine there's an IRQ sharing problem between two of the following: left-hand USB, Bluetooth, SATA, PCI. The left-hand USB might be the bus the Bluetooth goes through. A couple simple tests with System Profiler should tell me if I'm correct. :)

andreic
02-10-2010, 06:17 AM
I have SL 10.6.2 installed on my Thinkpad X61 (7675), and everything is working properly, with one exception. When waking up from sleep, the USB ports are dead. I think this is related to the dsdt.aml file from sammy's last post. That file fixed sleep properly, and shutdown/restart, but after installing it the USB ports don't wake up. I tried to use instead the dsdt file from NIXin's initial post in this thread, and the USB ports do wake up, but shutdown/restart are broken, and sleep sometimes works sometimes doesn't. Does anyone understand what the differences are between NIXin's and Sammy's dsdt's? I saw that in NIXin's there are a number of entries for USB ports, which don't appear in Sammy's. Thanks.

bd4utonite2
02-25-2010, 02:12 AM
Nixin...

Update my SL from 10.6.1 to 10.6.2
Everything seems to be working except sound...
Do you know how to fix this??

Cheers...

grandflash
03-01-2010, 11:41 AM
I've managed to get bluetooth running again! I stumbled on this post by laqk (http://www.projectosx.com/forum/index.php?showtopic=886) explaining that HPETs should have all interrupts they use assigned in the DSDT. So I added an extra (unassigned) interrupt to the DSDT and away we went.

I used the following command to figure out what interrupts were taken:

ioreg -w 0 -k IOInterruptSpecifiers | grep IOInterruptSpecifiers | tr ',' "\n" | sed 's/^.*<//; s/>.*$//; s/^\([0-9a-f]\{8\}\)\([0-9a-f]\{8\}\)/\1 \2/' | tr ' ' '\n' | sortYou might need macports installed for some of these commands :-/

I've attached an updated zip file containing my DSDT.aml, DSDT decompiled and all non-apple kexts I'm using. I've also replaced the previous IOSDHCI kext with a 32-bit only version of VoodooSDHC. Haven't found the 64-bit version yet.

Well done, to use bluetooth i modified the apple bluetooth driver adding the hardware adress vendor id and product id plus deleting AppleHPET.kext.
With your dsdt fix it works with AppleHPET.kext - thank you!!!

Here is the link to the BT device driver:

http://www.insanelymac.com/forum/index.php?act=attach&type=post&id=65399

You´ll need a Insanely Mac login downloading this file.

cheers!

sammys
03-04-2010, 11:20 PM
Thanks for the updated driver for bluetooth Grandflash! What exactly does your fix fix? Does it wake it up properly?

bd4utonite2: The kext bundle attached to this post should fix your audio problem. :)

andreic: Thanks for reporting what you've found! It gives me (and anyone else) enough info to look into why my DSDT is not waking up the USB properly after a sleep. I've not been using the sleep functionality at all and haven't needed it yet.

I've done some more playing around and fixed a few more issues that I was having here and there. Most of them caused by me updating to newer kexts. First of all, the most exciting news is that Slice and AutumnRain have released a kick butt AppleHDA kext. It works like a charm and even has microphone working when using my DSDT. Thanks to Slice and AutumnRain. You can read their post over at Project OSX (http://www.projectosx.com/forum/index.php?showtopic=355).

I also finally found out that you have to delete the VoodooPS2Trackpad.kext from within the VoodooPS2Controller.kext folder in order for the VoodooPS2Controller kext to work properly. I was using the ApplePS2Controller kext before so it's great to be able to use this one instead. It adds scrolling support to it. :)

I've deleted ApplePS2Controller by the way!

The only problems I'm having now are USB waking from sleep and SDHC driver freezes the system when you put a card in. If you don't put an SD card in the system runs fine. The issue has been reported to the devs but no one has mentioned they are working on it.

So without further ado here is the updated X61 kext bundle for 10.6.2! You simply install all kexts in the bundle into your system and away you go. :)

Pitrako
03-11-2010, 12:49 PM
Hi all !!!

I have my X61s with SL 10.6.2 and I have some minor issues, may you can help me to fix it.

Sleep doesn´t works, if I close the screen, laptop seems to going to sleep, the moon led lits, but if I open the screen, don´t happens nothing and if I press the on button seems to start the laptop but nothing in screen, I have to press the on button for 4 or 5 seconds to restart.

The middle button of the trackpoint only works in Firefox, if I press it then I can scroll with the trackpoint, in Safari act like the third button and when I press it over a link then open a new tab with the link I pressed. Is possible to configure the third button in Safari for act like in Firefox???.

In the Mouse properties in System preferences don´t appears the third button for configure.

Well I hope you can help with that issues.

Regards

cosmopol_b
03-16-2010, 04:13 PM
So without further ado here is the updated X61 kext bundle for 10.6.2! You simply install all kexts in the bundle into your system and away you go. :)

Hello Sammy, i tried you're bundle, but here, on X61 Type 7475,
it breaks up with a kernel panic related to VoodooBattery.

Before it worked with an older VoodooBattery version, i will run some tests and post the results here.

Question: which BIOS version you have ?

regards,
cosi

sammys
03-19-2010, 10:16 AM
cosmopol_b: I'm on 7676 with BIOS version 2.21. Are you using 32-bit or 64-bit mode? I'm only using 32-bit at this stage as many apps are only 32-bit friendly.

Pitrako: Sorry to hear you're having troubles with it. I can't remember what my cause of sleep problems was so I'm going to be unable to help. However, perhaps someone else has an idea. The only thing I can think of is to do a -f during boot to flush the kext cache and ensure that the new kexts are being used.

Pitrako
03-19-2010, 11:27 AM
Thanks for reply!

I´ll have a look to the -f command.

Best regards

CeleronPopsicle
03-24-2010, 06:55 AM
Why is this a good hackintosh? This machine costs as much or more than a MacBook with similar specs.

NIXin
03-24-2010, 04:29 PM
lol, you don't get the point, CeleronPopsicle. It's for people who already own ThinkPad X61. Buying X61 just for the purpose of installing Snow Leo would be ridiculous.

blix
03-24-2010, 08:18 PM
Great thread. I'm a complete OSX with a tad of Linux knowledge. So I was looking for something that was rather "idiot-proof". Well, I've found it!

Thanks Sammys. And ofcourse all the other guys. This has saved me alot of time all together (instructions + correct Kexts).

Now, on to the next step -- dual booting SL/W7. :)

blix
03-27-2010, 01:07 AM
Guys I have a few remaining questions. I've tried Googling but I couldn't really find anything

- What does the line do that I'm adding to the com.apple.boot.plist? Graphic/screen related?

- I've tried reinstalling about three times now because I pretty much screwed up my old Snow Leopard installation. Sadly I cannot get it to work anymore. It's freezing the first time I boot it up (-f, -f arch=i386, -x32). I'm trying to boot it with just basic stuff. (i.e. fakesmc, intel ethernet, voodoops2 -- cham 2.0 rc4, boot file that was supplied by start post, dito with the DSDT).

Anyone got a clue If I'm forgetting something? It's quite annoying, because it does load.. It ust completely freezes when I see the grey screen with the little Apple and the loading timer. Help very much appreciated.

- DSDT is unique for every system, isn't it? I guess it is best to make one yourself? (i.e. DSDT patcher)

Thanks. :)

sammys
04-05-2010, 02:24 PM
blix: Hi there. DSDTs are unique for every different system. Lenovo use the same system board as much as they can for systems in the same model. It saves them money you see. They tend to disable or not install components when they are not available for a particular model variant.

My model number is 7676-3PM. The specifications for it can be easily found on the Lenovo support website. If your system specifications differ from mine in things like front-side bus frequency (e.g RAM frequency) or main chipset then you'll have to roll your own DSDT. BTW: may I suggest always keeping a backup copy of your working DSDT. That way you can recover an installation if a boot failure creeps in from DSDT tweaks.

For those wanting some info on how I have things setup in my mac partition. I have a folder (/Awesome) in the root folder and in that I have Original, Updated, DSDT, Testing and Bundle folders. The Bundle folder is what you see in the ZIP bundles posted to this thread.

I use the Testing folder for kexts that I'm testing out. If something fails with a kernel panic it will happen in one of two stages in the boot and these stages can be seen in the single user boot mode (-s boot flag in Chameleon). First stage starts all the lower level parts of the OS and the second occurs after you type exit.

If you can boot to the shell prompt in single user mode you can easily remove the broken kext and replace it with a known working version from the Bundle folder. Remember to set the permissions correctly.

If you can't boot to the shell prompt because the kernel panic happens before that (like when SleepEnabler.kext isn't updated for the new version of OS X - *cough* - see next message) then you have to boot to the Snow OSX installation CD to copy the known good version from /Volumes/<disk label>/Awesome/Bundle to /Volumes/<disk label>/System/Library/Extensions/.

Same thing applies for DSDT problems though you'd be copying your known good DSDT.aml from the DSDT or Bundle folder instead.

Pretty easy stuff. :)

P.S. The only way you can be certain a new version of a kext is faulty is if it's the only thing you changed since you last booted the system. Change two kexts and you have to test both independently!

sammys
04-05-2010, 02:39 PM
I managed to get some time to update my OSX installation today. Here are the steps:


Download the OSX 10.6.3 Update and the new kext bundle attached.
Mount it and double-click the .pkg inside.
Run the installation as you would normally.
After it has finished don't click the restart button. Instead, open a terminal and type:
sudo mv /System/Library/Extensions/AppleHDA.kext /System/Library/Extensions/AppleHDA.kext.del
sudo rm /System/Library/Extensions/SleepEnabler.kext
Copy the SleepEnabler.kext from the bundle, wait for OSX to finish updating the kext caches (you can see this happen if you watch All Messages in Console).
Reboot to 10.6.3 using the -f kernel switch in Chameleon (just to make sure :)).

Remember to backup your installation before doing this!

I've removed VoodooPS2.PrefPane from the attached bundle because it wasn't working. Also removed VoodooBattery.kext since it hasn't worked for a while (10.6.2 and 10.6.3). Updated VoodooHDA.kext to the 256 release from VoodooProjects and it uses AppleClip. It's WAY better than the one I was using before and now the microphone is working properly for Skype. Woohoo! Hope you all have success with this stuff.

Known Issues


Adjusting display brightness using the keyboard does not work. The slider in Displays Preferences works though.
SDHC card insertion locks up the system (untested since update to 10.6.3). No workaround yet.
Sleep and radio disable switch result in bluetooth being unavailable in following boots. Boot to Linux or Windows to bring bluetooth chip back online. Might be fixable with a DSDT change.
Display brightness is uneven when not at 95% or 100%. No workaround yet.

mfbernstein
04-29-2010, 09:36 PM
Wow, this is a great thread. I'd more or less given up on using my X61 for OSX, but following Sammy's instructions for 10.6.3, things are working pretty well. A few questions though:
1) Has anybody managed to get Atheros wireless working with K64? It doesn't seem to load for me.
2) Any suggestions for a battery meter that will work with VoodooPowerMini?
3) There's something a bit peculiar going on with the built-in LCD. Colors seem unusually purple. For a maybe 1/2 a second, the blue OS X background looks correct on booting, and then it turns purplish. Any ideas, or monitor profiles to work around this?

Thanks!

invitai
05-03-2010, 05:51 PM
Hi,

This is a great instruction. I'm very tempted to install snow leopard on my x61 now.
Just wondering what kind of battery life are people getting?

Cheers,

grandflash
05-27-2010, 11:36 AM
I use an EFI String combined with the AppleIntelX3100FB.kext vers. 1.5.18 and i have proper brightness control.

Links:

http://www.insanelymac.com/forum/index.php?showtopic=87574

see attached files: X61_BrightnessPack.zip (http://www.insanelymac.com/forum/index.php?act=attach&type=post&id=52321)

By the way, i got Vanilla speedstepping working too, and many other fixes in my dsdt.

sammys
06-18-2010, 06:12 AM
Eager to get your X61 laptop updated with Snow Leopard 10.6.4? This is for you! Here are the steps:


Download the OSX 10.6.4 Update and the new kext bundle (attached).
Mount it and double-click the .pkg inside.
Run the installation as you would normally.
After it has finished don't click the restart button. Instead, open a terminal and type:
sudo rm /System/Library/Extensions/SleepEnabler.kext
Copy the SleepEnabler.kext from the bundle, wait for OSX to finish updating the kext caches (you can see this happen if you watch All Messages in Console).
Reboot to 10.6.4 using the -f kernel switch in Chameleon (just to make sure :)).

Remember to backup your installation before doing this!

This kext bundle has an updated DSDT that now allows the AppleHDA kext to stay in place and vanilla. Happy times. :)

Known issues:


SDHC card insertion locks up the system (untested since 10.6.2). No workaround yet.
Sleep and radio disable switch result in bluetooth being unavailable in subsequent boots. Boot to Linux or Windows to bring bluetooth chip back online. Might be fixable with a DSDT change.
Display brightness is uneven when not at 95% or 100%. Only workaround is to install non-vanilla framebuffer kext as shown in previous post by @grandflash. More about the solution by @grandflash et al next.

Have fun with the update!
Notes about solution referenced and provided by @grandflash
I actually started my X61 OSX days using a hybrid mix of SnowOSX and the solution described by @grandflash. I read that @grandflash had done some amazing work on getting OSX running on non-Apple hardware so I was glad to find their solutions did work. Unfortunately, the solutions stop the install being Vanilla for the following reasons (there could be more):


AppleHDA must be disabled. You can do this using the command shown in the 10.6.3 instructions earlier in this thread.
AppleIntelX3100FB.kext must be replaced with an earlier version of it that has been patched.

Another thing to note about everything referenced by @grandflash. The DSDT is not for an X61 but instead for either an X61s or X61 Tablet. Also, I can't recall if some speedstep customizations are placed both in the DSDT and the LegacyX61*.kext or just in the legacy kext. Whatever the case, DO NOT use the Legacy X61*.kext from the post referenced by @grandflash if you have an X61 (without 's' or 'tablet') as speedstep customizations are hardware specific (CPU-specific to be precise). I have been building a legacy kext for my X61 (7676-3PM) but it has been slow going. I will definitely post it here when it's ready.

So by all means use the solution provided by @grandflash but be aware of the above notes. :)

meteorain
06-18-2010, 07:36 AM
Eager to get your X61 laptop updated with Snow Leopard 10.6.4? This is for you! Here are the steps:
..............

You did a quick and amazing work, thanks man! :D

mightycrown
06-28-2010, 03:47 AM
Sleep well, even with lid close. however it wakes up right away if bluetooth turned on, especially with HPET fix in DSDT.
My CPU clock speed is not recognized correctly, i have 2.2 Ghz C2D, but the system shows just 1.47Ghz. Wired!

Everything else works fine. I used Myhack for the installation. Please let me know if you know how to fix these problems.

adrimaxi
07-02-2010, 11:56 PM
Dear all,
I come back to my x61, so I now would like to install a fresh SnowLeo on it.
So Sammys, I saw your tuto but does it work for a fresh install?
What would you recommend me?
Thanks a lot
adrimaxi

sammys
07-06-2010, 04:16 AM
@adrimaxi: The instructions in #22 (http://osx86.net/f57/installing-snow-leopard-on-thinkpad-x61-t3735/post41823.html) are still correct for 10.6.4 as you have to start with 10.6.0 SnowOSX disc. I've been keeping them updated as we go. I haven't tried installing using a vanilla install disc yet because I haven't needed to. :)

If anyone does try using a vanilla disc with the kext bundle (and/or DSDT) I've provided I'd like to hear about it so I can try it myself and update the instructions.

sammys
07-06-2010, 04:23 AM
@mightycrown: Not sure about bluetooth wakeup and my X61 is showing CPU clock speed lower than it is meant to be. System still works and I can Mac it up. :) It's a low priority for me to fix that. In my spare time, which there isn't much of right now, I've been working on speedstep. It's a little hit and miss because it is specific to the CPU. Hopefully I'll be able to get it working sometime soon so it can run on batteries more efficiently.

adrimaxi
07-06-2010, 07:15 AM
I was about to try with SnowOSX 3.6 (10.6.4) instead of 3.5 (10.6.0)... I 'll tell you what I get

mightycrown
07-06-2010, 11:29 PM
to sammys. (http://osx86.net/member.php?u=20672)
Thanks for the reply, hope you can work the native speed step out. I would like to help, just let me know. BTW i solved the CPU speed issue by using a smbiosresolve.kext. Not sure whether it is the bluetooth problem or other things. The laptop sleeps and wakes up well when Wireless switch is turned off. However the machine wakes up immediately after sleep when the switch is on.

mightycrown
07-06-2010, 11:30 PM
try myhack installer and use the 10.6.3 DMG. I have positive result.

mightycrown
07-11-2010, 01:45 AM
to sammy
I tried your DSDT, it does fix my problem with waking up immediately. However the Bluetooth and the network seems shut down, which further indicates the problem is related to the network switch in DSDT or the bios.
The brightness control is odd, i suggest you to delete it from DSDT. another thing is the USB fix in DSDT, you forgot to add the device ID.

andreic
07-11-2010, 11:05 PM
I have an X61 running almost perfectly on 10.6.2. Everything works the way I hoped it would, except perhaps random crashes of skype every hour or so. The more annoying thing is that battery life is very short, I get at best 45 minutes to 1 hour of use out of a fully charged, 2200 mAh (smaller version) battery. In WIndows the same battery should give about 3 hours. Anyone experience something similar?

Denis Zhekov
07-14-2010, 09:26 PM
I have Thinkpad x61t with SL 10.6.4, everything works fine for me (after 1-2 sleepless nights), great work! But... after my laptop awake USB ports dies,is there any solution on that?

ibelic
07-26-2010, 01:53 PM
Hi all,
I have X61 tablet and 10.6.4 installed and more or less, everything is working except bluetooth.
I don't know why, but I can't turn on bluetooth in windows to keep it turned on for mac os x. Every time it just turns off. I have newest bios installed and there is no option such as 'keep it turned on all the time'.
Chipset is Broadcom (vendor ID: hex 0A5C) and product ID is hex 2110 (rev hex 0100).
I tried to mess with \System\Library\Extensions\IOBluetoothFamily.kext\ Contents\PlugIns\BroadcomUSBBluetoothHCIController .kext\Contents\Info.plist ut with no success.

Is there anybody who can point me out to the right direction of fixing this problem in dsdt?

Regards,
Ivan

vampyrex13
07-27-2010, 06:30 PM
It took several hours of trial and error, but I managed to get a fully working X61-7675 working with all hardware in 32-bit mode on 10.6.3 and 10.6.4, including a fully functioning fingerprint scanner and the MC5725 Verizon wireless card. Sleep also fully works and I managed to make some changes in the DSDT code to prevent the system from waking up immediately after going to sleep. Sleep when closing and wake when opening the lid work. The screen auto dims when idle and will dim when switching from AC to battery. CPU and drive temp works in iStats and native speed stepping is enabled. Bluetooth also wakes up from sleep, although it may take 30-45 seconds to become responsive. Make sure the wireless radio switch it turned on before booting, otherwise bluetooth may not be available unless you reboot. AD1984 audio is fully functional via an EFI string in the boot file.

These are all the drivers you will need to install. You will need to use the asereBLN bootloader, otherwise shutdown and reboot may not work properly. Remove any other drivers you already have, otherwise you will get a kernel panic.

http://www.mediafire.com/vampyrex13

xinweix
07-29-2010, 12:16 PM
How to update 10.6.4 update? When I almost finish it while clicking the mkg installer, I got kernel panic indicates that the version doesn't match. Any idea to solve this problem? I am running vanilla 10.6.3.

vampyrex13
07-30-2010, 08:35 PM
Here's an updated com.apple.Boot.plist which has all the PCI card information injected via EFI strings, so you no longer need to install the IOPCIFamily.kext. The wireless card I have setup is the Atheros 5212 802.11abg.

mightycrown
08-02-2010, 09:36 PM
It took several hours of trial and error, but I managed to get a fully working X61-7675 working with all hardware in 32-bit mode on 10.6.3 and 10.6.4, including a fully functioning fingerprint scanner and the MC5725 Verizon wireless card. Sleep also fully works and I managed to make some changes in the DSDT code to prevent the system from waking up immediately after going to sleep. Sleep when closing and wake when opening the lid work. The screen auto dims when idle and will dim when switching from AC to battery. CPU and drive temp works in iStats and native speed stepping is enabled. Bluetooth also wakes up from sleep, although it may take 30-45 seconds to become responsive. Make sure the wireless radio switch it turned on before booting, otherwise bluetooth may not be available unless you reboot. AD1984 audio is fully functional via an EFI string in the boot file.

These are all the drivers you will need to install. You will need to use the asereBLN bootloader, otherwise shutdown and reboot may not work properly. Remove any other drivers you already have, otherwise you will get a kernel panic.

http://www.mediafire.com/vampyrex13

Hi. I am running SL on this machine as well, got most of the things working. Can you please explain how you achieved native speedstep and all the temp reading? BTW which way did you enable your graphic card, by bootloader? or DSDT injection or patched kext?
Appriciated

mightycrown
08-02-2010, 09:38 PM
Hi all,
I have X61 tablet and 10.6.4 installed and more or less, everything is working except bluetooth.
I don't know why, but I can't turn on bluetooth in windows to keep it turned on for mac os x. Every time it just turns off. I have newest bios installed and there is no option such as 'keep it turned on all the time'.
Chipset is Broadcom (vendor ID: hex 0A5C) and product ID is hex 2110 (rev hex 0100).
I tried to mess with \System\Library\Extensions\IOBluetoothFamily.kext\ Contents\PlugIns\BroadcomUSBBluetoothHCIController .kext\Contents\Info.plist ut with no success.

Is there anybody who can point me out to the right direction of fixing this problem in dsdt?

Regards,
Ivan

You have to fix the HPET section. The example is in sammy's uploads

vampyrex13
08-06-2010, 03:55 AM
Hi. I am running SL on this machine as well, got most of the things working. Can you please explain how you achieved native speedstep and all the temp reading? BTW which way did you enable your graphic card, by bootloader? or DSDT injection or patched kext?
Appriciated

I used a combination of DSDT and injected info into the IOPlatformPluginFamily.kext. I think what I have currently on MediaFire might be the wrong revision of my kext file. I'll attach my corrected files to this post and will redo my zip files on MediaFire sometime tomorrow. As for the graphics, I'm using GrandFlash's X3100 kext with an EFI string. I'll also attach my EFI strings in xml format. I've also included IOSDHCIBlockDevice.kext to replace VoodooSDHC.kext.

xinweix
08-06-2010, 10:06 AM
Hi, does anyone encounter such problem on vanilla 10.6.3.
When my X61 goes to sleep, everything is fine. While it wakes up, it seems that the USB ports don't work any more. For example, the USB disk will be ejected when the system is going to sleep and the USB mouse is inactive after wakeup. How to fix this problem. Thanks.

mightycrown
08-06-2010, 05:23 PM
I used a combination of DSDT and injected info into the IOPlatformPluginFamily.kext. I think what I have currently on MediaFire might be the wrong revision of my kext file. I'll attach my corrected files to this post and will redo my zip files on MediaFire sometime tomorrow. As for the graphics, I'm using GrandFlash's X3100 kext with an EFI string. I'll also attach my EFI strings in xml format. I've also included IOSDHCIBlockDevice.kext to replace VoodooSDHC.kext.
Hello
Thanks for the files.
I will try them out this weekend and let you know the result.

junmac
08-06-2010, 09:43 PM
I use an EFI String combined with the AppleIntelX3100FB.kext vers. 1.5.18 and i have proper brightness control.

Links:

http://www.insanelymac.com/forum/index.php?showtopic=87574

see attached files: X61_BrightnessPack.zip (http://www.insanelymac.com/forum/index.php?act=attach&type=post&id=52321)

By the way, i got Vanilla speedstepping working too, and many other fixes in my dsdt.

Hi, Grandflash, I couldn't find your dsdt.aml anywhere. Would it be possible for you to post it? I assume it is for x61s? I have pretty everything else working except speedstep, sleep and restart. Thanks a lot.

Jun

vampyrex13
08-09-2010, 05:45 PM
Ok, I finally updated my files at http://www.mediafire.com/vampyrex13. I have everything working with this setup, although I still need to confirm that the PCIMCIA card slot works (I have no external laptop cards to test with). The External display works great when attached to the docking base. I'm also succesfully using bluetooth PAN to share 3G Internet from my HTC Touch Pro 2. I have also updated the bootloader I'm using to restore Theme support.

mightycrown
08-09-2010, 09:02 PM
Hey i m just wondering which processor does your x61 have? 2Ghz or 2.2

vampyrex13
08-10-2010, 02:09 AM
I have the 2.4Ghz T8300 processor.

xinweix
08-10-2010, 09:24 AM
Ok, I finally updated my files at http://www.mediafire.com/vampyrex13. I have everything working with this setup, although I still need to confirm that the PCIMCIA card slot works (I have no external laptop cards to test with). The External display works great when attached to the docking base. I'm also succesfully using bluetooth PAN to share 3G Internet from my HTC Touch Pro 2. I have also updated the bootloader I'm using to restore Theme support.

Hi vampyrex13, according to your package, does it fully work? for example, when machine wakeups, the usb ports are still working.

vampyrex13
08-10-2010, 02:39 PM
Yes, The usb ports all work. I have it set up so that the external ports are always powered and can be used to wake up the laptop (great for when it's docked using and external monitor or for when you're using the laptop as a very expensive phone charger. Bluetooth will take a few seconds to wake up.

andreic
08-11-2010, 06:06 PM
What kind of battery life do people get from their X61? Could you please post some info, like "with extended life battery get 3.5 hours of regular use", or similar info.

Thanks, A.

mightycrown
08-11-2010, 10:49 PM
i got 5 hours with the extra battery pack, which i could get 6hours with Win7

vampyrex13
08-12-2010, 10:02 PM
Install the DisplayVendorID-30ae folder in /System/Library/Display/Overrides and use the below Boot.plist. It's the same as my old boot.Plist, but with the EDID string removed since OSX seems to ignore the string when injected this way. It is instead added via the Display Override file.

keljon
08-19-2010, 12:12 AM
does anyone have a fix for fan control, my fan is running constantly which i assume is the reason for shorter battery life other people are experiencing.

kjknpupil
09-02-2010, 01:07 AM
Install the DisplayVendorID-30ae folder in /System/Library/Display/Overrides and use the below Boot.plist. It's the same as my old boot.Plist, but with the EDID string removed since OSX seems to ignore the string when injected this way. It is instead added via the Display Override file.

i suggest you. AppleIntelE1000.kext is better than intel82566mm. AppleIntelE1000.kext is possible multi network using at Parallels Desktop or VMware Fusion Bridge Mode.
And So. com.apple.boot.plist add ForceWake=yes , this will be able to wake up for hibernate mode 3. hibernate 3 is auto save & shutdown when your note book batteries gone.

/S/L/E/IONetworkingFamily.kext/contents/plugins/AppleIntelE1000.kext

sorry. i'm not english. i can't speak english well

but, how to attached file??

vampyrex13
09-02-2010, 11:53 AM
I'll have a look at your AppleIntelE1000 suggestion. I'm still working on perfecting my DSDT code. I'll be posting up me new X61 kext pack in the next couple of days. My new DSDT has the following:

1. Unused elements removed (such as TPM; trust platform module)
2. Perfectly working sleep/wake and hibernation/resume
3. APIC IRQ redone to match the MacBook's
4. Updated UHCI and EHCI sections to fix random sleep/wake issues
5. Fully functioning P-States and C-States (I'm currently running 41-43C as I type this up)
6. Firewire code fixed to prevent errors which caused unnecessary CPU usage and heat
7. All EFI strings have been eliminated and are now included in the DSDT code
8. Eliminated the need for Legacy_AirportAtheros21.kext, as DSDT will assume you have an Atheros card installed.
9. All devices have been renamed to match the MacBook's

kjknpupil
09-03-2010, 06:50 PM
vampyrex13 //
i have a question. The microphone in your computer work?
That's not my microphone work. VoodooHDA.kext did work before.
But the noise is hurtful.
Now your dsdt.aml & AppleHDA.kext does do not work for me do not perfectly. but nothing noise. Fairly happy. ^^

bankerror
09-06-2010, 06:15 PM
Hello vampyrex13.
I got all files from your megafile repository.
Many functions of x61 did work.
Thanks for your great work!

But, I have just one issue: my x61's track point doesn't work.
I don't know what is wrong.

kextstatus says following this:
bash-3.2# kextstat -l | grep PS2 35 0 0x55063000 0x3000 0x2000 com.yourcompany.driver.AppleACPIPS2Nub (1.0.0d1) <13 7 5 4 3 1>
39 1 0x5ae19000 0x6000 0x5000 com.apple.driver.ApplePS2Controller (1.1.0) <7 5 4 3 1>
50 0 0x5ae5c000 0x4000 0x3000 com.apple.driver.ApplePS2Keyboard (1.2.0) <39 31 7 6 5 4 3 1>
bash-3.2#

It seems that PS2 mouse device was not detected, and wasn't loaded ApplePS2Mouse kext.

Do you have any solution?

bankerror
09-07-2010, 02:22 AM
By the way, may anyone instruct how to clean install with vampyrex13's drivers?
Which post's method in this thread can match before install his drivers?

blix
09-07-2010, 06:18 PM
I have a question regarding the installation of the Audio EFI string.

What I have now done doesn't seem to work. Here's what I did: I've downloaded the .ZIP file supplied and installed the kext files using kext helper, after that I used the EFI string also supplied by Gold. I've tried using EFI studio, but it didn't seem to have an option for audio, so instead I selected a random video card, removed the EFI string supplied by the program, and replaced it with the one supplied for the audio support.

Am I doing something wrong? My X61 seems to have working audio option, but there's no actual sound coming out of the speakers/line-out.

Any help appreciated.

Further information regarding installation and version:
Thinkpad X61 7675-CTO
Snow Leopard 10.6.3 Vanilla installation w/ myHack updated to Vanilla 10.6.4 with out any modifications.

Working from the get go:
Graphics
Wireless
Bluetooth
USB

Installed kexts:
PS2 kext
SleepEnabeler kext
AHCI kext
Intel internet kext
SDHC kext

Anything else I should install? I have the feeling that my screen is also at a very low brightness, and I can't seem to find any option to increase/reduce it. Is this a known issue with the x61's?

Is there any need for me to "upgrade" for an example my graphic drivers? I know for an example that it is normal in Windows to always download the latest release of drivers from the manufacturer, because the stock Windows drivers just don't cut it. Any input on this, please?

I would be glad with any help, really. As you can see I'm still a newbie when it comes down to kext/efi string editing, or any rather none vanilla OSX86 editing.

Thus I thank you for this very useful thread, which was a lot of help for me just on his own.

bankerror
09-13-2010, 01:54 AM
Can everyone in this thread get sleep functionary and when resume from sleep, get all devices work correctly?
My x61 can sleep and wake, but when wake from sleep, thinkpad's broadcom bluetooth chip goes not detected.

My osx86 installation method is this thread's vanpire13's one.
CPU management and ACPI functions works with SL native via DSDT mod.

Does anyone have any solutions for Bluetooth work after resuming?

vampyrex13
09-13-2010, 06:43 PM
vampyrex13 //
i have a question. The microphone in your computer work?
That's not my microphone work. VoodooHDA.kext did work before.
But the noise is hurtful.
Now your dsdt.aml & AppleHDA.kext does do not work for me do not perfectly. but nothing noise. Fairly happy. ^^

I just finished getting the pathmaps figured out and now have working internal and external mics. I still don't have any volume control on the internal mic though. Here's my AppleHDA.kext file. I'm trying to see if I can get autosensing working for the mic and get rid of the error messages at boot.

I have also attached my DSDT file, which removes the need for the EFI string by putting everything (including device descriptions) into the DSDT file. I have also renamed several devices to match the MacBook device names.

BANKERROR: This DSDT file solves the bluetooth problem. As for your trackpad, you may need to get a copy of the ApplePS2.kext that has the trackpad plugin inside. My X61 has no trackpad, so I removed that plugin. As for a clean install, I just do a default install with aitkos with the sound kexts unselected and ApplePS2.kext selected (this will have the trackpad plugin you need). Once it's installed, I remove all the plugins from Extra/Extensions and copy in mine and install my DSDT file. I use Kext Helper to set my permissions correctly.

bankerror
09-14-2010, 07:00 AM
vampyrex13, Thanks for your great work!
I'll try your new dsdt and kexts, later.

BTW, My x61 doesn't have trackpad. I was mistaken. That was trackpoint, sorry.

Now, My trackpoint have worked course I put AppleACPIPS2Nub.kext and ApplePS2Controller.kext from /E/E to /S/L/E .
But I don't know why.

vampyrex31, Do you know the reason?

kjknpupil
09-14-2010, 11:52 AM
vampyrex13. wow! That's great working.

working sound & mic, bluetooth perfectly~~ even more sleep/wake up

Thank you.

But. i have a problem yet. FN+F4 is not work to sleep.

Good Good

bankerror
09-14-2010, 02:35 PM
I tried vampirex13's new dsdt and kexts.
bluetooth goes fine. It work after resume. Great!

Yes, I have same problem HOT KEY's for sleep(Fn + F4) and brightness control(ScrLK and Pause).

vampirex13's DSDT work is awesome. I want to look dsdt.dsl file and composing method.

vampyrex13
09-15-2010, 02:31 PM
I tried vampirex13's new dsdt and kexts.
bluetooth goes fine. It work after resume. Great!

Yes, I have same problem HOT KEY's for sleep(Fn + F4) and brightness control(ScrLK and Pause).

vampirex13's DSDT work is awesome. I want to look dsdt.dsl file and composing method.

Done. Here is my current DSDT file, revision 35. My brightness works fine on my X61 as long as I don't have an external monitor attached. I don't recall if the Fn-F4 sleep combo ever worked, because I never used it since I just close the lid to put mine to sleep.

vampyrex13
09-15-2010, 08:26 PM
Woohoo, I finally got the AppleHDA.kext fully working with zero errors. God, I think I rebooted my laptop over 50 times trying to get it completely debugged. Everything works, but it's a little quirky if you try to switch to Line Out (UltraBase rear mic input) and External Mic (right mic input). I found that I sometimes lose the External Mic input when switching to the Line Out and vice-versa. I think it's because of how the Levovo reroutes the audio to the external Ultrabase dock. I had the same issue when using VoodooHDA.

bankerror
09-16-2010, 02:01 AM
I'm sorry, my x61's brightness control key worked when my x61 was undocked.

Thanks for your fixed files!
Many people who own x61 will welcome your works.

meteorain
09-16-2010, 03:22 AM
Woohoo, I finally got the AppleHDA.kext fully working with zero errors. God, I think I rebooted my laptop over 50 times trying to get it completely debugged. Everything works, but it's a little quirky if you try to switch to Line Out (UltraBase rear mic input) and External Mic (right mic input). I found that I sometimes lose the External Mic input when switching to the Line Out and vice-versa. I think it's because of how the Levovo reroutes the audio to the external Ultrabase dock. I had the same issue when using VoodooHDA.

Wow, 50 reboots, god bless your laptop ;)

meteorain
09-18-2010, 09:25 AM
Woohoo, I finally got the AppleHDA.kext fully working with zero errors. God, I think I rebooted my laptop over 50 times trying to get it completely debugged. Everything works, but it's a little quirky if you try to switch to Line Out (UltraBase rear mic input) and External Mic (right mic input). I found that I sometimes lose the External Mic input when switching to the Line Out and vice-versa. I think it's because of how the Levovo reroutes the audio to the external Ultrabase dock. I had the same issue when using VoodooHDA.

I installed all drivers you provided, everything works perfectly, thank you in advance ^_^

OCORHI
09-25-2010, 02:54 AM
vampyrex13, Thanks yr effort.My X61's almost works expect my wireless card, because it is intel one.

in previous week, I read a blog which mentioned how to install Mac OSX after you installed Windows 7.

I try to tidy up and re-write in English so that we can dual-boot.

ss.1.25
09-26-2010, 03:53 PM
Woohoo, I finally got the AppleHDA.kext fully working with zero errors. God, I think I rebooted my laptop over 50 times trying to get it completely debugged. Everything works, but it's a little quirky if you try to switch to Line Out (UltraBase rear mic input) and External Mic (right mic input). I found that I sometimes lose the External Mic input when switching to the Line Out and vice-versa. I think it's because of how the Levovo reroutes the audio to the external Ultrabase dock. I had the same issue when using VoodooHDA.
I really appreciate your hard work. Hopefully my T61 with X3100 will work perfect on iATKOS S3. BTW, Can anyone recommend the best hackintoch version for T61. I do hope my intergreted camera can work on Snow leopard 10.6.3

fraisdos
10-06-2010, 07:12 AM
Hello,

I just succesfully installed SL with all update to 10.6.4. All through MyHack + some kexts.

Still have some bug with the usb ports. Mostly work but if I plug on iPhone the sync to iPhoto fails.

For the rest, sound, ethernet, graphic, battery meter, that pretty work well.

In the first post of this thread it is mentioned that dsdt file will be uploaded. Where is the link for that ? I will test it in order to if this improve the usb ports comportment.

Thank for your support.

Fred

yuchia
10-12-2010, 04:47 AM
Does anybody get it working on x64? I'm wondering if it's just my problem or the kext's limitation.

Woohoo, I finally got the AppleHDA.kext fully working with zero errors.

kissofwolf
10-18-2010, 08:31 AM
Done. Here is my current DSDT file, revision 35. My brightness works fine on my X61 as long as I don't have an external monitor attached. I don't recall if the Fn-F4 sleep combo ever worked, because I never used it since I just close the lid to put mine to sleep.

Hi, vampyrex13, I used all your files and instructions installing snowleopard on my X61, everything works perfectly except the intel wifi card, which I will replace with atheros 9280 later. THe CPU of my X61 is T7300, 2.0GHz. I have 2X2GB DDR 2 800 RAM installed.

Now what is bugging me is the sleeping function. Every time I close the lid, it is still on, the green moon LED would NOT light up. When I open the lid again, the screen is off, I need to hold the power button for a few seconds to bring it back, when it prompts for restart options.

Do I need to replace the sleepenabler.kext in S/L/E? I did not find the file in your package.

Thank you for your time!

vampyrex13
10-19-2010, 09:52 PM
You do not need sleep enabler. that may be causing the issues.

mightycrown
10-21-2010, 01:35 AM
The files that you provided are so good!!! especially the DSDT rev 35!! it is amazing, you fixed all the problems!I really do appreciated your work.
Just a few things:
1.Have you tried Deep sleep? Does it work? I m not sure which method to use C1M4 or C1M3.
*Confirmed with C1M4 i got deep sleepworking.
*Auto deep sleep achieved by combination of Smartsleep App which sets hibernation mode and a script to execute sleep when battery is low.

2. Brightness hotkey works with Intelframebuffer 1.6.1 and Graphicenabler= yes, but without the PNLF fix in DSDT. Now I have brightness control via that bar however not the hotkey,
*Brightness control works with Hotkey but missmaped, it is controlled by Key : ScrLk and Pause

3.There was a guy claimed that he got the scroll key to work, i tried it, but it was not working properly. It was a VoodooPS2 kext. I m just wondering if it is possible to remap it to ApplePS2
*Scroll works in firefox browser.
*Scroll works with middle button and trackpad by Smartscroll App.

4.Bluetooth is unable to turn off, I think it caused by improper device ID in IOBluetoothfamily.kext.
*This is the only one i m left to solve so far.
*Fixed by inject the correct DevID. Iobluetoothfamily.kext/plugin/BroadcomUSBbluetooth
-issue: there are tons of devices were added to bluetooth preferences, and it is so persistent that it would stay even the bluetooth.plist were deleted from library/preferences. In addition the device becomes slow!
-Fixed by deleting bluetooth Dun connection from Network preferences

5.Fan control is working but does not function as it should.
I have fan control on battery. However it is gonna be lost after AC is plugged in and plugged off. Only a cold shut down and restart can re-enable fan control

*Another issue, Can you please check your Kernel log. I got TSC unsyn error

Here is the recent log
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: Wake reason =
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: Unsynchronized TSC for cpu 1: 0x0000001c621dfdcc, delta 0x114125
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: System SafeSleep Wake
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: Previous Sleep Cause: 0
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: E:[AppleUSBBluetoothHCIController][InterruptReadHandler] Received kIOReturnAborted with 1 pending interrupts
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: ring desc success: size->4096, virtual:47a38000, phy:06cfe000.
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: ring desc success: size->4096, virtual:47daa000, phy:06cff000.
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: configure tx tdlen->4096.
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: configure rx rdlen->4096.
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: enable success.
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: en0: 802.11d country code set to 'PL'.
Oct 21 10:55:56 X61s-MacBook-Pro kernel[0]: en0: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
Oct 21 10:55:57 X61s-MacBook-Pro kernel[0]: AirPort: Link Up on en0
Oct 21 10:55:57 X61s-MacBook-Pro kernel[0]: AirPort: RSN handshake complete on en0Seems like it happens when kernel calls awake,

kissofwolf
10-21-2010, 03:14 AM
You do not need sleep enabler. that may be causing the issues.

Hi, Vampyrex, your files are so good. Thanks for the reply.
I did a clean installation again, using your DSDT and kexts, no sleepenabler. But it still does not go to sleep. Everytime I close the lid, or click the sleep on screen, the LCD is off, but the computer still running, the green 'sleep' LED would not light up.
I am using the latest ver. 2.1 bios. The CPU is intel T7300. 3G RAM.

kissofwolf
10-21-2010, 03:15 AM
and one thing I am not sure is, there is no com.apple.Boot.plist in your extra folder. I am using a standard one created by 'multibeast' from tonymacx86.blogspot.com.

kissofwolf
10-21-2010, 03:17 AM
The files that you provided are so good!!! especially the DSDT rev 35!! it is amazing, you fixed all the problems!I really do appreciated your work.
Just a few things:
Have you tried Deep sleep? Does it work?
Brightness hotkey works with Intelframebuffer 1.6.1 and Graphicenabler= yes, but without the PNLF fix in DSDT. Now I have brightness control via that bar however not the hotkey,
There was a guy claimed that he got the scroll key to work, i tried it, but it was not working properly. It was a VoodooPS2 kext. I m just wondering if it is possible to remap it to ApplePS2

I think you do not need the voodooPS2 kext. Vamprex has provided all the KEXTs needed.
I am just not sure about the com.apple.Boot.plist file.

mightycrown
10-21-2010, 09:41 AM
I think you do not need the voodooPS2 kext. Vamprex has provided all the KEXTs needed.
I am just not sure about the com.apple.Boot.plist file.

Hi
Yeh u can use either voodoo or apple, I used a modified voodoo which enabled scroll key, so I m just wondering it is possible to remap it in ApplePS2

balaa
10-29-2010, 09:32 PM
This thread has been very helpful.
I've been using the dsdt.aml provided in the previous posts on my T61. I am very satisfied with my system, I replaced the Intel wireless card with the IBM compatible Atheros.

However, there are still 2 issues I'm having which are mildly annoying I would appreciate any advice.

1) When playing Flash video or HD video shot with my Canon 7D playpack skips terribly flash drops mad frames, this wasn't always the case when I first loaded snowleopard it would intermittently play HD videos and Flash very nicely with no issues it seemed to be able to do it only when plugged in to the AC outlet; however on batter I imagine some kind of speed stepping was happening that was preventing the processor from handling the load. It seems to me now, and I don't know how to verify this, that the processor is not operating at full capacity , i checked System Info to see what speed the processor is running at and it seems to stay at 2.2 all the time. Could this be because of my dsdt.aml file, is anyone else experiencing issues with flash playback in all browsers?

2)My system has the x3100 I have been unable to get brightness control to work at all since I updated my dsdt.aml file it use to work but it was uneven after 98% to almost off. But now the keyboard controls do nothing and there is no slider in the display section under system preferences. I followed the instructions in the previous posts but no luck getting brightness control. any ideas?


Addressing these 2 issues would make my system 100% functional

Thanks guys

grandflash
11-11-2010, 02:42 PM
Great work everyone. I used Chameleon RC5 booting 10.6. But since 10.5 the EFI read my FSB only by 177 Mhz instead of 200 Mhz. So what? I had only 1.4 Ghz and a XBenchscore of 125. The AnV booter i use now and "fixfsb=Yes" to boot.plist gives me a score of 141 in XBench now.

Download here: http://www.insanelymac.com/forum/index.php?showtopic=216726
End of first post (Update: 07-13-2010).

grandflash
11-11-2010, 02:48 PM
I also use this Legacy Kext with my bluetooth id too:

http://www.insanelymac.com/forum/index.php?showtopic=236310

It is possible to enable/disable the bluetooth adapter using this Kext.

grandflash
11-11-2010, 02:53 PM
If you don´t know, user "middleton"

http://forum.notebookreview.com/lenovo-ibm/459591-t61-x61-sata-ii-1-5-gb-s-cap-willing-pay-solution-8.html#post6501443

has published a bios for T61, T61p, R61/R61i X61, X61s X61s SXGA+ X61 Tablet X300 to enable SATA II Speed on your laptop. I have a Intel Postville built in which had only 130 MB/s and now rocks with 250 MB/s (sequential read). By the way, the bios disables the Lenovo hardware check (white list). Have fun.

player3344
11-14-2010, 06:09 PM
Hi everybody.
Forst of all; GEREAT WORT!!!! Extremely helpful thread!

I have installed the iATKOS S3 (SN 10.6.3) on my X61. Well after installing some Kext and adding the HEX string to the apple.boot.plist most of the hardware woks fine for me. However, still have some problems.

1) The display works fine. However, the brightness control does not. :-( I have included the HEX string to my apple.boot.plist as described in the BrightnesControlPack for the X61. The Intel X3100 works perfectly but without any brightness control. Anyone a solution on that?

2) Installing the SL 10.6.3 transformed my thinkpad x61 to a MacBook Air ;-) because only the USB-ports at the left side of the laptop do work, the one on the right, which is the one i prefer to use, does not! Whats wrong here?

3) The most important point! How about a software to control the fan. Im mostly using a windows 7 OS and together with a fan-control-software my X61 is 90% of the time absolutely quiet, despite the HDD! Using OSX, the fan is running nonstop which firstly, is not necessary as the temperature is at about 42C and secondly, this running fann is extremely annoying. While using W7 i have forgotten how loud the x61 fan really is. If there is no solution to that (i would even pay for that if necessary) this will sooner or later be the end of the OSX project on my x61. Sadly!

3a) One minor problem; The Cpu is a T7300 thus having 2GHz, the maximum CPU frequency in SL is 1.8GHz? How come?

If anyone has working solutions for that please contact me.

Thanks in advance
cheers
rob

Pitrako
11-14-2010, 07:58 PM
Hi all.....

Thankx for all the information in this post!

One question, is there a kext or somenthing to activate the midle button of the trackpad acting as scroll locks like in windows does?

Thanks a lot for your time,

phoeneter
01-08-2011, 06:29 PM
Hi All,

Bit of a would-be novice at this build process. I have installed SL 10.6.3 to the SL partition as defined by the various instructions, given in this forum and used the ThinkPad X61 Pack for this version of SL. I am also using the netkas fakesmc.kext (127K), etc. On first boot, I get a hang in the ACPI_SMC_PlaformPlugin waiting for Service AppleIntelCPUPOwerManagement error, which hangs the system. I have booted with -f also. I have previously delete the Power Management kext as instructed.

I can successfully boot into Single user/ Safe Boot mode but not normal boot. Really could do with some deep dive advice here as I have lost could of the various posted tricks I have tried to get this working.

Anyway, thanks for taking the time to read and even better if you can guide me forward. At the moment, the 'three foot' drop test looks inviting.

Sean

man007
01-18-2011, 01:50 AM
I just finished getting the pathmaps figured out and now have working internal and external mics. I still don't have any volume control on the internal mic though. Here's my AppleHDA.kext file. I'm trying to see if I can get autosensing working for the mic and get rid of the error messages at boot.

I have also attached my DSDT file, which removes the need for the EFI string by putting everything (including device descriptions) into the DSDT file. I have also renamed several devices to match the MacBook device names.

BANKERROR: This DSDT file solves the bluetooth problem. As for your trackpad, you may need to get a copy of the ApplePS2.kext that has the trackpad plugin inside. My X61 has no trackpad, so I removed that plugin. As for a clean install, I just do a default install with aitkos with the sound kexts unselected and ApplePS2.kext selected (this will have the trackpad plugin you need). Once it's installed, I remove all the plugins from Extra/Extensions and copy in mine and install my DSDT file. I use Kext Helper to set my permissions correctly.

Is there a way that you could post the bluetooth fix by itself? I am using your DSDT on my ThinkPad X300 and that brings bluetooth natively, but i start getting all kinds of errors from FakeSMC. I would like to just add the bluetooth fix and compile a DSDT for my laptop specifically. It would be greatly appreciated.

m4f1050
03-08-2012, 04:41 PM
I had issues with bluetooth so what I did was rename AppleHPET.kext to .old (in case of KP) and modified IOBluetoothFamily.kext then the Broadcom's 8448 to 8464 (0x2100 to 0x2110)