Getting Leopard working on the IBM/Lenovo X61 Tablet 在小黑笔记本上装苹果系统

In: iPhone

7 Jun 2009

装苹果系统主要还是为了使用apple的xcode,大家有问题可以去论坛看看.

From InsanelyMac 

This is being posted from a working installation of — now — Mac OS X 10.5.6. I freakin love this machine.

Updates
2009-05-09 - New TabletEnabler
2009-05-02 - Reorganization, addition of new information
2009-02-22 - Added local copies of the audio drivers and ethernet driver.
2008-12-16 - Added source code
2008-12-14 - Cleanup, added new information about battery, ethernet
2008-07-02 - Added new information for Sound support, tablet keys, sleep-on-lid, additional info on installation and bluetooth.
2008-04-06 - Additional information about BIOS settings and Tablets
2008-03-20 - Added updated tablet support

TOC:
- Graphics
- LCD Brightness
- Audio
- Ethernet
- Wireless
- Battery Meter
- PC Card/Cardbus
- Memory Card Reader
- Tablet
- Modem
- Sleep/Wake
- Speedstep
- Other
- Initial Installation

Graphics
The ThinkPad X61 (and, to some degree, the T61 and R61) uses the Intel 965/GMA X3100 graphics controller. This one proved problematic from 10.5.0 to 10.5.2, but the Leopard Graphics Updater after 10.5.2 solved that issue. The X61 now requires no patching to have full QE/CI and resolution switching, so any installer should not require selecting a X3100 patch. The default Apple drivers drive this display just fine. At this time, though, resolution switching is sometimes off, brightness control and rotation is not available. It seems to be in the process of being worked on, though. The external VGA port works just fine without any strange hacks. I’m personally driving a 22″ LCD at 1680×1050 from it without a problem.

LCD Brightness
This is one of those items in progress, and starting around page 16 is some discussion on the topic. Using the latest Chameleon and the DSDT Patcher, you can add a brightness node (APP0002) to your DSDT. It results in uneven brightness control, but using manual tools, you can define a specific, useful range to control the brightness. However, there is some extension somewhere is breaking this functionality, and I’m trying to figure out what is doing it. Signs are pointing at the developer tools somewhere.

Audio
Your ThinkPad has Intel HD Audio compliant AD1984 sound chipset. The user ‘Turbo’ has come up with a first look driver which supports sound output through the speakers, and then ‘priitv8′ discovered how to hack around and get line in and out working on the chipset. ‘grandflash’ was kind enough to assemble it for us X61 users, and provided this zip archive of extensions and an EFI string to get things working. Use EFIStudio to add the efi string to your com.apple.Boot.plist, drop the extensions in /System/Library/Extensions using Kext Helper or your method of choice. Next reboot, you’ll have functional audio with auto headphone switching and all of the cool stuff.

Ethernet
Your ThinkPad has the Intel 82566 MM Gigabit Ethernet Controller. It is similar to the 8255x series chips, but different enough that Apple’s driver will not work. User ‘dingguijin’ ported a driver, available in this topic, and it works pretty well. It seems to generate quite a few interrupts, and the connection does not return after sleep, but it’s an excellent start and works quite well.

Wireless
Do you have the ThinkPad Wireless MiniPCIE card? If so — you have Atheros, and you’re ready for wireless! Have the Intel 3945 card? You’re screwed! Get on eBay and pick up the Atheros controller, you can search for Thinkpad wireless atheros, or by FRU, which could be 39t5578, 39t0499, or 40Y7026. I had to replace mine, and it’s not terrible. Remove all of the keyboard screws and the bottom half of the “board” icon’d screws on the bottom of the machine, lift up the palmrest, and it’s right in front of you. I will not be held responsible if you damage anything. Please note that other cards, such as the Dell 1490 series, will NOT work with your ThinkPad. Lenovo, in their infinite wisdom, has a white list of PCI IDs that they will allow as a network controller. Putting that card in your system will just give you an error message asking you to get it out of that laptop. Take a look here to see exactly what to pull.

To get your Atheros card working, pop into a terminal, and go to /System/Library/Extensions/IO802.11Family.kext/Contents/PlugIns/AirPortAtheros.kext/Contents. Edit Info.plist with vi, nano, pico, or your editor or choice. Go down to IOPCIMatch, and under that, with all the <string> entries, add <string>pci168c,1014</string>. Save and exit, and manually load it by entering “kextload /System/Library/Extensions/IO802.11Family.kext” You’ll be able to head into System Preferences, Network, and watch as it adds an AirPort option. Hit the ‘Turn AirPort On’ button, and you’re in business.

