Jump to content

Lenovo T510 Thinkpad v10.6.8 Guide with custom DSDT


theaussiepea
 Share

1 post in this topic

Recommended Posts

Lenovo Thinkpad T510 Snow Leopard 10.6.8 Guide with DSDT edits

 

The T510 makes a great substitute for a 15 in Macbook Pro. You can get nearly everything working with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and a custom DSDT, including video, webcam, bluetooth, firewire, esata, sleep, audio, etc. It's also very easy to add a second hard drive (hello SSD) using a 3rd party SATA tray, replacing the CD/DVD drive.

 

This guide is for the T510-4313 with the 2.66Ghz Core i7 processor. I can't guarantee that the DSDT file will work for any other variation, but the DSDT fixes may be useful for making your own DSDT files. You can also see the second post if you want to make the DSDT edits yourself. If you have a system that has NVIDIA Optimus graphics switching, turn this off in your BIOS, and leave it set to the NVIDIA card, not the Intel video. My understanding the NVIDIA 3100M is more compatible with OSX, and the Optimus switching doesn't work.

 

I haven't tried installing Lion yet, and I don't' intend to until the last update for Lion is out and OSX 10.8 is released. I'd rather not have to deal with testing system updates. Certainly the DSDT.aml file should help you though, if you're trying to install Lion on this machine.

 

So, let's proceed with the installation...

 

BIOS settings:

 

A few BIOS settings are essential

Config -> Serial ATA (SATA) -> AHCI

Security -> Security Chip -> Disabled

Security -> BIOS update Option Flash by End Users -> Enabled

 

Be sure to turn on the processor virtualization options if you plan on running Parallels or VMWare. Also, speed stepping should be on, and does not cause any problems since you're using a custom DSDT.

 

Note that you will have to go back and check these if you flash the BIOS, as described below in the WLAN card section.

 

TonyMacx86 Snow Leopard Install with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]:

 

Now, go to the TonyMacx86 site and download [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] for Snow Leopard (Be sure to get v3.9.x for Snow Leopard, not the Lion version). Follow the instructions, including making a boot CD to set up your installation.

http://tonymacx86.bl...ac-os-x-on.html

 

When you get to installing [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url], put the DSDT.aml file you downloaded here on the desktop BEFORE you install, then use the UserDSDT option and install [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url].

 

Select these options in the install dialogue:

- UserDSDT Install

- System Utilities

- Drivers & Bootloaders/Kexts & Enablers/Miscellaneous/Voodoo PS/2 Controller

- Drivers & Bootloaders/Kexts & Enablers/Miscellaneous/Voodoo PS/2 Controller

- Customization/Boot Options/PCI Configuration Fix

 

plus any other options you would like

 

Note that the T510 has a PS2 Keyboard and Trackpad, and the Voodoo PS2 driver that comes with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] is currently 32-bit only, so we'll have to start with running a 32-bit system; if you boot into 64-bit, the built in keyboard and trackpad won't work. We can install a 64-bit PS2 kext and boot into 64-bit mode later, once we get things going. If you have a USB keyboard and mouse, you can skip the Voodoo PS2 kexts above and use your external keyboard and mouse until we get the other kexts installed. If you want to do this, uncheck the Voodoo kexts listed above and select "Customization/Boot Options/64-bit Apple Boot Screen" for 64-bit mode

 