If you can’t get it to turn on, go to “Advanced”, and click some checkbox, like “Disconnect when user logs out”. Hit Okay, and hit Apply at the main Networking window. The Apply button will turn your card on, and it will work from then on out. You can then return the options back to their original form, and not have to pull that crap anymore. Have fun!

Battery Meter
The battery meter and power profiles work perfectly, and I’m recommending something different now. With the stock PowerManagement.bundle, use Chun-Nan/Eureka’s AppleACPIBatteryManager. It works better than the old bundle, keeps track of all of your battery information, and survives the software update process just fine. It works great with the standard X61 battery as well as a second battery in the dock bay. Can’t lose.

PC Card/Cardbus
There’s a pretty mature patch to get this working, right here in this forum. Unfortunately, you lose the ability to sleep. Most people are not going to end up using this slot, so unless there’s a specific device you’re planning on using, it’s probably not worth getting this thing up and running.

Memory Card Reader
User ‘quinielascom’ put together a driver for our SDHCI device to read MMC, SD, and other card types in our internal readers. It’s still in development, so there are still occasional issue with its use. I do know that other users are working on patches and fixes to make it work better, but it’s a great start.

Tablet
Working as of 2008-03-19. There is a project called TabletMagic, InsanelyMac Forum Link, that will support Wacom tablets on TabletPCs or outside the machine. The X61t requires an enabler for the tablet to work, as Lenovo shuts off the serial port in the BIOS, and you have to use ACPI to reenable it. Download is available at the bottom of this post under ‘TabletEnabler-1.1′, and the source code is available if you’d like to poke at it. Once you have that in, you have to edit Apple16X50Serial.kext/Contents/PlugIns/Apple16X50ACPI.kext/Contents/Info.plist, and replace the PNP0501 with WACF004. You can then configure TabletMagic. If this works well for you, donate to Scott! He has worked very hard on TabletMagic, and deserves a little extra money in his wallet. I only enabled a device, he made it all work.

It doesn’t look like the MultiTouch/WACF008 device works yet in OS X. The serial port comes up, but nothing happens when the pen hits the pad, so to speak. It appears the magic is all in TabletMagic — it needs to somehow support the 38400 bps rate, and it should work, theoretically. I do not have a MultiTouch tablet to test with, though, so it’s all conjecture.

Modem
Nope, sorry. I don’t think anyone is especially motivated to do a driver, either.

Sleep/Wake
With the vanilla kernel and ACPI, sleep seems to work on these machines. One catch I’ve found is that the machine will automatically wake up as soon as you put it to sleep. How to solve that? Turn off your hardware wireless switch on the front of your machine before putting it to sleep. It happily stays asleep, and will wake up when you open the lid or press your Fn/Function key. Some patches have removed this requirement.

Superhai from the Dell laptop threads created an enabler for sleep-on-lid. This allows your machine to go to sleep when you close the lid, which is a pretty natural way to go about things.

Speedstep
Help your system utilize Speedstep effectively — extend your battery life, reduce weird I386_DIV exceptions, and eliminate random interrupts and beachballs, all while reducing the temperature of your machine. It’s just like in Windows, only in the better OS. There are a few solutions out there, but I’m currently using Superhai’s Voodoo Power. Download the newest version from there, install the kernel extension, and it’s all automatic from there. In low usage, your CPU speed drops, and as load climbs, it will clock up your CPU accordingly. Using some plist editing, you can adjust when it steps and how much voltage to limit it to, if you want, or let it run on its own. A command line utility is provided to get detailed status on how the extension is working. You can use netkas’ cpu-x to verify everything is working as intended.

Other
If you’re having issues getting Bluetooth or Wireless to work, boot back into Windows and make sure you have Bluetooth and Wifi turned on in Access Connections. Turning them off there sets a ACPI flag that OS X doesn’t bother turning back on. Once they’re on in Windows, use the hardware switch to turn Bluetooth off in OS X.

A sorta-working driver is available to enable your tablet keys by replacing your ApplePS2Keyboard.kext with the driver in this post. It will map your cursor keys, as well as escape and enter. The other keys are mapped to function keys that you can customize.

If you’re seeing a lot of divide by zero and I386_DIV exceptions causing applications to force quite while using the vanilla kernel, head to your BIOS settings and set Intel Speedstep to automatic across the board. Your freezes should disappear.

Initial Installation
These installation instructions were out of date. Try iATKOS v5 with 10.5.5, iPC, or a newer Kalyway package.

Working out of the box

  • CD and DVD Read/Write
  • USB 2.0
  • FireWire 400
  • UltraBase ports and bays, as long as it is connected on boot
  • Trackpoint
  • Bluetooth

 

Attached File(s)
 TabletEnabler_1.1_src.zip ( 7.27K ) Number of downloads: 20
 Intel82566MM.kext.zip ( 41.79K ) Number of downloads: 129
 TabletEnabler_1.1.kext.zip ( 17.71K ) Number of downloads: 46
 x61.jpg ( 91.8K ) Number of downloads: 74

4 Responses to Getting Leopard working on the IBM/Lenovo X61 Tablet 在小黑笔记本上装苹果系统

Avatar

adele

June 7th, 2009 at 8:25 am

haha~我只想搞个真的MAC回来玩玩~

Avatar

Yolanda

June 8th, 2009 at 5:51 am

我同學試過在臺式機上裝,結果花了1個多月終于成功了….不過好像沒多久系統就崩潰了

Avatar

Yolanda

July 15th, 2009 at 3:42 am

嘻嘻 我也用哪吒订阅你的blog了
哪吒真好用 哈哈^_^

Avatar

Jiolot

August 16th, 2010 at 12:43 pm

Главная задача наших «Почемучек» – развивать детей по одной из самых эффективных методик в мире. Профессионализм и любовь к детям – основы нашего детского клуба.

Comment Form

About this blog

This is the blog affiliated with derekzhang.com. We discuss Graphic Design, Information Technologies, and everything interests me.

Photostream

 

September 2010
M T W T F S S
« Apr    
 12345
6789101112
13141516171819
20212223242526
27282930  

Photos from Picasa

DSC_0705.JPGDSC_0700.JPGDSC_0702.JPGDSC_0701.JPG
DSC_0703.JPGDSC_0699.JPGDSC_0704.JPG

Today

generic (feed #8)
11:00am via Google Reader
generic (feed #8)
6:18am via Google Reader

Yesterday

generic (feed #8)
1:15am via Google Reader

September 6th

generic (feed #8)
7:33am via Google Reader

September 4th

pandora (feed #7)
Created R&B / Soul
1:41am via Pandora

September 2nd

generic (feed #8)
11:00am via Google Reader
generic (feed #8)
12:04am via Google Reader

September 1st

generic (feed #8)
1:39am via Google Reader

August 31st

generic (feed #8)
11:00am via Google Reader
generic (feed #8)
1:05am via Google Reader

August 30th

generic (feed #8)
12:41am via Google Reader

August 29th

flickr (feed #10)
11:59pm via Flickr
New York 5th Ave Rooftop

August 27th

generic (feed #8)
1:15am via Google Reader

August 26th

generic (feed #8)
11:00am via Google Reader
generic (feed #8)
8:39am via Google Reader

August 25th

generic (feed #8)
11:00am via Google Reader
generic (feed #8)
11:54pm via Google Reader

August 24th

generic (feed #8)
10:45pm via Google Reader

August 23rd

generic (feed #8)
12:44pm via Google Reader
generic (feed #8)
11:30pm via Google Reader

August 20th

generic (feed #8)
12:45pm via Google Reader
generic (feed #8)
7:48am via Google Reader
flickr (feed #10)
Shared New York!
1:58am via Flickr
New York!

August 19th

generic (feed #8)
3:19am via Google Reader
flickr (feed #10)
7:34pm via Flickr
Portrait 2010

August 18th

generic (feed #8)
10:45am via Google Reader
generic (feed #8)
10:28am via Google Reader
generic (feed #8)
10:37pm via Google Reader

August 17th

generic (feed #8)
11:17pm via Google Reader
generic (feed #8)
11:10pm via Google Reader

August 16th

generic (feed #8)
9:53am via Google Reader
generic (feed #8)
1:00am via Google Reader
flickr (feed #10)
Shared DSC_0860
9:58pm via Flickr
DSC_0860

August 14th

generic (feed #8)
5:38am via Google Reader

August 13th

generic (feed #8)
11:31pm via Google Reader

August 12th

generic (feed #8)
11:56pm via Google Reader

August 11th

generic (feed #8)
12:23pm via Google Reader
generic (feed #8)
11:15pm via Google Reader
generic (feed #8)
7:07pm via Google Reader

August 10th

generic (feed #8)
10:35pm via Google Reader

August 9th

generic (feed #8)
11:46pm via Google Reader

Powered by LifeStream from iBegin.