That should do it. Install [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and reboot. You should have a brand new install of Snow Leopard.

 

These seem to work upon install without help:

 

Video (including both ports for external monitors, as long as Graphics Enabler is set to Yes in the Boot.plist)

USB 2.0 and Firewire (4-pin port)

eSATA port (hot swapping drives is not consistent--reboot if you plan to plug or unplug drives attached via eSATA)

Webcam

Bluetooth (though see kext below for a better driver)

Keyboard Light (Fn+PgUp)

 

WLAN Card:

 

This is one of the trickier parts: Lenovo has a BIOS whitelist on their laptops that prevents anyone from booting with a WLAN or WWAN card that isn't Lenovo certified. My machine shipped with an Intel WLAN card that isn't compatible with OSX. The best way to deal with this is to buy a compatible card, and then flash a new version of the BIOS that has the whitelist removed. This is most easily done in Windows, so you should get a separate hard drive or partition that will let you boot into Windows to do this.

1. Pick up an Atheros AR5B93 Wireless card (note that this is the "half-height" kind, that is half the size of a normal mini-PCI card that goes in Apple MacBooks and MacBook Pros)

2. Download the hacked BIOS v1.46

http://forums.mydigi...ll=1#post513149

3. Download an older version of the hacked bios (1.41); this download has the software and instructions you need to flash the BIOS from Windows (but you can use the more recent BIOS version, linked above, instead of the older one in this package)

http://forums.mydigi...ll=1#post360390

 

Additional kext drivers:

 

Next, let's tweak our hardware with additional kexts. First, download the latest version of Kext Utility from OSx86.net: http://www.osx86.net...?do=file&id=129

As of this posting, this is version 2.4.2. Every time you add or delete kexts, you'll want to run this utility before you reboot.

 

Here's a list of kexts you'll want to use.You may want to search for updates to make sure you have the latest versions. All of these can be copied to /Extra/Extensions (except for IntelE1000e.kext and VoodooHDA, which need to go into /System/Library/Extensions). Run Kext Utility and reboot to finish installing them.

 

VoodooPS2Controller.kext (with Apple ACPIPS2Nub.kext) for Keyboard and Trackpad

64-bit version found at: http://www.osx86.net...?do=file&id=961

 

ThinkpadUltraNav.kext to make the UltraNav and Trackpad fully functional

http://wencheng.fang...ow-leopard.html

- open VoodooPS2Controller.kext by right/control click and select "Show Package Contents"

- in /Contents/Plugins, delete VoodooPS2Mouse.kext and VoodooPS2Trackpad.kext, and copy ThinkpadUltraNav.kext into this directory

 

You can now boot into 64-bit mode, if you aren't already. Do this by removing "arch=i386" from the "kernel Flags" section of the org.chameleon.Boot.plist file in /Extra

 

VoodooBattery.kext for reading battery status and charge

http://www.osx86.net...do=file&id=1982

 

BroadcomAppleBluetooth.kext for an improved bluetooth driver (you will need to add the correct device id to the kext, as described in the post)

http://www.insanelym...howtopic=236310

 

Keyboard mapping:

 

Brightness control--The functionality is enabled with DSDT coding, and there is a slider available in System Preferences/Display. Using the above VoodooPS2 driver, brightness control are mapped to the ScrLk and Pause keys.

 

Windows key maps as Alt/Option and Alt key as Cmd/Apple--this can be changed in System Preferences/Keyboard/Modifier Keys

 

Right Click key maps as Fn--this can be changed with KeyboardRemap4MacBook

http://pqrs.org/maco...yremap4macbook/

 

Audio:

 

Use VoodooHDA.kext

You can download the installer package here:

http://code.google.c.../downloads/list

 

BEFORE installing VoodooHDA, copy System/Library/Extensions/AppleHDA.kext to another directory (for backup) and delete the original file. Then install the package, but don't reboot yet! Before you reboot:

Default VoodooHDA.kext creates kernel panic upon booting. You need to code in the hardware ID of your audio hardware:

(see this post: http://www.insanelym...howtopic=267905)

- Navigate in finder to /System/Library/Extensions

- Right click on VoodooHDA.kext and select "Show Package Contents"

- Open /Contents/Info.plist in a text editor

- Use the System Info utility (http://www.osx86.net...ystem_info.html) to find the Vendor ID and Device ID of your sound card--mine is 8086 (ven id) and 3b56 (dev id)

- In the plist file, replace "IOPCIClassMatch" with "IOPCIPrimaryMatch"

- Replace the string data "0x04030000&amp;0xffff0000" with your device id and vendor id (in that order), for example <key>IOPCIPrimaryMatch</key>

<string>0x3b568086</string>

- Also recommended to change EnableHalfVolumeFix to "true"

- Save the file and close. Now you can reboot safely.

- If you get kernel panic when booting, restart and use the -x flag at boot to restart in safe mode so you can delete/edit VoodooHDA.kext

 

All inputs and outputs seem to work, including the internal mic. The internal speakers and headphone jack will not switch automatically. A program called SoundSource is recommended for easily changing the sound settings

http://www.rogueamoeba.com/freebies/

 

Ethernet:

 

Intele1000e.kext

http://www.osx86.net...?do=file&id=376

This gets the ethernet port working. Unfortunately, it causes kernel panics from time to time, particularly when booting or waking from sleep.

 

Pending Issues:

 

For Speedstepping: P states seem to be enabled by default with the custom DSDT, but C states are more elusive

Intele1000E.kext causing periodic kernel panics

Card reader doesn't work

USB 3.0 not tested

Modem not tested

Fingerprint reader not tested

Brightness control mapped to correct keys (Fn+Home and Fn+End which seem to be key codes 0x63 and 0xe3)

Voodoo battery: computer detects plugged into AC power when 2nd external battery is used (Lenovo "slice" battery)

Always on USB port (the yellow one on the back side of the computer) will not keep drives mounted when computer sleeps (other ports work fine)

 

Below, you can download the custom DSDT file and the kexts I am currently using (modified as described in this post)

 

For details about the DSDT edits, see this post:

http://www.insanelym...howtopic=274164

 

UPDATE 1/17/2012 -

It seems that speedstepping is not actually working with this configuration (tested by booting into 32-bit mode using "arch=i386" boot flag and running MSR tools for Snow Leopard)

 

Here's how to get it working:

P States - Modify AppleIntelCPUPowerManagment.kext using speedstepper

C States - Enable AppleLPC.kext as described in this guide by gothic860 (also describes how to enable fan sensor with ACPIMonitor.kext)

 

Will try to update this guide soon with more detailed instructions.

T510 Kexts.zip

T510 DSDT.zip

  • Like 3
Link to comment
Share on other sites

 Share

×
×
  • Create New...